From c8693de2b9e76523a87fc964d34c09504a564277 Mon Sep 17 00:00:00 2001 From: Sofia Leon Date: Wed, 17 Jul 2024 18:13:01 -0500 Subject: [PATCH] chore: update discovery doc generation --- .release-please-manifest.json | 180 +- discovery/acceleratedmobilepageurl-v1.json | 2 +- discovery/accessapproval-v1.json | 2 +- discovery/accesscontextmanager-v1.json | 9 +- discovery/addressvalidation-v1.json | 4 +- discovery/adexchangebuyer2-v2beta1.json | 2 +- discovery/admin-datatransfer_v1.json | 2 +- discovery/admin-directory_v1.json | 4 +- discovery/admob-v1.json | 2 +- discovery/admob-v1beta.json | 2 +- discovery/adsense-v2.json | 2 +- discovery/adsensehost-v4.1.json | 2 +- discovery/adsenseplatform-v1alpha.json | 721 ++ discovery/advisorynotifications-v1.json | 2 +- discovery/aiplatform-v1.json | 446 +- discovery/aiplatform-v1beta1.json | 463 +- discovery/airquality-v1.json | 2 +- discovery/alertcenter-v1beta1.json | 2 +- discovery/alloydb-v1.json | 43 +- discovery/alloydb-v1alpha.json | 27 +- discovery/alloydb-v1beta.json | 27 +- discovery/analyticsadmin-v1alpha.json | 95 +- discovery/analyticsdata-v1beta.json | 2 +- discovery/analyticsreporting-v4.json | 2 +- discovery/androiddeviceprovisioning-v1.json | 2 +- discovery/androidenterprise-v1.json | 7 +- discovery/androidmanagement-v1.json | 2 +- discovery/androidpublisher-v3.json | 64 +- discovery/apigee-v1.json | 2 +- discovery/apigeeregistry-v1.json | 2 +- discovery/apim-v1alpha.json | 2 +- discovery/appengine-v1.json | 2 +- discovery/appengine-v1alpha.json | 2 +- discovery/appengine-v1beta.json | 2 +- discovery/apphub-v1.json | 2 +- discovery/apphub-v1alpha.json | 2 +- discovery/area120tables-v1alpha1.json | 2 +- discovery/artifactregistry-v1.json | 182 +- discovery/artifactregistry-v1beta1.json | 174 +- discovery/artifactregistry-v1beta2.json | 174 +- discovery/assuredworkloads-v1.json | 26 +- discovery/assuredworkloads-v1beta1.json | 26 +- discovery/authorizedbuyersmarketplace-v1.json | 2 +- discovery/backupdr-v1.json | 2442 ++++++- discovery/batch-v1.json | 12 +- discovery/beyondcorp-v1alpha.json | 6 +- discovery/biglake-v1.json | 2 +- discovery/bigquery-v2.json | 38 +- discovery/bigqueryconnection-v1.json | 2 +- discovery/bigquerydatatransfer-v1.json | 24 +- discovery/bigqueryreservation-v1.json | 24 +- discovery/bigtableadmin-v2.json | 191 +- discovery/billingbudgets-v1.json | 2 +- discovery/billingbudgets-v1beta1.json | 2 +- discovery/binaryauthorization-v1.json | 2 +- discovery/blogger-v2.json | 2 +- discovery/businessprofileperformance-v1.json | 2 +- discovery/calendar-v3.json | 6 +- discovery/chat-v1.json | 30 +- discovery/checks-v1alpha.json | 2 +- discovery/chromemanagement-v1.json | 20 +- discovery/chromepolicy-v1.json | 2 +- discovery/chromeuxreport-v1.json | 2 +- discovery/civicinfo-v2.json | 2 +- discovery/classroom-v1.json | 6 +- discovery/cloudasset-v1.json | 9 +- discovery/cloudasset-v1beta1.json | 9 +- discovery/cloudasset-v1p1beta1.json | 9 +- discovery/cloudasset-v1p5beta1.json | 9 +- discovery/cloudasset-v1p7beta1.json | 9 +- discovery/cloudbuild-v1.json | 4 +- discovery/cloudbuild-v2.json | 21 +- discovery/cloudchannel-v1.json | 2 +- discovery/clouderrorreporting-v1beta1.json | 315 +- discovery/cloudidentity-v1.json | 2 +- discovery/cloudidentity-v1beta1.json | 2 +- discovery/cloudkms-v1.json | 16 +- discovery/cloudprofiler-v2.json | 2 +- discovery/cloudsupport-v2.json | 2 +- discovery/cloudsupport-v2beta.json | 2 +- discovery/cloudtasks-v2.json | 2 +- discovery/cloudtasks-v2beta2.json | 2 +- discovery/cloudtasks-v2beta3.json | 2 +- discovery/cloudtrace-v2.json | 2 +- discovery/cloudtrace-v2beta1.json | 2 +- discovery/composer-v1beta1.json | 2 +- discovery/compute-alpha.json | 112 +- discovery/compute-beta.json | 434 +- discovery/compute-v1.json | 18 +- discovery/connectors-v1.json | 14 +- discovery/connectors-v2.json | 10 +- .../contactcenteraiplatform-v1alpha1.json | 2 +- discovery/contactcenterinsights-v1.json | 30 +- discovery/container-v1.json | 53 +- discovery/container-v1beta1.json | 47 +- discovery/containeranalysis-v1.json | 62 +- discovery/containeranalysis-v1alpha1.json | 32 +- discovery/containeranalysis-v1beta1.json | 32 +- discovery/content-v2.1.json | 2 +- discovery/css-v1.json | 1216 ++++ discovery/customsearch-v1.json | 2 +- discovery/dataflow-v1b3.json | 198 +- discovery/dataform-v1beta1.json | 20 +- discovery/datafusion-v1.json | 344 +- discovery/datafusion-v1beta1.json | 344 +- discovery/datalineage-v1.json | 2 +- discovery/datamigration-v1.json | 8 +- discovery/dataplex-v1.json | 261 +- discovery/dataportability-v1.json | 2 +- discovery/dataportability-v1beta.json | 2 +- discovery/dataproc-v1.json | 12 +- discovery/datastream-v1.json | 2 +- discovery/deploymentmanager-alpha.json | 2 +- discovery/deploymentmanager-v2beta.json | 2 +- discovery/developerconnect-v1.json | 2 +- discovery/dfareporting-v3.5.json | 2 +- discovery/dfareporting-v4.json | 2 +- discovery/dialogflow-v2.json | 323 +- discovery/dialogflow-v2beta1.json | 204 +- discovery/dialogflow-v3.json | 230 +- discovery/dialogflow-v3beta1.json | 230 +- discovery/digitalassetlinks-v1.json | 2 +- discovery/discovery-v1.json | 49 - discovery/discoveryengine-v1.json | 187 +- discovery/discoveryengine-v1alpha.json | 354 +- discovery/discoveryengine-v1beta.json | 447 +- discovery/displayvideo-v2.json | 2 +- discovery/dlp-v2.json | 546 +- discovery/dns-v1.json | 2 +- discovery/dns-v1beta2.json | 2 +- discovery/documentai-v1.json | 2 +- discovery/documentai-v1beta3.json | 2 +- discovery/doubleclickbidmanager-v2.json | 14 +- discovery/drive-v2.json | 6 +- discovery/drive-v3.json | 6 +- discovery/essentialcontacts-v1.json | 5 +- discovery/eventarc-v1.json | 2 +- discovery/fcm-v1.json | 2 +- discovery/fcmdata-v1beta1.json | 2 +- discovery/file-v1beta1.json | 17 +- discovery/firebase-v1beta1.json | 2 +- discovery/firebaseappcheck-v1.json | 306 +- .../firebaseappdistribution-v1alpha.json | 44 +- discovery/firebasedatabase-v1beta.json | 2 +- discovery/firebasedynamiclinks-v1.json | 2 +- discovery/firebasehosting-v1.json | 2 +- discovery/firebasehosting-v1beta1.json | 2 +- discovery/firebaseml-v1.json | 2 +- discovery/firebaseml-v1beta2.json | 2 +- discovery/firebaseml-v2beta.json | 92 +- discovery/firebasestorage-v1beta.json | 2 +- discovery/firestore-v1.json | 8 +- discovery/fitness-v1.json | 2 +- discovery/forms-v1.json | 2 +- discovery/games-v1.json | 17 +- .../gamesConfiguration-v1configuration.json | 2 +- discovery/gkebackup-v1.json | 10 +- discovery/gkehub-v1.json | 211 +- discovery/gkehub-v1alpha.json | 65 +- discovery/gkehub-v1beta.json | 50 +- discovery/gmail-v1.json | 2 +- discovery/gmailpostmastertools-v1.json | 2 +- discovery/gmailpostmastertools-v1beta1.json | 2 +- discovery/groupsmigration-v1.json | 2 +- discovery/iam-v1.json | 2 +- discovery/iap-v1.json | 2 +- discovery/iap-v1beta1.json | 2 +- discovery/identitytoolkit-v1.json | 2 +- discovery/identitytoolkit-v3.json | 2 +- discovery/index.json | 6090 +++++++++-------- discovery/indexing-v3.json | 2 +- discovery/integrations-v1.json | 187 +- discovery/jobs-v3.json | 2 +- discovery/jobs-v3p1beta1.json | 2 +- discovery/jobs-v4.json | 2 +- discovery/keep-v1.json | 623 ++ discovery/kgsearch-v1.json | 2 +- discovery/language-v1.json | 2 +- discovery/language-v1beta2.json | 2 +- discovery/language-v2.json | 2 +- discovery/libraryagent-v1.json | 2 +- discovery/licensing-v1.json | 2 +- discovery/localservices-v1.json | 2 +- discovery/logging-v2.json | 92 +- discovery/manufacturers-v1.json | 2 +- discovery/marketingplatformadmin-v1alpha.json | 2 +- discovery/meet-v2.json | 2 +- discovery/memcache-v1.json | 2 +- discovery/memcache-v1beta2.json | 2 +- discovery/merchantapi-accounts_v1beta.json | 536 +- discovery/merchantapi-conversions_v1beta.json | 2 +- discovery/merchantapi-datasources_v1beta.json | 2 +- discovery/merchantapi-inventories_v1beta.json | 2 +- discovery/merchantapi-lfp_v1beta.json | 2 +- .../merchantapi-notifications_v1beta.json | 2 +- discovery/merchantapi-products_v1beta.json | 2 +- discovery/merchantapi-promotions_v1beta.json | 2 +- discovery/merchantapi-quota_v1beta.json | 2 +- discovery/merchantapi-reports_v1beta.json | 2 +- discovery/metastore-v1.json | 36 +- discovery/metastore-v1alpha.json | 99 +- discovery/metastore-v1beta.json | 99 +- discovery/migrationcenter-v1alpha1.json | 16 +- discovery/monitoring-v1.json | 10 +- discovery/monitoring-v3.json | 6 +- discovery/mybusinessaccountmanagement-v1.json | 2 +- .../mybusinessbusinessinformation-v1.json | 2 +- discovery/mybusinessnotifications-v1.json | 2 +- discovery/mybusinessplaceactions-v1.json | 2 +- discovery/mybusinessqanda-v1.json | 2 +- discovery/mybusinessverifications-v1.json | 2 +- discovery/networkconnectivity-v1alpha1.json | 2 +- discovery/networksecurity-v1.json | 20 +- discovery/networksecurity-v1beta1.json | 20 +- discovery/networkservices-v1.json | 354 +- discovery/networkservices-v1beta1.json | 354 +- discovery/ondemandscanning-v1.json | 36 +- discovery/ondemandscanning-v1beta1.json | 36 +- .../playdeveloperreporting-v1alpha1.json | 6 +- discovery/playdeveloperreporting-v1beta1.json | 6 +- discovery/playintegrity-v1.json | 74 +- discovery/pubsub-v1.json | 19 +- discovery/pubsub-v1beta1a.json | 14 +- discovery/pubsub-v1beta2.json | 14 +- discovery/retail-v2.json | 12 +- discovery/retail-v2alpha.json | 22 +- discovery/retail-v2beta.json | 12 +- discovery/run-v1.json | 215 +- discovery/run-v2.json | 240 +- discovery/searchconsole-v1.json | 4 +- discovery/secretmanager-v1.json | 60 +- discovery/secretmanager-v1beta1.json | 60 +- discovery/secretmanager-v1beta2.json | 60 +- discovery/securitycenter-v1.json | 302 +- discovery/securitycenter-v1beta1.json | 60 +- discovery/securitycenter-v1beta2.json | 60 +- discovery/serviceconsumermanagement-v1.json | 4 +- .../serviceconsumermanagement-v1beta1.json | 4 +- discovery/servicemanagement-v1.json | 4 +- discovery/serviceusage-v1.json | 4 +- discovery/serviceusage-v1beta1.json | 4 +- discovery/sheets-v4.json | 10 +- discovery/spanner-v1.json | 179 +- discovery/sqladmin-v1.json | 30 +- discovery/sqladmin-v1beta4.json | 30 +- discovery/storage-v1.json | 59 +- discovery/sts-v1.json | 7 +- discovery/tagmanager-v2.json | 11 +- discovery/transcoder-v1.json | 4 +- discovery/vmmigration-v1.json | 104 +- discovery/vmmigration-v1alpha1.json | 104 +- discovery/vmwareengine-v1.json | 84 +- discovery/workloadmanager-v1.json | 14 +- discovery/workstations-v1.json | 35 +- discovery/workstations-v1beta.json | 43 +- package.json | 2 +- release-please-config.json | 188 +- src/apis/accesscontextmanager/v1.ts | 6 +- src/apis/addressvalidation/v1.ts | 2 +- src/apis/admin/directory_v1.ts | 2 +- src/apis/adsenseplatform/README.md | 28 + src/apis/adsenseplatform/index.ts | 48 + src/apis/adsenseplatform/package.json | 43 + src/apis/adsenseplatform/tsconfig.json | 10 + src/apis/adsenseplatform/v1alpha.ts | 1465 ++++ src/apis/adsenseplatform/webpack.config.js | 79 + src/apis/aiplatform/v1.ts | 308 +- src/apis/aiplatform/v1beta1.ts | 323 +- src/apis/alloydb/v1.ts | 25 + src/apis/alloydb/v1alpha.ts | 4 +- src/apis/alloydb/v1beta.ts | 4 +- src/apis/analyticsadmin/v1alpha.ts | 321 + src/apis/androidenterprise/v1.ts | 4 + src/apis/androidpublisher/v3.ts | 214 +- src/apis/artifactregistry/v1.ts | 6 +- src/apis/backupdr/v1.ts | 3758 +++++++++- src/apis/batch/v1.ts | 10 +- src/apis/beyondcorp/v1alpha.ts | 4 +- src/apis/bigquery/v2.ts | 33 +- src/apis/bigtableadmin/v2.ts | 156 +- src/apis/calendar/v3.ts | 4 +- src/apis/chat/v1.ts | 16 +- src/apis/chromemanagement/v1.ts | 6 +- src/apis/classroom/v1.ts | 4 +- src/apis/cloudasset/v1.ts | 6 +- src/apis/cloudasset/v1beta1.ts | 6 +- src/apis/cloudasset/v1p1beta1.ts | 6 +- src/apis/cloudasset/v1p5beta1.ts | 6 +- src/apis/cloudasset/v1p7beta1.ts | 6 +- src/apis/cloudbuild/v1.ts | 2 +- src/apis/cloudbuild/v2.ts | 4 + src/apis/clouderrorreporting/v1beta1.ts | 627 +- src/apis/compute/alpha.ts | 64 +- src/apis/compute/beta.ts | 941 ++- src/apis/compute/v1.ts | 16 +- src/apis/connectors/v1.ts | 12 +- src/apis/connectors/v2.ts | 8 + src/apis/contactcenterinsights/v1.ts | 8 + src/apis/container/v1.ts | 45 +- src/apis/container/v1beta1.ts | 39 + src/apis/containeranalysis/v1.ts | 44 +- src/apis/containeranalysis/v1alpha1.ts | 23 +- src/apis/containeranalysis/v1beta1.ts | 23 +- src/apis/css/README.md | 28 + src/apis/css/index.ts | 44 + src/apis/css/package.json | 43 + src/apis/css/tsconfig.json | 10 + src/apis/css/v1.ts | 1844 +++++ src/apis/css/webpack.config.js | 79 + src/apis/dataform/v1beta1.ts | 12 + src/apis/datafusion/v1.ts | 111 + src/apis/datafusion/v1beta1.ts | 111 + src/apis/dataplex/v1.ts | 231 +- src/apis/dialogflow/v2.ts | 413 +- src/apis/dialogflow/v2beta1.ts | 323 +- src/apis/dialogflow/v3.ts | 180 +- src/apis/dialogflow/v3beta1.ts | 180 +- src/apis/discovery/v1.ts | 29 - src/apis/discoveryengine/v1.ts | 127 +- src/apis/discoveryengine/v1alpha.ts | 253 +- src/apis/discoveryengine/v1beta.ts | 513 +- src/apis/dlp/v2.ts | 239 +- src/apis/drive/v2.ts | 2 +- src/apis/drive/v3.ts | 2 +- src/apis/essentialcontacts/v1.ts | 2 +- src/apis/file/v1beta1.ts | 4 + src/apis/firebaseappcheck/v1.ts | 737 ++ src/apis/firebaseappdistribution/v1alpha.ts | 21 +- src/apis/firebaseml/v2beta.ts | 69 +- src/apis/firestore/v1.ts | 6 +- src/apis/games/v1.ts | 6 +- src/apis/gkebackup/v1.ts | 8 +- src/apis/gkehub/v1.ts | 536 +- src/apis/gkehub/v1alpha.ts | 24 +- src/apis/gkehub/v1beta.ts | 20 +- src/apis/index.ts | 12 + src/apis/keep/README.md | 28 + src/apis/keep/index.ts | 44 + src/apis/keep/package.json | 43 + src/apis/keep/tsconfig.json | 10 + src/apis/keep/v1.ts | 1043 +++ src/apis/keep/webpack.config.js | 79 + src/apis/logging/v2.ts | 22 +- src/apis/merchantapi/accounts_v1beta.ts | 1565 ++--- src/apis/metastore/v1.ts | 21 + src/apis/metastore/v1alpha.ts | 61 + src/apis/metastore/v1beta.ts | 61 + src/apis/migrationcenter/v1alpha1.ts | 2 +- src/apis/monitoring/v3.ts | 4 +- src/apis/networksecurity/v1.ts | 18 +- src/apis/networksecurity/v1beta1.ts | 18 +- src/apis/networkservices/v1.ts | 4506 +++++------- src/apis/networkservices/v1beta1.ts | 4506 +++++------- src/apis/ondemandscanning/v1.ts | 21 - src/apis/ondemandscanning/v1beta1.ts | 21 - src/apis/playdeveloperreporting/v1alpha1.ts | 4 +- src/apis/playdeveloperreporting/v1beta1.ts | 4 +- src/apis/playintegrity/v1.ts | 152 + src/apis/pubsub/v1.ts | 4 + src/apis/retail/v2.ts | 6 +- src/apis/retail/v2alpha.ts | 10 +- src/apis/retail/v2beta.ts | 6 +- src/apis/run/v1.ts | 33 +- src/apis/run/v2.ts | 135 +- src/apis/securitycenter/v1.ts | 280 +- src/apis/securitycenter/v1beta1.ts | 38 +- src/apis/securitycenter/v1beta2.ts | 38 +- src/apis/serviceconsumermanagement/v1.ts | 2 +- src/apis/serviceconsumermanagement/v1beta1.ts | 2 +- src/apis/servicemanagement/v1.ts | 2 +- src/apis/serviceusage/v1.ts | 2 +- src/apis/serviceusage/v1beta1.ts | 2 +- src/apis/sheets/v4.ts | 8 +- src/apis/spanner/v1.ts | 391 +- src/apis/sqladmin/v1.ts | 7 +- src/apis/sqladmin/v1beta4.ts | 7 +- src/apis/storage/v1.ts | 11 + src/apis/sts/v1.ts | 4 + src/apis/tagmanager/v2.ts | 8 +- src/apis/transcoder/v1.ts | 2 +- src/apis/vmmigration/v1.ts | 221 +- src/apis/vmmigration/v1alpha1.ts | 227 +- src/apis/vmwareengine/v1.ts | 67 + src/apis/workloadmanager/v1.ts | 11 + src/apis/workstations/v1.ts | 36 +- src/apis/workstations/v1beta.ts | 45 +- src/generator/download.ts | 14 +- src/index.ts | 3 + test/test.download.ts | 39 +- 389 files changed, 38076 insertions(+), 14366 deletions(-) create mode 100644 discovery/adsenseplatform-v1alpha.json create mode 100644 discovery/css-v1.json create mode 100644 discovery/keep-v1.json create mode 100644 src/apis/adsenseplatform/README.md create mode 100644 src/apis/adsenseplatform/index.ts create mode 100644 src/apis/adsenseplatform/package.json create mode 100644 src/apis/adsenseplatform/tsconfig.json create mode 100644 src/apis/adsenseplatform/v1alpha.ts create mode 100644 src/apis/adsenseplatform/webpack.config.js create mode 100644 src/apis/css/README.md create mode 100644 src/apis/css/index.ts create mode 100644 src/apis/css/package.json create mode 100644 src/apis/css/tsconfig.json create mode 100644 src/apis/css/v1.ts create mode 100644 src/apis/css/webpack.config.js create mode 100644 src/apis/keep/README.md create mode 100644 src/apis/keep/index.ts create mode 100644 src/apis/keep/package.json create mode 100644 src/apis/keep/tsconfig.json create mode 100644 src/apis/keep/v1.ts create mode 100644 src/apis/keep/webpack.config.js diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 8aee1244f1..bc344229c6 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1 +1,179 @@ -{".":"140.0.1","src/apis/abusiveexperiencereport":"1.0.7","src/apis/acceleratedmobilepageurl":"1.0.7","src/apis/accesscontextmanager":"7.1.0","src/apis/adexchangebuyer":"1.0.5","src/apis/adexchangebuyer2":"4.2.2","src/apis/adexperiencereport":"1.0.7","src/apis/admin":"20.0.0","src/apis/admob":"2.5.5","src/apis/adsense":"10.0.0","src/apis/adsensehost":"5.0.7","src/apis/alertcenter":"9.5.0","src/apis/analytics":"7.0.7","src/apis/analyticsreporting":"1.0.7","src/apis/androiddeviceprovisioning":"6.3.2","src/apis/androidenterprise":"5.5.2","src/apis/androidmanagement":"17.3.0","src/apis/androidpublisher":"18.0.0","src/apis/appsactivity":"1.0.5","src/apis/bigtableadmin":"20.1.0","src/apis/blogger":"1.1.7","src/apis/books":"4.0.0","src/apis/calendar":"9.7.6","src/apis/chat":"27.0.0","src/apis/chromemanagement":"15.0.0","src/apis/chromepolicy":"9.1.2","src/apis/chromeuxreport":"1.5.2","src/apis/civicinfo":"11.0.4","src/apis/classroom":"4.0.9","src/apis/cloudidentity":"13.0.0","src/apis/cloudkms":"13.0.0","src/apis/cloudsearch":"14.4.0","src/apis/cloudshell":"2.0.6","src/apis/cloudtasks":"15.0.0","src/apis/composer":"9.0.0","src/apis/content":"27.0.0","src/apis/customsearch":"3.0.0","src/apis/dataflow":"11.0.0","src/apis/datafusion":"6.4.3","src/apis/datamigration":"6.1.0","src/apis/deploymentmanager":"14.0.0","src/apis/dfareporting":"5.2.0","src/apis/digitalassetlinks":"1.0.7","src/apis/discovery":"1.7.0","src/apis/displayvideo":"20.0.0","src/apis/docs":"3.0.2","src/apis/domainsrdap":"1.0.7","src/apis/doubleclickbidmanager":"10.0.0","src/apis/doubleclicksearch":"4.0.3","src/apis/drive":"8.11.0","src/apis/driveactivity":"2.0.9","src/apis/eventarc":"6.2.1","src/apis/factchecktools":"1.2.0","src/apis/fcm":"5.0.10","src/apis/file":"7.1.0","src/apis/firebase":"6.4.2","src/apis/firebasedatabase":"2.0.8","src/apis/firebasedynamiclinks":"1.0.9","src/apis/firebasehosting":"9.0.0","src/apis/firebaseml":"5.0.0","src/apis/firebaserules":"1.2.2","src/apis/firebasestorage":"6.1.2","src/apis/fitness":"2.0.7","src/apis/games":"5.9.0","src/apis/gamesConfiguration":"2.0.7","src/apis/gamesManagement":"2.0.7","src/apis/genomics":"3.0.7","src/apis/gmail":"12.0.0","src/apis/gmailpostmastertools":"1.1.2","src/apis/groupsmigration":"1.0.7","src/apis/groupssettings":"3.0.7","src/apis/healthcare":"18.0.0","src/apis/homegraph":"4.0.9","src/apis/iam":"20.0.0","src/apis/iap":"8.0.1","src/apis/identitytoolkit":"11.0.0","src/apis/indexing":"2.0.2","src/apis/kgsearch":"1.0.7","src/apis/libraryagent":"1.0.7","src/apis/licensing":"1.0.7","src/apis/lifesciences":"2.0.6","src/apis/localservices":"4.0.0","src/apis/manufacturers":"5.3.2","src/apis/ml":"3.0.11","src/apis/mybusinessaccountmanagement":"3.0.10","src/apis/networkmanagement":"9.1.0","src/apis/oauth2":"1.0.7","src/apis/ondemandscanning":"12.2.0","src/apis/pagespeedonline":"1.4.0","src/apis/people":"3.0.9","src/apis/playablelocations":"1.0.5","src/apis/playcustomapp":"1.0.5","src/apis/plus":"1.0.3","src/apis/policysimulator":"8.0.0","src/apis/poly":"1.0.5","src/apis/prod_tt_sasportal":"17.0.3","src/apis/pubsublite":"2.1.7","src/apis/realtimebidding":"4.1.7","src/apis/recommendationengine":"3.4.2","src/apis/remotebuildexecution":"3.0.3","src/apis/reseller":"4.0.5","src/apis/run":"17.1.0","src/apis/safebrowsing":"10.0.0","src/apis/sasportal":"18.0.3","src/apis/script":"5.0.0","src/apis/searchconsole":"1.0.5","src/apis/serviceconsumermanagement":"17.0.0","src/apis/servicenetworking":"16.0.0","src/apis/serviceusage":"13.0.0","src/apis/sheets":"9.0.0","src/apis/siteVerification":"2.0.5","src/apis/slides":"1.2.0","src/apis/smartdevicemanagement":"3.0.2","src/apis/sourcerepo":"4.0.3","src/apis/sql":"1.0.3","src/apis/sqladmin":"19.0.0","src/apis/storage":"15.0.0","src/apis/storagetransfer":"7.1.1","src/apis/streetviewpublish":"4.0.5","src/apis/sts":"7.0.0","src/apis/tagmanager":"5.0.2","src/apis/testing":"10.0.0","src/apis/toolresults":"3.3.2","src/apis/tpu":"5.0.0","src/apis/trafficdirector":"4.0.0","src/apis/vault":"3.4.2","src/apis/vectortile":"1.0.3","src/apis/verifiedaccess":"3.4.0","src/apis/webfonts":"1.4.0","src/apis/webmasters":"1.0.3","src/apis/workflowexecutions":"7.5.0","src/apis/youtube":"19.0.0","src/apis/youtubeAnalytics":"2.0.5","src/apis/youtubereporting":"1.0.5","src/apis/forms":"2.0.7","src/apis/authorizedbuyersmarketplace":"5.0.0","src/apis/businessprofileperformance":"1.1.8","src/apis/cloudsupport":"11.0.0","src/apis/connectors":"15.0.0","src/apis/datapipelines":"1.0.7","src/apis/drivelabels":"7.0.2","src/apis/fcmdata":"1.3.0","src/apis/firebaseappcheck":"5.11.0","src/apis/ideahub":"1.0.7","src/apis/mybusinessbusinesscalls":"4.0.5","src/apis/mybusinessbusinessinformation":"4.0.9","src/apis/mybusinesslodging":"3.0.2","src/apis/mybusinessnotifications":"1.0.7","src/apis/mybusinessplaceactions":"1.0.7","src/apis/mybusinessqanda":"1.0.7","src/apis/mybusinessverifications":"2.0.2","src/apis/networkservices":"16.0.0","src/apis/paymentsresellersubscription":"10.0.0","src/apis/playdeveloperreporting":"5.4.0","src/apis/playintegrity":"11.0.0","src/apis/policyanalyzer":"1.2.0","src/apis/runtimeconfig":"4.0.0","src/apis/travelimpactmodel":"2.0.2","src/apis/versionhistory":"1.3.0","src/apis/workloadmanager":"13.0.0","src/apis/workstations":"6.15.0","src/apis/ids":"1.3.0","src/apis/places":"9.3.0","src/apis/vpcaccess":"1.5.2","src/apis/privateca":"4.0.0","src/apis/datalabeling":"2.0.2","src/apis/cloudasset":"7.0.0","src/apis/tasks":"4.3.0","src/apis/datalineage":"1.0.3","src/apis/transcoder":"4.0.0","src/apis/clouderrorreporting":"3.0.0","src/apis/kmsinventory":"1.1.4","src/apis/websecurityscanner":"1.0.5","src/apis/apigateway":"1.0.6","src/apis/analyticshub":"6.0.0","src/apis/notebooks":"8.0.0","src/apis/bigqueryconnection":"1.2.0","src/apis/recommender":"4.2.1","src/apis/analyticsadmin":"8.0.0","src/apis/servicedirectory":"3.0.5","src/apis/monitoring":"6.5.0","src/apis/gkebackup":"8.0.0","src/apis/workflows":"1.5.0","src/apis/jobs":"1.1.2","src/apis/containeranalysis":"8.3.0","src/apis/orgpolicy":"4.0.0","src/apis/documentai":"8.2.0","src/apis/datastream":"6.2.0","src/apis/assuredworkloads":"6.0.2","src/apis/logging":"5.0.0","src/apis/domains":"1.5.0","src/apis/gkehub":"12.0.0","src/apis/vision":"1.5.2","src/apis/policytroubleshooter":"1.0.8","src/apis/gameservices":"1.3.0","src/apis/acmedns":"1.0.5","src/apis/discoveryengine":"11.0.0","src/apis/secretmanager":"1.3.0","src/apis/bigquery":"10.0.1","src/apis/cloudfunctions":"4.1.0","src/apis/vmmigration":"9.0.0","src/apis/certificatemanager":"4.0.0","src/apis/baremetalsolution":"1.0.3","src/apis/accessapproval":"1.6.0","src/apis/container":"8.0.0","src/apis/publicca":"1.0.5","src/apis/batch":"9.1.0","src/apis/datacatalog":"6.0.0","src/apis/managedidentities":"3.0.3","src/apis/bigquerydatatransfer":"1.4.1","src/apis/apikeys":"1.0.5","src/apis/dns":"3.0.0","src/apis/memcache":"3.0.0","src/apis/cloudscheduler":"1.1.7","src/apis/dialogflow":"8.2.0","src/apis/contentwarehouse":"9.1.0","src/apis/speech":"1.5.0","src/apis/contactcenterinsights":"9.0.0","src/apis/oslogin":"3.0.2","src/apis/texttospeech":"1.4.0","src/apis/readerrevenuesubscriptionlinking":"1.0.5","src/apis/compute":"15.0.0","src/apis/cloudtrace":"1.1.2","src/apis/dataplex":"8.0.0","src/apis/advisorynotifications":"3.2.0","src/apis/language":"4.0.0","src/apis/retail":"8.1.1","src/apis/cloudresourcemanager":"1.3.0","src/apis/osconfig":"4.1.1","src/apis/essentialcontacts":"1.0.5","src/apis/appengine":"8.0.0","src/apis/checks":"4.0.2","src/apis/cloudchannel":"1.4.3","src/apis/translate":"3.0.3","src/apis/bigqueryreservation":"3.0.0","src/apis/apigeeregistry":"2.0.2","src/apis/redis":"10.1.0","src/apis/clouddebugger":"1.0.3","src/apis/servicecontrol":"4.1.0","src/apis/videointelligence":"1.2.4","src/apis/cloudbuild":"9.1.0","src/apis/dlp":"10.1.0","src/apis/networksecurity":"8.1.0","src/apis/binaryauthorization":"6.0.1","src/apis/securitycenter":"8.2.0","src/apis/cloudprofiler":"4.0.0","src/apis/dataproc":"8.0.0","src/apis/pubsub":"4.0.0","src/apis/dataform":"5.0.0","src/apis/servicemanagement":"2.0.1","src/apis/searchads360":"6.0.0","src/apis/firebaseappdistribution":"1.0.7","src/apis/billingbudgets":"1.3.2","src/apis/cloudiot":"1.0.2","src/apis/area120tables":"1.0.4","src/apis/beyondcorp":"12.2.0","src/apis/networkconnectivity":"8.1.0","src/apis/analyticsdata":"1.5.0","src/apis/spanner":"7.2.0","src/apis/artifactregistry":"11.0.0","src/apis/firestore":"9.1.0","src/apis/recaptchaenterprise":"6.1.0","src/apis/clouddeploy":"5.1.0","src/apis/datastore":"4.0.0","src/apis/integrations":"1.0.2","src/apis/iamcredentials":"4.0.0","src/apis/resourcesettings":"1.0.4","src/apis/aiplatform":"13.0.0","src/apis/webrisk":"1.0.3","src/apis/gkeonprem":"7.0.2","src/apis/blockchainnodeengine":"6.1.0","src/apis/migrationcenter":"5.0.0","src/apis/contactcenteraiplatform":"5.0.0","src/apis/cloudbilling":"4.0.2","src/apis/metastore":"6.2.0","src/apis/rapidmigrationassessment":"0.1.1","src/apis/playgrouping":"0.1.1","src/apis/alloydb":"8.0.0","src/apis/backupdr":"4.0.0","src/apis/vmwareengine":"1.0.2","src/apis/biglake":"0.1.1","src/apis/looker":"2.0.1","src/apis/bigquerydatapolicy":"0.1.2","src/apis/walletobjects":"4.1.0","src/apis/apphub":"2.1.0","src/apis/dataportability":"3.0.0","src/apis/workspaceevents":"1.0.1","src/apis/marketingplatformadmin":"0.2.2","src/apis/solar":"0.1.0","src/apis/config":"0.2.0","src/apis/cloudcontrolspartner":"0.1.0","src/apis/addressvalidation":"0.1.0","src/apis/developerconnect":"0.1.0"} \ No newline at end of file +{ + "src/apis/abusiveexperiencereport": "1.0.7", + "src/apis/acceleratedmobilepageurl": "1.0.7", + "src/apis/acmedns": "1.0.5", + "src/apis/addressvalidation": "0.1.0", + "src/apis/adexchangebuyer": "1.0.5", + "src/apis/adexchangebuyer2": "4.2.2", + "src/apis/adexperiencereport": "1.0.7", + "src/apis/admin": "20.0.0", + "src/apis/admob": "2.5.5", + "src/apis/adsense": "10.0.0", + "src/apis/adsensehost": "5.0.7", + "src/apis/adsenseplatform": "0.1.0", + "src/apis/airquality": "0.1.0", + "src/apis/alertcenter": "9.5.0", + "src/apis/analytics": "7.0.7", + "src/apis/analyticsreporting": "1.0.7", + "src/apis/androiddeviceprovisioning": "6.3.2", + "src/apis/androidenterprise": "5.5.2", + "src/apis/androidmanagement": "17.3.0", + "src/apis/androidpublisher": "18.0.0", + "src/apis/apim": "0.1.0", + "src/apis/apphub": "2.1.0", + "src/apis/appsactivity": "1.0.5", + "src/apis/authorizedbuyersmarketplace": "5.0.0", + "src/apis/backupdr": "4.0.0", + "src/apis/biglake": "0.1.1", + "src/apis/bigtableadmin": "20.1.0", + "src/apis/blockchainnodeengine": "6.1.0", + "src/apis/blogger": "1.1.7", + "src/apis/books": "4.0.0", + "src/apis/businessprofileperformance": "1.1.8", + "src/apis/calendar": "9.7.6", + "src/apis/chat": "27.0.0", + "src/apis/checks": "4.0.2", + "src/apis/chromemanagement": "15.0.0", + "src/apis/chromepolicy": "9.1.2", + "src/apis/chromeuxreport": "1.5.2", + "src/apis/civicinfo": "11.0.4", + "src/apis/classroom": "4.0.9", + "src/apis/cloudcontrolspartner": "0.1.0", + "src/apis/cloudidentity": "13.0.0", + "src/apis/cloudkms": "13.0.0", + "src/apis/cloudsearch": "14.4.0", + "src/apis/cloudshell": "2.0.6", + "src/apis/cloudtasks": "15.0.0", + "src/apis/config": "0.2.0", + "src/apis/connectors": "15.0.0", + "src/apis/contactcenteraiplatform": "5.0.0", + "src/apis/content": "27.0.0", + "src/apis/css": "0.1.0", + "src/apis/customsearch": "3.0.0", + "src/apis/datapipelines": "1.0.7", + "src/apis/dataportability": "3.0.0", + "src/apis/deploymentmanager": "14.0.0", + "src/apis/developerconnect": "0.1.0", + "src/apis/dfareporting": "5.2.0", + "src/apis/digitalassetlinks": "1.0.7", + "src/apis/discovery": "1.7.0", + "src/apis/displayvideo": "20.0.0", + "src/apis/docs": "3.0.2", + "src/apis/domainsrdap": "1.0.7", + "src/apis/doubleclickbidmanager": "10.0.0", + "src/apis/doubleclicksearch": "4.0.3", + "src/apis/drive": "8.11.0", + "src/apis/driveactivity": "2.0.9", + "src/apis/drivelabels": "7.0.2", + "src/apis/factchecktools": "1.2.0", + "src/apis/fcm": "5.0.10", + "src/apis/fcmdata": "1.3.0", + "src/apis/firebase": "6.4.2", + "src/apis/firebaseappcheck": "5.11.0", + "src/apis/firebaseappdistribution": "1.0.7", + "src/apis/firebasedatabase": "2.0.8", + "src/apis/firebasedynamiclinks": "1.0.9", + "src/apis/firebasehosting": "9.0.0", + "src/apis/firebaseml": "5.0.0", + "src/apis/firebaserules": "1.2.2", + "src/apis/firebasestorage": "6.1.2", + "src/apis/fitness": "2.0.7", + "src/apis/forms": "2.0.7", + "src/apis/games": "5.9.0", + "src/apis/gamesConfiguration": "2.0.7", + "src/apis/gamesManagement": "2.0.7", + "src/apis/genomics": "3.0.7", + "src/apis/gkeonprem": "7.0.2", + "src/apis/gmail": "12.0.0", + "src/apis/gmailpostmastertools": "1.1.2", + "src/apis/groupsmigration": "1.0.7", + "src/apis/groupssettings": "3.0.7", + "src/apis/healthcare": "18.0.0", + "src/apis/homegraph": "4.0.9", + "src/apis/iam": "20.0.0", + "src/apis/ideahub": "1.0.7", + "src/apis/identitytoolkit": "11.0.0", + "src/apis/indexing": "2.0.2", + "src/apis/integrations": "1.0.2", + "src/apis/keep": "0.1.0", + "src/apis/kgsearch": "1.0.7", + "src/apis/kmsinventory": "1.1.4", + "src/apis/libraryagent": "1.0.7", + "src/apis/licensing": "1.0.7", + "src/apis/localservices": "4.0.0", + "src/apis/looker": "2.0.1", + "src/apis/manufacturers": "5.3.2", + "src/apis/marketingplatformadmin": "0.2.2", + "src/apis/meet": "0.1.0", + "src/apis/merchantapi": "0.1.0", + "src/apis/ml": "3.0.11", + "src/apis/mybusinessaccountmanagement": "3.0.10", + "src/apis/mybusinessbusinesscalls": "4.0.5", + "src/apis/mybusinessbusinessinformation": "4.0.9", + "src/apis/mybusinesslodging": "3.0.2", + "src/apis/mybusinessnotifications": "1.0.7", + "src/apis/mybusinessplaceactions": "1.0.7", + "src/apis/mybusinessqanda": "1.0.7", + "src/apis/mybusinessverifications": "2.0.2", + "src/apis/networkservices": "16.0.0", + "src/apis/oauth2": "1.0.7", + "src/apis/ondemandscanning": "12.2.0", + "src/apis/pagespeedonline": "1.4.0", + "src/apis/paymentsresellersubscription": "10.0.0", + "src/apis/people": "3.0.9", + "src/apis/playablelocations": "1.0.5", + "src/apis/playcustomapp": "1.0.5", + "src/apis/playdeveloperreporting": "5.4.0", + "src/apis/playgrouping": "0.1.1", + "src/apis/playintegrity": "11.0.0", + "src/apis/plus": "1.0.3", + "src/apis/policyanalyzer": "1.2.0", + "src/apis/policysimulator": "8.0.0", + "src/apis/pollen": "0.1.0", + "src/apis/poly": "1.0.5", + "src/apis/prod_tt_sasportal": "17.0.3", + "src/apis/pubsublite": "2.1.7", + "src/apis/readerrevenuesubscriptionlinking": "1.0.5", + "src/apis/realtimebidding": "4.1.7", + "src/apis/recommendationengine": "3.4.2", + "src/apis/remotebuildexecution": "3.0.3", + "src/apis/reseller": "4.0.5", + "src/apis/runtimeconfig": "4.0.0", + "src/apis/safebrowsing": "10.0.0", + "src/apis/sasportal": "18.0.3", + "src/apis/script": "5.0.0", + "src/apis/searchads360": "6.0.0", + "src/apis/searchconsole": "1.0.5", + "src/apis/serviceconsumermanagement": "17.0.0", + "src/apis/servicenetworking": "16.0.0", + "src/apis/sheets": "9.0.0", + "src/apis/siteVerification": "2.0.5", + "src/apis/slides": "1.2.0", + "src/apis/smartdevicemanagement": "3.0.2", + "src/apis/solar": "0.1.0", + "src/apis/sourcerepo": "4.0.3", + "src/apis/sql": "1.0.3", + "src/apis/sqladmin": "19.0.0", + "src/apis/storage": "15.0.0", + "src/apis/streetviewpublish": "4.0.5", + "src/apis/sts": "7.0.0", + "src/apis/tagmanager": "5.0.2", + "src/apis/testing": "10.0.0", + "src/apis/toolresults": "3.3.2", + "src/apis/trafficdirector": "4.0.0", + "src/apis/travelimpactmodel": "2.0.2", + "src/apis/vault": "3.4.2", + "src/apis/vectortile": "1.0.3", + "src/apis/verifiedaccess": "3.4.0", + "src/apis/versionhistory": "1.3.0", + "src/apis/walletobjects": "4.1.0", + "src/apis/webfonts": "1.4.0", + "src/apis/webmasters": "1.0.3", + "src/apis/workflowexecutions": "7.5.0", + "src/apis/workloadmanager": "13.0.0", + "src/apis/workspaceevents": "1.0.1", + "src/apis/youtube": "19.0.0", + "src/apis/youtubeAnalytics": "2.0.5", + "src/apis/youtubereporting": "1.0.5", + ".": "140.0.1" +} \ No newline at end of file diff --git a/discovery/acceleratedmobilepageurl-v1.json b/discovery/acceleratedmobilepageurl-v1.json index ab2da1532d..67f336331d 100644 --- a/discovery/acceleratedmobilepageurl-v1.json +++ b/discovery/acceleratedmobilepageurl-v1.json @@ -115,7 +115,7 @@ } } }, - "revision": "20230705", + "revision": "20230701", "rootUrl": "https://acceleratedmobilepageurl.googleapis.com/", "schemas": { "AmpUrl": { diff --git a/discovery/accessapproval-v1.json b/discovery/accessapproval-v1.json index 0f769ea4f1..7069398649 100644 --- a/discovery/accessapproval-v1.json +++ b/discovery/accessapproval-v1.json @@ -913,7 +913,7 @@ } } }, - "revision": "20240621", + "revision": "20240607", "rootUrl": "https://accessapproval.googleapis.com/", "schemas": { "AccessApprovalServiceAccount": { diff --git a/discovery/accesscontextmanager-v1.json b/discovery/accesscontextmanager-v1.json index c475b3e72b..4043b79bdb 100644 --- a/discovery/accesscontextmanager-v1.json +++ b/discovery/accesscontextmanager-v1.json @@ -1290,7 +1290,7 @@ } } }, - "revision": "20240623", + "revision": "20240708", "rootUrl": "https://accesscontextmanager.googleapis.com/", "schemas": { "AccessContextManagerOperationMetadata": { @@ -1332,6 +1332,7 @@ "properties": { "etag": { "description": "Output only. An opaque identifier for the current version of the `AccessPolicy`. This will always be a strongly validated etag, meaning that two Access Policies will be identical if and only if their etags are identical. Clients should not expect this to be in any specific format.", + "readOnly": true, "type": "string" }, "name": { @@ -1741,7 +1742,7 @@ "type": "string" }, "sources": { - "description": "Sources that this EgressPolicy authorizes access from. If this field is not empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`.", + "description": "Sources that this EgressPolicy authorizes access from. If this field is not empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`. TODO (b/332744441): annotate this field with custom_org_policy_accessibility when cl/640698580 will be rolled out.", "items": { "$ref": "EgressSource" }, @@ -1770,7 +1771,7 @@ "id": "EgressSource", "properties": { "accessLevel": { - "description": "An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel name is not specified, only resources within the perimeter can be accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all EgressSources will be allowed.", + "description": "An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel name is not specified, only resources within the perimeter can be accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all EgressSources will be allowed. TODO (b/332744441): annotate this field with custom_org_policy_accessibility when cl/640698580 will be rolled out.", "type": "string" } }, @@ -2548,7 +2549,7 @@ "properties": { "vpcSubnetwork": { "$ref": "VpcSubNetwork", - "description": "Sub-segment ranges of a VPC network." + "description": "Sub-segment ranges of a VPC network. TODO (b/332744441): annotate this field with custom_org_policy_accessibility when cl/640698580 will be rolled out." } }, "type": "object" diff --git a/discovery/addressvalidation-v1.json b/discovery/addressvalidation-v1.json index 62bbdf7378..8b20f509ea 100644 --- a/discovery/addressvalidation-v1.json +++ b/discovery/addressvalidation-v1.json @@ -151,7 +151,7 @@ } } }, - "revision": "20240430", + "revision": "20240703", "rootUrl": "https://addressvalidation.googleapis.com/", "schemas": { "GoogleGeoTypeViewport": { @@ -489,7 +489,7 @@ "type": "string" }, "dpvEnhancedDeliveryCode": { - "description": "Indicates that more than one DPV return code is valid for the address. Returns a single character. * `Y`: Address was DPV confirmed for primary and any secondary numbers. * `N`: Primary and any secondary number information failed to DPV confirm. * `S`: Address was DPV confirmed for the primary number only, and the secondary number information was present by not confirmed, or a single trailing alpha on a primary number was dropped to make a DPV match and secondary information required. * `D`: Address was DPV confirmed for the primary number only, and the secondary number information was missing. * `R`: Address confirmed but assigned to phantom route R777 and R779 and USPS delivery is not provided.", + "description": "Indicates that more than one DPV return code is valid for the address. Returns a single character. * `Y`: Address was DPV confirmed for primary and any secondary numbers. * `N`: Primary and any secondary number information failed to DPV confirm. * `S`: Address was DPV confirmed for the primary number only, and the secondary number information was present but not confirmed, or a single trailing alpha on a primary number was dropped to make a DPV match and secondary information required. * `D`: Address was DPV confirmed for the primary number only, and the secondary number information was missing. * `R`: Address confirmed but assigned to phantom route R777 and R779 and USPS delivery is not provided.", "type": "string" }, "dpvFootnote": { diff --git a/discovery/adexchangebuyer2-v2beta1.json b/discovery/adexchangebuyer2-v2beta1.json index bad603521b..0c8abc6378 100644 --- a/discovery/adexchangebuyer2-v2beta1.json +++ b/discovery/adexchangebuyer2-v2beta1.json @@ -3115,7 +3115,7 @@ } } }, - "revision": "20231213", + "revision": "20231206", "rootUrl": "https://adexchangebuyer.googleapis.com/", "schemas": { "AbsoluteDateRange": { diff --git a/discovery/admin-datatransfer_v1.json b/discovery/admin-datatransfer_v1.json index 6b87391860..066eea52e8 100644 --- a/discovery/admin-datatransfer_v1.json +++ b/discovery/admin-datatransfer_v1.json @@ -272,7 +272,7 @@ } } }, - "revision": "20221205", + "revision": "20221108", "rootUrl": "https://admin.googleapis.com/", "schemas": { "Application": { diff --git a/discovery/admin-directory_v1.json b/discovery/admin-directory_v1.json index 6d1b7ee3f3..63989910ca 100644 --- a/discovery/admin-directory_v1.json +++ b/discovery/admin-directory_v1.json @@ -3931,7 +3931,7 @@ ] }, "insert": { - "description": "Creates a user. Mutate calls immediately following user creation might sometimes fail as the user isn't fully created due to propagation delay in our backends. Check the error details for the \"User creation is not complete\" message to see if this is the case. Retrying the calls after some time can help in this case.", + "description": "Creates a user. Mutate calls immediately following user creation might sometimes fail as the user isn't fully created due to propagation delay in our backends. Check the error details for the \"User creation is not complete\" message to see if this is the case. Retrying the calls after some time can help in this case. If `resolveConflictAccount` is set to `true`, a `202` response code means that a conflicting unmanaged account exists and was invited to join the organization. A `409` response code means that a conflicting account exists so the user wasn't created based on the [handling unmanaged user accounts](https://support.google.com/a/answer/11112794) option selected.", "flatPath": "admin/directory/v1/users", "httpMethod": "POST", "id": "directory.users.insert", @@ -4671,7 +4671,7 @@ } } }, - "revision": "20240618", + "revision": "20240709", "rootUrl": "https://admin.googleapis.com/", "schemas": { "Alias": { diff --git a/discovery/admob-v1.json b/discovery/admob-v1.json index 6f0ea77996..fdf58a99c2 100644 --- a/discovery/admob-v1.json +++ b/discovery/admob-v1.json @@ -321,7 +321,7 @@ } } }, - "revision": "20240530", + "revision": "20240514", "rootUrl": "https://admob.googleapis.com/", "schemas": { "AdUnit": { diff --git a/discovery/admob-v1beta.json b/discovery/admob-v1beta.json index 8dad680212..bbd7950918 100644 --- a/discovery/admob-v1beta.json +++ b/discovery/admob-v1beta.json @@ -758,7 +758,7 @@ } } }, - "revision": "20240530", + "revision": "20240514", "rootUrl": "https://admob.googleapis.com/", "schemas": { "AdSource": { diff --git a/discovery/adsense-v2.json b/discovery/adsense-v2.json index 97e7150c2e..af46f01358 100644 --- a/discovery/adsense-v2.json +++ b/discovery/adsense-v2.json @@ -1912,7 +1912,7 @@ } } }, - "revision": "20240530", + "revision": "20240515", "rootUrl": "https://adsense.googleapis.com/", "schemas": { "Account": { diff --git a/discovery/adsensehost-v4.1.json b/discovery/adsensehost-v4.1.json index 4abb5fdabe..9a06bfa023 100644 --- a/discovery/adsensehost-v4.1.json +++ b/discovery/adsensehost-v4.1.json @@ -1076,7 +1076,7 @@ } } }, - "revision": "20200513", + "revision": "20200311", "rootUrl": "https://www.googleapis.com/", "schemas": { "Account": { diff --git a/discovery/adsenseplatform-v1alpha.json b/discovery/adsenseplatform-v1alpha.json new file mode 100644 index 0000000000..e3a4b08718 --- /dev/null +++ b/discovery/adsenseplatform-v1alpha.json @@ -0,0 +1,721 @@ +{ + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/adsense": { + "description": "View and manage your AdSense data" + }, + "https://www.googleapis.com/auth/adsense.readonly": { + "description": "View your AdSense data" + } + } + } + }, + "basePath": "", + "baseUrl": "https://adsenseplatform.googleapis.com/", + "batchPath": "batch", + "canonicalName": "AdSense Platform", + "description": "", + "discoveryVersion": "v1", + "documentationLink": "https://developers.google.com/adsense/platforms/", + "fullyEncodeReservedExpansion": true, + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "id": "adsenseplatform:v1alpha", + "kind": "discovery#restDescription", + "mtlsRootUrl": "https://adsenseplatform.mtls.googleapis.com/", + "name": "adsenseplatform", + "ownerDomain": "google.com", + "ownerName": "Google", + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "enum": [ + "1", + "2" + ], + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, + "alt": { + "default": "json", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "type": "string" + }, + "callback": { + "description": "JSONP", + "location": "query", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" + }, + "quotaUser": { + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", + "location": "query", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "location": "query", + "type": "string" + } + }, + "protocol": "rest", + "resources": { + "platforms": { + "resources": { + "accounts": { + "methods": { + "close": { + "description": "Closes a sub-account.", + "flatPath": "v1alpha/platforms/{platformsId}/accounts/{accountsId}:close", + "httpMethod": "POST", + "id": "adsenseplatform.platforms.accounts.close", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Account to close. Format: platforms/{platform}/accounts/{account_id}", + "location": "path", + "pattern": "^platforms/[^/]+/accounts/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}:close", + "request": { + "$ref": "CloseAccountRequest" + }, + "response": { + "$ref": "CloseAccountResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/adsense" + ] + }, + "create": { + "description": "Creates a sub-account.", + "flatPath": "v1alpha/platforms/{platformsId}/accounts", + "httpMethod": "POST", + "id": "adsenseplatform.platforms.accounts.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. Platform to create an account for. Format: platforms/{platform}", + "location": "path", + "pattern": "^platforms/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/accounts", + "request": { + "$ref": "Account" + }, + "response": { + "$ref": "Account" + }, + "scopes": [ + "https://www.googleapis.com/auth/adsense" + ] + }, + "get": { + "description": "Gets information about the selected sub-account.", + "flatPath": "v1alpha/platforms/{platformsId}/accounts/{accountsId}", + "httpMethod": "GET", + "id": "adsenseplatform.platforms.accounts.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Account to get information about. Format: platforms/{platform}/accounts/{account_id}", + "location": "path", + "pattern": "^platforms/[^/]+/accounts/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "Account" + }, + "scopes": [ + "https://www.googleapis.com/auth/adsense", + "https://www.googleapis.com/auth/adsense.readonly" + ] + }, + "list": { + "description": "Lists a partial view of sub-accounts for a specific parent account.", + "flatPath": "v1alpha/platforms/{platformsId}/accounts", + "httpMethod": "GET", + "id": "adsenseplatform.platforms.accounts.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "Optional. The maximum number of accounts to include in the response, used for paging. If unspecified, at most 10000 accounts will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token, received from a previous `ListAccounts` call. Provide this to retrieve the subsequent page.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Platform who parents the accounts. Format: platforms/{platform}", + "location": "path", + "pattern": "^platforms/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/accounts", + "response": { + "$ref": "ListAccountsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/adsense", + "https://www.googleapis.com/auth/adsense.readonly" + ] + }, + "lookup": { + "description": "Looks up information about a sub-account for a specified creation_request_id. If no account exists for the given creation_request_id, returns 404.", + "flatPath": "v1alpha/platforms/{platformsId}/accounts:lookup", + "httpMethod": "GET", + "id": "adsenseplatform.platforms.accounts.lookup", + "parameterOrder": [ + "parent" + ], + "parameters": { + "creationRequestId": { + "description": "Optional. The creation_request_id provided when calling createAccount.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Platform who parents the account. Format: platforms/{platform}", + "location": "path", + "pattern": "^platforms/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/accounts:lookup", + "response": { + "$ref": "LookupAccountResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/adsense", + "https://www.googleapis.com/auth/adsense.readonly" + ] + } + }, + "resources": { + "events": { + "methods": { + "create": { + "description": "Creates an account event.", + "flatPath": "v1alpha/platforms/{platformsId}/accounts/{accountsId}/events", + "httpMethod": "POST", + "id": "adsenseplatform.platforms.accounts.events.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. Account to log events about. Format: platforms/{platform}/accounts/{account}", + "location": "path", + "pattern": "^platforms/[^/]+/accounts/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/events", + "request": { + "$ref": "Event" + }, + "response": { + "$ref": "Event" + }, + "scopes": [ + "https://www.googleapis.com/auth/adsense" + ] + } + } + }, + "sites": { + "methods": { + "create": { + "description": "Creates a site for a specified account.", + "flatPath": "v1alpha/platforms/{platformsId}/accounts/{accountsId}/sites", + "httpMethod": "POST", + "id": "adsenseplatform.platforms.accounts.sites.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. Account to create site. Format: platforms/{platform}/accounts/{account_id}", + "location": "path", + "pattern": "^platforms/[^/]+/accounts/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/sites", + "request": { + "$ref": "Site" + }, + "response": { + "$ref": "Site" + }, + "scopes": [ + "https://www.googleapis.com/auth/adsense" + ] + }, + "delete": { + "description": "Deletes a site from a specified account.", + "flatPath": "v1alpha/platforms/{platformsId}/accounts/{accountsId}/sites/{sitesId}", + "httpMethod": "DELETE", + "id": "adsenseplatform.platforms.accounts.sites.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the site to delete. Format: platforms/{platform}/accounts/{account}/sites/{site}", + "location": "path", + "pattern": "^platforms/[^/]+/accounts/[^/]+/sites/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/adsense" + ] + }, + "get": { + "description": "Gets a site from a specified sub-account.", + "flatPath": "v1alpha/platforms/{platformsId}/accounts/{accountsId}/sites/{sitesId}", + "httpMethod": "GET", + "id": "adsenseplatform.platforms.accounts.sites.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the site to retrieve. Format: platforms/{platform}/accounts/{account}/sites/{site}", + "location": "path", + "pattern": "^platforms/[^/]+/accounts/[^/]+/sites/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "Site" + }, + "scopes": [ + "https://www.googleapis.com/auth/adsense", + "https://www.googleapis.com/auth/adsense.readonly" + ] + }, + "list": { + "description": "Lists sites for a specific account.", + "flatPath": "v1alpha/platforms/{platformsId}/accounts/{accountsId}/sites", + "httpMethod": "GET", + "id": "adsenseplatform.platforms.accounts.sites.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of sites to include in the response, used for paging. If unspecified, at most 10000 sites will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token, received from a previous `ListSites` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListSites` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The account which owns the sites. Format: platforms/{platform}/accounts/{account}", + "location": "path", + "pattern": "^platforms/[^/]+/accounts/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/sites", + "response": { + "$ref": "ListSitesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/adsense", + "https://www.googleapis.com/auth/adsense.readonly" + ] + }, + "requestReview": { + "description": "Requests the review of a site. The site should be in REQUIRES_REVIEW or NEEDS_ATTENTION state. Note: Make sure you place an [ad tag](https://developers.google.com/adsense/platforms/direct/ad-tags) on your site before requesting a review.", + "flatPath": "v1alpha/platforms/{platformsId}/accounts/{accountsId}/sites/{sitesId}:requestReview", + "httpMethod": "POST", + "id": "adsenseplatform.platforms.accounts.sites.requestReview", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the site to submit for review. Format: platforms/{platform}/accounts/{account}/sites/{site}", + "location": "path", + "pattern": "^platforms/[^/]+/accounts/[^/]+/sites/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}:requestReview", + "response": { + "$ref": "RequestSiteReviewResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/adsense" + ] + } + } + } + } + } + } + } + }, + "revision": "20240710", + "rootUrl": "https://adsenseplatform.googleapis.com/", + "schemas": { + "Account": { + "description": "Representation of an Account.", + "id": "Account", + "properties": { + "createTime": { + "description": "Output only. Creation time of the account.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "creationRequestId": { + "description": "Required. An opaque token that uniquely identifies the account among all the platform's accounts. This string may contain at most 64 non-whitespace ASCII characters, but otherwise has no predefined structure. However, it is expected to be a platform-specific identifier for the user creating the account, so that only a single account can be created for any given user. This field must not contain any information that is recognizable as personally identifiable information. e.g. it should not be an email address or login name. Once an account has been created, a second attempt to create an account using the same creation_request_id will result in an ALREADY_EXISTS error.", + "type": "string" + }, + "displayName": { + "description": "Display name of this account.", + "type": "string" + }, + "name": { + "description": "Output only. Resource name of the account. Format: platforms/pub-[0-9]+/accounts/pub-[0-9]+", + "readOnly": true, + "type": "string" + }, + "regionCode": { + "description": "Required. Input only. CLDR region code of the country/region of the address. Set this to country code of the child account if known, otherwise to your own country code.", + "type": "string" + }, + "state": { + "description": "Output only. Approval state of the account.", + "enum": [ + "STATE_UNSPECIFIED", + "UNCHECKED", + "APPROVED", + "DISAPPROVED" + ], + "enumDescriptions": [ + "Unspecified.", + "Unchecked.", + "The account is ready to serve ads.", + "The account has been blocked from serving ads." + ], + "readOnly": true, + "type": "string" + }, + "timeZone": { + "$ref": "TimeZone", + "description": "Required. The IANA TZ timezone code of this account. For more information, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. This field is used for reporting. It is recommended to set it to the same value for all child accounts." + } + }, + "type": "object" + }, + "Address": { + "description": "Address data.", + "id": "Address", + "properties": { + "address1": { + "description": "First line of address. Max length 64 bytes or 30 characters.", + "type": "string" + }, + "address2": { + "description": "Second line of address. Max length 64 bytes or 30 characters.", + "type": "string" + }, + "city": { + "description": "City. Max length 60 bytes or 30 characters.", + "type": "string" + }, + "company": { + "description": "Name of the company. Max length 255 bytes or 34 characters.", + "type": "string" + }, + "contact": { + "description": "Contact name of the company. Max length 128 bytes or 34 characters.", + "type": "string" + }, + "fax": { + "description": "Fax number with international code (i.e. +441234567890).", + "type": "string" + }, + "phone": { + "description": "Phone number with international code (i.e. +441234567890).", + "type": "string" + }, + "regionCode": { + "description": "Country/Region code. The region is specified as a CLDR region code (e.g. \"US\", \"FR\").", + "type": "string" + }, + "state": { + "description": "State. Max length 60 bytes or 30 characters.", + "type": "string" + }, + "zip": { + "description": "Zip/post code. Max length 10 bytes or 10 characters.", + "type": "string" + } + }, + "type": "object" + }, + "CloseAccountRequest": { + "description": "Request definition for the account close rpc.", + "id": "CloseAccountRequest", + "properties": {}, + "type": "object" + }, + "CloseAccountResponse": { + "description": "Response definition for the account close rpc.", + "id": "CloseAccountResponse", + "properties": {}, + "type": "object" + }, + "Empty": { + "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", + "id": "Empty", + "properties": {}, + "type": "object" + }, + "Event": { + "description": "A platform sub-account event to record spam signals.", + "id": "Event", + "properties": { + "eventInfo": { + "$ref": "EventInfo", + "description": "Required. Information associated with the event." + }, + "eventTime": { + "description": "Required. Event timestamp.", + "format": "google-datetime", + "type": "string" + }, + "eventType": { + "description": "Required. Event type.", + "enum": [ + "EVENT_TYPE_UNSPECIFIED", + "LOG_IN_VIA_PLATFORM", + "SIGN_UP_VIA_PLATFORM" + ], + "enumDescriptions": [ + "Do not use. You must set an event type explicitly.", + "Log in via platform.", + "Sign up via platform." + ], + "type": "string" + } + }, + "type": "object" + }, + "EventInfo": { + "description": "Private information for partner recorded events (PII).", + "id": "EventInfo", + "properties": { + "billingAddress": { + "$ref": "Address", + "description": "The billing address of the publisher associated with this event, if available." + }, + "email": { + "description": "Required. The email address that is associated with the publisher when performing the event.", + "type": "string" + } + }, + "type": "object" + }, + "ListAccountsResponse": { + "description": "Response definition for the list accounts rpc.", + "id": "ListAccountsResponse", + "properties": { + "accounts": { + "description": "The Accounts returned in the list response. Represented by a partial view of the Account resource, populating `name` and `creation_request_id`.", + "items": { + "$ref": "Account" + }, + "type": "array" + }, + "nextPageToken": { + "description": "Continuation token used to page through accounts. To retrieve the next page of the results, set the next request's \"page_token\" value to this.", + "type": "string" + } + }, + "type": "object" + }, + "ListSitesResponse": { + "description": "Response definition for the site list rpc.", + "id": "ListSitesResponse", + "properties": { + "nextPageToken": { + "description": "Continuation token used to page through sites. To retrieve the next page of the results, set the next request's \"page_token\" value to this.", + "type": "string" + }, + "sites": { + "description": "The sites returned in this list response.", + "items": { + "$ref": "Site" + }, + "type": "array" + } + }, + "type": "object" + }, + "LookupAccountResponse": { + "description": "Response definition for the lookup account rpc.", + "id": "LookupAccountResponse", + "properties": { + "name": { + "description": "The name of the Account Format: platforms/{platform}/accounts/{account_id}", + "type": "string" + } + }, + "type": "object" + }, + "RequestSiteReviewResponse": { + "description": "Response definition for the site request review rpc.", + "id": "RequestSiteReviewResponse", + "properties": {}, + "type": "object" + }, + "Site": { + "description": "Representation of a Site.", + "id": "Site", + "properties": { + "domain": { + "description": "Domain/sub-domain of the site. Must be a valid domain complying with [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt) and formatted as punycode [RFC 3492](https://www.ietf.org/rfc/rfc3492.txt) in case the domain contains unicode characters.", + "type": "string" + }, + "name": { + "description": "Output only. Resource name of a site. Format: platforms/{platform}/accounts/{account}/sites/{site}", + "readOnly": true, + "type": "string" + }, + "state": { + "description": "Output only. State of a site.", + "enum": [ + "STATE_UNSPECIFIED", + "REQUIRES_REVIEW", + "GETTING_READY", + "READY", + "NEEDS_ATTENTION" + ], + "enumDescriptions": [ + "State unspecified.", + "Either: - The site hasn't been checked yet. - The site is inactive and needs another review before it can show ads again. Learn how to [request a review for an inactive site](https://support.google.com/adsense/answer/9393996).", + "Google is running some checks on the site. This usually takes a few days, but in some cases it can take two to four weeks.", + "The site is ready to show ads. Learn how to [set up ads on the site](https://support.google.com/adsense/answer/7037624).", + "Publisher needs to fix some issues before the site is ready to show ads. Learn what to do [if a new site isn't ready](https://support.google.com/adsense/answer/9061852)." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "TimeZone": { + "description": "Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones).", + "id": "TimeZone", + "properties": { + "id": { + "description": "IANA Time Zone Database time zone, e.g. \"America/New_York\".", + "type": "string" + }, + "version": { + "description": "Optional. IANA Time Zone Database version number, e.g. \"2019a\".", + "type": "string" + } + }, + "type": "object" + } + }, + "servicePath": "", + "title": "AdSense Platform API", + "version": "v1alpha", + "version_module": true +} \ No newline at end of file diff --git a/discovery/advisorynotifications-v1.json b/discovery/advisorynotifications-v1.json index a5b1e16003..6e4b5033b8 100644 --- a/discovery/advisorynotifications-v1.json +++ b/discovery/advisorynotifications-v1.json @@ -412,7 +412,7 @@ } } }, - "revision": "20240428", + "revision": "20240331", "rootUrl": "https://advisorynotifications.googleapis.com/", "schemas": { "GoogleCloudAdvisorynotificationsV1Attachment": { diff --git a/discovery/aiplatform-v1.json b/discovery/aiplatform-v1.json index 9af8ff67b9..20497a027b 100644 --- a/discovery/aiplatform-v1.json +++ b/discovery/aiplatform-v1.json @@ -20,74 +20,74 @@ "documentationLink": "https://cloud.google.com/vertex-ai/", "endpoints": [ { - "location": "africa-south1", + "description": "Locational Endpoint", "endpointUrl": "https://africa-south1-aiplatform.googleapis.com/", - "description": "Locational Endpoint" + "location": "africa-south1" }, { - "location": "asia-east1", + "description": "Locational Endpoint", "endpointUrl": "https://asia-east1-aiplatform.googleapis.com/", - "description": "Locational Endpoint" + "location": "asia-east1" }, { + "description": "Locational Endpoint", "endpointUrl": "https://asia-east2-aiplatform.googleapis.com/", - "location": "asia-east2", - "description": "Locational Endpoint" + "location": "asia-east2" }, { - "endpointUrl": "https://asia-northeast1-aiplatform.googleapis.com/", "description": "Locational Endpoint", + "endpointUrl": "https://asia-northeast1-aiplatform.googleapis.com/", "location": "asia-northeast1" }, { - "location": "asia-northeast2", + "description": "Locational Endpoint", "endpointUrl": "https://asia-northeast2-aiplatform.googleapis.com/", - "description": "Locational Endpoint" + "location": "asia-northeast2" }, { - "location": "asia-northeast3", "description": "Locational Endpoint", - "endpointUrl": "https://asia-northeast3-aiplatform.googleapis.com/" + "endpointUrl": "https://asia-northeast3-aiplatform.googleapis.com/", + "location": "asia-northeast3" }, { "description": "Locational Endpoint", - "location": "asia-south1", - "endpointUrl": "https://asia-south1-aiplatform.googleapis.com/" + "endpointUrl": "https://asia-south1-aiplatform.googleapis.com/", + "location": "asia-south1" }, { "description": "Locational Endpoint", - "location": "asia-southeast1", - "endpointUrl": "https://asia-southeast1-aiplatform.googleapis.com/" + "endpointUrl": "https://asia-southeast1-aiplatform.googleapis.com/", + "location": "asia-southeast1" }, { - "location": "asia-southeast2", "description": "Locational Endpoint", - "endpointUrl": "https://asia-southeast2-aiplatform.googleapis.com/" + "endpointUrl": "https://asia-southeast2-aiplatform.googleapis.com/", + "location": "asia-southeast2" }, { - "location": "australia-southeast1", "description": "Locational Endpoint", - "endpointUrl": "https://australia-southeast1-aiplatform.googleapis.com/" + "endpointUrl": "https://australia-southeast1-aiplatform.googleapis.com/", + "location": "australia-southeast1" }, { "description": "Locational Endpoint", - "location": "australia-southeast2", - "endpointUrl": "https://australia-southeast2-aiplatform.googleapis.com/" + "endpointUrl": "https://australia-southeast2-aiplatform.googleapis.com/", + "location": "australia-southeast2" }, { - "endpointUrl": "https://europe-central2-aiplatform.googleapis.com/", "description": "Locational Endpoint", + "endpointUrl": "https://europe-central2-aiplatform.googleapis.com/", "location": "europe-central2" }, { - "location": "europe-north1", + "description": "Locational Endpoint", "endpointUrl": "https://europe-north1-aiplatform.googleapis.com/", - "description": "Locational Endpoint" + "location": "europe-north1" }, { + "description": "Locational Endpoint", "endpointUrl": "https://europe-southwest1-aiplatform.googleapis.com/", - "location": "europe-southwest1", - "description": "Locational Endpoint" + "location": "europe-southwest1" }, { "description": "Locational Endpoint", @@ -100,9 +100,9 @@ "location": "europe-west2" }, { - "location": "europe-west3", + "description": "Locational Endpoint", "endpointUrl": "https://europe-west3-aiplatform.googleapis.com/", - "description": "Locational Endpoint" + "location": "europe-west3" }, { "description": "Locational Endpoint", @@ -111,58 +111,58 @@ }, { "description": "Locational Endpoint", - "location": "europe-west6", - "endpointUrl": "https://europe-west6-aiplatform.googleapis.com/" + "endpointUrl": "https://europe-west6-aiplatform.googleapis.com/", + "location": "europe-west6" }, { - "endpointUrl": "https://europe-west8-aiplatform.googleapis.com/", "description": "Locational Endpoint", + "endpointUrl": "https://europe-west8-aiplatform.googleapis.com/", "location": "europe-west8" }, { - "location": "europe-west9", + "description": "Locational Endpoint", "endpointUrl": "https://europe-west9-aiplatform.googleapis.com/", - "description": "Locational Endpoint" + "location": "europe-west9" }, { - "location": "europe-west12", + "description": "Locational Endpoint", "endpointUrl": "https://europe-west12-aiplatform.googleapis.com/", - "description": "Locational Endpoint" + "location": "europe-west12" }, { - "location": "me-central1", + "description": "Locational Endpoint", "endpointUrl": "https://me-central1-aiplatform.googleapis.com/", - "description": "Locational Endpoint" + "location": "me-central1" }, { - "location": "me-central2", + "description": "Locational Endpoint", "endpointUrl": "https://me-central2-aiplatform.googleapis.com/", - "description": "Locational Endpoint" + "location": "me-central2" }, { - "location": "me-west1", + "description": "Locational Endpoint", "endpointUrl": "https://me-west1-aiplatform.googleapis.com/", - "description": "Locational Endpoint" + "location": "me-west1" }, { - "location": "northamerica-northeast1", "description": "Locational Endpoint", - "endpointUrl": "https://northamerica-northeast1-aiplatform.googleapis.com/" + "endpointUrl": "https://northamerica-northeast1-aiplatform.googleapis.com/", + "location": "northamerica-northeast1" }, { + "description": "Locational Endpoint", "endpointUrl": "https://northamerica-northeast2-aiplatform.googleapis.com/", - "location": "northamerica-northeast2", - "description": "Locational Endpoint" + "location": "northamerica-northeast2" }, { - "location": "southamerica-east1", + "description": "Locational Endpoint", "endpointUrl": "https://southamerica-east1-aiplatform.googleapis.com/", - "description": "Locational Endpoint" + "location": "southamerica-east1" }, { - "location": "southamerica-west1", "description": "Locational Endpoint", - "endpointUrl": "https://southamerica-west1-aiplatform.googleapis.com/" + "endpointUrl": "https://southamerica-west1-aiplatform.googleapis.com/", + "location": "southamerica-west1" }, { "description": "Locational Endpoint", @@ -170,49 +170,49 @@ "location": "us-central1" }, { - "location": "us-central2", + "description": "Locational Endpoint", "endpointUrl": "https://us-central2-aiplatform.googleapis.com/", - "description": "Locational Endpoint" + "location": "us-central2" }, { - "location": "us-east1", + "description": "Locational Endpoint", "endpointUrl": "https://us-east1-aiplatform.googleapis.com/", - "description": "Locational Endpoint" + "location": "us-east1" }, { - "location": "us-east4", + "description": "Locational Endpoint", "endpointUrl": "https://us-east4-aiplatform.googleapis.com/", - "description": "Locational Endpoint" + "location": "us-east4" }, { - "location": "us-south1", + "description": "Locational Endpoint", "endpointUrl": "https://us-south1-aiplatform.googleapis.com/", - "description": "Locational Endpoint" + "location": "us-south1" }, { "description": "Locational Endpoint", - "location": "us-west1", - "endpointUrl": "https://us-west1-aiplatform.googleapis.com/" + "endpointUrl": "https://us-west1-aiplatform.googleapis.com/", + "location": "us-west1" }, { + "description": "Locational Endpoint", "endpointUrl": "https://us-west2-aiplatform.googleapis.com/", - "location": "us-west2", - "description": "Locational Endpoint" + "location": "us-west2" }, { - "location": "us-west3", + "description": "Locational Endpoint", "endpointUrl": "https://us-west3-aiplatform.googleapis.com/", - "description": "Locational Endpoint" + "location": "us-west3" }, { "description": "Locational Endpoint", - "location": "us-west4", - "endpointUrl": "https://us-west4-aiplatform.googleapis.com/" + "endpointUrl": "https://us-west4-aiplatform.googleapis.com/", + "location": "us-west4" }, { - "location": "us-east5", "description": "Locational Endpoint", - "endpointUrl": "https://us-east5-aiplatform.googleapis.com/" + "endpointUrl": "https://us-east5-aiplatform.googleapis.com/", + "location": "us-east5" } ], "fullyEncodeReservedExpansion": true, @@ -2822,6 +2822,40 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "patch": { + "description": "Update a DeploymentResourcePool.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deploymentResourcePools/{deploymentResourcePoolsId}", + "httpMethod": "PATCH", + "id": "aiplatform.projects.locations.deploymentResourcePools.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Immutable. The resource name of the DeploymentResourcePool. Format: `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/deploymentResourcePools/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The list of fields to update.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "GoogleCloudAiplatformV1DeploymentResourcePool" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "queryDeployedModels": { "description": "List DeployedModels that have been deployed on this DeploymentResourcePool.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deploymentResourcePools/{deploymentResourcePoolsId}:queryDeployedModels", @@ -3893,7 +3927,7 @@ "type": "string" }, "updateMask": { - "description": "Field mask is used to specify the fields to be overwritten in the FeatureGroup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `labels`", + "description": "Field mask is used to specify the fields to be overwritten in the FeatureGroup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `labels` * `description` * `big_query` * `big_query.entity_id_columns`", "format": "google-fieldmask", "location": "query", "type": "string" @@ -4072,7 +4106,7 @@ "type": "string" }, "updateMask": { - "description": "Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring` (Not supported for FeatureRegistry Feature)", + "description": "Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring` (Not supported for FeatureRegistryService Feature) * `point_of_contact` (Not supported for FeaturestoreService FeatureStore)", "format": "google-fieldmask", "location": "query", "type": "string" @@ -4500,7 +4534,7 @@ "type": "string" }, "updateMask": { - "description": "Field mask is used to specify the fields to be overwritten in the FeatureOnlineStore resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `big_query_source` * `bigtable` * `labels` * `sync_config`", + "description": "Field mask is used to specify the fields to be overwritten in the FeatureOnlineStore resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `labels` * `description` * `bigtable` * `bigtable.auto_scaling` * `bigtable.enable_multi_region_replica`", "format": "google-fieldmask", "location": "query", "type": "string" @@ -4700,7 +4734,7 @@ "type": "string" }, "updateMask": { - "description": "Field mask is used to specify the fields to be overwritten in the FeatureView resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `labels` * `serviceAgentType`", + "description": "Field mask is used to specify the fields to be overwritten in the FeatureView resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `labels` * `service_agent_type` * `big_query_source` * `big_query_source.uri` * `big_query_source.entity_id_columns` * `feature_registry_source` * `feature_registry_source.feature_groups` * `sync_config` * `sync_config.cron`", "format": "google-fieldmask", "location": "query", "type": "string" @@ -6067,7 +6101,7 @@ "type": "string" }, "updateMask": { - "description": "Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring` (Not supported for FeatureRegistry Feature)", + "description": "Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring` (Not supported for FeatureRegistryService Feature) * `point_of_contact` (Not supported for FeaturestoreService FeatureStore)", "format": "google-fieldmask", "location": "query", "type": "string" @@ -16776,11 +16810,11 @@ } } }, - "revision": "20240617", + "revision": "20240709", "rootUrl": "https://aiplatform.googleapis.com/", "schemas": { "CloudAiLargeModelsVisionGenerateVideoResponse": { - "description": "Generate video response.", + "description": "Next ID: 8 Generate video response.", "id": "CloudAiLargeModelsVisionGenerateVideoResponse", "properties": { "generatedSamples": { @@ -18246,7 +18280,12 @@ "GoogleCloudAiplatformV1BleuSpec": { "description": "Spec for bleu score metric - calculates the precision of n-grams in the prediction as compared to reference - returns a score ranging between 0 to 1.", "id": "GoogleCloudAiplatformV1BleuSpec", - "properties": {}, + "properties": { + "useEffectiveOrder": { + "description": "Optional. Whether to use_effective_order to compute bleu score.", + "type": "boolean" + } + }, "type": "object" }, "GoogleCloudAiplatformV1Blob": { @@ -18615,12 +18654,23 @@ "description": "Request message for ComputeTokens RPC call.", "id": "GoogleCloudAiplatformV1ComputeTokensRequest", "properties": { + "contents": { + "description": "Required. Input content.", + "items": { + "$ref": "GoogleCloudAiplatformV1Content" + }, + "type": "array" + }, "instances": { "description": "Required. The instances that are the input to token computing API call. Schema is identical to the prediction schema of the text model, even for the non-text models, like chat models, or Codey models.", "items": { "type": "any" }, "type": "array" + }, + "model": { + "description": "Required. The name of the publisher model requested to serve the prediction. Format: projects/{project}/locations/{location}/publishers/*/models/*", + "type": "string" } }, "type": "object" @@ -22077,10 +22127,19 @@ "description": "The dedicated serving endpoint for this FeatureOnlineStore. Only need to set when you choose Optimized storage type. Public endpoint is provisioned by default.", "id": "GoogleCloudAiplatformV1FeatureOnlineStoreDedicatedServingEndpoint", "properties": { + "privateServiceConnectConfig": { + "$ref": "GoogleCloudAiplatformV1PrivateServiceConnectConfig", + "description": "Optional. Private service connect config. The private service connection is available only for Optimized storage type, not for embedding management now. If PrivateServiceConnectConfig.enable_private_service_connect set to true, customers will use private service connection to send request. Otherwise, the connection will set to public endpoint." + }, "publicEndpointDomainName": { "description": "Output only. This field will be populated with the domain name to use for this FeatureOnlineStore", "readOnly": true, "type": "string" + }, + "serviceAttachment": { + "description": "Output only. The name of the service attachment resource. Populated if private service connect is enabled and after FeatureViewSync is created.", + "readOnly": true, + "type": "string" } }, "type": "object" @@ -23487,10 +23546,115 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1GroundingAttribution": { + "description": "Grounding attribution.", + "id": "GoogleCloudAiplatformV1GroundingAttribution", + "properties": { + "confidenceScore": { + "description": "Optional. Output only. Confidence score of the attribution. Ranges from 0 to 1. 1 is the most confident.", + "format": "float", + "readOnly": true, + "type": "number" + }, + "segment": { + "$ref": "GoogleCloudAiplatformV1Segment", + "description": "Output only. Segment of the content this attribution belongs to.", + "readOnly": true + }, + "web": { + "$ref": "GoogleCloudAiplatformV1GroundingAttributionWeb", + "description": "Optional. Attribution from the web." + } + }, + "type": "object" + }, + "GoogleCloudAiplatformV1GroundingAttributionWeb": { + "description": "Attribution from the web.", + "id": "GoogleCloudAiplatformV1GroundingAttributionWeb", + "properties": { + "title": { + "description": "Output only. Title of the attribution.", + "readOnly": true, + "type": "string" + }, + "uri": { + "description": "Output only. URI reference of the attribution.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudAiplatformV1GroundingChunk": { + "description": "Grounding chunk.", + "id": "GoogleCloudAiplatformV1GroundingChunk", + "properties": { + "retrievedContext": { + "$ref": "GoogleCloudAiplatformV1GroundingChunkRetrievedContext", + "description": "Grounding chunk from context retrieved by the retrieval tools." + }, + "web": { + "$ref": "GoogleCloudAiplatformV1GroundingChunkWeb", + "description": "Grounding chunk from the web." + } + }, + "type": "object" + }, + "GoogleCloudAiplatformV1GroundingChunkRetrievedContext": { + "description": "Chunk from context retrieved by the retrieval tools.", + "id": "GoogleCloudAiplatformV1GroundingChunkRetrievedContext", + "properties": { + "title": { + "description": "Title of the attribution.", + "type": "string" + }, + "uri": { + "description": "URI reference of the attribution.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudAiplatformV1GroundingChunkWeb": { + "description": "Chunk from the web.", + "id": "GoogleCloudAiplatformV1GroundingChunkWeb", + "properties": { + "title": { + "description": "Title of the chunk.", + "type": "string" + }, + "uri": { + "description": "URI reference of the chunk.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1GroundingMetadata": { "description": "Metadata returned to client when grounding is enabled.", "id": "GoogleCloudAiplatformV1GroundingMetadata", "properties": { + "groundingAttributions": { + "description": "Optional. List of grounding attributions.", + "items": { + "$ref": "GoogleCloudAiplatformV1GroundingAttribution" + }, + "type": "array" + }, + "groundingChunks": { + "description": "List of supporting references retrieved from specified grounding source.", + "items": { + "$ref": "GoogleCloudAiplatformV1GroundingChunk" + }, + "type": "array" + }, + "groundingSupports": { + "description": "Optional. List of grounding support.", + "items": { + "$ref": "GoogleCloudAiplatformV1GroundingSupport" + }, + "type": "array" + }, "searchEntryPoint": { "$ref": "GoogleCloudAiplatformV1SearchEntryPoint", "description": "Optional. Google search entry for the following-up web searches." @@ -23505,6 +23669,33 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1GroundingSupport": { + "description": "Grounding support.", + "id": "GoogleCloudAiplatformV1GroundingSupport", + "properties": { + "confidenceScores": { + "description": "Confidence score of the support references. Ranges from 0 to 1. 1 is the most confident. This list must have the same size as the grounding_chunk_indices.", + "items": { + "format": "float", + "type": "number" + }, + "type": "array" + }, + "groundingChunkIndices": { + "description": "A list of indices (into 'grounding_chunk') specifying the citations associated with the claim. For instance [1,3,4] means that grounding_chunk[1], grounding_chunk[3], grounding_chunk[4] are the retrieved content attributed to the claim.", + "items": { + "format": "int32", + "type": "integer" + }, + "type": "array" + }, + "segment": { + "$ref": "GoogleCloudAiplatformV1Segment", + "description": "Segment of the content this support belongs to." + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1HyperparameterTuningJob": { "description": "Represents a HyperparameterTuningJob. A HyperparameterTuningJob has a Study specification and multiple CustomJobs with identical CustomJob specification.", "id": "GoogleCloudAiplatformV1HyperparameterTuningJob", @@ -25218,6 +25409,22 @@ "TPU_V4_POD", "TPU_V5_LITEPOD" ], + "enumDeprecated": [ + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enumDescriptions": [ "Unspecified accelerator type, which means no accelerator.", "Nvidia Tesla K80 GPU.", @@ -25769,6 +25976,16 @@ "$ref": "GoogleCloudAiplatformV1PredictSchemata", "description": "The schemata that describe formats of the Model's predictions and explanations as given and returned via PredictionService.Predict and PredictionService.Explain." }, + "satisfiesPzi": { + "description": "Output only. Reserved for future use.", + "readOnly": true, + "type": "boolean" + }, + "satisfiesPzs": { + "description": "Output only. Reserved for future use.", + "readOnly": true, + "type": "boolean" + }, "supportedDeploymentResourcesTypes": { "description": "Output only. When this Model is deployed, its prediction resources are described by the `prediction_resources` field of the Endpoint.deployed_models object. Because not all Models support all resource configuration types, the configuration types this Model supports are listed here. If no configuration types are listed, the Model cannot be deployed to an Endpoint and does not support online predictions (PredictionService.Predict or PredictionService.Explain). Such a Model can serve predictions by using a BatchPredictionJob, if it has at least one entry each in supported_input_storage_formats and supported_output_storage_formats.", "items": { @@ -29023,6 +29240,10 @@ "$ref": "GoogleCloudAiplatformV1DedicatedResources", "description": "A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration." }, + "deployMetadata": { + "$ref": "GoogleCloudAiplatformV1PublisherModelCallToActionDeployDeployMetadata", + "description": "Optional. Metadata information about this deployment config." + }, "deployTaskName": { "description": "Optional. The name of the deploy task (e.g., \"text to image generation\").", "type": "string" @@ -29050,6 +29271,20 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1PublisherModelCallToActionDeployDeployMetadata": { + "description": "Metadata information about the deployment for managing deployment config.", + "id": "GoogleCloudAiplatformV1PublisherModelCallToActionDeployDeployMetadata", + "properties": { + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Labels for the deployment. For managing deployment config like verifying, source of deployment config, etc.", + "type": "object" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke": { "description": "Configurations for PublisherModel GKE deployment", "id": "GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke", @@ -30019,7 +30254,7 @@ "properties": { "autoscalingSpec": { "$ref": "GoogleCloudAiplatformV1ResourcePoolAutoscalingSpec", - "description": "Optional. Optional spec to configure GKE autoscaling" + "description": "Optional. Optional spec to configure GKE or Ray-on-Vertex autoscaling" }, "diskSpec": { "$ref": "GoogleCloudAiplatformV1DiskSpec", @@ -30057,7 +30292,7 @@ "type": "string" }, "minReplicaCount": { - "description": "Optional. min replicas in the node pool, must be ≤ replica_count and < max_replica_count or will throw error", + "description": "Optional. min replicas in the node pool, must be ≤ replica_count and < max_replica_count or will throw error. For autoscaling enabled Ray-on-Vertex, we allow min_replica_count of a resource_pool to be 0 to match the OSS Ray behavior(https://docs.ray.io/en/latest/cluster/vms/user-guides/configuring-autoscaling.html#cluster-config-parameters). As for Persistent Resource, the min_replica_count must be > 0, we added a corresponding validation inside CreatePersistentResourceRequestValidator.java.", "format": "int64", "type": "string" } @@ -34809,6 +35044,36 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1Segment": { + "description": "Segment of the content.", + "id": "GoogleCloudAiplatformV1Segment", + "properties": { + "endIndex": { + "description": "Output only. End index in the given Part, measured in bytes. Offset from the start of the Part, exclusive, starting at zero.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "partIndex": { + "description": "Output only. The index of a Part object within its parent Content object.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "startIndex": { + "description": "Output only. Start index in the given Part, measured in bytes. Offset from the start of the Part, inclusive, starting at zero.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "text": { + "description": "Output only. The text corresponding to the segment from the response.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1ServiceAccountSpec": { "description": "Configuration for the use of custom service account to run the workloads.", "id": "GoogleCloudAiplatformV1ServiceAccountSpec", @@ -35896,11 +36161,18 @@ "id": "GoogleCloudAiplatformV1SupervisedTuningDataStats", "properties": { "totalBillableCharacterCount": { + "deprecated": true, "description": "Output only. Number of billable characters in the tuning dataset.", "format": "int64", "readOnly": true, "type": "string" }, + "totalBillableTokenCount": { + "description": "Output only. Number of billable tokens in the tuning dataset.", + "format": "int64", + "readOnly": true, + "type": "string" + }, "totalTuningCharacterCount": { "description": "Output only. Number of tuning characters in the tuning dataset.", "format": "int64", @@ -35949,6 +36221,12 @@ "description": "Dataset distribution for Supervised Tuning.", "id": "GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution", "properties": { + "billableSum": { + "description": "Output only. Sum of a given population of values that are billable.", + "format": "int64", + "readOnly": true, + "type": "string" + }, "buckets": { "description": "Output only. Defines the histogram bucket.", "items": { @@ -36265,6 +36543,16 @@ "readOnly": true, "type": "integer" }, + "satisfiesPzi": { + "description": "Output only. Reserved for future use.", + "readOnly": true, + "type": "boolean" + }, + "satisfiesPzs": { + "description": "Output only. Reserved for future use.", + "readOnly": true, + "type": "boolean" + }, "updateTime": { "description": "Output only. Timestamp when this Tensorboard was last updated.", "format": "google-datetime", @@ -36608,6 +36896,10 @@ "description": "Tokens info with a list of tokens and the corresponding list of token ids.", "id": "GoogleCloudAiplatformV1TokensInfo", "properties": { + "role": { + "description": "Optional. Optional fields for the role from the corresponding Content.", + "type": "string" + }, "tokenIds": { "description": "A list of token ids from the input.", "items": { diff --git a/discovery/aiplatform-v1beta1.json b/discovery/aiplatform-v1beta1.json index e89cb69035..3b5b799f4b 100644 --- a/discovery/aiplatform-v1beta1.json +++ b/discovery/aiplatform-v1beta1.json @@ -20,24 +20,24 @@ "documentationLink": "https://cloud.google.com/vertex-ai/", "endpoints": [ { - "endpointUrl": "https://africa-south1-aiplatform.googleapis.com/", "description": "Locational Endpoint", + "endpointUrl": "https://africa-south1-aiplatform.googleapis.com/", "location": "africa-south1" }, { - "location": "asia-east1", + "description": "Locational Endpoint", "endpointUrl": "https://asia-east1-aiplatform.googleapis.com/", - "description": "Locational Endpoint" + "location": "asia-east1" }, { + "description": "Locational Endpoint", "endpointUrl": "https://asia-east2-aiplatform.googleapis.com/", - "location": "asia-east2", - "description": "Locational Endpoint" + "location": "asia-east2" }, { - "location": "asia-northeast1", + "description": "Locational Endpoint", "endpointUrl": "https://asia-northeast1-aiplatform.googleapis.com/", - "description": "Locational Endpoint" + "location": "asia-northeast1" }, { "description": "Locational Endpoint", @@ -45,9 +45,9 @@ "location": "asia-northeast2" }, { - "location": "asia-northeast3", "description": "Locational Endpoint", - "endpointUrl": "https://asia-northeast3-aiplatform.googleapis.com/" + "endpointUrl": "https://asia-northeast3-aiplatform.googleapis.com/", + "location": "asia-northeast3" }, { "description": "Locational Endpoint", @@ -55,44 +55,44 @@ "location": "asia-south1" }, { - "location": "asia-southeast1", + "description": "Locational Endpoint", "endpointUrl": "https://asia-southeast1-aiplatform.googleapis.com/", - "description": "Locational Endpoint" + "location": "asia-southeast1" }, { - "location": "asia-southeast2", "description": "Locational Endpoint", - "endpointUrl": "https://asia-southeast2-aiplatform.googleapis.com/" + "endpointUrl": "https://asia-southeast2-aiplatform.googleapis.com/", + "location": "asia-southeast2" }, { + "description": "Locational Endpoint", "endpointUrl": "https://australia-southeast1-aiplatform.googleapis.com/", - "location": "australia-southeast1", - "description": "Locational Endpoint" + "location": "australia-southeast1" }, { "description": "Locational Endpoint", - "location": "australia-southeast2", - "endpointUrl": "https://australia-southeast2-aiplatform.googleapis.com/" + "endpointUrl": "https://australia-southeast2-aiplatform.googleapis.com/", + "location": "australia-southeast2" }, { "description": "Locational Endpoint", - "location": "europe-central2", - "endpointUrl": "https://europe-central2-aiplatform.googleapis.com/" + "endpointUrl": "https://europe-central2-aiplatform.googleapis.com/", + "location": "europe-central2" }, { "description": "Locational Endpoint", - "location": "europe-north1", - "endpointUrl": "https://europe-north1-aiplatform.googleapis.com/" + "endpointUrl": "https://europe-north1-aiplatform.googleapis.com/", + "location": "europe-north1" }, { + "description": "Locational Endpoint", "endpointUrl": "https://europe-southwest1-aiplatform.googleapis.com/", - "location": "europe-southwest1", - "description": "Locational Endpoint" + "location": "europe-southwest1" }, { "description": "Locational Endpoint", - "location": "europe-west1", - "endpointUrl": "https://europe-west1-aiplatform.googleapis.com/" + "endpointUrl": "https://europe-west1-aiplatform.googleapis.com/", + "location": "europe-west1" }, { "description": "Locational Endpoint", @@ -100,34 +100,34 @@ "location": "europe-west2" }, { + "description": "Locational Endpoint", "endpointUrl": "https://europe-west3-aiplatform.googleapis.com/", - "location": "europe-west3", - "description": "Locational Endpoint" + "location": "europe-west3" }, { - "location": "europe-west4", + "description": "Locational Endpoint", "endpointUrl": "https://europe-west4-aiplatform.googleapis.com/", - "description": "Locational Endpoint" + "location": "europe-west4" }, { "description": "Locational Endpoint", - "location": "europe-west6", - "endpointUrl": "https://europe-west6-aiplatform.googleapis.com/" + "endpointUrl": "https://europe-west6-aiplatform.googleapis.com/", + "location": "europe-west6" }, { + "description": "Locational Endpoint", "endpointUrl": "https://europe-west8-aiplatform.googleapis.com/", - "location": "europe-west8", - "description": "Locational Endpoint" + "location": "europe-west8" }, { - "location": "europe-west9", + "description": "Locational Endpoint", "endpointUrl": "https://europe-west9-aiplatform.googleapis.com/", - "description": "Locational Endpoint" + "location": "europe-west9" }, { + "description": "Locational Endpoint", "endpointUrl": "https://europe-west12-aiplatform.googleapis.com/", - "location": "europe-west12", - "description": "Locational Endpoint" + "location": "europe-west12" }, { "description": "Locational Endpoint", @@ -135,84 +135,84 @@ "location": "me-central1" }, { - "endpointUrl": "https://me-central2-aiplatform.googleapis.com/", "description": "Locational Endpoint", + "endpointUrl": "https://me-central2-aiplatform.googleapis.com/", "location": "me-central2" }, { - "location": "me-west1", "description": "Locational Endpoint", - "endpointUrl": "https://me-west1-aiplatform.googleapis.com/" + "endpointUrl": "https://me-west1-aiplatform.googleapis.com/", + "location": "me-west1" }, { - "location": "northamerica-northeast1", "description": "Locational Endpoint", - "endpointUrl": "https://northamerica-northeast1-aiplatform.googleapis.com/" + "endpointUrl": "https://northamerica-northeast1-aiplatform.googleapis.com/", + "location": "northamerica-northeast1" }, { - "location": "northamerica-northeast2", + "description": "Locational Endpoint", "endpointUrl": "https://northamerica-northeast2-aiplatform.googleapis.com/", - "description": "Locational Endpoint" + "location": "northamerica-northeast2" }, { - "endpointUrl": "https://southamerica-east1-aiplatform.googleapis.com/", "description": "Locational Endpoint", + "endpointUrl": "https://southamerica-east1-aiplatform.googleapis.com/", "location": "southamerica-east1" }, { - "location": "southamerica-west1", + "description": "Locational Endpoint", "endpointUrl": "https://southamerica-west1-aiplatform.googleapis.com/", - "description": "Locational Endpoint" + "location": "southamerica-west1" }, { - "location": "us-central1", + "description": "Locational Endpoint", "endpointUrl": "https://us-central1-aiplatform.googleapis.com/", - "description": "Locational Endpoint" + "location": "us-central1" }, { - "location": "us-central2", "description": "Locational Endpoint", - "endpointUrl": "https://us-central2-aiplatform.googleapis.com/" + "endpointUrl": "https://us-central2-aiplatform.googleapis.com/", + "location": "us-central2" }, { "description": "Locational Endpoint", - "location": "us-east1", - "endpointUrl": "https://us-east1-aiplatform.googleapis.com/" + "endpointUrl": "https://us-east1-aiplatform.googleapis.com/", + "location": "us-east1" }, { - "location": "us-east4", "description": "Locational Endpoint", - "endpointUrl": "https://us-east4-aiplatform.googleapis.com/" + "endpointUrl": "https://us-east4-aiplatform.googleapis.com/", + "location": "us-east4" }, { - "location": "us-south1", + "description": "Locational Endpoint", "endpointUrl": "https://us-south1-aiplatform.googleapis.com/", - "description": "Locational Endpoint" + "location": "us-south1" }, { + "description": "Locational Endpoint", "endpointUrl": "https://us-west1-aiplatform.googleapis.com/", - "location": "us-west1", - "description": "Locational Endpoint" + "location": "us-west1" }, { - "endpointUrl": "https://us-west2-aiplatform.googleapis.com/", "description": "Locational Endpoint", + "endpointUrl": "https://us-west2-aiplatform.googleapis.com/", "location": "us-west2" }, { - "location": "us-west3", + "description": "Locational Endpoint", "endpointUrl": "https://us-west3-aiplatform.googleapis.com/", - "description": "Locational Endpoint" + "location": "us-west3" }, { - "location": "us-west4", "description": "Locational Endpoint", - "endpointUrl": "https://us-west4-aiplatform.googleapis.com/" + "endpointUrl": "https://us-west4-aiplatform.googleapis.com/", + "location": "us-west4" }, { - "location": "us-east5", "description": "Locational Endpoint", - "endpointUrl": "https://us-east5-aiplatform.googleapis.com/" + "endpointUrl": "https://us-east5-aiplatform.googleapis.com/", + "location": "us-east5" } ], "fullyEncodeReservedExpansion": true, @@ -3411,6 +3411,40 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "patch": { + "description": "Update a DeploymentResourcePool.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/deploymentResourcePools/{deploymentResourcePoolsId}", + "httpMethod": "PATCH", + "id": "aiplatform.projects.locations.deploymentResourcePools.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Immutable. The resource name of the DeploymentResourcePool. Format: `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/deploymentResourcePools/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The list of fields to update.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1beta1/{+name}", + "request": { + "$ref": "GoogleCloudAiplatformV1beta1DeploymentResourcePool" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "queryDeployedModels": { "description": "List DeployedModels that have been deployed on this DeploymentResourcePool.", "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/deploymentResourcePools/{deploymentResourcePoolsId}:queryDeployedModels", @@ -5567,7 +5601,7 @@ "type": "string" }, "updateMask": { - "description": "Field mask is used to specify the fields to be overwritten in the FeatureGroup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `labels`", + "description": "Field mask is used to specify the fields to be overwritten in the FeatureGroup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `labels` * `description` * `big_query` * `big_query.entity_id_columns`", "format": "google-fieldmask", "location": "query", "type": "string" @@ -5746,7 +5780,7 @@ "type": "string" }, "updateMask": { - "description": "Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring` (Not supported for FeatureRegistry Feature)", + "description": "Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring` (Not supported for FeatureRegistryService Feature) * `point_of_contact` (Not supported for FeaturestoreService FeatureStore)", "format": "google-fieldmask", "location": "query", "type": "string" @@ -6205,7 +6239,7 @@ "type": "string" }, "updateMask": { - "description": "Field mask is used to specify the fields to be overwritten in the FeatureOnlineStore resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `big_query_source` * `bigtable` * `labels` * `sync_config`", + "description": "Field mask is used to specify the fields to be overwritten in the FeatureOnlineStore resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `labels` * `description` * `bigtable` * `bigtable.auto_scaling` * `bigtable.enable_multi_region_replica`", "format": "google-fieldmask", "location": "query", "type": "string" @@ -6495,7 +6529,7 @@ "type": "string" }, "updateMask": { - "description": "Field mask is used to specify the fields to be overwritten in the FeatureView resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `labels` * `serviceAgentType`", + "description": "Field mask is used to specify the fields to be overwritten in the FeatureView resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `labels` * `service_agent_type` * `big_query_source` * `big_query_source.uri` * `big_query_source.entity_id_columns` * `feature_registry_source` * `feature_registry_source.feature_groups` * `sync_config` * `sync_config.cron`", "format": "google-fieldmask", "location": "query", "type": "string" @@ -7943,7 +7977,7 @@ "type": "string" }, "updateMask": { - "description": "Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring` (Not supported for FeatureRegistry Feature)", + "description": "Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring` (Not supported for FeatureRegistryService Feature) * `point_of_contact` (Not supported for FeaturestoreService FeatureStore)", "format": "google-fieldmask", "location": "query", "type": "string" @@ -20413,11 +20447,11 @@ } } }, - "revision": "20240617", + "revision": "20240709", "rootUrl": "https://aiplatform.googleapis.com/", "schemas": { "CloudAiLargeModelsVisionGenerateVideoResponse": { - "description": "Generate video response.", + "description": "Next ID: 8 Generate video response.", "id": "CloudAiLargeModelsVisionGenerateVideoResponse", "properties": { "generatedSamples": { @@ -22063,7 +22097,12 @@ "GoogleCloudAiplatformV1beta1BleuSpec": { "description": "Spec for bleu score metric - calculates the precision of n-grams in the prediction as compared to reference - returns a score ranging between 0 to 1.", "id": "GoogleCloudAiplatformV1beta1BleuSpec", - "properties": {}, + "properties": { + "useEffectiveOrder": { + "description": "Optional. Whether to use_effective_order to compute bleu score.", + "type": "boolean" + } + }, "type": "object" }, "GoogleCloudAiplatformV1beta1Blob": { @@ -22510,12 +22549,23 @@ "description": "Request message for ComputeTokens RPC call.", "id": "GoogleCloudAiplatformV1beta1ComputeTokensRequest", "properties": { + "contents": { + "description": "Required. Input content.", + "items": { + "$ref": "GoogleCloudAiplatformV1beta1Content" + }, + "type": "array" + }, "instances": { "description": "Required. The instances that are the input to token computing API call. Schema is identical to the prediction schema of the text model, even for the non-text models, like chat models, or Codey models.", "items": { "type": "any" }, "type": "array" + }, + "model": { + "description": "Required. The name of the publisher model requested to serve the prediction. Format: projects/{project}/locations/{location}/publishers/*/models/*", + "type": "string" } }, "type": "object" @@ -27870,10 +27920,136 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1beta1GroundingAttribution": { + "description": "Grounding attribution.", + "id": "GoogleCloudAiplatformV1beta1GroundingAttribution", + "properties": { + "confidenceScore": { + "description": "Optional. Output only. Confidence score of the attribution. Ranges from 0 to 1. 1 is the most confident.", + "format": "float", + "readOnly": true, + "type": "number" + }, + "retrievedContext": { + "$ref": "GoogleCloudAiplatformV1beta1GroundingAttributionRetrievedContext", + "description": "Optional. Attribution from context retrieved by the retrieval tools." + }, + "segment": { + "$ref": "GoogleCloudAiplatformV1beta1Segment", + "description": "Output only. Segment of the content this attribution belongs to.", + "readOnly": true + }, + "web": { + "$ref": "GoogleCloudAiplatformV1beta1GroundingAttributionWeb", + "description": "Optional. Attribution from the web." + } + }, + "type": "object" + }, + "GoogleCloudAiplatformV1beta1GroundingAttributionRetrievedContext": { + "description": "Attribution from context retrieved by the retrieval tools.", + "id": "GoogleCloudAiplatformV1beta1GroundingAttributionRetrievedContext", + "properties": { + "title": { + "description": "Output only. Title of the attribution.", + "readOnly": true, + "type": "string" + }, + "uri": { + "description": "Output only. URI reference of the attribution.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudAiplatformV1beta1GroundingAttributionWeb": { + "description": "Attribution from the web.", + "id": "GoogleCloudAiplatformV1beta1GroundingAttributionWeb", + "properties": { + "title": { + "description": "Output only. Title of the attribution.", + "readOnly": true, + "type": "string" + }, + "uri": { + "description": "Output only. URI reference of the attribution.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudAiplatformV1beta1GroundingChunk": { + "description": "Grounding chunk.", + "id": "GoogleCloudAiplatformV1beta1GroundingChunk", + "properties": { + "retrievedContext": { + "$ref": "GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext", + "description": "Grounding chunk from context retrieved by the retrieval tools." + }, + "web": { + "$ref": "GoogleCloudAiplatformV1beta1GroundingChunkWeb", + "description": "Grounding chunk from the web." + } + }, + "type": "object" + }, + "GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext": { + "description": "Chunk from context retrieved by the retrieval tools.", + "id": "GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext", + "properties": { + "title": { + "description": "Title of the attribution.", + "type": "string" + }, + "uri": { + "description": "URI reference of the attribution.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudAiplatformV1beta1GroundingChunkWeb": { + "description": "Chunk from the web.", + "id": "GoogleCloudAiplatformV1beta1GroundingChunkWeb", + "properties": { + "title": { + "description": "Title of the chunk.", + "type": "string" + }, + "uri": { + "description": "URI reference of the chunk.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1beta1GroundingMetadata": { "description": "Metadata returned to client when grounding is enabled.", "id": "GoogleCloudAiplatformV1beta1GroundingMetadata", "properties": { + "groundingAttributions": { + "description": "Optional. List of grounding attributions.", + "items": { + "$ref": "GoogleCloudAiplatformV1beta1GroundingAttribution" + }, + "type": "array" + }, + "groundingChunks": { + "description": "List of supporting references retrieved from specified grounding source.", + "items": { + "$ref": "GoogleCloudAiplatformV1beta1GroundingChunk" + }, + "type": "array" + }, + "groundingSupports": { + "description": "Optional. List of grounding support.", + "items": { + "$ref": "GoogleCloudAiplatformV1beta1GroundingSupport" + }, + "type": "array" + }, "retrievalQueries": { "description": "Optional. Queries executed by the retrieval tools.", "items": { @@ -27895,6 +28071,33 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1beta1GroundingSupport": { + "description": "Grounding support.", + "id": "GoogleCloudAiplatformV1beta1GroundingSupport", + "properties": { + "confidenceScores": { + "description": "Confidence score of the support references. Ranges from 0 to 1. 1 is the most confident. This list must have the same size as the grounding_chunk_indices.", + "items": { + "format": "float", + "type": "number" + }, + "type": "array" + }, + "groundingChunkIndices": { + "description": "A list of indices (into 'grounding_chunk') specifying the citations associated with the claim. For instance [1,3,4] means that grounding_chunk[1], grounding_chunk[3], grounding_chunk[4] are the retrieved content attributed to the claim.", + "items": { + "format": "int32", + "type": "integer" + }, + "type": "array" + }, + "segment": { + "$ref": "GoogleCloudAiplatformV1beta1Segment", + "description": "Segment of the content this support belongs to." + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1beta1HyperparameterTuningJob": { "description": "Represents a HyperparameterTuningJob. A HyperparameterTuningJob has a Study specification and multiple CustomJobs with identical CustomJob specification.", "id": "GoogleCloudAiplatformV1beta1HyperparameterTuningJob", @@ -29867,6 +30070,22 @@ "TPU_V4_POD", "TPU_V5_LITEPOD" ], + "enumDeprecated": [ + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enumDescriptions": [ "Unspecified accelerator type, which means no accelerator.", "Nvidia Tesla K80 GPU.", @@ -30410,6 +30629,16 @@ "$ref": "GoogleCloudAiplatformV1beta1PredictSchemata", "description": "The schemata that describe formats of the Model's predictions and explanations as given and returned via PredictionService.Predict and PredictionService.Explain." }, + "satisfiesPzi": { + "description": "Output only. Reserved for future use.", + "readOnly": true, + "type": "boolean" + }, + "satisfiesPzs": { + "description": "Output only. Reserved for future use.", + "readOnly": true, + "type": "boolean" + }, "supportedDeploymentResourcesTypes": { "description": "Output only. When this Model is deployed, its prediction resources are described by the `prediction_resources` field of the Endpoint.deployed_models object. Because not all Models support all resource configuration types, the configuration types this Model supports are listed here. If no configuration types are listed, the Model cannot be deployed to an Endpoint and does not support online predictions (PredictionService.Predict or PredictionService.Explain). Such a Model can serve predictions by using a BatchPredictionJob, if it has at least one entry each in supported_input_storage_formats and supported_output_storage_formats.", "items": { @@ -34586,6 +34815,10 @@ "$ref": "GoogleCloudAiplatformV1beta1DedicatedResources", "description": "A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration." }, + "deployMetadata": { + "$ref": "GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployDeployMetadata", + "description": "Optional. Metadata information about this deployment config." + }, "deployTaskName": { "description": "Optional. The name of the deploy task (e.g., \"text to image generation\").", "type": "string" @@ -34613,6 +34846,20 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployDeployMetadata": { + "description": "Metadata information about the deployment for managing deployment config.", + "id": "GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployDeployMetadata", + "properties": { + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Labels for the deployment. For managing deployment config like verifying, source of deployment config, etc.", + "type": "object" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployGke": { "description": "Configurations for PublisherModel GKE deployment", "id": "GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployGke", @@ -35534,11 +35781,6 @@ "text": { "description": "Optional. The query in text format to get relevant contexts.", "type": "string" - }, - "vectorDistanceThreshold": { - "description": "Optional. Only return contexts with vector distance smaller than the threshold.", - "format": "double", - "type": "number" } }, "type": "object" @@ -36042,7 +36284,7 @@ "properties": { "autoscalingSpec": { "$ref": "GoogleCloudAiplatformV1beta1ResourcePoolAutoscalingSpec", - "description": "Optional. Optional spec to configure GKE autoscaling" + "description": "Optional. Optional spec to configure GKE or Ray-on-Vertex autoscaling" }, "diskSpec": { "$ref": "GoogleCloudAiplatformV1beta1DiskSpec", @@ -36080,7 +36322,7 @@ "type": "string" }, "minReplicaCount": { - "description": "Optional. min replicas in the node pool, must be ≤ replica_count and < max_replica_count or will throw error", + "description": "Optional. min replicas in the node pool, must be ≤ replica_count and < max_replica_count or will throw error. For autoscaling enabled Ray-on-Vertex, we allow min_replica_count of a resource_pool to be 0 to match the OSS Ray behavior(https://docs.ray.io/en/latest/cluster/vms/user-guides/configuring-autoscaling.html#cluster-config-parameters). As for Persistent Resource, the min_replica_count must be > 0, we added a corresponding validation inside CreatePersistentResourceRequestValidator.java.", "format": "int64", "type": "string" } @@ -36352,7 +36594,7 @@ }, "vertexAiSearchRuntimeConfig": { "$ref": "GoogleCloudAiplatformV1beta1RuntimeConfigVertexAISearchRuntimeConfig", - "description": "Runtime configuration for Vertext AI Search extension." + "description": "Runtime configuration for Vertex AI Search extension." } }, "type": "object" @@ -40973,6 +41215,36 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1beta1Segment": { + "description": "Segment of the content.", + "id": "GoogleCloudAiplatformV1beta1Segment", + "properties": { + "endIndex": { + "description": "Output only. End index in the given Part, measured in bytes. Offset from the start of the Part, exclusive, starting at zero.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "partIndex": { + "description": "Output only. The index of a Part object within its parent Content object.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "startIndex": { + "description": "Output only. Start index in the given Part, measured in bytes. Offset from the start of the Part, inclusive, starting at zero.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "text": { + "description": "Output only. The text corresponding to the segment from the response.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1beta1ServiceAccountSpec": { "description": "Configuration for the use of custom service account to run the workloads.", "id": "GoogleCloudAiplatformV1beta1ServiceAccountSpec", @@ -42169,11 +42441,18 @@ "id": "GoogleCloudAiplatformV1beta1SupervisedTuningDataStats", "properties": { "totalBillableCharacterCount": { + "deprecated": true, "description": "Output only. Number of billable characters in the tuning dataset.", "format": "int64", "readOnly": true, "type": "string" }, + "totalBillableTokenCount": { + "description": "Output only. Number of billable tokens in the tuning dataset.", + "format": "int64", + "readOnly": true, + "type": "string" + }, "totalTuningCharacterCount": { "description": "Output only. Number of tuning characters in the tuning dataset.", "format": "int64", @@ -42222,6 +42501,12 @@ "description": "Dataset distribution for Supervised Tuning.", "id": "GoogleCloudAiplatformV1beta1SupervisedTuningDatasetDistribution", "properties": { + "billableSum": { + "description": "Output only. Sum of a given population of values that are billable.", + "format": "int64", + "readOnly": true, + "type": "string" + }, "buckets": { "description": "Output only. Defines the histogram bucket.", "items": { @@ -42538,6 +42823,16 @@ "readOnly": true, "type": "integer" }, + "satisfiesPzi": { + "description": "Output only. Reserved for future use.", + "readOnly": true, + "type": "boolean" + }, + "satisfiesPzs": { + "description": "Output only. Reserved for future use.", + "readOnly": true, + "type": "boolean" + }, "updateTime": { "description": "Output only. Timestamp when this Tensorboard was last updated.", "format": "google-datetime", @@ -42881,6 +43176,10 @@ "description": "Tokens info with a list of tokens and the corresponding list of token ids.", "id": "GoogleCloudAiplatformV1beta1TokensInfo", "properties": { + "role": { + "description": "Optional. Optional fields for the role from the corresponding Content.", + "type": "string" + }, "tokenIds": { "description": "A list of token ids from the input.", "items": { diff --git a/discovery/airquality-v1.json b/discovery/airquality-v1.json index 4eff7109f8..3efd545d80 100644 --- a/discovery/airquality-v1.json +++ b/discovery/airquality-v1.json @@ -250,7 +250,7 @@ } } }, - "revision": "20240625", + "revision": "20240609", "rootUrl": "https://airquality.googleapis.com/", "schemas": { "AdditionalInfo": { diff --git a/discovery/alertcenter-v1beta1.json b/discovery/alertcenter-v1beta1.json index 0b2956998b..ec2623c971 100644 --- a/discovery/alertcenter-v1beta1.json +++ b/discovery/alertcenter-v1beta1.json @@ -423,7 +423,7 @@ } } }, - "revision": "20240429", + "revision": "20240415", "rootUrl": "https://alertcenter.googleapis.com/", "schemas": { "AbuseDetected": { diff --git a/discovery/alloydb-v1.json b/discovery/alloydb-v1.json index ba1d375993..84463b90b0 100644 --- a/discovery/alloydb-v1.json +++ b/discovery/alloydb-v1.json @@ -1489,7 +1489,7 @@ } } }, - "revision": "20240612", + "revision": "20240627", "rootUrl": "https://alloydb.googleapis.com/", "schemas": { "AuthorizedNetwork": { @@ -1968,6 +1968,25 @@ "readOnly": true, "type": "string" }, + "subscriptionType": { + "description": "Optional. Subscription type of the cluster.", + "enum": [ + "SUBSCRIPTION_TYPE_UNSPECIFIED", + "STANDARD", + "TRIAL" + ], + "enumDescriptions": [ + "This is an unknown Subscription type (By default, Subscription Type is STANDARD)", + "Standard subscription.", + "Trial subscription." + ], + "type": "string" + }, + "trialMetadata": { + "$ref": "TrialMetadata", + "description": "Output only. Metadata for free trial clusters", + "readOnly": true + }, "uid": { "description": "Output only. The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.", "readOnly": true, @@ -4577,6 +4596,28 @@ }, "type": "object" }, + "TrialMetadata": { + "description": "Contains information and all metadata related to TRIAL clusters.", + "id": "TrialMetadata", + "properties": { + "endTime": { + "description": "End time of the trial cluster.", + "format": "google-datetime", + "type": "string" + }, + "startTime": { + "description": "start time of the trial cluster.", + "format": "google-datetime", + "type": "string" + }, + "upgradeTime": { + "description": "Upgrade time of trial cluster to Standard cluster.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, "User": { "description": "Message describing User object.", "id": "User", diff --git a/discovery/alloydb-v1alpha.json b/discovery/alloydb-v1alpha.json index 37445d0c50..20efe48bd4 100644 --- a/discovery/alloydb-v1alpha.json +++ b/discovery/alloydb-v1alpha.json @@ -1489,7 +1489,7 @@ } } }, - "revision": "20240612", + "revision": "20240703", "rootUrl": "https://alloydb.googleapis.com/", "schemas": { "AuthorizedNetwork": { @@ -1578,19 +1578,22 @@ "DATABASE_VERSION_UNSPECIFIED", "POSTGRES_13", "POSTGRES_14", - "POSTGRES_15" + "POSTGRES_15", + "POSTGRES_16" ], "enumDeprecated": [ false, true, false, + false, false ], "enumDescriptions": [ "This is an unknown database version.", "DEPRECATED - The database version is Postgres 13.", "The database version is Postgres 14.", - "The database version is Postgres 15." + "The database version is Postgres 15.", + "The database version is Postgres 16." ], "readOnly": true, "type": "string" @@ -1839,19 +1842,22 @@ "DATABASE_VERSION_UNSPECIFIED", "POSTGRES_13", "POSTGRES_14", - "POSTGRES_15" + "POSTGRES_15", + "POSTGRES_16" ], "enumDeprecated": [ false, true, false, + false, false ], "enumDescriptions": [ "This is an unknown database version.", "DEPRECATED - The database version is Postgres 13.", "The database version is Postgres 14.", - "The database version is Postgres 15." + "The database version is Postgres 15.", + "The database version is Postgres 16." ], "type": "string" }, @@ -2864,7 +2870,7 @@ "id": "ObservabilityInstanceConfig", "properties": { "enabled": { - "description": "Observability feature status for an instance. This is a read-only flag and modifiable only by producer API. This flag is turned \"off\" by default.", + "description": "Observability feature status for an instance. This flag is turned \"off\" by default.", "type": "boolean" }, "maxQueryStringLength": { @@ -2877,7 +2883,7 @@ "type": "boolean" }, "queryPlansPerMinute": { - "description": "Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 to 20 is considered valid.", + "description": "Number of query execution plans captured by Insights per minute for all queries combined. The default value is 200. Any integer between 0 to 200 is considered valid.", "format": "int32", "type": "integer" }, @@ -4654,19 +4660,22 @@ "DATABASE_VERSION_UNSPECIFIED", "POSTGRES_13", "POSTGRES_14", - "POSTGRES_15" + "POSTGRES_15", + "POSTGRES_16" ], "enumDeprecated": [ false, true, false, + false, false ], "enumDescriptions": [ "This is an unknown database version.", "DEPRECATED - The database version is Postgres 13.", "The database version is Postgres 14.", - "The database version is Postgres 15." + "The database version is Postgres 15.", + "The database version is Postgres 16." ], "type": "string" }, diff --git a/discovery/alloydb-v1beta.json b/discovery/alloydb-v1beta.json index 03855ea43f..84f5f9355d 100644 --- a/discovery/alloydb-v1beta.json +++ b/discovery/alloydb-v1beta.json @@ -1486,7 +1486,7 @@ } } }, - "revision": "20240612", + "revision": "20240703", "rootUrl": "https://alloydb.googleapis.com/", "schemas": { "AuthorizedNetwork": { @@ -1575,19 +1575,22 @@ "DATABASE_VERSION_UNSPECIFIED", "POSTGRES_13", "POSTGRES_14", - "POSTGRES_15" + "POSTGRES_15", + "POSTGRES_16" ], "enumDeprecated": [ false, true, false, + false, false ], "enumDescriptions": [ "This is an unknown database version.", "DEPRECATED - The database version is Postgres 13.", "The database version is Postgres 14.", - "The database version is Postgres 15." + "The database version is Postgres 15.", + "The database version is Postgres 16." ], "readOnly": true, "type": "string" @@ -1825,19 +1828,22 @@ "DATABASE_VERSION_UNSPECIFIED", "POSTGRES_13", "POSTGRES_14", - "POSTGRES_15" + "POSTGRES_15", + "POSTGRES_16" ], "enumDeprecated": [ false, true, false, + false, false ], "enumDescriptions": [ "This is an unknown database version.", "DEPRECATED - The database version is Postgres 13.", "The database version is Postgres 14.", - "The database version is Postgres 15." + "The database version is Postgres 15.", + "The database version is Postgres 16." ], "type": "string" }, @@ -2840,7 +2846,7 @@ "id": "ObservabilityInstanceConfig", "properties": { "enabled": { - "description": "Observability feature status for an instance. This is a read-only flag and modifiable only by producer API. This flag is turned \"off\" by default.", + "description": "Observability feature status for an instance. This flag is turned \"off\" by default.", "type": "boolean" }, "maxQueryStringLength": { @@ -2853,7 +2859,7 @@ "type": "boolean" }, "queryPlansPerMinute": { - "description": "Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 to 20 is considered valid.", + "description": "Number of query execution plans captured by Insights per minute for all queries combined. The default value is 200. Any integer between 0 to 200 is considered valid.", "format": "int32", "type": "integer" }, @@ -4630,19 +4636,22 @@ "DATABASE_VERSION_UNSPECIFIED", "POSTGRES_13", "POSTGRES_14", - "POSTGRES_15" + "POSTGRES_15", + "POSTGRES_16" ], "enumDeprecated": [ false, true, false, + false, false ], "enumDescriptions": [ "This is an unknown database version.", "DEPRECATED - The database version is Postgres 13.", "The database version is Postgres 14.", - "The database version is Postgres 15." + "The database version is Postgres 15.", + "The database version is Postgres 16." ], "type": "string" }, diff --git a/discovery/analyticsadmin-v1alpha.json b/discovery/analyticsadmin-v1alpha.json index 0b6c7a5481..f24a032f8a 100644 --- a/discovery/analyticsadmin-v1alpha.json +++ b/discovery/analyticsadmin-v1alpha.json @@ -1710,6 +1710,59 @@ }, "bigQueryLinks": { "methods": { + "create": { + "description": "Creates a BigQueryLink.", + "flatPath": "v1alpha/properties/{propertiesId}/bigQueryLinks", + "httpMethod": "POST", + "id": "analyticsadmin.properties.bigQueryLinks.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. Example format: properties/1234", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/bigQueryLinks", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaBigQueryLink" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaBigQueryLink" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "delete": { + "description": "Deletes a BigQueryLink on a property.", + "flatPath": "v1alpha/properties/{propertiesId}/bigQueryLinks/{bigQueryLinksId}", + "httpMethod": "DELETE", + "id": "analyticsadmin.properties.bigQueryLinks.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The BigQueryLink to delete. Example format: properties/1234/bigQueryLinks/5678", + "location": "path", + "pattern": "^properties/[^/]+/bigQueryLinks/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, "get": { "description": "Lookup for a single BigQuery Link.", "flatPath": "v1alpha/properties/{propertiesId}/bigQueryLinks/{bigQueryLinksId}", @@ -1772,6 +1825,40 @@ "https://www.googleapis.com/auth/analytics.edit", "https://www.googleapis.com/auth/analytics.readonly" ] + }, + "patch": { + "description": "Updates a BigQueryLink.", + "flatPath": "v1alpha/properties/{propertiesId}/bigQueryLinks/{bigQueryLinksId}", + "httpMethod": "PATCH", + "id": "analyticsadmin.properties.bigQueryLinks.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. Resource name of this BigQuery link. Format: 'properties/{property_id}/bigQueryLinks/{bigquery_link_id}' Format: 'properties/1234/bigQueryLinks/abc567'", + "location": "path", + "pattern": "^properties/[^/]+/bigQueryLinks/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The list of fields to be updated. Field names must be in snake case (e.g., \"field_to_update\"). Omitted fields will not be updated. To replace the entire entity, use one path with the string \"*\" to match all fields.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaBigQueryLink" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaBigQueryLink" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] } } }, @@ -4646,7 +4733,7 @@ } } }, - "revision": "20240529", + "revision": "20240707", "rootUrl": "https://analyticsadmin.googleapis.com/", "schemas": { "GoogleAnalyticsAdminV1alphaAccessBetweenFilter": { @@ -5765,6 +5852,10 @@ "description": "If set true, enables daily data export to the linked Google Cloud project.", "type": "boolean" }, + "datasetLocation": { + "description": "Required. Immutable. The geographic location where the created BigQuery dataset should reside. See https://cloud.google.com/bigquery/docs/locations for supported locations.", + "type": "string" + }, "excludedEvents": { "description": "The list of event names that will be excluded from exports.", "items": { @@ -8511,6 +8602,7 @@ "ATTRIBUTION_SETTINGS", "EXPANDED_DATA_SET", "CHANNEL_GROUP", + "BIGQUERY_LINK", "ENHANCED_MEASUREMENT_SETTINGS", "DATA_REDACTION_SETTINGS", "SKADNETWORK_CONVERSION_VALUE_SCHEMA", @@ -8538,6 +8630,7 @@ "AttributionSettings resource", "ExpandedDataSet resource", "ChannelGroup resource", + "BigQuery link resource", "EnhancedMeasurementSettings resource", "DataRedactionSettings resource", "SKAdNetworkConversionValueSchema resource", diff --git a/discovery/analyticsdata-v1beta.json b/discovery/analyticsdata-v1beta.json index 1b61c5d3bd..0f56865422 100644 --- a/discovery/analyticsdata-v1beta.json +++ b/discovery/analyticsdata-v1beta.json @@ -440,7 +440,7 @@ } } }, - "revision": "20240529", + "revision": "20240512", "rootUrl": "https://analyticsdata.googleapis.com/", "schemas": { "ActiveMetricRestriction": { diff --git a/discovery/analyticsreporting-v4.json b/discovery/analyticsreporting-v4.json index de0bf341c6..4b72033469 100644 --- a/discovery/analyticsreporting-v4.json +++ b/discovery/analyticsreporting-v4.json @@ -155,7 +155,7 @@ } } }, - "revision": "20211021", + "revision": "20211020", "rootUrl": "https://analyticsreporting.googleapis.com/", "schemas": { "Activity": { diff --git a/discovery/androiddeviceprovisioning-v1.json b/discovery/androiddeviceprovisioning-v1.json index a6193694fa..ed7ef38c1e 100644 --- a/discovery/androiddeviceprovisioning-v1.json +++ b/discovery/androiddeviceprovisioning-v1.json @@ -851,7 +851,7 @@ } } }, - "revision": "20231120", + "revision": "20231112", "rootUrl": "https://androiddeviceprovisioning.googleapis.com/", "schemas": { "ClaimDeviceRequest": { diff --git a/discovery/androidenterprise-v1.json b/discovery/androidenterprise-v1.json index 2d221af913..30b86fb813 100644 --- a/discovery/androidenterprise-v1.json +++ b/discovery/androidenterprise-v1.json @@ -483,6 +483,11 @@ "id": "androidenterprise.enterprises.generateSignupUrl", "parameterOrder": [], "parameters": { + "adminEmail": { + "description": "Optional. Email address used to prefill the admin field of the enterprise signup form. This value is a hint only and can be altered by the user.", + "location": "query", + "type": "string" + }, "callbackUrl": { "description": "The callback URL to which the Admin will be redirected after successfully creating an enterprise. Before redirecting there the system will add a single query parameter to this URL named \"enterpriseToken\" which will contain an opaque token to be used for the CompleteSignup request. Beware that this means that the URL will be parsed, the parameter added and then a new URL formatted, i.e. there may be some minor formatting changes and, more importantly, the URL must be well-formed so that it can be parsed.", "location": "query", @@ -2649,7 +2654,7 @@ } } }, - "revision": "20240625", + "revision": "20240703", "rootUrl": "https://androidenterprise.googleapis.com/", "schemas": { "Administrator": { diff --git a/discovery/androidmanagement-v1.json b/discovery/androidmanagement-v1.json index 3d67144124..dfd26e1732 100644 --- a/discovery/androidmanagement-v1.json +++ b/discovery/androidmanagement-v1.json @@ -1168,7 +1168,7 @@ } } }, - "revision": "20240626", + "revision": "20240618", "rootUrl": "https://androidmanagement.googleapis.com/", "schemas": { "AdbShellCommandEvent": { diff --git a/discovery/androidpublisher-v3.json b/discovery/androidpublisher-v3.json index 15fceb2684..2588ef1d68 100644 --- a/discovery/androidpublisher-v3.json +++ b/discovery/androidpublisher-v3.json @@ -277,36 +277,6 @@ "https://www.googleapis.com/auth/androidpublisher" ] }, - "appRecoveries": { - "description": "List all app recovery action resources associated with a particular package name and app version.", - "flatPath": "androidpublisher/v3/applications/{packageName}/appRecoveries", - "httpMethod": "POST", - "id": "androidpublisher.apprecovery.appRecoveries", - "parameterOrder": [ - "packageName" - ], - "parameters": { - "packageName": { - "description": "Required. Package name of the app for which list of recovery actions is requested.", - "location": "path", - "required": true, - "type": "string" - }, - "versionCode": { - "description": "Required. Version code targeted by the list of recovery actions.", - "format": "int64", - "location": "query", - "type": "string" - } - }, - "path": "androidpublisher/v3/applications/{packageName}/appRecoveries", - "response": { - "$ref": "ListAppRecoveriesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/androidpublisher" - ] - }, "cancel": { "description": "Cancel an already executing app recovery action. Note that this action changes status of the recovery action to CANCELED.", "flatPath": "androidpublisher/v3/applications/{packageName}/appRecoveries/{appRecoveryId}:cancel", @@ -403,6 +373,36 @@ "scopes": [ "https://www.googleapis.com/auth/androidpublisher" ] + }, + "list": { + "description": "List all app recovery action resources associated with a particular package name and app version.", + "flatPath": "androidpublisher/v3/applications/{packageName}/appRecoveries", + "httpMethod": "GET", + "id": "androidpublisher.apprecovery.list", + "parameterOrder": [ + "packageName" + ], + "parameters": { + "packageName": { + "description": "Required. Package name of the app for which list of recovery actions is requested.", + "location": "path", + "required": true, + "type": "string" + }, + "versionCode": { + "description": "Required. Version code targeted by the list of recovery actions.", + "format": "int64", + "location": "query", + "type": "string" + } + }, + "path": "androidpublisher/v3/applications/{packageName}/appRecoveries", + "response": { + "$ref": "ListAppRecoveriesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidpublisher" + ] } } }, @@ -4731,7 +4731,7 @@ } } }, - "revision": "20240626", + "revision": "20240709", "rootUrl": "https://androidpublisher.googleapis.com/", "schemas": { "Abi": { @@ -6299,7 +6299,7 @@ "readOnly": true }, "transactionProgramCode": { - "description": "Optional. The transaction program code, used to help determine service fee for apps partcipating in special partner programs. This field can not be used for external offers transactions. Developers participating in the Play Media Experience Program (https://play.google.com/console/about/programs/mediaprogram/) must provide the program code when reporting alternative billing external transactions. If you are an eligible developer, please contact your BDM for more information on how to set this field.", + "description": "Optional. The transaction program code, used to help determine service fee for eligible apps participating in partner programs. Developers participating in the Play Media Experience Program (https://play.google.com/console/about/programs/mediaprogram/) must provide the program code when reporting alternative billing transactions. If you are an eligible developer, please contact your BDM for more information on how to set this field. Note: this field can not be used for external offers transactions.", "format": "int32", "type": "integer" }, diff --git a/discovery/apigee-v1.json b/discovery/apigee-v1.json index edd0f91a59..9ac990cad3 100644 --- a/discovery/apigee-v1.json +++ b/discovery/apigee-v1.json @@ -10045,7 +10045,7 @@ } } }, - "revision": "20240620", + "revision": "20240617", "rootUrl": "https://apigee.googleapis.com/", "schemas": { "EdgeConfigstoreBundleBadBundle": { diff --git a/discovery/apigeeregistry-v1.json b/discovery/apigeeregistry-v1.json index 8388f6c602..f5de99869d 100644 --- a/discovery/apigeeregistry-v1.json +++ b/discovery/apigeeregistry-v1.json @@ -3272,7 +3272,7 @@ } } }, - "revision": "20231004", + "revision": "20230928", "rootUrl": "https://apigeeregistry.googleapis.com/", "schemas": { "Api": { diff --git a/discovery/apim-v1alpha.json b/discovery/apim-v1alpha.json index 32e029e485..a266bc5e07 100644 --- a/discovery/apim-v1alpha.json +++ b/discovery/apim-v1alpha.json @@ -751,7 +751,7 @@ } } }, - "revision": "20240619", + "revision": "20240605", "rootUrl": "https://apim.googleapis.com/", "schemas": { "ApiObservation": { diff --git a/discovery/appengine-v1.json b/discovery/appengine-v1.json index cae3ce601a..b06a5d1378 100644 --- a/discovery/appengine-v1.json +++ b/discovery/appengine-v1.json @@ -1718,7 +1718,7 @@ } } }, - "revision": "20240422", + "revision": "20240415", "rootUrl": "https://appengine.googleapis.com/", "schemas": { "ApiConfigHandler": { diff --git a/discovery/appengine-v1alpha.json b/discovery/appengine-v1alpha.json index 7f8987ccc4..abb3b1eb31 100644 --- a/discovery/appengine-v1alpha.json +++ b/discovery/appengine-v1alpha.json @@ -946,7 +946,7 @@ } } }, - "revision": "20240422", + "revision": "20240415", "rootUrl": "https://appengine.googleapis.com/", "schemas": { "AuthorizedCertificate": { diff --git a/discovery/appengine-v1beta.json b/discovery/appengine-v1beta.json index 54efaca398..af9b600f63 100644 --- a/discovery/appengine-v1beta.json +++ b/discovery/appengine-v1beta.json @@ -1918,7 +1918,7 @@ } } }, - "revision": "20240422", + "revision": "20240415", "rootUrl": "https://appengine.googleapis.com/", "schemas": { "ApiConfigHandler": { diff --git a/discovery/apphub-v1.json b/discovery/apphub-v1.json index 564164e3e4..055d8aa400 100644 --- a/discovery/apphub-v1.json +++ b/discovery/apphub-v1.json @@ -1346,7 +1346,7 @@ } } }, - "revision": "20240311", + "revision": "20240307", "rootUrl": "https://apphub.googleapis.com/", "schemas": { "Application": { diff --git a/discovery/apphub-v1alpha.json b/discovery/apphub-v1alpha.json index 0fc0d90718..1971fe263b 100644 --- a/discovery/apphub-v1alpha.json +++ b/discovery/apphub-v1alpha.json @@ -1438,7 +1438,7 @@ } } }, - "revision": "20240417", + "revision": "20240328", "rootUrl": "https://apphub.googleapis.com/", "schemas": { "Application": { diff --git a/discovery/area120tables-v1alpha1.json b/discovery/area120tables-v1alpha1.json index 7e51c22104..18f804709b 100644 --- a/discovery/area120tables-v1alpha1.json +++ b/discovery/area120tables-v1alpha1.json @@ -586,7 +586,7 @@ } } }, - "revision": "20220321", + "revision": "20220319", "rootUrl": "https://area120tables.googleapis.com/", "schemas": { "BatchCreateRowsRequest": { diff --git a/discovery/artifactregistry-v1.json b/discovery/artifactregistry-v1.json index f1be1366d3..7c21bedcf1 100644 --- a/discovery/artifactregistry-v1.json +++ b/discovery/artifactregistry-v1.json @@ -20,219 +20,219 @@ "documentationLink": "https://cloud.google.com/artifacts/docs/", "endpoints": [ { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.africa-south1.rep.googleapis.com/", - "location": "africa-south1", - "description": "Regional Endpoint" + "location": "africa-south1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.asia-east1.rep.googleapis.com/", - "location": "asia-east1", - "description": "Regional Endpoint" + "location": "asia-east1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.asia-east2.rep.googleapis.com/", - "location": "asia-east2", - "description": "Regional Endpoint" + "location": "asia-east2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.asia-northeast1.rep.googleapis.com/", - "location": "asia-northeast1", - "description": "Regional Endpoint" + "location": "asia-northeast1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.asia-northeast2.rep.googleapis.com/", - "location": "asia-northeast2", - "description": "Regional Endpoint" + "location": "asia-northeast2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.asia-northeast3.rep.googleapis.com/", - "location": "asia-northeast3", - "description": "Regional Endpoint" + "location": "asia-northeast3" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.asia-south1.rep.googleapis.com/", - "location": "asia-south1", - "description": "Regional Endpoint" + "location": "asia-south1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.asia-south2.rep.googleapis.com/", - "location": "asia-south2", - "description": "Regional Endpoint" + "location": "asia-south2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.asia-southeast1.rep.googleapis.com/", - "location": "asia-southeast1", - "description": "Regional Endpoint" + "location": "asia-southeast1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.asia-southeast2.rep.googleapis.com/", - "location": "asia-southeast2", - "description": "Regional Endpoint" + "location": "asia-southeast2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.australia-southeast1.rep.googleapis.com/", - "location": "australia-southeast1", - "description": "Regional Endpoint" + "location": "australia-southeast1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.australia-southeast2.rep.googleapis.com/", - "location": "australia-southeast2", - "description": "Regional Endpoint" + "location": "australia-southeast2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.europe-central2.rep.googleapis.com/", - "location": "europe-central2", - "description": "Regional Endpoint" + "location": "europe-central2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.europe-north1.rep.googleapis.com/", - "location": "europe-north1", - "description": "Regional Endpoint" + "location": "europe-north1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.europe-southwest1.rep.googleapis.com/", - "location": "europe-southwest1", - "description": "Regional Endpoint" + "location": "europe-southwest1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.europe-west1.rep.googleapis.com/", - "location": "europe-west1", - "description": "Regional Endpoint" + "location": "europe-west1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.europe-west10.rep.googleapis.com/", - "location": "europe-west10", - "description": "Regional Endpoint" + "location": "europe-west10" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.europe-west12.rep.googleapis.com/", - "location": "europe-west12", - "description": "Regional Endpoint" + "location": "europe-west12" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.europe-west2.rep.googleapis.com/", - "location": "europe-west2", - "description": "Regional Endpoint" + "location": "europe-west2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.europe-west3.rep.googleapis.com/", - "location": "europe-west3", - "description": "Regional Endpoint" + "location": "europe-west3" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.europe-west4.rep.googleapis.com/", - "location": "europe-west4", - "description": "Regional Endpoint" + "location": "europe-west4" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.europe-west6.rep.googleapis.com/", - "location": "europe-west6", - "description": "Regional Endpoint" + "location": "europe-west6" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.europe-west8.rep.googleapis.com/", - "location": "europe-west8", - "description": "Regional Endpoint" + "location": "europe-west8" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.europe-west9.rep.googleapis.com/", - "location": "europe-west9", - "description": "Regional Endpoint" + "location": "europe-west9" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.me-central1.rep.googleapis.com/", - "location": "me-central1", - "description": "Regional Endpoint" + "location": "me-central1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.me-west1.rep.googleapis.com/", - "location": "me-west1", - "description": "Regional Endpoint" + "location": "me-west1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.northamerica-northeast1.rep.googleapis.com/", - "location": "northamerica-northeast1", - "description": "Regional Endpoint" + "location": "northamerica-northeast1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.northamerica-northeast2.rep.googleapis.com/", - "location": "northamerica-northeast2", - "description": "Regional Endpoint" + "location": "northamerica-northeast2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.southamerica-east1.rep.googleapis.com/", - "location": "southamerica-east1", - "description": "Regional Endpoint" + "location": "southamerica-east1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.southamerica-west1.rep.googleapis.com/", - "location": "southamerica-west1", - "description": "Regional Endpoint" + "location": "southamerica-west1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.us-central1.rep.googleapis.com/", - "location": "us-central1", - "description": "Regional Endpoint" + "location": "us-central1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.us-central2.rep.googleapis.com/", - "location": "us-central2", - "description": "Regional Endpoint" + "location": "us-central2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.us-east1.rep.googleapis.com/", - "location": "us-east1", - "description": "Regional Endpoint" + "location": "us-east1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.us-east4.rep.googleapis.com/", - "location": "us-east4", - "description": "Regional Endpoint" + "location": "us-east4" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.us-east5.rep.googleapis.com/", - "location": "us-east5", - "description": "Regional Endpoint" + "location": "us-east5" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.us-east7.rep.googleapis.com/", - "location": "us-east7", - "description": "Regional Endpoint" + "location": "us-east7" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.us-south1.rep.googleapis.com/", - "location": "us-south1", - "description": "Regional Endpoint" + "location": "us-south1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.us-west1.rep.googleapis.com/", - "location": "us-west1", - "description": "Regional Endpoint" + "location": "us-west1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.us-west2.rep.googleapis.com/", - "location": "us-west2", - "description": "Regional Endpoint" + "location": "us-west2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.us-west3.rep.googleapis.com/", - "location": "us-west3", - "description": "Regional Endpoint" + "location": "us-west3" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.us-west4.rep.googleapis.com/", - "location": "us-west4", - "description": "Regional Endpoint" + "location": "us-west4" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.us-west8.rep.googleapis.com/", - "location": "us-west8", - "description": "Regional Endpoint" + "location": "us-west8" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.me-central2.rep.googleapis.com/", - "location": "me-central2", - "description": "Regional Endpoint" + "location": "me-central2" } ], "fullyEncodeReservedExpansion": true, @@ -2013,7 +2013,7 @@ } } }, - "revision": "20240608", + "revision": "20240708", "rootUrl": "https://artifactregistry.googleapis.com/", "schemas": { "AptArtifact": { @@ -3355,6 +3355,12 @@ }, "type": "object" }, + "PromoteArtifactMetadata": { + "description": "The metadata for promote artifact long running operation.", + "id": "PromoteArtifactMetadata", + "properties": {}, + "type": "object" + }, "PythonPackage": { "description": "PythonPackage represents a python artifact.", "id": "PythonPackage", @@ -3735,7 +3741,7 @@ "type": "string" }, "packageId": { - "description": "The ID of the package of the generic artifact. If the package does not exist, a new package will be created. The `package_id` must start with a letter, end with a letter or number, only contain letters, numbers, hyphens and periods i.e. [a-z0-9-.], and cannot exceed 256 characters.", + "description": "The ID of the package of the generic artifact. If the package does not exist, a new package will be created. The `package_id` should start and end with a letter or number, only contain letters, numbers, hyphens, underscores, and periods, and not exceed 256 characters.", "type": "string" }, "versionId": { diff --git a/discovery/artifactregistry-v1beta1.json b/discovery/artifactregistry-v1beta1.json index fe67ea42a7..50b8dc2259 100644 --- a/discovery/artifactregistry-v1beta1.json +++ b/discovery/artifactregistry-v1beta1.json @@ -20,219 +20,219 @@ "documentationLink": "https://cloud.google.com/artifacts/docs/", "endpoints": [ { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.africa-south1.rep.googleapis.com/", - "location": "africa-south1", - "description": "Regional Endpoint" + "location": "africa-south1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.asia-east1.rep.googleapis.com/", - "location": "asia-east1", - "description": "Regional Endpoint" + "location": "asia-east1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.asia-east2.rep.googleapis.com/", - "location": "asia-east2", - "description": "Regional Endpoint" + "location": "asia-east2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.asia-northeast1.rep.googleapis.com/", - "location": "asia-northeast1", - "description": "Regional Endpoint" + "location": "asia-northeast1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.asia-northeast2.rep.googleapis.com/", - "location": "asia-northeast2", - "description": "Regional Endpoint" + "location": "asia-northeast2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.asia-northeast3.rep.googleapis.com/", - "location": "asia-northeast3", - "description": "Regional Endpoint" + "location": "asia-northeast3" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.asia-south1.rep.googleapis.com/", - "location": "asia-south1", - "description": "Regional Endpoint" + "location": "asia-south1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.asia-south2.rep.googleapis.com/", - "location": "asia-south2", - "description": "Regional Endpoint" + "location": "asia-south2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.asia-southeast1.rep.googleapis.com/", - "location": "asia-southeast1", - "description": "Regional Endpoint" + "location": "asia-southeast1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.asia-southeast2.rep.googleapis.com/", - "location": "asia-southeast2", - "description": "Regional Endpoint" + "location": "asia-southeast2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.australia-southeast1.rep.googleapis.com/", - "location": "australia-southeast1", - "description": "Regional Endpoint" + "location": "australia-southeast1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.australia-southeast2.rep.googleapis.com/", - "location": "australia-southeast2", - "description": "Regional Endpoint" + "location": "australia-southeast2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.europe-central2.rep.googleapis.com/", - "location": "europe-central2", - "description": "Regional Endpoint" + "location": "europe-central2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.europe-north1.rep.googleapis.com/", - "location": "europe-north1", - "description": "Regional Endpoint" + "location": "europe-north1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.europe-southwest1.rep.googleapis.com/", - "location": "europe-southwest1", - "description": "Regional Endpoint" + "location": "europe-southwest1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.europe-west1.rep.googleapis.com/", - "location": "europe-west1", - "description": "Regional Endpoint" + "location": "europe-west1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.europe-west10.rep.googleapis.com/", - "location": "europe-west10", - "description": "Regional Endpoint" + "location": "europe-west10" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.europe-west12.rep.googleapis.com/", - "location": "europe-west12", - "description": "Regional Endpoint" + "location": "europe-west12" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.europe-west2.rep.googleapis.com/", - "location": "europe-west2", - "description": "Regional Endpoint" + "location": "europe-west2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.europe-west3.rep.googleapis.com/", - "location": "europe-west3", - "description": "Regional Endpoint" + "location": "europe-west3" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.europe-west4.rep.googleapis.com/", - "location": "europe-west4", - "description": "Regional Endpoint" + "location": "europe-west4" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.europe-west6.rep.googleapis.com/", - "location": "europe-west6", - "description": "Regional Endpoint" + "location": "europe-west6" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.europe-west8.rep.googleapis.com/", - "location": "europe-west8", - "description": "Regional Endpoint" + "location": "europe-west8" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.europe-west9.rep.googleapis.com/", - "location": "europe-west9", - "description": "Regional Endpoint" + "location": "europe-west9" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.me-central1.rep.googleapis.com/", - "location": "me-central1", - "description": "Regional Endpoint" + "location": "me-central1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.me-west1.rep.googleapis.com/", - "location": "me-west1", - "description": "Regional Endpoint" + "location": "me-west1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.northamerica-northeast1.rep.googleapis.com/", - "location": "northamerica-northeast1", - "description": "Regional Endpoint" + "location": "northamerica-northeast1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.northamerica-northeast2.rep.googleapis.com/", - "location": "northamerica-northeast2", - "description": "Regional Endpoint" + "location": "northamerica-northeast2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.southamerica-east1.rep.googleapis.com/", - "location": "southamerica-east1", - "description": "Regional Endpoint" + "location": "southamerica-east1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.southamerica-west1.rep.googleapis.com/", - "location": "southamerica-west1", - "description": "Regional Endpoint" + "location": "southamerica-west1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.us-central1.rep.googleapis.com/", - "location": "us-central1", - "description": "Regional Endpoint" + "location": "us-central1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.us-central2.rep.googleapis.com/", - "location": "us-central2", - "description": "Regional Endpoint" + "location": "us-central2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.us-east1.rep.googleapis.com/", - "location": "us-east1", - "description": "Regional Endpoint" + "location": "us-east1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.us-east4.rep.googleapis.com/", - "location": "us-east4", - "description": "Regional Endpoint" + "location": "us-east4" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.us-east5.rep.googleapis.com/", - "location": "us-east5", - "description": "Regional Endpoint" + "location": "us-east5" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.us-east7.rep.googleapis.com/", - "location": "us-east7", - "description": "Regional Endpoint" + "location": "us-east7" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.us-south1.rep.googleapis.com/", - "location": "us-south1", - "description": "Regional Endpoint" + "location": "us-south1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.us-west1.rep.googleapis.com/", - "location": "us-west1", - "description": "Regional Endpoint" + "location": "us-west1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.us-west2.rep.googleapis.com/", - "location": "us-west2", - "description": "Regional Endpoint" + "location": "us-west2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.us-west3.rep.googleapis.com/", - "location": "us-west3", - "description": "Regional Endpoint" + "location": "us-west3" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.us-west4.rep.googleapis.com/", - "location": "us-west4", - "description": "Regional Endpoint" + "location": "us-west4" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.us-west8.rep.googleapis.com/", - "location": "us-west8", - "description": "Regional Endpoint" + "location": "us-west8" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.me-central2.rep.googleapis.com/", - "location": "me-central2", - "description": "Regional Endpoint" + "location": "me-central2" } ], "fullyEncodeReservedExpansion": true, @@ -1146,7 +1146,7 @@ } } }, - "revision": "20240608", + "revision": "20240528", "rootUrl": "https://artifactregistry.googleapis.com/", "schemas": { "Binding": { diff --git a/discovery/artifactregistry-v1beta2.json b/discovery/artifactregistry-v1beta2.json index 3fe6890623..d93c31a0a1 100644 --- a/discovery/artifactregistry-v1beta2.json +++ b/discovery/artifactregistry-v1beta2.json @@ -20,219 +20,219 @@ "documentationLink": "https://cloud.google.com/artifacts/docs/", "endpoints": [ { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.africa-south1.rep.googleapis.com/", - "location": "africa-south1", - "description": "Regional Endpoint" + "location": "africa-south1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.asia-east1.rep.googleapis.com/", - "location": "asia-east1", - "description": "Regional Endpoint" + "location": "asia-east1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.asia-east2.rep.googleapis.com/", - "location": "asia-east2", - "description": "Regional Endpoint" + "location": "asia-east2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.asia-northeast1.rep.googleapis.com/", - "location": "asia-northeast1", - "description": "Regional Endpoint" + "location": "asia-northeast1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.asia-northeast2.rep.googleapis.com/", - "location": "asia-northeast2", - "description": "Regional Endpoint" + "location": "asia-northeast2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.asia-northeast3.rep.googleapis.com/", - "location": "asia-northeast3", - "description": "Regional Endpoint" + "location": "asia-northeast3" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.asia-south1.rep.googleapis.com/", - "location": "asia-south1", - "description": "Regional Endpoint" + "location": "asia-south1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.asia-south2.rep.googleapis.com/", - "location": "asia-south2", - "description": "Regional Endpoint" + "location": "asia-south2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.asia-southeast1.rep.googleapis.com/", - "location": "asia-southeast1", - "description": "Regional Endpoint" + "location": "asia-southeast1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.asia-southeast2.rep.googleapis.com/", - "location": "asia-southeast2", - "description": "Regional Endpoint" + "location": "asia-southeast2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.australia-southeast1.rep.googleapis.com/", - "location": "australia-southeast1", - "description": "Regional Endpoint" + "location": "australia-southeast1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.australia-southeast2.rep.googleapis.com/", - "location": "australia-southeast2", - "description": "Regional Endpoint" + "location": "australia-southeast2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.europe-central2.rep.googleapis.com/", - "location": "europe-central2", - "description": "Regional Endpoint" + "location": "europe-central2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.europe-north1.rep.googleapis.com/", - "location": "europe-north1", - "description": "Regional Endpoint" + "location": "europe-north1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.europe-southwest1.rep.googleapis.com/", - "location": "europe-southwest1", - "description": "Regional Endpoint" + "location": "europe-southwest1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.europe-west1.rep.googleapis.com/", - "location": "europe-west1", - "description": "Regional Endpoint" + "location": "europe-west1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.europe-west10.rep.googleapis.com/", - "location": "europe-west10", - "description": "Regional Endpoint" + "location": "europe-west10" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.europe-west12.rep.googleapis.com/", - "location": "europe-west12", - "description": "Regional Endpoint" + "location": "europe-west12" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.europe-west2.rep.googleapis.com/", - "location": "europe-west2", - "description": "Regional Endpoint" + "location": "europe-west2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.europe-west3.rep.googleapis.com/", - "location": "europe-west3", - "description": "Regional Endpoint" + "location": "europe-west3" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.europe-west4.rep.googleapis.com/", - "location": "europe-west4", - "description": "Regional Endpoint" + "location": "europe-west4" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.europe-west6.rep.googleapis.com/", - "location": "europe-west6", - "description": "Regional Endpoint" + "location": "europe-west6" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.europe-west8.rep.googleapis.com/", - "location": "europe-west8", - "description": "Regional Endpoint" + "location": "europe-west8" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.europe-west9.rep.googleapis.com/", - "location": "europe-west9", - "description": "Regional Endpoint" + "location": "europe-west9" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.me-central1.rep.googleapis.com/", - "location": "me-central1", - "description": "Regional Endpoint" + "location": "me-central1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.me-west1.rep.googleapis.com/", - "location": "me-west1", - "description": "Regional Endpoint" + "location": "me-west1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.northamerica-northeast1.rep.googleapis.com/", - "location": "northamerica-northeast1", - "description": "Regional Endpoint" + "location": "northamerica-northeast1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.northamerica-northeast2.rep.googleapis.com/", - "location": "northamerica-northeast2", - "description": "Regional Endpoint" + "location": "northamerica-northeast2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.southamerica-east1.rep.googleapis.com/", - "location": "southamerica-east1", - "description": "Regional Endpoint" + "location": "southamerica-east1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.southamerica-west1.rep.googleapis.com/", - "location": "southamerica-west1", - "description": "Regional Endpoint" + "location": "southamerica-west1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.us-central1.rep.googleapis.com/", - "location": "us-central1", - "description": "Regional Endpoint" + "location": "us-central1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.us-central2.rep.googleapis.com/", - "location": "us-central2", - "description": "Regional Endpoint" + "location": "us-central2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.us-east1.rep.googleapis.com/", - "location": "us-east1", - "description": "Regional Endpoint" + "location": "us-east1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.us-east4.rep.googleapis.com/", - "location": "us-east4", - "description": "Regional Endpoint" + "location": "us-east4" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.us-east5.rep.googleapis.com/", - "location": "us-east5", - "description": "Regional Endpoint" + "location": "us-east5" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.us-east7.rep.googleapis.com/", - "location": "us-east7", - "description": "Regional Endpoint" + "location": "us-east7" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.us-south1.rep.googleapis.com/", - "location": "us-south1", - "description": "Regional Endpoint" + "location": "us-south1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.us-west1.rep.googleapis.com/", - "location": "us-west1", - "description": "Regional Endpoint" + "location": "us-west1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.us-west2.rep.googleapis.com/", - "location": "us-west2", - "description": "Regional Endpoint" + "location": "us-west2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.us-west3.rep.googleapis.com/", - "location": "us-west3", - "description": "Regional Endpoint" + "location": "us-west3" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.us-west4.rep.googleapis.com/", - "location": "us-west4", - "description": "Regional Endpoint" + "location": "us-west4" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.us-west8.rep.googleapis.com/", - "location": "us-west8", - "description": "Regional Endpoint" + "location": "us-west8" }, { + "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.me-central2.rep.googleapis.com/", - "location": "me-central2", - "description": "Regional Endpoint" + "location": "me-central2" } ], "fullyEncodeReservedExpansion": true, @@ -1414,7 +1414,7 @@ } } }, - "revision": "20240608", + "revision": "20240603", "rootUrl": "https://artifactregistry.googleapis.com/", "schemas": { "AptArtifact": { diff --git a/discovery/assuredworkloads-v1.json b/discovery/assuredworkloads-v1.json index 522a6dd8c4..0d71cb2824 100644 --- a/discovery/assuredworkloads-v1.json +++ b/discovery/assuredworkloads-v1.json @@ -591,7 +591,7 @@ } } }, - "revision": "20240621", + "revision": "20240703", "rootUrl": "https://assuredworkloads.googleapis.com/", "schemas": { "GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest": { @@ -683,25 +683,19 @@ "FEDRAMP_HIGH", "FEDRAMP_MODERATE", "US_REGIONAL_ACCESS", - "REGIONAL_CONTROLS_PREMIUM_US", "HIPAA", "HITRUST", "EU_REGIONS_AND_SUPPORT", - "REGIONAL_CONTROLS_PREMIUM_EU", "CA_REGIONS_AND_SUPPORT", - "REGIONAL_CONTROLS_PREMIUM_CA", "ITAR", "AU_REGIONS_AND_US_SUPPORT", - "REGIONAL_CONTROLS_PREMIUM_AU", "ASSURED_WORKLOADS_FOR_PARTNERS", "ISR_REGIONS", - "REGIONAL_CONTROLS_PREMIUM_ISR", "ISR_REGIONS_AND_SUPPORT", "CA_PROTECTED_B", "IL5", "IL2", "JP_REGIONS_AND_SUPPORT", - "REGIONAL_CONTROLS_PREMIUM_JP", "KSA_REGIONS_AND_SUPPORT_WITH_SOVEREIGNTY_CONTROLS", "REGIONAL_CONTROLS" ], @@ -712,25 +706,19 @@ "FedRAMP High data protection controls", "FedRAMP Moderate data protection controls", "Assured Workloads For US Regions data protection controls", - "Assured Workloads For US Regions data protection controls", "Health Insurance Portability and Accountability Act controls", "Health Information Trust Alliance controls", "Assured Workloads For EU Regions and Support controls", - "Assured Workloads For EU Regions and Support controls", - "Assured Workloads For Canada Regions and Support controls", "Assured Workloads For Canada Regions and Support controls", "International Traffic in Arms Regulations", "Assured Workloads for Australia Regions and Support controls", - "Assured Workloads for Australia Regions and Support controls", "Assured Workloads for Partners;", "Assured Workloads for Israel Regions", - "Assured Workloads for Israel", "Assured Workloads for Israel Regions", "Assured Workloads for Canada Protected B regime", "Information protection as per DoD IL5 requirements.", "Information protection as per DoD IL2 requirements.", "Assured Workloads for Japan Regions", - "Assured Workloads for Japan Regions", "KSA R5 Controls.", "Assured Workloads for Regional Controls" ], @@ -1178,25 +1166,19 @@ "FEDRAMP_HIGH", "FEDRAMP_MODERATE", "US_REGIONAL_ACCESS", - "REGIONAL_CONTROLS_PREMIUM_US", "HIPAA", "HITRUST", "EU_REGIONS_AND_SUPPORT", - "REGIONAL_CONTROLS_PREMIUM_EU", "CA_REGIONS_AND_SUPPORT", - "REGIONAL_CONTROLS_PREMIUM_CA", "ITAR", "AU_REGIONS_AND_US_SUPPORT", - "REGIONAL_CONTROLS_PREMIUM_AU", "ASSURED_WORKLOADS_FOR_PARTNERS", "ISR_REGIONS", - "REGIONAL_CONTROLS_PREMIUM_ISR", "ISR_REGIONS_AND_SUPPORT", "CA_PROTECTED_B", "IL5", "IL2", "JP_REGIONS_AND_SUPPORT", - "REGIONAL_CONTROLS_PREMIUM_JP", "KSA_REGIONS_AND_SUPPORT_WITH_SOVEREIGNTY_CONTROLS", "REGIONAL_CONTROLS" ], @@ -1207,25 +1189,19 @@ "FedRAMP High data protection controls", "FedRAMP Moderate data protection controls", "Assured Workloads For US Regions data protection controls", - "Assured Workloads For US Regions data protection controls", "Health Insurance Portability and Accountability Act controls", "Health Information Trust Alliance controls", "Assured Workloads For EU Regions and Support controls", - "Assured Workloads For EU Regions and Support controls", - "Assured Workloads For Canada Regions and Support controls", "Assured Workloads For Canada Regions and Support controls", "International Traffic in Arms Regulations", "Assured Workloads for Australia Regions and Support controls", - "Assured Workloads for Australia Regions and Support controls", "Assured Workloads for Partners;", "Assured Workloads for Israel Regions", - "Assured Workloads for Israel", "Assured Workloads for Israel Regions", "Assured Workloads for Canada Protected B regime", "Information protection as per DoD IL5 requirements.", "Information protection as per DoD IL2 requirements.", "Assured Workloads for Japan Regions", - "Assured Workloads for Japan Regions", "KSA R5 Controls.", "Assured Workloads for Regional Controls" ], diff --git a/discovery/assuredworkloads-v1beta1.json b/discovery/assuredworkloads-v1beta1.json index 975fbf4ff2..3af81e537d 100644 --- a/discovery/assuredworkloads-v1beta1.json +++ b/discovery/assuredworkloads-v1beta1.json @@ -588,7 +588,7 @@ } } }, - "revision": "20240627", + "revision": "20240703", "rootUrl": "https://assuredworkloads.googleapis.com/", "schemas": { "GoogleCloudAssuredworkloadsV1beta1AcknowledgeViolationRequest": { @@ -680,25 +680,19 @@ "FEDRAMP_HIGH", "FEDRAMP_MODERATE", "US_REGIONAL_ACCESS", - "REGIONAL_CONTROLS_PREMIUM_US", "HIPAA", "HITRUST", "EU_REGIONS_AND_SUPPORT", - "REGIONAL_CONTROLS_PREMIUM_EU", "CA_REGIONS_AND_SUPPORT", - "REGIONAL_CONTROLS_PREMIUM_CA", "ITAR", "AU_REGIONS_AND_US_SUPPORT", - "REGIONAL_CONTROLS_PREMIUM_AU", "ASSURED_WORKLOADS_FOR_PARTNERS", "ISR_REGIONS", - "REGIONAL_CONTROLS_PREMIUM_ISR", "ISR_REGIONS_AND_SUPPORT", "CA_PROTECTED_B", "IL5", "IL2", "JP_REGIONS_AND_SUPPORT", - "REGIONAL_CONTROLS_PREMIUM_JP", "KSA_REGIONS_AND_SUPPORT_WITH_SOVEREIGNTY_CONTROLS", "REGIONAL_CONTROLS" ], @@ -709,25 +703,19 @@ "FedRAMP High data protection controls", "FedRAMP Moderate data protection controls", "Assured Workloads For US Regions data protection controls", - "Assured Workloads For US Regions data protection controls", "Health Insurance Portability and Accountability Act controls", "Health Information Trust Alliance controls", "Assured Workloads For EU Regions and Support controls", - "Assured Workloads For EU Regions and Support controls", - "Assured Workloads For Canada Regions and Support controls", "Assured Workloads For Canada Regions and Support controls", "International Traffic in Arms Regulations", "Assured Workloads for Australia Regions and Support controls", - "Assured Workloads for Australia Regions and Support controls", "Assured Workloads for Partners;", "Assured Workloads for Israel Regions", - "Assured Workloads for Israel", "Assured Workloads for Israel Regions", "Assured Workloads for Canada Protected B regime", "Information protection as per DoD IL5 requirements.", "Information protection as per DoD IL2 requirements.", "Assured Workloads for Japan Regions", - "Assured Workloads for Japan Regions", "KSA R5 Controls.", "Assured Workloads for Regional Controls" ], @@ -1173,25 +1161,19 @@ "FEDRAMP_HIGH", "FEDRAMP_MODERATE", "US_REGIONAL_ACCESS", - "REGIONAL_CONTROLS_PREMIUM_US", "HIPAA", "HITRUST", "EU_REGIONS_AND_SUPPORT", - "REGIONAL_CONTROLS_PREMIUM_EU", "CA_REGIONS_AND_SUPPORT", - "REGIONAL_CONTROLS_PREMIUM_CA", "ITAR", "AU_REGIONS_AND_US_SUPPORT", - "REGIONAL_CONTROLS_PREMIUM_AU", "ASSURED_WORKLOADS_FOR_PARTNERS", "ISR_REGIONS", - "REGIONAL_CONTROLS_PREMIUM_ISR", "ISR_REGIONS_AND_SUPPORT", "CA_PROTECTED_B", "IL5", "IL2", "JP_REGIONS_AND_SUPPORT", - "REGIONAL_CONTROLS_PREMIUM_JP", "KSA_REGIONS_AND_SUPPORT_WITH_SOVEREIGNTY_CONTROLS", "REGIONAL_CONTROLS" ], @@ -1202,25 +1184,19 @@ "FedRAMP High data protection controls", "FedRAMP Moderate data protection controls", "Assured Workloads For US Regions data protection controls", - "Assured Workloads For US Regions data protection controls", "Health Insurance Portability and Accountability Act controls", "Health Information Trust Alliance controls", "Assured Workloads For EU Regions and Support controls", - "Assured Workloads For EU Regions and Support controls", - "Assured Workloads For Canada Regions and Support controls", "Assured Workloads For Canada Regions and Support controls", "International Traffic in Arms Regulations", "Assured Workloads for Australia Regions and Support controls", - "Assured Workloads for Australia Regions and Support controls", "Assured Workloads for Partners;", "Assured Workloads for Israel Regions", - "Assured Workloads for Israel", "Assured Workloads for Israel Regions", "Assured Workloads for Canada Protected B regime", "Information protection as per DoD IL5 requirements.", "Information protection as per DoD IL2 requirements.", "Assured Workloads for Japan Regions", - "Assured Workloads for Japan Regions", "KSA R5 Controls.", "Assured Workloads for Regional Controls" ], diff --git a/discovery/authorizedbuyersmarketplace-v1.json b/discovery/authorizedbuyersmarketplace-v1.json index 066dfe4016..b0e3e4a9fd 100644 --- a/discovery/authorizedbuyersmarketplace-v1.json +++ b/discovery/authorizedbuyersmarketplace-v1.json @@ -1367,7 +1367,7 @@ } } }, - "revision": "20240625", + "revision": "20240618", "rootUrl": "https://authorizedbuyersmarketplace.googleapis.com/", "schemas": { "AcceptProposalRequest": { diff --git a/discovery/backupdr-v1.json b/discovery/backupdr-v1.json index b92d24ea73..4797274bbc 100644 --- a/discovery/backupdr-v1.json +++ b/discovery/backupdr-v1.json @@ -177,6 +177,727 @@ } }, "resources": { + "backupVaults": { + "methods": { + "create": { + "description": "", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupVaults", + "httpMethod": "POST", + "id": "backupdr.projects.locations.backupVaults.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "backupVaultId": { + "description": "Required. ID of the requesting object If auto-generating ID server-side, remove this field and backup_vault_id from the method_signature of Create RPC", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Value for parent.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "validateOnly": { + "description": "Optional. Only validate the request, but do not perform mutations. The default is 'false'.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1/{+parent}/backupVaults", + "request": { + "$ref": "BackupVault" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a BackupVault.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupVaults/{backupVaultsId}", + "httpMethod": "DELETE", + "id": "backupdr.projects.locations.backupVaults.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "allowMissing": { + "description": "Optional. If true and the BackupVault is not found, the request will succeed but no action will be taken.", + "location": "query", + "type": "boolean" + }, + "etag": { + "description": "The current etag of the backup vault. If an etag is provided and does not match the current etag of the connection, deletion will be blocked.", + "location": "query", + "type": "string" + }, + "force": { + "description": "Optional. If set to true, any data source from this backup vault will also be deleted.", + "location": "query", + "type": "boolean" + }, + "name": { + "description": "Required. Name of the resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backupVaults/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "validateOnly": { + "description": "Optional. Only validate the request, but do not perform mutations. The default is 'false'.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "fetchUsable": { + "description": "FetchUsableBackupVaults lists usable BackupVaults in a given project and location. Usable BackupVault are the ones that user has backupdr.backupVaults.get permission.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupVaults:fetchUsable", + "httpMethod": "GET", + "id": "backupdr.projects.locations.backupVaults.fetchUsable", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. Filtering results.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. Hint for how to order the results.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A token identifying a page of results the server should return.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The project and location for which to retrieve backupvault stores information, in the format 'projects/{project_id}/locations/{location}'. In Cloud Backup and DR, locations map to Google Cloud regions, for example **us-central1**. To retrieve backupvault stores for all locations, use \"-\" for the '{location}' value.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/backupVaults:fetchUsable", + "response": { + "$ref": "FetchUsableBackupVaultsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets details of a BackupVault.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupVaults/{backupVaultsId}", + "httpMethod": "GET", + "id": "backupdr.projects.locations.backupVaults.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the backupvault store resource name, in the format 'projects/{project_id}/locations/{location}/backupVaults/{resource_name}'", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backupVaults/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "BackupVault" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists BackupVaults in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupVaults", + "httpMethod": "GET", + "id": "backupdr.projects.locations.backupVaults.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. Filtering results.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. Hint for how to order the results.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A token identifying a page of results the server should return.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The project and location for which to retrieve backupvault stores information, in the format 'projects/{project_id}/locations/{location}'. In Cloud Backup and DR, locations map to Google Cloud regions, for example **us-central1**. To retrieve backupvault stores for all locations, use \"-\" for the '{location}' value.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/backupVaults", + "response": { + "$ref": "ListBackupVaultsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates the settings of a BackupVault.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupVaults/{backupVaultsId}", + "httpMethod": "PATCH", + "id": "backupdr.projects.locations.backupVaults.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. The resource name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backupVaults/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "updateMask": { + "description": "Required. Field mask is used to specify the fields to be overwritten in the BackupVault resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then the request will fail.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + }, + "validateOnly": { + "description": "Optional. Only validate the request, but do not perform mutations. The default is 'false'.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "BackupVault" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "testIamPermissions": { + "description": "Returns the caller's permissions on a BackupVault resource. A caller is not required to have Google IAM permission to make this request.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupVaults/{backupVaultsId}:testIamPermissions", + "httpMethod": "POST", + "id": "backupdr.projects.locations.backupVaults.testIamPermissions", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backupVaults/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:testIamPermissions", + "request": { + "$ref": "TestIamPermissionsRequest" + }, + "response": { + "$ref": "TestIamPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, + "resources": { + "dataSources": { + "methods": { + "abandonBackup": { + "description": "Internal only. Abandons a backup.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupVaults/{backupVaultsId}/dataSources/{dataSourcesId}:abandonBackup", + "httpMethod": "POST", + "id": "backupdr.projects.locations.backupVaults.dataSources.abandonBackup", + "parameterOrder": [ + "dataSource" + ], + "parameters": { + "dataSource": { + "description": "Required. The resource name of the instance, in the format 'projects/*/locations/*/backupVaults/*/dataSources/'.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backupVaults/[^/]+/dataSources/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+dataSource}:abandonBackup", + "request": { + "$ref": "AbandonBackupRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "fetchAccessToken": { + "description": "Internal only. Fetch access token for a given data source.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupVaults/{backupVaultsId}/dataSources/{dataSourcesId}:fetchAccessToken", + "httpMethod": "POST", + "id": "backupdr.projects.locations.backupVaults.dataSources.fetchAccessToken", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name for the location for which static IPs should be returned. Must be in the format 'projects/*/locations/*/backupVaults/*/dataSources'.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backupVaults/[^/]+/dataSources/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:fetchAccessToken", + "request": { + "$ref": "FetchAccessTokenRequest" + }, + "response": { + "$ref": "FetchAccessTokenResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "finalizeBackup": { + "description": "Internal only. Finalize a backup that was started by a call to InitiateBackup.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupVaults/{backupVaultsId}/dataSources/{dataSourcesId}:finalizeBackup", + "httpMethod": "POST", + "id": "backupdr.projects.locations.backupVaults.dataSources.finalizeBackup", + "parameterOrder": [ + "dataSource" + ], + "parameters": { + "dataSource": { + "description": "Required. The resource name of the instance, in the format 'projects/*/locations/*/backupVaults/*/dataSources/'.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backupVaults/[^/]+/dataSources/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+dataSource}:finalizeBackup", + "request": { + "$ref": "FinalizeBackupRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets details of a DataSource.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupVaults/{backupVaultsId}/dataSources/{dataSourcesId}", + "httpMethod": "GET", + "id": "backupdr.projects.locations.backupVaults.dataSources.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the data source resource name, in the format 'projects/{project_id}/locations/{location}/backupVaults/{resource_name}/dataSource/{resource_name}'", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backupVaults/[^/]+/dataSources/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "DataSource" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "initiateBackup": { + "description": "Internal only. Initiates a backup.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupVaults/{backupVaultsId}/dataSources/{dataSourcesId}:initiateBackup", + "httpMethod": "POST", + "id": "backupdr.projects.locations.backupVaults.dataSources.initiateBackup", + "parameterOrder": [ + "dataSource" + ], + "parameters": { + "dataSource": { + "description": "Required. The resource name of the instance, in the format 'projects/*/locations/*/backupVaults/*/dataSources/'.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backupVaults/[^/]+/dataSources/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+dataSource}:initiateBackup", + "request": { + "$ref": "InitiateBackupRequest" + }, + "response": { + "$ref": "InitiateBackupResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists DataSources in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupVaults/{backupVaultsId}/dataSources", + "httpMethod": "GET", + "id": "backupdr.projects.locations.backupVaults.dataSources.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. Filtering results.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. Hint for how to order the results.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A token identifying a page of results the server should return.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The project and location for which to retrieve data sources information, in the format 'projects/{project_id}/locations/{location}'. In Cloud Backup and DR, locations map to Google Cloud regions, for example **us-central1**. To retrieve data sources for all locations, use \"-\" for the '{location}' value.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backupVaults/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/dataSources", + "response": { + "$ref": "ListDataSourcesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates the settings of a DataSource.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupVaults/{backupVaultsId}/dataSources/{dataSourcesId}", + "httpMethod": "PATCH", + "id": "backupdr.projects.locations.backupVaults.dataSources.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "allowMissing": { + "description": "Optional. Enable upsert.", + "location": "query", + "type": "boolean" + }, + "name": { + "description": "Output only. The resource name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backupVaults/[^/]+/dataSources/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "updateMask": { + "description": "Required. Field mask is used to specify the fields to be overwritten in the DataSource resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then the request will fail.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "DataSource" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "remove": { + "description": "Deletes a DataSource. This is a custom method instead of a standard delete method because external clients will not delete DataSources except for BackupDR backup appliances.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupVaults/{backupVaultsId}/dataSources/{dataSourcesId}:remove", + "httpMethod": "POST", + "id": "backupdr.projects.locations.backupVaults.dataSources.remove", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backupVaults/[^/]+/dataSources/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:remove", + "request": { + "$ref": "RemoveDataSourceRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "setInternalStatus": { + "description": "Sets the internal status of a DataSource.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupVaults/{backupVaultsId}/dataSources/{dataSourcesId}:setInternalStatus", + "httpMethod": "POST", + "id": "backupdr.projects.locations.backupVaults.dataSources.setInternalStatus", + "parameterOrder": [ + "dataSource" + ], + "parameters": { + "dataSource": { + "description": "Required. The resource name of the instance, in the format 'projects/*/locations/*/backupVaults/*/dataSources/'.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backupVaults/[^/]+/dataSources/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+dataSource}:setInternalStatus", + "request": { + "$ref": "SetInternalStatusRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, + "resources": { + "backups": { + "methods": { + "delete": { + "description": "Deletes a Backup.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupVaults/{backupVaultsId}/dataSources/{dataSourcesId}/backups/{backupsId}", + "httpMethod": "DELETE", + "id": "backupdr.projects.locations.backupVaults.dataSources.backups.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backupVaults/[^/]+/dataSources/[^/]+/backups/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets details of a Backup.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupVaults/{backupVaultsId}/dataSources/{dataSourcesId}/backups/{backupsId}", + "httpMethod": "GET", + "id": "backupdr.projects.locations.backupVaults.dataSources.backups.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the data source resource name, in the format 'projects/{project_id}/locations/{location}/backupVaults/{backupVault}/dataSources/{datasource}/backups/{backup}'", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backupVaults/[^/]+/dataSources/[^/]+/backups/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Backup" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists Backups in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupVaults/{backupVaultsId}/dataSources/{dataSourcesId}/backups", + "httpMethod": "GET", + "id": "backupdr.projects.locations.backupVaults.dataSources.backups.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. Filtering results.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. Hint for how to order the results.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A token identifying a page of results the server should return.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The project and location for which to retrieve backup information, in the format 'projects/{project_id}/locations/{location}'. In Cloud Backup and DR, locations map to Google Cloud regions, for example **us-central1**. To retrieve data sources for all locations, use \"-\" for the '{location}' value.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backupVaults/[^/]+/dataSources/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/backups", + "response": { + "$ref": "ListBackupsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates the settings of a Backup.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupVaults/{backupVaultsId}/dataSources/{dataSourcesId}/backups/{backupsId}", + "httpMethod": "PATCH", + "id": "backupdr.projects.locations.backupVaults.dataSources.backups.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. Name of the resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/backupVaults/[^/]+/dataSources/[^/]+/backups/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "updateMask": { + "description": "Required. Field mask is used to specify the fields to be overwritten in the Backup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then the request will fail.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "Backup" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + } + } + }, "managementServers": { "methods": { "create": { @@ -194,7 +915,7 @@ "type": "string" }, "parent": { - "description": "Required. The management server project and location in the format `projects/{project_id}/locations/{location}`. In Cloud Backup and DR locations map to GCP regions, for example **us-central1**.", + "description": "Required. The management server project and location in the format 'projects/{project_id}/locations/{location}'. In Cloud Backup and DR locations map to Google Cloud regions, for example **us-central1**.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -257,7 +978,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the management server resource name, in the format `projects/{project_id}/locations/{location}/managementServers/{resource_name}`", + "description": "Required. Name of the management server resource name, in the format 'projects/{project_id}/locations/{location}/managementServers/{resource_name}'", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/managementServers/[^/]+$", "required": true, @@ -334,7 +1055,7 @@ "type": "string" }, "parent": { - "description": "Required. The project and location for which to retrieve management servers information, in the format `projects/{project_id}/locations/{location}`. In Cloud BackupDR, locations map to GCP regions, for example **us-central1**. To retrieve management servers for all locations, use \"-\" for the `{location}` value.", + "description": "Required. The project and location for which to retrieve management servers information, in the format 'projects/{project_id}/locations/{location}'. In Cloud BackupDR, locations map to Google Cloud regions, for example **us-central1**. To retrieve management servers for all locations, use \"-\" for the '{location}' value.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -535,110 +1256,1343 @@ } } }, - "revision": "20240522", + "revision": "20240626", "rootUrl": "https://backupdr.googleapis.com/", "schemas": { - "AuditConfig": { - "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", - "id": "AuditConfig", + "AbandonBackupRequest": { + "description": "request message for AbandonBackup.", + "id": "AbandonBackupRequest", "properties": { - "auditLogConfigs": { - "description": "The configuration for logging of each type of permission.", + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "type": "string" + } + }, + "type": "object" + }, + "AcceleratorConfig": { + "description": "A specification of the type and number of accelerator cards attached to the instance.", + "id": "AcceleratorConfig", + "properties": { + "acceleratorCount": { + "description": "Optional. The number of the guest accelerator cards exposed to this instance.", + "format": "int32", + "type": "integer" + }, + "acceleratorType": { + "description": "Optional. Full or partial URL of the accelerator type resource to attach to this instance.", + "type": "string" + } + }, + "type": "object" + }, + "AccessConfig": { + "description": "An access configuration attached to an instance's network interface. Only one access config per instance is supported.", + "id": "AccessConfig", + "properties": { + "externalIpv6": { + "description": "Optional. The external IPv6 address of this access configuration.", + "type": "string" + }, + "externalIpv6PrefixLength": { + "description": "Optional. The prefix length of the external IPv6 range.", + "format": "int32", + "type": "integer" + }, + "name": { + "description": "Optional. The name of this access configuration.", + "type": "string" + }, + "natIP": { + "description": "Optional. The external IP address of this access configuration.", + "type": "string" + }, + "networkTier": { + "description": "Optional. This signifies the networking tier used for configuring this access", + "enum": [ + "NETWORK_TIER_UNSPECIFIED", + "PREMIUM", + "STANDARD" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "High quality, Google-grade network tier, support for all networking products.", + "Public internet quality, only limited support for other networking products." + ], + "type": "string" + }, + "publicPtrDomainName": { + "description": "Optional. The DNS domain name for the public PTR record.", + "type": "string" + }, + "setPublicPtr": { + "description": "Optional. Specifies whether a public DNS 'PTR' record should be created to map the external IP address of the instance to a DNS domain name.", + "type": "boolean" + }, + "type": { + "description": "Optional. In accessConfigs (IPv4), the default and only option is ONE_TO_ONE_NAT. In ipv6AccessConfigs, the default and only option is DIRECT_IPV6.", + "enum": [ + "ACCESS_TYPE_UNSPECIFIED", + "ONE_TO_ONE_NAT", + "DIRECT_IPV6" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "ONE_TO_ONE_NAT", + "Direct IPv6 access." + ], + "type": "string" + } + }, + "type": "object" + }, + "AliasIpRange": { + "description": "An alias IP range attached to an instance's network interface.", + "id": "AliasIpRange", + "properties": { + "ipCidrRange": { + "description": "Optional. The IP alias ranges to allocate for this interface.", + "type": "string" + }, + "subnetworkRangeName": { + "description": "Optional. The name of a subnetwork secondary IP range from which to allocate an IP alias range. If not specified, the primary range of the subnetwork is used.", + "type": "string" + } + }, + "type": "object" + }, + "AttachedDisk": { + "description": "An instance-attached disk resource.", + "id": "AttachedDisk", + "properties": { + "autoDelete": { + "description": "Optional. Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).", + "type": "boolean" + }, + "boot": { + "description": "Optional. Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem.", + "type": "boolean" + }, + "deviceName": { + "description": "Optional. This is used as an identifier for the disks. This is the unique name has to provided to modify disk parameters like disk_name and replica_zones (in case of RePDs)", + "type": "string" + }, + "diskEncryptionKey": { + "$ref": "CustomerEncryptionKey", + "description": "Optional. Encrypts or decrypts a disk using a customer-supplied encryption key." + }, + "diskInterface": { + "description": "Optional. Specifies the disk interface to use for attaching this disk.", + "enum": [ + "DISK_INTERFACE_UNSPECIFIED", + "SCSI", + "NVME", + "NVDIMM", + "ISCSI" + ], + "enumDescriptions": [ + "Default value, which is unused.", + "SCSI Disk Interface.", + "NVME Disk Interface.", + "NVDIMM Disk Interface.", + "ISCSI Disk Interface." + ], + "type": "string" + }, + "diskSizeGb": { + "description": "Optional. The size of the disk in GB.", + "format": "int64", + "type": "string" + }, + "diskType": { + "description": "Optional. Specifies the type of the disk.", + "enum": [ + "DISK_TYPE_UNSPECIFIED", + "SCRATCH", + "PERSISTENT" + ], + "enumDescriptions": [ + "Default value, which is unused.", + "A scratch disk type.", + "A persistent disk type." + ], + "type": "string" + }, + "guestOsFeature": { + "description": "Optional. A list of features to enable on the guest operating system. Applicable only for bootable images.", + "items": { + "$ref": "GuestOsFeature" + }, + "type": "array" + }, + "index": { + "description": "Optional. A zero-based index to this disk, where 0 is reserved for the boot disk.", + "format": "int64", + "type": "string" + }, + "initializeParams": { + "$ref": "InitializeParams", + "description": "Optional. Specifies the parameters to initialize this disk." + }, + "kind": { + "description": "Optional. Type of the resource.", + "type": "string" + }, + "license": { + "description": "Optional. Any valid publicly visible licenses.", + "items": { + "type": "string" + }, + "type": "array" + }, + "mode": { + "description": "Optional. The mode in which to attach this disk.", + "enum": [ + "DISK_MODE_UNSPECIFIED", + "READ_WRITE", + "READ_ONLY", + "LOCKED" + ], + "enumDescriptions": [ + "Default value, which is unused.", + "Attaches this disk in read-write mode. Only one virtual machine at a time can be attached to a disk in read-write mode.", + "Attaches this disk in read-only mode. Multiple virtual machines can use a disk in read-only mode at a time.", + "The disk is locked for administrative reasons. Nobody else can use the disk. This mode is used (for example) when taking a snapshot of a disk to prevent mounting the disk while it is being snapshotted." + ], + "type": "string" + }, + "savedState": { + "description": "Optional. Output only. The state of the disk.", + "enum": [ + "DISK_SAVED_STATE_UNSPECIFIED", + "PRESERVED" + ], + "enumDescriptions": [ + "Default Disk state has not been preserved.", + "Disk state has been preserved." + ], + "readOnly": true, + "type": "string" + }, + "source": { + "description": "Optional. Specifies a valid partial or full URL to an existing Persistent Disk resource.", + "type": "string" + } + }, + "type": "object" + }, + "AuditConfig": { + "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", + "id": "AuditConfig", + "properties": { + "auditLogConfigs": { + "description": "The configuration for logging of each type of permission.", + "items": { + "$ref": "AuditLogConfig" + }, + "type": "array" + }, + "service": { + "description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", + "type": "string" + } + }, + "type": "object" + }, + "AuditLogConfig": { + "description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", + "id": "AuditLogConfig", + "properties": { + "exemptedMembers": { + "description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", + "items": { + "type": "string" + }, + "type": "array" + }, + "logType": { + "description": "The log type that this config enables.", + "enum": [ + "LOG_TYPE_UNSPECIFIED", + "ADMIN_READ", + "DATA_WRITE", + "DATA_READ" + ], + "enumDescriptions": [ + "Default case. Should never be this.", + "Admin reads. Example: CloudIAM getIamPolicy", + "Data writes. Example: CloudSQL Users create", + "Data reads. Example: CloudSQL Users list" + ], + "type": "string" + } + }, + "type": "object" + }, + "Backup": { + "description": "Message describing a Backup object.", + "id": "Backup", + "properties": { + "backupApplianceBackupProperties": { + "$ref": "BackupApplianceBackupProperties", + "readOnly": true + }, + "backupApplianceLocks": { + "description": "Optional. The list of BackupLocks taken by the accessor Backup Appliance.", + "items": { + "$ref": "BackupLock" + }, + "type": "array" + }, + "backupType": { + "enum": [ + "BACKUP_TYPE_UNSPECIFIED", + "SCHEDULED", + "ON_DEMAND" + ], + "enumDescriptions": [ + "", + "", + "" + ], + "readOnly": true, + "type": "string" + }, + "computeInstanceBackupProperties": { + "$ref": "ComputeInstanceBackupProperties", + "readOnly": true + }, + "consistencyTime": { + "description": "Output only. The point in time when this backup was captured from the source.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "createTime": { + "description": "Output only. The time when the instance was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "description": { + "description": "Output only. The description of the Backup instance (2048 characters or less).", + "readOnly": true, + "type": "string" + }, + "enforcedRetentionEndTime": { + "description": "Optional. The backup can not be deleted before this time.", + "format": "google-datetime", + "type": "string" + }, + "etag": { + "description": "Optional. Server specified ETag to prevent updates from overwriting each other.", + "type": "string" + }, + "expireTime": { + "description": "Optional. When this backup is automatically expired.", + "format": "google-datetime", + "type": "string" + }, + "gcpBackupPlanInfo": { + "$ref": "GCPBackupPlanInfo", + "description": "Output only. Configuration for a Google Cloud resource.", + "readOnly": true + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Resource labels to represent user provided metadata. No labels currently defined.", + "type": "object" + }, + "name": { + "description": "Output only. Name of the resource.", + "readOnly": true, + "type": "string" + }, + "resourceSizeBytes": { + "description": "Output only. source resource size in bytes at the time of the backup.", + "format": "int64", + "readOnly": true, + "type": "string" + }, + "serviceLocks": { + "description": "Output only. The list of BackupLocks taken by the service to prevent the deletion of the backup.", + "items": { + "$ref": "BackupLock" + }, + "readOnly": true, + "type": "array" + }, + "state": { + "description": "Output only. The Backup resource instance state.", + "enum": [ + "STATE_UNSPECIFIED", + "CREATING", + "ACTIVE", + "DELETING", + "ERROR" + ], + "enumDescriptions": [ + "State not set.", + "The backup is being created.", + "The backup has been created and is fully usable.", + "The backup is being deleted.", + "The backup is experiencing an issue and might be unusable." + ], + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. The time when the instance was updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "BackupApplianceBackupConfig": { + "description": "BackupApplianceBackupConfig captures the backup configuration for applications that are protected by Backup Appliances.", + "id": "BackupApplianceBackupConfig", + "properties": { + "applicationName": { + "description": "The name of the application.", + "type": "string" + }, + "backupApplianceId": { + "description": "The ID of the backup appliance.", + "format": "int64", + "type": "string" + }, + "backupApplianceName": { + "description": "The name of the backup appliance.", + "type": "string" + }, + "hostName": { + "description": "The name of the host where the application is running.", + "type": "string" + }, + "slaId": { + "description": "The ID of the SLA of this application.", + "format": "int64", + "type": "string" + }, + "slpName": { + "description": "The name of the SLP associated with the application.", + "type": "string" + }, + "sltName": { + "description": "The name of the SLT associated with the application.", + "type": "string" + } + }, + "type": "object" + }, + "BackupApplianceBackupProperties": { + "description": "BackupApplianceBackupProperties represents BackupDR backup appliance's properties.", + "id": "BackupApplianceBackupProperties", + "properties": { + "finalizeTime": { + "description": "Output only. The time when this backup object was finalized (if none, backup is not finalized).", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "generationId": { + "description": "Output only. The numeric generation ID of the backup (monotonically increasing).", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "recoveryRangeEndTime": { + "description": "Optional. The latest timestamp of data available in this Backup.", + "format": "google-datetime", + "type": "string" + }, + "recoveryRangeStartTime": { + "description": "Optional. The earliest timestamp of data available in this Backup.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "BackupApplianceLockInfo": { + "description": "BackupApplianceLockInfo contains metadata about the backupappliance that created the lock.", + "id": "BackupApplianceLockInfo", + "properties": { + "backupApplianceId": { + "description": "Required. The ID of the backup/recovery appliance that created this lock.", + "format": "int64", + "type": "string" + }, + "backupApplianceName": { + "description": "Required. The name of the backup/recovery appliance that created this lock.", + "type": "string" + }, + "backupImage": { + "description": "The image name that depends on this Backup.", + "type": "string" + }, + "jobName": { + "description": "The job name on the backup/recovery appliance that created this lock.", + "type": "string" + }, + "lockReason": { + "description": "Required. The reason for the lock: e.g. MOUNT/RESTORE/BACKUP/etc. The value of this string is only meaningful to the client and it is not interpreted by the BackupVault service.", + "type": "string" + }, + "slaId": { + "description": "The SLA on the backup/recovery appliance that owns the lock.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "BackupConfigInfo": { + "description": "BackupConfigInfo has information about how the resource is configured for Backup and about the most recent backup to this vault.", + "id": "BackupConfigInfo", + "properties": { + "backupApplianceBackupConfig": { + "$ref": "BackupApplianceBackupConfig", + "description": "Configuration for an application backed up by a Backup Appliance." + }, + "gcpBackupConfig": { + "$ref": "GcpBackupConfig", + "description": "Configuration for a Google Cloud resource." + }, + "lastBackupError": { + "$ref": "Status", + "description": "Output only. If the last backup failed, this field has the error message.", + "readOnly": true + }, + "lastBackupState": { + "description": "Output only. The status of the last backup to this BackupVault", + "enum": [ + "LAST_BACKUP_STATE_UNSPECIFIED", + "FIRST_BACKUP_PENDING", + "SUCCEEDED", + "FAILED", + "PERMISSION_DENIED" + ], + "enumDescriptions": [ + "Status not set.", + "The first backup has not yet completed", + "The most recent backup was successful", + "The most recent backup failed", + "The most recent backup could not be run/failed because of the lack of permissions" + ], + "readOnly": true, + "type": "string" + }, + "lastSuccessfulBackupConsistencyTime": { + "description": "Output only. If the last backup were successful, this field has the consistency date.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "BackupLock": { + "description": "BackupLock represents a single lock on a Backup resource. An unexpired lock on a Backup prevents the Backup from being deleted.", + "id": "BackupLock", + "properties": { + "backupApplianceLockInfo": { + "$ref": "BackupApplianceLockInfo", + "description": "If the client is a backup and recovery appliance, this contains metadata about why the lock exists." + }, + "lockUntilTime": { + "description": "Required. The time after which this lock is not considered valid and will no longer protect the Backup from deletion.", + "format": "google-datetime", + "type": "string" + }, + "serviceLockInfo": { + "$ref": "ServiceLockInfo", + "description": "Output only. Contains metadata about the lock exist for Google Cloud native backups.", + "readOnly": true + } + }, + "type": "object" + }, + "BackupVault": { + "description": "Message describing a BackupVault object.", + "id": "BackupVault", + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. User annotations. See https://google.aip.dev/128#annotations Stores small amounts of arbitrary data.", + "type": "object" + }, + "backupCount": { + "description": "Output only. The number of backups in this backup vault.", + "format": "int64", + "readOnly": true, + "type": "string" + }, + "backupMinimumEnforcedRetentionDuration": { + "description": "Required. The default and minimum enforced retention for each backup within the backup vault. The enforced retention for each backup can be extended.", + "format": "google-duration", + "type": "string" + }, + "createTime": { + "description": "Output only. The time when the instance was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "deletable": { + "description": "Output only. Set to true when there are no backups nested under this resource.", + "readOnly": true, + "type": "boolean" + }, + "description": { + "description": "Optional. The description of the BackupVault instance (2048 characters or less).", + "type": "string" + }, + "effectiveTime": { + "description": "Optional. Time after which the BackupVault resource is locked.", + "format": "google-datetime", + "type": "string" + }, + "enforcedRetentionDuration": { + "description": "Required. The default retention period for each backup in the backup vault (Deprecated).", + "format": "google-duration", + "type": "string" + }, + "etag": { + "description": "Optional. Server specified ETag for the backup vault resource to prevent simultaneous updates from overwiting each other.", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Resource labels to represent user provided metadata. No labels currently defined:", + "type": "object" + }, + "name": { + "description": "Output only. The resource name.", + "readOnly": true, + "type": "string" + }, + "serviceAccount": { + "description": "Output only. Service account used by the BackupVault Service for this BackupVault. The user should grant this account permissions in their workload project to enable the service to run backups and restores there.", + "readOnly": true, + "type": "string" + }, + "state": { + "description": "Output only. The BackupVault resource instance state.", + "enum": [ + "STATE_UNSPECIFIED", + "CREATING", + "ACTIVE", + "DELETING", + "ERROR" + ], + "enumDescriptions": [ + "State not set.", + "The backup vault is being created.", + "The backup vault has been created and is fully usable.", + "The backup vault is being deleted.", + "The backup vault is experiencing an issue and might be unusable." + ], + "readOnly": true, + "type": "string" + }, + "totalStoredBytes": { + "description": "Output only. Total size of the storage used by all backup resources.", + "format": "int64", + "readOnly": true, + "type": "string" + }, + "uid": { + "description": "Output only. Output only Immutable after resource creation until resource deletion.", + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. The time when the instance was updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "Binding": { + "description": "Associates `members`, or principals, with a `role`.", + "id": "Binding", + "properties": { + "condition": { + "$ref": "Expr", + "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." + }, + "members": { + "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", + "items": { + "type": "string" + }, + "type": "array" + }, + "role": { + "description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", + "type": "string" + } + }, + "type": "object" + }, + "CancelOperationRequest": { + "description": "The request message for Operations.CancelOperation.", + "id": "CancelOperationRequest", + "properties": {}, + "type": "object" + }, + "ComputeInstanceBackupProperties": { + "description": "ComputeInstanceBackupProperties represents Compute Engine instance backup properties.", + "id": "ComputeInstanceBackupProperties", + "properties": { + "canIpForward": { + "description": "Enables instances created based on these properties to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own. If these instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, specify `true`. If unsure, leave this set to `false`. See the https://cloud.google.com/vpc/docs/using-routes#canipforward documentation for more information.", + "type": "boolean" + }, + "description": { + "description": "An optional text description for the instances that are created from these properties.", + "type": "string" + }, + "disk": { + "description": "An array of disks that are associated with the instances that are created from these properties.", + "items": { + "$ref": "AttachedDisk" + }, + "type": "array" + }, + "guestAccelerator": { + "description": "A list of guest accelerator cards' type and count to use for instances created from these properties.", + "items": { + "$ref": "AcceleratorConfig" + }, + "type": "array" + }, + "keyRevocationActionType": { + "description": "KeyRevocationActionType of the instance. Supported options are \"STOP\" and \"NONE\". The default value is \"NONE\" if it is not specified.", + "enum": [ + "KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED", + "NONE", + "STOP" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "Indicates user chose no operation.", + "Indicates user chose to opt for VM shutdown on key revocation." + ], + "type": "string" + }, + "machineType": { + "description": "The machine type to use for instances that are created from these properties.", + "type": "string" + }, + "metadata": { + "$ref": "Metadata", + "description": "The metadata key/value pairs to assign to instances that are created from these properties. These pairs can consist of custom metadata or predefined keys. See https://cloud.google.com/compute/docs/metadata/overview for more information." + }, + "minCpuPlatform": { + "description": "Minimum cpu/platform to be used by instances. The instance may be scheduled on the specified or newer cpu/platform. Applicable values are the friendly names of CPU platforms, such as `minCpuPlatform: Intel Haswell` or `minCpuPlatform: Intel Sandy Bridge`. For more information, read https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.", + "type": "string" + }, + "networkInterface": { + "description": "An array of network access configurations for this interface.", + "items": { + "$ref": "NetworkInterface" + }, + "type": "array" + }, + "scheduling": { + "$ref": "Scheduling", + "description": "Specifies the scheduling options for the instances that are created from these properties." + }, + "serviceAccount": { + "description": "A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.", + "items": { + "$ref": "ServiceAccount" + }, + "type": "array" + }, + "sourceInstanceName": { + "description": "Name of the source instance at the time of backup. The name is 1-63 characters long, and complies with RFC1035.", + "type": "string" + }, + "tags": { + "$ref": "Tags", + "description": "A list of tags to apply to the instances that are created from these properties. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035 (https://www.ietf.org/rfc/rfc1035.txt)." + } + }, + "type": "object" + }, + "ComputeInstanceDataSourceProperties": { + "description": "ComputeInstanceDataSourceProperties represents the properties of a ComputeEngine resource that are stored in the DataSource.", + "id": "ComputeInstanceDataSourceProperties", + "properties": { + "description": { + "description": "The description of the Compute Engine instance.", + "type": "string" + }, + "machineType": { + "description": "The machine type of the instance.", + "type": "string" + }, + "name": { + "description": "Name of the compute instance backed up by the datasource.", + "type": "string" + }, + "totalDiskCount": { + "description": "The total number of disks attached to the Instance.", + "format": "int64", + "type": "string" + }, + "totalDiskSizeGb": { + "description": "The sum of all the disk sizes.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "CustomerEncryptionKey": { + "description": "A customer-supplied encryption key.", + "id": "CustomerEncryptionKey", + "properties": { + "kmsKeyName": { + "description": "Optional. The name of the encryption key that is stored in Google Cloud KMS.", + "type": "string" + }, + "kmsKeyServiceAccount": { + "description": "Optional. The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used.", + "type": "string" + }, + "rawKey": { + "description": "Optional. Specifies a 256-bit customer-supplied encryption key.", + "type": "string" + }, + "rsaEncryptedKey": { + "description": "Optional. RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource.", + "type": "string" + } + }, + "type": "object" + }, + "DataSource": { + "description": "Message describing a DataSource object. Datasource object used to represent Datasource details for both admin and basic view.", + "id": "DataSource", + "properties": { + "backupConfigInfo": { + "$ref": "BackupConfigInfo", + "description": "Output only. Details of how the resource is configured for backup.", + "readOnly": true + }, + "backupCount": { + "description": "Number of backups in the data source.", + "format": "int64", + "type": "string" + }, + "configState": { + "description": "The backup configuration state.", + "enum": [ + "BACKUP_CONFIG_STATE_UNSPECIFIED", + "ACTIVE", + "PASSIVE" + ], + "enumDescriptions": [ + "The possible states of backup configuration. Status not set.", + "The data source is actively protected (i.e. there is a BackupPlanAssociation or Appliance SLA pointing to it)", + "The data source is no longer protected (but may have backups under it)" + ], + "type": "string" + }, + "createTime": { + "description": "Output only. The time when the instance was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "dataSourceBackupApplianceApplication": { + "$ref": "DataSourceBackupApplianceApplication", + "description": "The backed up resource is a backup appliance application." + }, + "dataSourceGcpResource": { + "$ref": "DataSourceGcpResource", + "description": "The backed up resource is a Google Cloud resource. The word 'DataSource' was included in the names to indicate that this is the representation of the Google Cloud resource used within the DataSource object." + }, + "etag": { + "description": "Server specified ETag for the ManagementServer resource to prevent simultaneous updates from overwiting each other.", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Resource labels to represent user provided metadata. No labels currently defined:", + "type": "object" + }, + "name": { + "description": "Output only. The resource name.", + "readOnly": true, + "type": "string" + }, + "state": { + "description": "Output only. The DataSource resource instance state.", + "enum": [ + "STATE_UNSPECIFIED", + "CREATING", + "ACTIVE", + "DELETING", + "ERROR" + ], + "enumDescriptions": [ + "State not set.", + "The data source is being created.", + "The data source has been created and is fully usable.", + "The data source is being deleted.", + "The data source is experiencing an issue and might be unusable." + ], + "readOnly": true, + "type": "string" + }, + "totalStoredBytes": { + "description": "The number of bytes (metadata and data) stored in this datasource.", + "format": "int64", + "type": "string" + }, + "updateTime": { + "description": "Output only. The time when the instance was updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "DataSourceBackupApplianceApplication": { + "description": "BackupApplianceApplication describes a Source Resource when it is an application backed up by a BackupAppliance.", + "id": "DataSourceBackupApplianceApplication", + "properties": { + "applianceId": { + "description": "Appliance Id of the Backup Appliance.", + "format": "int64", + "type": "string" + }, + "applicationId": { + "description": "The appid field of the application within the Backup Appliance.", + "format": "int64", + "type": "string" + }, + "applicationName": { + "description": "The name of the Application as known to the Backup Appliance.", + "type": "string" + }, + "backupAppliance": { + "description": "Appliance name.", + "type": "string" + }, + "hostId": { + "description": "Hostid of the application host.", + "format": "int64", + "type": "string" + }, + "hostname": { + "description": "Hostname of the host where the application is running.", + "type": "string" + }, + "type": { + "description": "The type of the application. e.g. VMBackup", + "type": "string" + } + }, + "type": "object" + }, + "DataSourceGcpResource": { + "description": "DataSourceGcpResource is used for protected resources that are Google Cloud Resources. This name is easeier to understand than GcpResourceDataSource or GcpDataSourceResource", + "id": "DataSourceGcpResource", + "properties": { + "computeInstanceDatasourceProperties": { + "$ref": "ComputeInstanceDataSourceProperties", + "description": "ComputeInstanceDataSourceProperties has a subset of Compute Instance properties that are useful at the Datasource level." + }, + "gcpResourcename": { + "description": "Output only. Full resource pathname URL of the source Google Cloud resource.", + "readOnly": true, + "type": "string" + }, + "location": { + "description": "Location of the resource: //\"global\"/\"unspecified\".", + "type": "string" + }, + "type": { + "description": "The type of the Google Cloud resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance.", + "type": "string" + } + }, + "type": "object" + }, + "Empty": { + "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", + "id": "Empty", + "properties": {}, + "type": "object" + }, + "Entry": { + "description": "A key/value pair to be used for storing metadata.", + "id": "Entry", + "properties": { + "key": { + "description": "Optional. Key for the metadata entry.", + "type": "string" + }, + "value": { + "description": "Optional. Value for the metadata entry. These are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on values is that their size must be less than or equal to 262144 bytes (256 KiB).", + "type": "string" + } + }, + "type": "object" + }, + "Expr": { + "description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", + "id": "Expr", + "properties": { + "description": { + "description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", + "type": "string" + }, + "expression": { + "description": "Textual representation of an expression in Common Expression Language syntax.", + "type": "string" + }, + "location": { + "description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", + "type": "string" + }, + "title": { + "description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", + "type": "string" + } + }, + "type": "object" + }, + "FetchAccessTokenRequest": { + "description": "Request message for FetchAccessToken.", + "id": "FetchAccessTokenRequest", + "properties": { + "generationId": { + "description": "Required. The generation of the backup to update.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "FetchAccessTokenResponse": { + "description": "Response message for FetchAccessToken.", + "id": "FetchAccessTokenResponse", + "properties": { + "expireTime": { + "description": "The token is valid until this time.", + "format": "google-datetime", + "type": "string" + }, + "readLocation": { + "description": "The location in bucket that can be used for reading.", + "type": "string" + }, + "token": { + "description": "The downscoped token that was created.", + "type": "string" + }, + "writeLocation": { + "description": "The location in bucket that can be used for writing.", + "type": "string" + } + }, + "type": "object" + }, + "FetchUsableBackupVaultsResponse": { + "description": "Response message for fetching usable BackupVaults.", + "id": "FetchUsableBackupVaultsResponse", + "properties": { + "backupVaults": { + "description": "The list of BackupVault instances in the project for the specified location. If the '{location}' value in the request is \"-\", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return backup vaults in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.", + "items": { + "$ref": "BackupVault" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token identifying a page of results the server should return.", + "type": "string" + }, + "unreachable": { + "description": "Locations that could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "FinalizeBackupRequest": { + "description": "Message for finalizing a Backup.", + "id": "FinalizeBackupRequest", + "properties": { + "backupId": { + "description": "Required. Resource ID of the Backup resource to be finalized. This must be the same backup_id that was used in the InitiateBackupRequest.", + "type": "string" + }, + "consistencyTime": { + "description": "The point in time when this backup was captured from the source. This will be assigned to the consistency_time field of the newly created Backup.", + "format": "google-datetime", + "type": "string" + }, + "description": { + "description": "This will be assigned to the description field of the newly created Backup.", + "type": "string" + }, + "recoveryRangeEndTime": { + "description": "The latest timestamp of data available in this Backup. This will be set on the newly created Backup.", + "format": "google-datetime", + "type": "string" + }, + "recoveryRangeStartTime": { + "description": "The earliest timestamp of data available in this Backup. This will set on the newly created Backup.", + "format": "google-datetime", + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "type": "string" + }, + "retentionDuration": { + "description": "The ExpireTime on the backup will be set to FinalizeTime plus this duration. If the resulting ExpireTime is less than EnforcedRetentionEndTime, then ExpireTime is set to EnforcedRetentionEndTime.", + "format": "google-duration", + "type": "string" + } + }, + "type": "object" + }, + "GCPBackupPlanInfo": { + "description": "GCPBackupPlanInfo captures the plan configuration details of Google Cloud resources at the time of backup.", + "id": "GCPBackupPlanInfo", + "properties": { + "backupPlan": { + "description": "Resource name of backup plan by which workload is protected at the time of the backup. Format: projects/{project}/locations/{location}/backupPlans/{backupPlanId}", + "type": "string" + }, + "backupPlanRuleId": { + "description": "The rule id of the backup plan which triggered this backup in case of scheduled backup or used for", + "type": "string" + } + }, + "type": "object" + }, + "GcpBackupConfig": { + "description": "GcpBackupConfig captures the Backup configuration details for Google Cloud resources. All Google Cloud resources regardless of type are protected with backup plan associations.", + "id": "GcpBackupConfig", + "properties": { + "backupPlan": { + "description": "The name of the backup plan.", + "type": "string" + }, + "backupPlanAssociation": { + "description": "The name of the backup plan association.", + "type": "string" + }, + "backupPlanDescription": { + "description": "The description of the backup plan.", + "type": "string" + }, + "backupPlanRules": { + "description": "The names of the backup plan rules which point to this backupvault", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GuestOsFeature": { + "description": "Feature type of the Guest OS.", + "id": "GuestOsFeature", + "properties": { + "type": { + "description": "The ID of a supported feature.", + "enum": [ + "FEATURE_TYPE_UNSPECIFIED", + "VIRTIO_SCSI_MULTIQUEUE", + "WINDOWS", + "MULTI_IP_SUBNET", + "UEFI_COMPATIBLE", + "SECURE_BOOT", + "GVNIC", + "SEV_CAPABLE", + "BARE_METAL_LINUX_COMPATIBLE", + "SUSPEND_RESUME_COMPATIBLE", + "SEV_LIVE_MIGRATABLE", + "SEV_SNP_CAPABLE", + "TDX_CAPABLE", + "IDPF", + "SEV_LIVE_MIGRATABLE_V2" + ], + "enumDescriptions": [ + "Default value, which is unused.", + "VIRTIO_SCSI_MULTIQUEUE feature type.", + "WINDOWS feature type.", + "MULTI_IP_SUBNET feature type.", + "UEFI_COMPATIBLE feature type.", + "SECURE_BOOT feature type.", + "GVNIC feature type.", + "SEV_CAPABLE feature type.", + "BARE_METAL_LINUX_COMPATIBLE feature type.", + "SUSPEND_RESUME_COMPATIBLE feature type.", + "SEV_LIVE_MIGRATABLE feature type.", + "SEV_SNP_CAPABLE feature type.", + "TDX_CAPABLE feature type.", + "IDPF feature type.", + "SEV_LIVE_MIGRATABLE_V2 feature type." + ], + "type": "string" + } + }, + "type": "object" + }, + "InitializeParams": { + "description": "Specifies the parameters to initialize this disk.", + "id": "InitializeParams", + "properties": { + "diskName": { + "description": "Optional. Specifies the disk name. If not specified, the default is to use the name of the instance.", + "type": "string" + }, + "replicaZones": { + "description": "Optional. URL of the zone where the disk should be created. Required for each regional disk associated with the instance.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "InitiateBackupRequest": { + "description": "request message for InitiateBackup.", + "id": "InitiateBackupRequest", + "properties": { + "backupId": { + "description": "Required. Resource ID of the Backup resource.", + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "type": "string" + } + }, + "type": "object" + }, + "InitiateBackupResponse": { + "description": "Response message for InitiateBackup.", + "id": "InitiateBackupResponse", + "properties": { + "backup": { + "description": "The name of the backup that was created.", + "type": "string" + }, + "baseBackupGenerationId": { + "description": "The generation id of the base backup. It is needed for the incremental backups.", + "format": "int32", + "type": "integer" + }, + "newBackupGenerationId": { + "description": "The generation id of the new backup.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "ListBackupVaultsResponse": { + "description": "Response message for listing BackupVaults.", + "id": "ListBackupVaultsResponse", + "properties": { + "backupVaults": { + "description": "The list of BackupVault instances in the project for the specified location. If the '{location}' value in the request is \"-\", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return backup vaults in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.", + "items": { + "$ref": "BackupVault" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token identifying a page of results the server should return.", + "type": "string" + }, + "unreachable": { + "description": "Locations that could not be reached.", "items": { - "$ref": "AuditLogConfig" + "type": "string" }, "type": "array" - }, - "service": { - "description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", - "type": "string" } }, "type": "object" }, - "AuditLogConfig": { - "description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", - "id": "AuditLogConfig", + "ListBackupsResponse": { + "description": "Response message for listing Backups.", + "id": "ListBackupsResponse", "properties": { - "exemptedMembers": { - "description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", + "backups": { + "description": "The list of Backup instances in the project for the specified location. If the '{location}' value in the request is \"-\", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return data sources in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.", "items": { - "type": "string" + "$ref": "Backup" }, "type": "array" }, - "logType": { - "description": "The log type that this config enables.", - "enum": [ - "LOG_TYPE_UNSPECIFIED", - "ADMIN_READ", - "DATA_WRITE", - "DATA_READ" - ], - "enumDescriptions": [ - "Default case. Should never be this.", - "Admin reads. Example: CloudIAM getIamPolicy", - "Data writes. Example: CloudSQL Users create", - "Data reads. Example: CloudSQL Users list" - ], + "nextPageToken": { + "description": "A token identifying a page of results the server should return.", "type": "string" - } - }, - "type": "object" - }, - "Binding": { - "description": "Associates `members`, or principals, with a `role`.", - "id": "Binding", - "properties": { - "condition": { - "$ref": "Expr", - "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." }, - "members": { - "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", + "unreachable": { + "description": "Locations that could not be reached.", "items": { "type": "string" }, "type": "array" - }, - "role": { - "description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", - "type": "string" } }, "type": "object" }, - "CancelOperationRequest": { - "description": "The request message for Operations.CancelOperation.", - "id": "CancelOperationRequest", - "properties": {}, - "type": "object" - }, - "Empty": { - "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", - "id": "Empty", - "properties": {}, - "type": "object" - }, - "Expr": { - "description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", - "id": "Expr", + "ListDataSourcesResponse": { + "description": "Response message for listing DataSources.", + "id": "ListDataSourcesResponse", "properties": { - "description": { - "description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", - "type": "string" - }, - "expression": { - "description": "Textual representation of an expression in Common Expression Language syntax.", - "type": "string" + "dataSources": { + "description": "The list of DataSource instances in the project for the specified location. If the '{location}' value in the request is \"-\", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return data sources in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.", + "items": { + "$ref": "DataSource" + }, + "type": "array" }, - "location": { - "description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", + "nextPageToken": { + "description": "A token identifying a page of results the server should return.", "type": "string" }, - "title": { - "description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", - "type": "string" + "unreachable": { + "description": "Locations that could not be reached.", + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" @@ -666,7 +2620,7 @@ "id": "ListManagementServersResponse", "properties": { "managementServers": { - "description": "The list of ManagementServer instances in the project for the specified location. If the `{location}` value in the request is \"-\", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return management servers in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.", + "description": "The list of ManagementServer instances in the project for the specified location. If the '{location}' value in the request is \"-\", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return management servers in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.", "items": { "$ref": "ManagementServer" }, @@ -789,7 +2743,7 @@ "type": "array" }, "oauth2ClientId": { - "description": "Output only. The OAuth 2.0 client id is required to make API calls to the BackupDR instance API of this ManagementServer. This is the value that should be provided in the ‘aud’ field of the OIDC ID Token (see openid specification https://openid.net/specs/openid-connect-core-1_0.html#IDToken).", + "description": "Output only. The OAuth 2.0 client id is required to make API calls to the BackupDR instance API of this ManagementServer. This is the value that should be provided in the 'aud' field of the OIDC ID Token (see openid specification https://openid.net/specs/openid-connect-core-1_0.html#IDToken).", "readOnly": true, "type": "string" }, @@ -876,6 +2830,20 @@ }, "type": "object" }, + "Metadata": { + "description": "A metadata key/value entry.", + "id": "Metadata", + "properties": { + "items": { + "description": "Optional. Array of key/value pairs. The total size of all keys and values must be less than 512 KB.", + "items": { + "$ref": "Entry" + }, + "type": "array" + } + }, + "type": "object" + }, "NetworkConfig": { "description": "Network configuration for ManagementServer instance.", "id": "NetworkConfig", @@ -899,6 +2867,143 @@ }, "type": "object" }, + "NetworkInterface": { + "description": "A network interface resource attached to an instance. s", + "id": "NetworkInterface", + "properties": { + "accessConfigs": { + "description": "Optional. An array of configurations for this interface. Currently, only one access config,ONE_TO_ONE_NAT is supported. If there are no accessConfigs specified, then this instance will have no external internet access.", + "items": { + "$ref": "AccessConfig" + }, + "type": "array" + }, + "aliasIpRanges": { + "description": "Optional. An array of alias IP ranges for this network interface. You can only specify this field for network interfaces in VPC networks.", + "items": { + "$ref": "AliasIpRange" + }, + "type": "array" + }, + "internalIpv6PrefixLength": { + "description": "Optional. The prefix length of the primary internal IPv6 range.", + "format": "int32", + "type": "integer" + }, + "ipv6AccessConfigs": { + "description": "Optional. An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.", + "items": { + "$ref": "AccessConfig" + }, + "type": "array" + }, + "ipv6AccessType": { + "description": "Optional. [Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork.", + "enum": [ + "UNSPECIFIED_IPV6_ACCESS_TYPE", + "INTERNAL", + "EXTERNAL" + ], + "enumDescriptions": [ + "IPv6 access type not set. Means this network interface hasn't been turned on IPv6 yet.", + "This network interface can have internal IPv6.", + "This network interface can have external IPv6." + ], + "type": "string" + }, + "ipv6Address": { + "description": "Optional. An IPv6 internal network address for this network interface. To use a static internal IP address, it must be unused and in the same region as the instance's zone. If not specified, Google Cloud will automatically assign an internal IPv6 address from the instance's subnetwork.", + "type": "string" + }, + "name": { + "description": "Output only. [Output Only] The name of the network interface, which is generated by the server.", + "readOnly": true, + "type": "string" + }, + "network": { + "description": "Optional. URL of the VPC network resource for this instance.", + "type": "string" + }, + "networkAttachment": { + "description": "Optional. The URL of the network attachment that this interface should connect to in the following format: projects/{project_number}/regions/{region_name}/networkAttachments/{network_attachment_name}.", + "type": "string" + }, + "networkIP": { + "description": "Optional. An IPv4 internal IP address to assign to the instance for this network interface. If not specified by the user, an unused internal IP is assigned by the system.", + "type": "string" + }, + "nicType": { + "description": "Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.", + "enum": [ + "NIC_TYPE_UNSPECIFIED", + "VIRTIO_NET", + "GVNIC" + ], + "enumDescriptions": [ + "Default should be NIC_TYPE_UNSPECIFIED.", + "VIRTIO", + "GVNIC" + ], + "type": "string" + }, + "queueCount": { + "description": "Optional. The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It'll be empty if not specified by the users.", + "format": "int32", + "type": "integer" + }, + "stackType": { + "description": "The stack type for this network interface.", + "enum": [ + "STACK_TYPE_UNSPECIFIED", + "IPV4_ONLY", + "IPV4_IPV6" + ], + "enumDescriptions": [ + "Default should be STACK_TYPE_UNSPECIFIED.", + "The network interface will be assigned IPv4 address.", + "The network interface can have both IPv4 and IPv6 addresses." + ], + "type": "string" + }, + "subnetwork": { + "description": "Optional. The URL of the Subnetwork resource for this instance.", + "type": "string" + } + }, + "type": "object" + }, + "NodeAffinity": { + "description": "Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled.", + "id": "NodeAffinity", + "properties": { + "key": { + "description": "Optional. Corresponds to the label key of Node resource.", + "type": "string" + }, + "operator": { + "description": "Optional. Defines the operation of node selection.", + "enum": [ + "OPERATOR_UNSPECIFIED", + "IN", + "NOT_IN" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "Requires Compute Engine to seek for matched nodes.", + "Requires Compute Engine to avoid certain nodes." + ], + "type": "string" + }, + "values": { + "description": "Optional. Corresponds to the label values of Node resource.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "Operation": { "description": "This resource represents a long-running operation that is the result of a network API call.", "id": "Operation", @@ -964,7 +3069,7 @@ "type": "string" }, "requestedCancellation": { - "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to 'Code.CANCELLED'.", "readOnly": true, "type": "boolean" }, @@ -1017,6 +3122,137 @@ }, "type": "object" }, + "RemoveDataSourceRequest": { + "description": "Message for deleting a DataSource.", + "id": "RemoveDataSourceRequest", + "properties": { + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "type": "string" + } + }, + "type": "object" + }, + "Scheduling": { + "description": "Sets the scheduling options for an Instance.", + "id": "Scheduling", + "properties": { + "automaticRestart": { + "description": "Optional. Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user).", + "type": "boolean" + }, + "instanceTerminationAction": { + "description": "Optional. Specifies the termination action for the instance.", + "enum": [ + "INSTANCE_TERMINATION_ACTION_UNSPECIFIED", + "DELETE", + "STOP" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "Delete the VM.", + "Stop the VM without storing in-memory content. default action." + ], + "type": "string" + }, + "localSsdRecoveryTimeout": { + "$ref": "SchedulingDuration", + "description": "Optional. Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted. Its value should be in between 0 and 168 hours with hour granularity and the default value being 1 hour." + }, + "minNodeCpus": { + "description": "Optional. The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node.", + "format": "int32", + "type": "integer" + }, + "nodeAffinities": { + "description": "Optional. A set of node affinity and anti-affinity configurations. Overrides reservationAffinity.", + "items": { + "$ref": "NodeAffinity" + }, + "type": "array" + }, + "onHostMaintenance": { + "description": "Optional. Defines the maintenance behavior for this instance.", + "enum": [ + "ON_HOST_MAINTENANCE_UNSPECIFIED", + "TERMINATE", + "MIGRATE" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "Tells Compute Engine to terminate and (optionally) restart the instance away from the maintenance activity.", + "Default, Allows Compute Engine to automatically migrate instances out of the way of maintenance events." + ], + "type": "string" + }, + "preemptible": { + "description": "Optional. Defines whether the instance is preemptible.", + "type": "boolean" + }, + "provisioningModel": { + "description": "Optional. Specifies the provisioning model of the instance.", + "enum": [ + "PROVISIONING_MODEL_UNSPECIFIED", + "STANDARD", + "SPOT" + ], + "enumDescriptions": [ + "Default value. This value is not used.", + "Standard provisioning with user controlled runtime, no discounts.", + "Heavily discounted, no guaranteed runtime." + ], + "type": "string" + } + }, + "type": "object" + }, + "SchedulingDuration": { + "description": "A SchedulingDuration represents a fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution. It is independent of any calendar and concepts like \"day\" or \"month\". Range is approximately 10,000 years.", + "id": "SchedulingDuration", + "properties": { + "nanos": { + "description": "Optional. Span of time that's a fraction of a second at nanosecond resolution.", + "format": "int32", + "type": "integer" + }, + "seconds": { + "description": "Optional. Span of time at a resolution of a second.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "ServiceAccount": { + "description": "A service account.", + "id": "ServiceAccount", + "properties": { + "email": { + "description": "Optional. Email address of the service account.", + "type": "string" + }, + "scopes": { + "description": "Optional. The list of scopes to be made available for this service account.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "ServiceLockInfo": { + "description": "ServiceLockInfo represents the details of a lock taken by the service on a Backup resource.", + "id": "ServiceLockInfo", + "properties": { + "operation": { + "description": "Output only. The name of the operation that created this lock. The lock will automatically be released when the operation completes.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "SetIamPolicyRequest": { "description": "Request message for `SetIamPolicy` method.", "id": "SetIamPolicyRequest", @@ -1033,6 +3269,36 @@ }, "type": "object" }, + "SetInternalStatusRequest": { + "description": "Request message for SetStatusInternal method.", + "id": "SetInternalStatusRequest", + "properties": { + "backupConfigState": { + "description": "Required. The new BackupConfigState to set for the DataSource.", + "enum": [ + "BACKUP_CONFIG_STATE_UNSPECIFIED", + "ACTIVE", + "PASSIVE" + ], + "enumDescriptions": [ + "The possible states of backup configuration. Status not set.", + "The data source is actively protected (i.e. there is a BackupPlanAssociation or Appliance SLA pointing to it)", + "The data source is no longer protected (but may have backups under it)" + ], + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "type": "string" + }, + "value": { + "description": "Required. The value required for this method to work. This field must be the 32-byte SHA256 hash of the DataSourceID. The DataSourceID used here is only the final piece of the fully qualified resource path for this DataSource (i.e. the part after '.../dataSources/'). This field exists to make this method difficult to call since it is intended for use only by Backup Appliances.", + "format": "byte", + "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", @@ -1060,6 +3326,20 @@ }, "type": "object" }, + "Tags": { + "description": "A set of instance tags.", + "id": "Tags", + "properties": { + "items": { + "description": "Optional. An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "TestIamPermissionsRequest": { "description": "Request message for `TestIamPermissions` method.", "id": "TestIamPermissionsRequest", diff --git a/discovery/batch-v1.json b/discovery/batch-v1.json index 53584d56d8..bfb227984d 100644 --- a/discovery/batch-v1.json +++ b/discovery/batch-v1.json @@ -561,7 +561,7 @@ } } }, - "revision": "20240612", + "revision": "20240703", "rootUrl": "https://batch.googleapis.com/", "schemas": { "Accelerator": { @@ -2010,7 +2010,7 @@ "type": "object" }, "StatusEvent": { - "description": "Status event", + "description": "Status event.", "id": "StatusEvent", "properties": { "description": { @@ -2024,10 +2024,10 @@ }, "taskExecution": { "$ref": "TaskExecution", - "description": "Task Execution" + "description": "Task Execution. This field is only defined for task-level status events where the task fails." }, "taskState": { - "description": "Task State", + "description": "Task State. This field is only defined for task-level status events.", "enum": [ "STATE_UNSPECIFIED", "PENDING", @@ -2223,11 +2223,11 @@ "type": "object" }, "TaskStatus": { - "description": "Status of a task", + "description": "Status of a task.", "id": "TaskStatus", "properties": { "state": { - "description": "Task state", + "description": "Task state.", "enum": [ "STATE_UNSPECIFIED", "PENDING", diff --git a/discovery/beyondcorp-v1alpha.json b/discovery/beyondcorp-v1alpha.json index 93237a02f0..307b81994c 100644 --- a/discovery/beyondcorp-v1alpha.json +++ b/discovery/beyondcorp-v1alpha.json @@ -1028,7 +1028,7 @@ ], "parameters": { "filter": { - "description": "Optional. Filter expression to restrict the insights returned. Supported filter fields: * `type` * `category` * `subCategory` Examples: * \"category = application AND type = count\" * \"category = application AND subCategory = iap\" * \"type = status\" Allowed values: * type: [count, latency, status, list] * category: [application, device, request, security] * subCategory: [iap, webprotect] NOTE: Only equality based comparison is allowed. Only `AND` conjunction is allowed. NOTE: The 'AND' in the filter field needs to be in capital letters only. NOTE: Just filtering on `subCategory` is not allowed. It should be passed in with the parent `category` too. (These expressions are based on the filter language described at https://google.aip.dev/160).", + "description": "Optional. Filter expression to restrict the insights returned. Supported filter fields: * `type` * `category` * `subCategory` Examples: * \"category = application AND type = count\" * \"category = application AND subCategory = iap\" * \"type = status\" Allowed values: * type: [count, latency, status, list] * category: [application, device, request, security] * subCategory: [iap, caa, webprotect] NOTE: Only equality based comparison is allowed. Only `AND` conjunction is allowed. NOTE: The 'AND' in the filter field needs to be in capital letters only. NOTE: Just filtering on `subCategory` is not allowed. It should be passed in with the parent `category` too. (These expressions are based on the filter language described at https://google.aip.dev/160).", "location": "query", "type": "string" }, @@ -3534,7 +3534,7 @@ ], "parameters": { "filter": { - "description": "Optional. Filter expression to restrict the insights returned. Supported filter fields: * `type` * `category` * `subCategory` Examples: * \"category = application AND type = count\" * \"category = application AND subCategory = iap\" * \"type = status\" Allowed values: * type: [count, latency, status, list] * category: [application, device, request, security] * subCategory: [iap, webprotect] NOTE: Only equality based comparison is allowed. Only `AND` conjunction is allowed. NOTE: The 'AND' in the filter field needs to be in capital letters only. NOTE: Just filtering on `subCategory` is not allowed. It should be passed in with the parent `category` too. (These expressions are based on the filter language described at https://google.aip.dev/160).", + "description": "Optional. Filter expression to restrict the insights returned. Supported filter fields: * `type` * `category` * `subCategory` Examples: * \"category = application AND type = count\" * \"category = application AND subCategory = iap\" * \"type = status\" Allowed values: * type: [count, latency, status, list] * category: [application, device, request, security] * subCategory: [iap, caa, webprotect] NOTE: Only equality based comparison is allowed. Only `AND` conjunction is allowed. NOTE: The 'AND' in the filter field needs to be in capital letters only. NOTE: Just filtering on `subCategory` is not allowed. It should be passed in with the parent `category` too. (These expressions are based on the filter language described at https://google.aip.dev/160).", "location": "query", "type": "string" }, @@ -4080,7 +4080,7 @@ } } }, - "revision": "20240619", + "revision": "20240626", "rootUrl": "https://beyondcorp.googleapis.com/", "schemas": { "AllocatedConnection": { diff --git a/discovery/biglake-v1.json b/discovery/biglake-v1.json index fdd496eb42..b4117f31bd 100644 --- a/discovery/biglake-v1.json +++ b/discovery/biglake-v1.json @@ -616,7 +616,7 @@ } } }, - "revision": "20231023", + "revision": "20231016", "rootUrl": "https://biglake.googleapis.com/", "schemas": { "Catalog": { diff --git a/discovery/bigquery-v2.json b/discovery/bigquery-v2.json index 0e212edaf9..23becbe43e 100644 --- a/discovery/bigquery-v2.json +++ b/discovery/bigquery-v2.json @@ -289,7 +289,7 @@ "type": "boolean" }, "filter": { - "description": "An expression for filtering the results of the request by label. The syntax is \\\"labels.[:]\\\". Multiple filters can be ANDed together by connecting with a space. Example: \\\"labels.department:receiving labels.active\\\". See [Filtering datasets using labels](/bigquery/docs/filtering-labels#filtering_datasets_using_labels) for details.", + "description": "An expression for filtering the results of the request by label. The syntax is `labels.[:]`. Multiple filters can be ANDed together by connecting with a space. Example: `labels.department:receiving labels.active`. See [Filtering datasets using labels](https://cloud.google.com/bigquery/docs/filtering-labels#filtering_datasets_using_labels) for details.", "location": "query", "type": "string" }, @@ -455,7 +455,7 @@ "type": "string" }, "location": { - "description": "The geographic location of the job. You must specify the location to run the job for the following scenarios: - If the location to run a job is not in the `us` or the `eu` multi-regional location - If the job's location is in a single region (for example, `us-central1`) For more information, see https://cloud.google.com/bigquery/docs/locations#specifying_your_location.", + "description": "The geographic location of the job. You must specify the location to run the job for the following scenarios: * If the location to run a job is not in the `us` or the `eu` multi-regional location * If the job's location is in a single region (for example, `us-central1`) For more information, see https://cloud.google.com/bigquery/docs/locations#specifying_your_location.", "location": "query", "type": "string" }, @@ -530,7 +530,7 @@ "type": "string" }, "location": { - "description": "The geographic location of the job. You must specify the location to run the job for the following scenarios: - If the location to run a job is not in the `us` or the `eu` multi-regional location - If the job's location is in a single region (for example, `us-central1`) For more information, see https://cloud.google.com/bigquery/docs/locations#specifying_your_location.", + "description": "The geographic location of the job. You must specify the location to run the job for the following scenarios: * If the location to run a job is not in the `us` or the `eu` multi-regional location * If the job's location is in a single region (for example, `us-central1`) For more information, see https://cloud.google.com/bigquery/docs/locations#specifying_your_location.", "location": "query", "type": "string" }, @@ -575,7 +575,7 @@ "type": "string" }, "location": { - "description": "The geographic location of the job. You must specify the location to run the job for the following scenarios: - If the location to run a job is not in the `us` or the `eu` multi-regional location - If the job's location is in a single region (for example, `us-central1`) For more information, see https://cloud.google.com/bigquery/docs/locations#specifying_your_location.", + "description": "The geographic location of the job. You must specify the location to run the job for the following scenarios: * If the location to run a job is not in the `us` or the `eu` multi-regional location * If the job's location is in a single region (for example, `us-central1`) For more information, see https://cloud.google.com/bigquery/docs/locations#specifying_your_location.", "location": "query", "type": "string" }, @@ -1935,7 +1935,7 @@ } } }, - "revision": "20240616", + "revision": "20240629", "rootUrl": "https://bigquery.googleapis.com/", "schemas": { "AggregateClassificationMetrics": { @@ -2518,7 +2518,7 @@ "id": "BigLakeConfiguration", "properties": { "connectionId": { - "description": "Required. The connection specifying the credentials to be used to read and write to external storage, such as Cloud Storage. The connection_id can have the form \"..\" or \"projects//locations//connections/\".", + "description": "Required. The connection specifying the credentials to be used to read and write to external storage, such as Cloud Storage. The connection_id can have the form `{project}.{location}.{connection_id}` or `projects/{project}/locations/{location}/connections/{connection_id}\".", "type": "string" }, "fileFormat": { @@ -2534,7 +2534,7 @@ "type": "string" }, "storageUri": { - "description": "Required. The fully qualified location prefix of the external folder where table data is stored. The '*' wildcard character is not allowed. The URI should be in the format \"gs://bucket/path_to_table/\"", + "description": "Required. The fully qualified location prefix of the external folder where table data is stored. The '*' wildcard character is not allowed. The URI should be in the format `gs://bucket/path_to_table/`", "type": "string" }, "tableFormat": { @@ -2585,7 +2585,7 @@ "type": "boolean" }, "qualifierEncoded": { - "description": "[Required] Qualifier of the column. Columns in the parent column family that has this exact qualifier are exposed as . field. If the qualifier is valid UTF-8 string, it can be specified in the qualifier_string field. Otherwise, a base-64 encoded value must be set to qualifier_encoded. The column field name is the same as the column qualifier. However, if the qualifier is not a valid BigQuery field identifier i.e. does not match a-zA-Z*, a valid identifier must be provided as field_name.", + "description": "[Required] Qualifier of the column. Columns in the parent column family that has this exact qualifier are exposed as `.` field. If the qualifier is valid UTF-8 string, it can be specified in the qualifier_string field. Otherwise, a base-64 encoded value must be set to qualifier_encoded. The column field name is the same as the column qualifier. However, if the qualifier is not a valid BigQuery field identifier i.e. does not match a-zA-Z*, a valid identifier must be provided as field_name.", "format": "byte", "type": "string" }, @@ -2605,7 +2605,7 @@ "id": "BigtableColumnFamily", "properties": { "columns": { - "description": "Optional. Lists of columns that should be exposed as individual fields as opposed to a list of (column name, value) pairs. All columns whose qualifier matches a qualifier in this list can be accessed as .. Other columns can be accessed as a list through .Column field.", + "description": "Optional. Lists of columns that should be exposed as individual fields as opposed to a list of (column name, value) pairs. All columns whose qualifier matches a qualifier in this list can be accessed as `.`. Other columns can be accessed as a list through the `.Column` field.", "items": { "$ref": "BigtableColumn" }, @@ -3096,6 +3096,7 @@ "type": "object" }, "Dataset": { + "description": "Represents a BigQuery dataset.", "id": "Dataset", "properties": { "access": { @@ -3120,7 +3121,7 @@ "type": "string" }, "role": { - "description": "An IAM role ID that should be granted to the user, group, or domain specified in this access entry. The following legacy mappings will be applied: OWNER <=> roles/bigquery.dataOwner WRITER <=> roles/bigquery.dataEditor READER <=> roles/bigquery.dataViewer This field will accept any of the above formats, but will return only the legacy format. For example, if you set this field to \"roles/bigquery.dataOwner\", it will be returned back as \"OWNER\".", + "description": "An IAM role ID that should be granted to the user, group, or domain specified in this access entry. The following legacy mappings will be applied: * `OWNER`: `roles/bigquery.dataOwner` * `WRITER`: `roles/bigquery.dataEditor` * `READER`: `roles/bigquery.dataViewer` This field will accept any of the above formats, but will return only the legacy format. For example, if you set this field to \"roles/bigquery.dataOwner\", it will be returned back as \"OWNER\".", "type": "string" }, "routine": { @@ -3128,7 +3129,7 @@ "description": "[Pick one] A routine from a different dataset to grant access to. Queries executed against that routine will have read access to views/tables/routines in this dataset. Only UDF is supported for now. The role field is not required when this field is set. If that routine is updated by any user, access to the routine needs to be granted again via an update operation." }, "specialGroup": { - "description": "[Pick one] A special group to grant access to. Possible values include: projectOwners: Owners of the enclosing project. projectReaders: Readers of the enclosing project. projectWriters: Writers of the enclosing project. allAuthenticatedUsers: All authenticated BigQuery users. Maps to similarly-named IAM members.", + "description": "[Pick one] A special group to grant access to. Possible values include: * projectOwners: Owners of the enclosing project. * projectReaders: Readers of the enclosing project. * projectWriters: Writers of the enclosing project. * allAuthenticatedUsers: All authenticated BigQuery users. Maps to similarly-named IAM members.", "type": "string" }, "userByEmail": { @@ -3226,7 +3227,7 @@ "additionalProperties": { "type": "string" }, - "description": "The labels associated with this dataset. You can use these to organize and group your datasets. You can set this property when inserting or updating a dataset. See Creating and Updating Dataset Labels for more information.", + "description": "The labels associated with this dataset. You can use these to organize and group your datasets. You can set this property when inserting or updating a dataset. See [Creating and Updating Dataset Labels](https://cloud.google.com/bigquery/docs/creating-managing-labels#creating_and_updating_dataset_labels) for more information.", "type": "object" }, "lastModifiedTime": { @@ -3416,6 +3417,7 @@ "type": "object" }, "DatasetReference": { + "description": "Identifier for a dataset.", "id": "DatasetReference", "properties": { "datasetId": { @@ -3589,6 +3591,7 @@ "type": "object" }, "EncryptionConfiguration": { + "description": "Configuration for Cloud KMS encryption settings.", "id": "EncryptionConfiguration", "properties": { "kmsKeyName": { @@ -3981,7 +3984,7 @@ "type": "string" }, "connectionId": { - "description": "Optional. The connection specifying the credentials to be used to read external storage, such as Azure Blob, Cloud Storage, or S3. The connection_id can have the form \"..\" or \"projects//locations//connections/\".", + "description": "Optional. The connection specifying the credentials to be used to read external storage, such as Azure Blob, Cloud Storage, or S3. The connection_id can have the form `{project_id}.{location_id};{connection_id}` or `projects/{project_id}/locations/{location_id}/connections/{connection_id}`.", "type": "string" }, "csvOptions": { @@ -6412,7 +6415,7 @@ "Random forest classifier model.", "An imported TensorFlow Lite model.", "An imported ONNX model.", - "Model to capture the manual preprocessing logic in the transform clause." + "Model to capture the columns and logic in the TRANSFORM clause along with statistics useful for ML analytic functions." ], "readOnly": true, "type": "string" @@ -6583,7 +6586,7 @@ "Random forest classifier model.", "An imported TensorFlow Lite model.", "An imported ONNX model.", - "Model to capture the manual preprocessing logic in the transform clause." + "Model to capture the columns and logic in the TRANSFORM clause along with statistics useful for ML analytic functions." ], "readOnly": true, "type": "string" @@ -8986,6 +8989,11 @@ "description": "Free form human-readable reason metadata caching was unused for the job.", "type": "string" }, + "staleness": { + "description": "Duration since last refresh as of this job for managed tables (indicates metadata cache staleness as seen by this job).", + "format": "google-duration", + "type": "string" + }, "tableReference": { "$ref": "TableReference", "description": "Metadata caching eligible table referenced in the query." diff --git a/discovery/bigqueryconnection-v1.json b/discovery/bigqueryconnection-v1.json index 45f1ddbe19..55a8d7fd65 100644 --- a/discovery/bigqueryconnection-v1.json +++ b/discovery/bigqueryconnection-v1.json @@ -366,7 +366,7 @@ } } }, - "revision": "20240616", + "revision": "20240526", "rootUrl": "https://bigqueryconnection.googleapis.com/", "schemas": { "AuditConfig": { diff --git a/discovery/bigquerydatatransfer-v1.json b/discovery/bigquerydatatransfer-v1.json index 92e6f2611e..4b5661709d 100644 --- a/discovery/bigquerydatatransfer-v1.json +++ b/discovery/bigquerydatatransfer-v1.json @@ -23,34 +23,34 @@ "documentationLink": "https://cloud.google.com/bigquery-transfer/", "endpoints": [ { + "description": "Regional Endpoint", "endpointUrl": "https://bigquerydatatransfer.europe-west3.rep.googleapis.com/", - "location": "europe-west3", - "description": "Regional Endpoint" + "location": "europe-west3" }, { + "description": "Regional Endpoint", "endpointUrl": "https://bigquerydatatransfer.europe-west9.rep.googleapis.com/", - "location": "europe-west9", - "description": "Regional Endpoint" + "location": "europe-west9" }, { + "description": "Regional Endpoint", "endpointUrl": "https://bigquerydatatransfer.me-central2.rep.googleapis.com/", - "location": "me-central2", - "description": "Regional Endpoint" + "location": "me-central2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://bigquerydatatransfer.us-east4.rep.googleapis.com/", - "location": "us-east4", - "description": "Regional Endpoint" + "location": "us-east4" }, { + "description": "Regional Endpoint", "endpointUrl": "https://bigquerydatatransfer.us-east7.rep.googleapis.com/", - "location": "us-east7", - "description": "Regional Endpoint" + "location": "us-east7" }, { + "description": "Regional Endpoint", "endpointUrl": "https://bigquerydatatransfer.us-west1.rep.googleapis.com/", - "location": "us-west1", - "description": "Regional Endpoint" + "location": "us-west1" } ], "fullyEncodeReservedExpansion": true, diff --git a/discovery/bigqueryreservation-v1.json b/discovery/bigqueryreservation-v1.json index 7dd61c570f..987e19a268 100644 --- a/discovery/bigqueryreservation-v1.json +++ b/discovery/bigqueryreservation-v1.json @@ -20,34 +20,34 @@ "documentationLink": "https://cloud.google.com/bigquery/", "endpoints": [ { + "description": "Regional Endpoint", "endpointUrl": "https://bigqueryreservation.europe-west3.rep.googleapis.com/", - "location": "europe-west3", - "description": "Regional Endpoint" + "location": "europe-west3" }, { + "description": "Regional Endpoint", "endpointUrl": "https://bigqueryreservation.europe-west9.rep.googleapis.com/", - "location": "europe-west9", - "description": "Regional Endpoint" + "location": "europe-west9" }, { + "description": "Regional Endpoint", "endpointUrl": "https://bigqueryreservation.me-central2.rep.googleapis.com/", - "location": "me-central2", - "description": "Regional Endpoint" + "location": "me-central2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://bigqueryreservation.us-east4.rep.googleapis.com/", - "location": "us-east4", - "description": "Regional Endpoint" + "location": "us-east4" }, { + "description": "Regional Endpoint", "endpointUrl": "https://bigqueryreservation.us-east7.rep.googleapis.com/", - "location": "us-east7", - "description": "Regional Endpoint" + "location": "us-east7" }, { + "description": "Regional Endpoint", "endpointUrl": "https://bigqueryreservation.us-west1.rep.googleapis.com/", - "location": "us-west1", - "description": "Regional Endpoint" + "location": "us-west1" } ], "fullyEncodeReservedExpansion": true, diff --git a/discovery/bigtableadmin-v2.json b/discovery/bigtableadmin-v2.json index cbc11e9fe5..1cc46844a5 100644 --- a/discovery/bigtableadmin-v2.json +++ b/discovery/bigtableadmin-v2.json @@ -949,7 +949,7 @@ ], "parameters": { "parent": { - "description": "Required. The name of the destination cluster that will contain the backup copy. The cluster must already exists. Values are of the form: `projects/{project}/instances/{instance}/clusters/{cluster}`.", + "description": "Required. The name of the destination cluster that will contain the backup copy. The cluster must already exist. Values are of the form: `projects/{project}/instances/{instance}/clusters/{cluster}`.", "location": "path", "pattern": "^projects/[^/]+/instances/[^/]+/clusters/[^/]+$", "required": true, @@ -2194,7 +2194,7 @@ } } }, - "revision": "20240616", + "revision": "20240703", "rootUrl": "https://bigtableadmin.googleapis.com/", "schemas": { "AppProfile": { @@ -3144,10 +3144,22 @@ "description": "A value that combines incremental updates into a summarized value. Data is never directly written or read using type `Aggregate`. Writes will provide either the `input_type` or `state_type`, and reads will always return the `state_type` .", "id": "GoogleBigtableAdminV2TypeAggregate", "properties": { + "hllppUniqueCount": { + "$ref": "GoogleBigtableAdminV2TypeAggregateHyperLogLogPlusPlusUniqueCount", + "description": "HyperLogLogPlusPlusUniqueCount aggregator." + }, "inputType": { "$ref": "Type", "description": "Type of the inputs that are accumulated by this `Aggregate`, which must specify a full encoding. Use `AddInput` mutations to accumulate new inputs." }, + "max": { + "$ref": "GoogleBigtableAdminV2TypeAggregateMax", + "description": "Max aggregator." + }, + "min": { + "$ref": "GoogleBigtableAdminV2TypeAggregateMin", + "description": "Min aggregator." + }, "stateType": { "$ref": "Type", "description": "Output only. Type that holds the internal accumulator state for the `Aggregate`. This is a function of the `input_type` and `aggregator` chosen, and will always specify a full encoding.", @@ -3160,12 +3172,47 @@ }, "type": "object" }, + "GoogleBigtableAdminV2TypeAggregateHyperLogLogPlusPlusUniqueCount": { + "description": "Computes an approximate unique count over the input values. When using raw data as input, be careful to use a consistent encoding. Otherwise the same value encoded differently could count more than once, or two distinct values could count as identical. Input: Any, or omit for Raw State: TBD Special state conversions: `Int64` (the unique count estimate)", + "id": "GoogleBigtableAdminV2TypeAggregateHyperLogLogPlusPlusUniqueCount", + "properties": {}, + "type": "object" + }, + "GoogleBigtableAdminV2TypeAggregateMax": { + "description": "Computes the max of the input values. Allowed input: `Int64` State: same as input", + "id": "GoogleBigtableAdminV2TypeAggregateMax", + "properties": {}, + "type": "object" + }, + "GoogleBigtableAdminV2TypeAggregateMin": { + "description": "Computes the min of the input values. Allowed input: `Int64` State: same as input", + "id": "GoogleBigtableAdminV2TypeAggregateMin", + "properties": {}, + "type": "object" + }, "GoogleBigtableAdminV2TypeAggregateSum": { "description": "Computes the sum of the input values. Allowed input: `Int64` State: same as input", "id": "GoogleBigtableAdminV2TypeAggregateSum", "properties": {}, "type": "object" }, + "GoogleBigtableAdminV2TypeArray": { + "description": "An ordered list of elements of a given type. Values of type `Array` are stored in `Value.array_value`.", + "id": "GoogleBigtableAdminV2TypeArray", + "properties": { + "elementType": { + "$ref": "Type", + "description": "The type of the elements in the array. This must not be `Array`." + } + }, + "type": "object" + }, + "GoogleBigtableAdminV2TypeBool": { + "description": "bool Values of type `Bool` are stored in `Value.bool_value`.", + "id": "GoogleBigtableAdminV2TypeBool", + "properties": {}, + "type": "object" + }, "GoogleBigtableAdminV2TypeBytes": { "description": "Bytes Values of type `Bytes` are stored in `Value.bytes_value`.", "id": "GoogleBigtableAdminV2TypeBytes", @@ -3189,11 +3236,29 @@ "type": "object" }, "GoogleBigtableAdminV2TypeBytesEncodingRaw": { - "description": "Leaves the value \"as-is\" * Natural sort? Yes * Self-delimiting? No * Compatibility? N/A", + "description": "Leaves the value \"as-is\" * Order-preserving? Yes * Self-delimiting? No * Compatibility? N/A", "id": "GoogleBigtableAdminV2TypeBytesEncodingRaw", "properties": {}, "type": "object" }, + "GoogleBigtableAdminV2TypeDate": { + "description": "Date Values of type `Date` are stored in `Value.date_value`.", + "id": "GoogleBigtableAdminV2TypeDate", + "properties": {}, + "type": "object" + }, + "GoogleBigtableAdminV2TypeFloat32": { + "description": "Float32 Values of type `Float32` are stored in `Value.float_value`.", + "id": "GoogleBigtableAdminV2TypeFloat32", + "properties": {}, + "type": "object" + }, + "GoogleBigtableAdminV2TypeFloat64": { + "description": "Float64 Values of type `Float64` are stored in `Value.float_value`.", + "id": "GoogleBigtableAdminV2TypeFloat64", + "properties": {}, + "type": "object" + }, "GoogleBigtableAdminV2TypeInt64": { "description": "Int64 Values of type `Int64` are stored in `Value.int_value`.", "id": "GoogleBigtableAdminV2TypeInt64", @@ -3217,16 +3282,94 @@ "type": "object" }, "GoogleBigtableAdminV2TypeInt64EncodingBigEndianBytes": { - "description": "Encodes the value as an 8-byte big endian twos complement `Bytes` value. * Natural sort? No (positive values only) * Self-delimiting? Yes * Compatibility? - BigQuery Federation `BINARY` encoding - HBase `Bytes.toBytes` - Java `ByteBuffer.putLong()` with `ByteOrder.BIG_ENDIAN`", + "description": "Encodes the value as an 8-byte big endian twos complement `Bytes` value. * Order-preserving? No (positive values only) * Self-delimiting? Yes * Compatibility? - BigQuery Federation `BINARY` encoding - HBase `Bytes.toBytes` - Java `ByteBuffer.putLong()` with `ByteOrder.BIG_ENDIAN`", "id": "GoogleBigtableAdminV2TypeInt64EncodingBigEndianBytes", "properties": { "bytesType": { "$ref": "GoogleBigtableAdminV2TypeBytes", - "description": "The underlying `Bytes` type, which may be able to encode further." + "description": "Deprecated: ignored if set." + } + }, + "type": "object" + }, + "GoogleBigtableAdminV2TypeMap": { + "description": "A mapping of keys to values of a given type. Values of type `Map` are stored in a `Value.array_value` where each entry is another `Value.array_value` with two elements (the key and the value, in that order). Normally encoded Map values won't have repeated keys, however, clients are expected to handle the case in which they do. If the same key appears multiple times, the _last_ value takes precedence.", + "id": "GoogleBigtableAdminV2TypeMap", + "properties": { + "keyType": { + "$ref": "Type", + "description": "The type of a map key. Only `Bytes`, `String`, and `Int64` are allowed as key types." + }, + "valueType": { + "$ref": "Type", + "description": "The type of the values in a map." + } + }, + "type": "object" + }, + "GoogleBigtableAdminV2TypeString": { + "description": "String Values of type `String` are stored in `Value.string_value`.", + "id": "GoogleBigtableAdminV2TypeString", + "properties": { + "encoding": { + "$ref": "GoogleBigtableAdminV2TypeStringEncoding", + "description": "The encoding to use when converting to/from lower level types." + } + }, + "type": "object" + }, + "GoogleBigtableAdminV2TypeStringEncoding": { + "description": "Rules used to convert to/from lower level types.", + "id": "GoogleBigtableAdminV2TypeStringEncoding", + "properties": { + "utf8Bytes": { + "$ref": "GoogleBigtableAdminV2TypeStringEncodingUtf8Bytes", + "description": "Use `Utf8Bytes` encoding." + } + }, + "type": "object" + }, + "GoogleBigtableAdminV2TypeStringEncodingUtf8Bytes": { + "description": "UTF-8 encoding * Order-preserving? Yes (code point order) * Self-delimiting? No * Compatibility? - BigQuery Federation `TEXT` encoding - HBase `Bytes.toBytes` - Java `String#getBytes(StandardCharsets.UTF_8)`", + "id": "GoogleBigtableAdminV2TypeStringEncodingUtf8Bytes", + "properties": {}, + "type": "object" + }, + "GoogleBigtableAdminV2TypeStruct": { + "description": "A structured data value, consisting of fields which map to dynamically typed values. Values of type `Struct` are stored in `Value.array_value` where entries are in the same order and number as `field_types`.", + "id": "GoogleBigtableAdminV2TypeStruct", + "properties": { + "fields": { + "description": "The names and types of the fields in this struct.", + "items": { + "$ref": "GoogleBigtableAdminV2TypeStructField" + }, + "type": "array" } }, "type": "object" }, + "GoogleBigtableAdminV2TypeStructField": { + "description": "A struct field and its type.", + "id": "GoogleBigtableAdminV2TypeStructField", + "properties": { + "fieldName": { + "description": "The field name (optional). Fields without a `field_name` are considered anonymous and cannot be referenced by name.", + "type": "string" + }, + "type": { + "$ref": "Type", + "description": "The type of values in this field." + } + }, + "type": "object" + }, + "GoogleBigtableAdminV2TypeTimestamp": { + "description": "Timestamp Values of type `Timestamp` are stored in `Value.timestamp_value`.", + "id": "GoogleBigtableAdminV2TypeTimestamp", + "properties": {}, + "type": "object" + }, "HotTablet": { "description": "A tablet is a defined by a start and end key and is explained in https://cloud.google.com/bigtable/docs/overview#architecture and https://cloud.google.com/bigtable/docs/performance#optimization. A Hot tablet is a tablet that exhibits high average cpu usage during the time interval from start time to end time.", "id": "HotTablet", @@ -4103,20 +4246,56 @@ "type": "object" }, "Type": { - "description": "`Type` represents the type of data that is written to, read from, or stored in Bigtable. It is heavily based on the GoogleSQL standard to help maintain familiarity and consistency across products and features. For compatibility with Bigtable's existing untyped APIs, each `Type` includes an `Encoding` which describes how to convert to/from the underlying data. This might involve composing a series of steps into an \"encoding chain,\" for example to convert from INT64 -> STRING -> raw bytes. In most cases, a \"link\" in the encoding chain will be based an on existing GoogleSQL conversion function like `CAST`. Each link in the encoding chain also defines the following properties: * Natural sort: Does the encoded value sort consistently with the original typed value? Note that Bigtable will always sort data based on the raw encoded value, *not* the decoded type. - Example: BYTES values sort in the same order as their raw encodings. - Counterexample: Encoding INT64 to a fixed-width STRING does *not* preserve sort order when dealing with negative numbers. INT64(1) > INT64(-1), but STRING(\"-00001\") > STRING(\"00001). - The overall encoding chain has this property if *every* link does. * Self-delimiting: If we concatenate two encoded values, can we always tell where the first one ends and the second one begins? - Example: If we encode INT64s to fixed-width STRINGs, the first value will always contain exactly N digits, possibly preceded by a sign. - Counterexample: If we concatenate two UTF-8 encoded STRINGs, we have no way to tell where the first one ends. - The overall encoding chain has this property if *any* link does. * Compatibility: Which other systems have matching encoding schemes? For example, does this encoding have a GoogleSQL equivalent? HBase? Java?", + "description": "`Type` represents the type of data that is written to, read from, or stored in Bigtable. It is heavily based on the GoogleSQL standard to help maintain familiarity and consistency across products and features. For compatibility with Bigtable's existing untyped APIs, each `Type` includes an `Encoding` which describes how to convert to/from the underlying data. Each encoding also defines the following properties: * Order-preserving: Does the encoded value sort consistently with the original typed value? Note that Bigtable will always sort data based on the raw encoded value, *not* the decoded type. - Example: BYTES values sort in the same order as their raw encodings. - Counterexample: Encoding INT64 as a fixed-width decimal string does *not* preserve sort order when dealing with negative numbers. INT64(1) > INT64(-1), but STRING(\"-00001\") > STRING(\"00001). * Self-delimiting: If we concatenate two encoded values, can we always tell where the first one ends and the second one begins? - Example: If we encode INT64s to fixed-width STRINGs, the first value will always contain exactly N digits, possibly preceded by a sign. - Counterexample: If we concatenate two UTF-8 encoded STRINGs, we have no way to tell where the first one ends. * Compatibility: Which other systems have matching encoding schemes? For example, does this encoding have a GoogleSQL equivalent? HBase? Java?", "id": "Type", "properties": { "aggregateType": { "$ref": "GoogleBigtableAdminV2TypeAggregate", "description": "Aggregate" }, + "arrayType": { + "$ref": "GoogleBigtableAdminV2TypeArray", + "description": "Array" + }, + "boolType": { + "$ref": "GoogleBigtableAdminV2TypeBool", + "description": "Bool" + }, "bytesType": { "$ref": "GoogleBigtableAdminV2TypeBytes", "description": "Bytes" }, + "dateType": { + "$ref": "GoogleBigtableAdminV2TypeDate", + "description": "Date" + }, + "float32Type": { + "$ref": "GoogleBigtableAdminV2TypeFloat32", + "description": "Float32" + }, + "float64Type": { + "$ref": "GoogleBigtableAdminV2TypeFloat64", + "description": "Float64" + }, "int64Type": { "$ref": "GoogleBigtableAdminV2TypeInt64", "description": "Int64" + }, + "mapType": { + "$ref": "GoogleBigtableAdminV2TypeMap", + "description": "Map" + }, + "stringType": { + "$ref": "GoogleBigtableAdminV2TypeString", + "description": "String" + }, + "structType": { + "$ref": "GoogleBigtableAdminV2TypeStruct", + "description": "Struct" + }, + "timestampType": { + "$ref": "GoogleBigtableAdminV2TypeTimestamp", + "description": "Timestamp" } }, "type": "object" diff --git a/discovery/billingbudgets-v1.json b/discovery/billingbudgets-v1.json index 5280878a1e..a28d9d29a6 100644 --- a/discovery/billingbudgets-v1.json +++ b/discovery/billingbudgets-v1.json @@ -275,7 +275,7 @@ } } }, - "revision": "20231119", + "revision": "20231029", "rootUrl": "https://billingbudgets.googleapis.com/", "schemas": { "GoogleCloudBillingBudgetsV1Budget": { diff --git a/discovery/billingbudgets-v1beta1.json b/discovery/billingbudgets-v1beta1.json index 65c8c8cfb1..885f0f56e8 100644 --- a/discovery/billingbudgets-v1beta1.json +++ b/discovery/billingbudgets-v1beta1.json @@ -269,7 +269,7 @@ } } }, - "revision": "20231119", + "revision": "20231029", "rootUrl": "https://billingbudgets.googleapis.com/", "schemas": { "GoogleCloudBillingBudgetsV1beta1AllUpdatesRule": { diff --git a/discovery/binaryauthorization-v1.json b/discovery/binaryauthorization-v1.json index 3bbbceae41..2ca2b6285d 100644 --- a/discovery/binaryauthorization-v1.json +++ b/discovery/binaryauthorization-v1.json @@ -747,7 +747,7 @@ } } }, - "revision": "20240621", + "revision": "20240614", "rootUrl": "https://binaryauthorization.googleapis.com/", "schemas": { "AdmissionRule": { diff --git a/discovery/blogger-v2.json b/discovery/blogger-v2.json index 0db48701d2..c8075a62d4 100644 --- a/discovery/blogger-v2.json +++ b/discovery/blogger-v2.json @@ -401,7 +401,7 @@ } } }, - "revision": "20220817", + "revision": "20220727", "rootUrl": "https://blogger.googleapis.com/", "schemas": { "Blog": { diff --git a/discovery/businessprofileperformance-v1.json b/discovery/businessprofileperformance-v1.json index fcf32f446e..658d0004f7 100644 --- a/discovery/businessprofileperformance-v1.json +++ b/discovery/businessprofileperformance-v1.json @@ -417,7 +417,7 @@ } } }, - "revision": "20230620", + "revision": "20230607", "rootUrl": "https://businessprofileperformance.googleapis.com/", "schemas": { "DailyMetricTimeSeries": { diff --git a/discovery/calendar-v3.json b/discovery/calendar-v3.json index c51dc20f38..e2347a96bf 100644 --- a/discovery/calendar-v3.json +++ b/discovery/calendar-v3.json @@ -1763,7 +1763,7 @@ } } }, - "revision": "20240523", + "revision": "20240705", "rootUrl": "https://www.googleapis.com/", "schemas": { "Acl": { @@ -2591,7 +2591,7 @@ "type": "string" }, "reminders": { - "description": "Information about the event's reminders for the authenticated user.", + "description": "Information about the event's reminders for the authenticated user. Note that changing reminders does not also change the updated property of the enclosing event.", "properties": { "overrides": { "description": "If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. The maximum number of override reminders is 5.", @@ -2651,7 +2651,7 @@ "type": "string" }, "updated": { - "description": "Last modification time of the event (as a RFC3339 timestamp). Read-only.", + "description": "Last modification time of the main event data (as a RFC3339 timestamp). Updating event reminders will not cause this to change. Read-only.", "format": "date-time", "type": "string" }, diff --git a/discovery/chat-v1.json b/discovery/chat-v1.json index 19952f69e6..4d96ce96a1 100644 --- a/discovery/chat-v1.json +++ b/discovery/chat-v1.json @@ -433,7 +433,7 @@ "type": "string" }, "updateMask": { - "description": "Required. The updated field paths, comma separated if there are multiple. Currently supported field paths: - `display_name` (Only supports changing the display name of a space with the `SPACE` type, or when also including the `space_type` mask to change a `GROUP_CHAT` space type to `SPACE`. Trying to update the display name of a `GROUP_CHAT` or a `DIRECT_MESSAGE` space results in an invalid argument error. If you receive the error message `ALREADY_EXISTS` when updating the `displayName`, try a different `displayName`. An existing space within the Google Workspace organization might already use this display name.) - `space_type` (Only supports changing a `GROUP_CHAT` space type to `SPACE`. Include `display_name` together with `space_type` in the update mask and ensure that the specified space has a non-empty display name and the `SPACE` space type. Including the `space_type` mask and the `SPACE` type in the specified space when updating the display name is optional if the existing space already has the `SPACE` type. Trying to update the space type in other ways results in an invalid argument error). `space_type` is not supported with admin access. - `space_details` - `space_history_state` (Supports [turning history on or off for the space](https://support.google.com/chat/answer/7664687) if [the organization allows users to change their history setting](https://support.google.com/a/answer/7664184). Warning: mutually exclusive with all other field paths.) `space_history_state` is not supported with admin access. - `access_settings.audience` (Supports changing the [access setting](https://support.google.com/chat/answer/11971020) of who can discover the space, join the space, and preview the messages in space. If no audience is specified in the access setting, the space's access setting is updated to private. Warning: mutually exclusive with all other field paths.) `access_settings.audience` is not supported with admin access. - Developer Preview: Supports changing the [permission settings](https://support.google.com/chat/answer/13340792) of a space, supported field paths include: `permission_settings.manage_members_and_groups`, `permission_settings.modify_space_details`, `permission_settings.toggle_history`, `permission_settings.use_at_mention_all`, `permission_settings.manage_apps`, `permission_settings.manage_webhooks`, `permission_settings.reply_messages` (Warning: mutually exclusive with all other non-permission settings field paths). `permission_settings` is not supported with admin access.", + "description": "Required. The updated field paths, comma separated if there are multiple. You can update the following fields for a space: - `space_details` - `display_name`: Only supports updating the display name for spaces where `spaceType` field is `SPACE`. If you receive the error message `ALREADY_EXISTS`, try a different value. An existing space within the Google Workspace organization might already use this display name. - `space_type`: Only supports changing a `GROUP_CHAT` space type to `SPACE`. Include `display_name` together with `space_type` in the update mask and ensure that the specified space has a non-empty display name and the `SPACE` space type. Including the `space_type` mask and the `SPACE` type in the specified space when updating the display name is optional if the existing space already has the `SPACE` type. Trying to update the space type in other ways results in an invalid argument error. `space_type` is not supported with admin access. - `space_history_state`: Updates [space history settings](https://support.google.com/chat/answer/7664687) by turning history on or off for the space. Only supported if history settings are enabled for the Google Workspace organization. To update the space history state, you must omit all other field masks in your request. `space_history_state` is not supported with admin access. - `access_settings.audience`: Updates the [access setting](https://support.google.com/chat/answer/11971020) of who can discover the space, join the space, and preview the messages in named space where `spaceType` field is `SPACE`. If the existing space has a target audience, you can remove the audience and restrict space access by omitting a value for this field mask. To update access settings for a space, the authenticating user must be a space manager and omit all other field masks in your request. You can't update this field if the space is in [import mode](https://developers.google.com/workspace/chat/import-data-overview). To learn more, see [Make a space discoverable to specific users](https://developers.google.com/workspace/chat/space-target-audience). `access_settings.audience` is not supported with admin access. - Developer Preview: Supports changing the [permission settings](https://support.google.com/chat/answer/13340792) of a space, supported field paths include: `permission_settings.manage_members_and_groups`, `permission_settings.modify_space_details`, `permission_settings.toggle_history`, `permission_settings.use_at_mention_all`, `permission_settings.manage_apps`, `permission_settings.manage_webhooks`, `permission_settings.reply_messages` (Warning: mutually exclusive with all other non-permission settings field paths). `permission_settings` is not supported with admin access.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -1241,7 +1241,7 @@ } } }, - "revision": "20240625", + "revision": "20240709", "rootUrl": "https://chat.googleapis.com/", "schemas": { "AccessSettings": { @@ -1257,14 +1257,14 @@ ], "enumDescriptions": [ "Access state is unknown or not supported in this API.", - "Space is discoverable by added or invited members or groups.", - "Space is discoverable by the selected [target audience](https://support.google.com/a/answer/9934697), as well as added or invited members or groups." + "Only users or Google Groups that have been individually added or invited by other users or Google Workspace administrators can discover and access the space.", + "A space manager has granted a target audience access to the space. Users or Google Groups that have been individually added or invited to the space can also discover and access the space. To learn more, see [Make a space discoverable to specific users](https://developers.google.com/workspace/chat/space-target-audience)." ], "readOnly": true, "type": "string" }, "audience": { - "description": "Optional. The resource name of the [target audience](https://support.google.com/a/answer/9934697) who can discover the space, join the space, and preview the messages in the space. For details, see [Make a space discoverable to a target audience](https://developers.google.com/workspace/chat/space-target-audience). Format: `audiences/{audience}` To use the default target audience for the Google Workspace organization, set to `audiences/default`.", + "description": "Optional. The resource name of the [target audience](https://support.google.com/a/answer/9934697) who can discover the space, join the space, and preview the messages in the space. If unset, only users or Google Groups who have been individually invited or added to the space can access it. For details, see [Make a space discoverable to a target audience](https://developers.google.com/workspace/chat/space-target-audience). Format: `audiences/{audience}` To use the default target audience for the Google Workspace organization, set to `audiences/default`.", "type": "string" } }, @@ -1850,7 +1850,7 @@ "type": "object" }, "DeprecatedEvent": { - "description": "A Google Chat app interaction event. To learn about interaction events, see [Receive and respond to interactions with your Google Chat app](https://developers.google.com/workspace/chat/api/guides/message-formats). To learn about event types and for example event payloads, see [Types of Google Chat app interaction events](https://developers.google.com/workspace/chat/events). In addition to receiving events from user interactions, Chat apps can receive events about changes to spaces, such as when a new member is added to a space. To learn about space events, see [Work with events from Google Chat](https://developers.google.com/workspace/chat/events-overview).", + "description": "A Google Chat app interaction event that represents and contains data about a user's interaction with a Chat app. To configure your Chat app to receive interaction events, see [Receive and respond to user interactions](https://developers.google.com/workspace/chat/receive-respond-interactions). In addition to receiving events from user interactions, Chat apps can receive events about changes to spaces, such as when a new member is added to a space. To learn about space events, see [Work with events from Google Chat](https://developers.google.com/workspace/chat/events-overview).", "id": "DeprecatedEvent", "properties": { "action": { @@ -1859,7 +1859,7 @@ }, "common": { "$ref": "CommonEventObject", - "description": "Represents informatmessage_visibilityion about the user's client, such as locale, host app, and platform. For Chat apps, `CommonEventObject` includes information submitted by users interacting with [dialogs](https://developers.google.com/workspace/chat/dialogs), like data entered on a card." + "description": "Represents information about the user's client, such as locale, host app, and platform. For Chat apps, `CommonEventObject` includes information submitted by users interacting with [dialogs](https://developers.google.com/workspace/chat/dialogs), like data entered on a card." }, "configCompleteRedirectUrl": { "description": "The URL the Chat app should redirect the user to after they have completed an authorization or configuration flow outside of Google Chat. For more information, see [Connect a Chat app with other services & tools](https://developers.google.com/workspace/chat/connect-web-services-tools).", @@ -1896,7 +1896,7 @@ }, "space": { "$ref": "Space", - "description": "The space in which the interaction event occurred." + "description": "The space in which the user interacted with the Chat app." }, "threadKey": { "description": "The Chat app-defined key for the thread related to the interaction event. See [`spaces.messages.thread.threadKey`](/chat/api/reference/rest/v1/spaces.messages#Thread.FIELDS.thread_key) for more information.", @@ -1907,7 +1907,7 @@ "type": "string" }, "type": { - "description": "The type of interaction event. For details, see [Types of Google Chat app interaction events](https://developers.google.com/workspace/chat/events).", + "description": "The [type](/workspace/chat/api/reference/rest/v1/EventType) of user interaction with the Chat app, such as `MESSAGE` or `ADDED_TO_SPACE`.", "enum": [ "UNSPECIFIED", "MESSAGE", @@ -1918,17 +1918,17 @@ ], "enumDescriptions": [ "Default value for the enum. DO NOT USE.", - "A user sends the Chat app a message, or invokes the Chat app in a space.", - "A user adds the Chat app to a space, or a Google Workspace administrator installs the Chat app in direct message spaces for users in their organization.", - "A user removes the Chat app from a space.", - "A user clicks an interactive element of a card or dialog from a Chat app, such as a button. If a user interacts with a dialog, the `CARD_CLICKED` interaction event's `isDialogEvent` field is set to `true` and includes a [`DialogEventType`](https://developers.google.com/workspace/chat/api/reference/rest/v1/DialogEventType).", + "A user sends the Chat app a message, or invokes the Chat app in a space, such as any of the following examples: * Any message in a direct message (DM) space with the Chat app. * A message in a multi-person space where a person @mentions the Chat app, or uses one of its slash commands. * If you've configured link previews for your Chat app, a user posts a message that contains a link that matches the configured URL pattern.", + "A user adds the Chat app to a space, or a Google Workspace administrator installs the Chat app in direct message spaces for users in their organization. Chat apps typically respond to this interaction event by posting a welcome message in the space. When administrators install Chat apps, the `space.adminInstalled` field is set to `true` and users can't uninstall them. To learn about Chat apps installed by administrators, see Google Workspace Admin Help's documentation, [Install Marketplace apps in your domain](https://support.google.com/a/answer/172482).", + "A user removes the Chat app from a space, or a Google Workspace administrator uninstalls the Chat app for a user in their organization. Chat apps can't respond with messages to this event, because they have already been removed. When administrators uninstall Chat apps, the `space.adminInstalled` field is set to `false`. If a user installed the Chat app before the administrator, the Chat app remains installed for the user and the Chat app doesn't receive a `REMOVED_FROM_SPACE` interaction event.", + "A user clicks an interactive element of a card or dialog from a Chat app, such as a button. To receive an interaction event, the button must trigger another interaction with the Chat app. For example, a Chat app doesn't receive a `CARD_CLICKED` interaction event if a user clicks a button that opens a link to a website, but receives interaction events in the following examples: * The user clicks a `Send feedback` button on a card, which opens a dialog for the user to input information. * The user clicks a `Submit` button after inputting information into a card or dialog. If a user clicks a button to open, submit, or cancel a dialog, the `CARD_CLICKED` interaction event's `isDialogEvent` field is set to `true` and includes a [`DialogEventType`](https://developers.google.com/workspace/chat/api/reference/rest/v1/DialogEventType).", "A user updates a widget in a card message or dialog." ], "type": "string" }, "user": { "$ref": "User", - "description": "The user that triggered the interaction event." + "description": "The user that interacted with the Chat app." } }, "type": "object" @@ -4098,7 +4098,7 @@ "type": "string" }, "externalUserAllowed": { - "description": "Immutable. Whether this space permits any Google Chat user as a member. Input when creating a space in a Google Workspace organization. Omit this field when creating spaces in the following conditions: * The authenticated user uses a consumer account (unmanaged user account). By default, a space created by a consumer account permits any Google Chat user. * The space is used to [import data to Google Chat] (https://developers.google.com/chat/api/guides/import-data-overview) because import mode spaces must only permit members from the same Google Workspace organization. However, as part of the [Google Workspace Developer Preview Program](https://developers.google.com/workspace/preview), import mode spaces can permit any Google Chat user so this field can then be set for import mode spaces. For existing spaces, this field is output only.", + "description": "Immutable. Whether this space permits any Google Chat user as a member. Input when creating a space in a Google Workspace organization. Omit this field when creating spaces in the following conditions: * The authenticated user uses a consumer account (unmanaged user account). By default, a space created by a consumer account permits any Google Chat user. For existing spaces, this field is output only.", "type": "boolean" }, "importMode": { diff --git a/discovery/checks-v1alpha.json b/discovery/checks-v1alpha.json index 31ab3bf79d..4ee5233da8 100644 --- a/discovery/checks-v1alpha.json +++ b/discovery/checks-v1alpha.json @@ -414,7 +414,7 @@ } } }, - "revision": "20240627", + "revision": "20240626", "rootUrl": "https://checks.googleapis.com/", "schemas": { "CancelOperationRequest": { diff --git a/discovery/chromemanagement-v1.json b/discovery/chromemanagement-v1.json index 91180ad8d2..4a6ae25f46 100644 --- a/discovery/chromemanagement-v1.json +++ b/discovery/chromemanagement-v1.json @@ -591,12 +591,12 @@ "type": "string" }, "filter": { - "description": "Query string to filter results, AND-separated fields in EBNF syntax. Note: OR operations are not supported in this filter. Supported filter fields: * app_name * app_type * install_type * number_of_permissions * total_install_count * latest_profile_active_date * permission_name * app_id", + "description": "Query string to filter results, AND-separated fields in EBNF syntax. Note: OR operations are not supported in this filter. Supported filter fields: * app_name * app_type * install_type * number_of_permissions * total_install_count * latest_profile_active_date * permission_name * app_id * manifest_versions", "location": "query", "type": "string" }, "orderBy": { - "description": "Field used to order results. Supported order by fields: * app_name * app_type * install_type * number_of_permissions * total_install_count * app_id", + "description": "Field used to order results. Supported order by fields: * app_name * app_type * install_type * number_of_permissions * total_install_count * app_id * manifest_versions", "location": "query", "type": "string" }, @@ -976,7 +976,7 @@ "type": "string" }, "readMask": { - "description": "Required. Read mask to specify which fields to return. Although currently required, this field will become optional, while the filter parameter with an event type will be come required. Supported read_mask paths are: - device - user - audio_severe_underrun_event - usb_peripherals_event - https_latency_change_event - network_state_change_event - wifi_signal_strength_event - vpn_connection_state_change_event - app_install_event - app_uninstall_event - app_launch_event ", + "description": "Required. Read mask to specify which fields to return. Although currently required, this field will become optional, while the filter parameter with an event type will be come required. Supported read_mask paths are: - device - user - audio_severe_underrun_event - usb_peripherals_event - https_latency_change_event - network_state_change_event - wifi_signal_strength_event - vpn_connection_state_change_event - app_install_event - app_uninstall_event - app_launch_event - os_crash_event ", "format": "google-fieldmask", "location": "query", "type": "string" @@ -1172,7 +1172,7 @@ } } }, - "revision": "20240627", + "revision": "20240709", "rootUrl": "https://chromemanagement.googleapis.com/", "schemas": { "GoogleChromeManagementV1AndroidAppInfo": { @@ -4112,7 +4112,8 @@ "VPN_CONNECTION_STATE_CHANGE", "APP_INSTALLED", "APP_UNINSTALLED", - "APP_LAUNCHED" + "APP_LAUNCHED", + "OS_CRASH" ], "enumDescriptions": [ "Event type unknown.", @@ -4126,7 +4127,8 @@ "Triggered on changes to VPN connections.", "Triggered when an app is installed.", "Triggered when an app is uninstalled.", - "Triggered when an app is launched." + "Triggered when an app is launched.", + "Triggered when a crash occurs." ], "type": "string" }, @@ -4192,7 +4194,8 @@ "VPN_CONNECTION_STATE_CHANGE", "APP_INSTALLED", "APP_UNINSTALLED", - "APP_LAUNCHED" + "APP_LAUNCHED", + "OS_CRASH" ], "enumDescriptions": [ "Event type unknown.", @@ -4206,7 +4209,8 @@ "Triggered on changes to VPN connections.", "Triggered when an app is installed.", "Triggered when an app is uninstalled.", - "Triggered when an app is launched." + "Triggered when an app is launched.", + "Triggered when a crash occurs." ], "type": "string" }, diff --git a/discovery/chromepolicy-v1.json b/discovery/chromepolicy-v1.json index 9eaa19041d..32de0bcdc6 100644 --- a/discovery/chromepolicy-v1.json +++ b/discovery/chromepolicy-v1.json @@ -557,7 +557,7 @@ } } }, - "revision": "20240131", + "revision": "20240111", "rootUrl": "https://chromepolicy.googleapis.com/", "schemas": { "GoogleChromePolicyVersionsV1AdditionalTargetKeyName": { diff --git a/discovery/chromeuxreport-v1.json b/discovery/chromeuxreport-v1.json index 75ad4a4024..bdb2d9165f 100644 --- a/discovery/chromeuxreport-v1.json +++ b/discovery/chromeuxreport-v1.json @@ -131,7 +131,7 @@ } } }, - "revision": "20240103", + "revision": "20240102", "rootUrl": "https://chromeuxreport.googleapis.com/", "schemas": { "Bin": { diff --git a/discovery/civicinfo-v2.json b/discovery/civicinfo-v2.json index 4f86f096e4..9ee6127993 100644 --- a/discovery/civicinfo-v2.json +++ b/discovery/civicinfo-v2.json @@ -362,7 +362,7 @@ } } }, - "revision": "20240620", + "revision": "20240611", "rootUrl": "https://civicinfo.googleapis.com/", "schemas": { "AdministrationRegion": { diff --git a/discovery/classroom-v1.json b/discovery/classroom-v1.json index 01a8f53f00..1a5b3df40e 100644 --- a/discovery/classroom-v1.json +++ b/discovery/classroom-v1.json @@ -1185,7 +1185,7 @@ ] }, "patch": { - "description": "Updates one or more fields of a course work. See google.classroom.v1.CourseWork for details of which fields may be updated and who may change them. This request must be made by the Developer Console project of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the corresponding course work item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project did not create the corresponding course work, if the user is not permitted to make the requested modification to the student submission, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `FAILED_PRECONDITION` if the requested course work has already been deleted. * `NOT_FOUND` if the requested course, course work, or student submission does not exist.", + "description": "Updates one or more fields of a course work. See google.classroom.v1.CourseWork for details of which fields may be updated and who may change them. This request must be made by the Developer Console project of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the corresponding course work item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project did not create the corresponding course work, if the user is not permitted to make the requested modification to the student submission, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `FAILED_PRECONDITION` if the requested course work has already been deleted. * `NOT_FOUND` if the requested course or course work does not exist.", "flatPath": "v1/courses/{courseId}/courseWork/{id}", "httpMethod": "PATCH", "id": "classroom.courses.courseWork.patch", @@ -1207,7 +1207,7 @@ "type": "string" }, "updateMask": { - "description": "Mask that identifies which fields on the course work to update. This field is required to do an update. The update fails if invalid fields are specified. If a field supports empty values, it can be cleared by specifying it in the update mask and not in the `CourseWork` object. If a field that does not support empty values is included in the update mask and not set in the `CourseWork` object, an `INVALID_ARGUMENT` error is returned. The following fields may be specified by teachers: * `title` * `description` * `state` * `due_date` * `due_time` * `max_points` * `scheduled_time` * `submission_modification_mode` * `topic_id`", + "description": "Mask that identifies which fields on the course work to update. This field is required to do an update. The update fails if invalid fields are specified. If a field supports empty values, it can be cleared by specifying it in the update mask and not in the `CourseWork` object. If a field that does not support empty values is included in the update mask and not set in the `CourseWork` object, an `INVALID_ARGUMENT` error is returned. The following fields may be specified by teachers: * `title` * `description` * `state` * `due_date` * `due_time` * `max_points` * `scheduled_time` * `submission_modification_mode` * `topic_id` * `grading_period_id` Available in [V1_20240401_PREVIEW](https://developers.google.com/classroom/reference/preview) and later.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -3695,7 +3695,7 @@ } } }, - "revision": "20240617", + "revision": "20240701", "rootUrl": "https://classroom.googleapis.com/", "schemas": { "AddOnAttachment": { diff --git a/discovery/cloudasset-v1.json b/discovery/cloudasset-v1.json index 1ffd559ccb..9cb9f88ae1 100644 --- a/discovery/cloudasset-v1.json +++ b/discovery/cloudasset-v1.json @@ -1095,7 +1095,7 @@ } } }, - "revision": "20240621", + "revision": "20240629", "rootUrl": "https://cloudasset.googleapis.com/", "schemas": { "AccessSelector": { @@ -2600,6 +2600,7 @@ "properties": { "etag": { "description": "Output only. An opaque identifier for the current version of the `AccessPolicy`. This will always be a strongly validated etag, meaning that two Access Policies will be identical if and only if their etags are identical. Clients should not expect this to be in any specific format.", + "readOnly": true, "type": "string" }, "name": { @@ -2835,7 +2836,7 @@ "type": "string" }, "sources": { - "description": "Sources that this EgressPolicy authorizes access from. If this field is not empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`.", + "description": "Sources that this EgressPolicy authorizes access from. If this field is not empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`. TODO (b/332744441): annotate this field with custom_org_policy_accessibility when cl/640698580 will be rolled out.", "items": { "$ref": "GoogleIdentityAccesscontextmanagerV1EgressSource" }, @@ -2864,7 +2865,7 @@ "id": "GoogleIdentityAccesscontextmanagerV1EgressSource", "properties": { "accessLevel": { - "description": "An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel name is not specified, only resources within the perimeter can be accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all EgressSources will be allowed.", + "description": "An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel name is not specified, only resources within the perimeter can be accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all EgressSources will be allowed. TODO (b/332744441): annotate this field with custom_org_policy_accessibility when cl/640698580 will be rolled out.", "type": "string" } }, @@ -3151,7 +3152,7 @@ "properties": { "vpcSubnetwork": { "$ref": "GoogleIdentityAccesscontextmanagerV1VpcSubNetwork", - "description": "Sub-segment ranges of a VPC network." + "description": "Sub-segment ranges of a VPC network. TODO (b/332744441): annotate this field with custom_org_policy_accessibility when cl/640698580 will be rolled out." } }, "type": "object" diff --git a/discovery/cloudasset-v1beta1.json b/discovery/cloudasset-v1beta1.json index 609d4985c2..0bc9190d23 100644 --- a/discovery/cloudasset-v1beta1.json +++ b/discovery/cloudasset-v1beta1.json @@ -411,7 +411,7 @@ } } }, - "revision": "20240621", + "revision": "20240629", "rootUrl": "https://cloudasset.googleapis.com/", "schemas": { "AnalyzeIamPolicyLongrunningMetadata": { @@ -925,6 +925,7 @@ "properties": { "etag": { "description": "Output only. An opaque identifier for the current version of the `AccessPolicy`. This will always be a strongly validated etag, meaning that two Access Policies will be identical if and only if their etags are identical. Clients should not expect this to be in any specific format.", + "readOnly": true, "type": "string" }, "name": { @@ -1160,7 +1161,7 @@ "type": "string" }, "sources": { - "description": "Sources that this EgressPolicy authorizes access from. If this field is not empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`.", + "description": "Sources that this EgressPolicy authorizes access from. If this field is not empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`. TODO (b/332744441): annotate this field with custom_org_policy_accessibility when cl/640698580 will be rolled out.", "items": { "$ref": "GoogleIdentityAccesscontextmanagerV1EgressSource" }, @@ -1189,7 +1190,7 @@ "id": "GoogleIdentityAccesscontextmanagerV1EgressSource", "properties": { "accessLevel": { - "description": "An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel name is not specified, only resources within the perimeter can be accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all EgressSources will be allowed.", + "description": "An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel name is not specified, only resources within the perimeter can be accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all EgressSources will be allowed. TODO (b/332744441): annotate this field with custom_org_policy_accessibility when cl/640698580 will be rolled out.", "type": "string" } }, @@ -1476,7 +1477,7 @@ "properties": { "vpcSubnetwork": { "$ref": "GoogleIdentityAccesscontextmanagerV1VpcSubNetwork", - "description": "Sub-segment ranges of a VPC network." + "description": "Sub-segment ranges of a VPC network. TODO (b/332744441): annotate this field with custom_org_policy_accessibility when cl/640698580 will be rolled out." } }, "type": "object" diff --git a/discovery/cloudasset-v1p1beta1.json b/discovery/cloudasset-v1p1beta1.json index 07f522691b..125694a14a 100644 --- a/discovery/cloudasset-v1p1beta1.json +++ b/discovery/cloudasset-v1p1beta1.json @@ -207,7 +207,7 @@ } } }, - "revision": "20240621", + "revision": "20240629", "rootUrl": "https://cloudasset.googleapis.com/", "schemas": { "AnalyzeIamPolicyLongrunningMetadata": { @@ -627,6 +627,7 @@ "properties": { "etag": { "description": "Output only. An opaque identifier for the current version of the `AccessPolicy`. This will always be a strongly validated etag, meaning that two Access Policies will be identical if and only if their etags are identical. Clients should not expect this to be in any specific format.", + "readOnly": true, "type": "string" }, "name": { @@ -862,7 +863,7 @@ "type": "string" }, "sources": { - "description": "Sources that this EgressPolicy authorizes access from. If this field is not empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`.", + "description": "Sources that this EgressPolicy authorizes access from. If this field is not empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`. TODO (b/332744441): annotate this field with custom_org_policy_accessibility when cl/640698580 will be rolled out.", "items": { "$ref": "GoogleIdentityAccesscontextmanagerV1EgressSource" }, @@ -891,7 +892,7 @@ "id": "GoogleIdentityAccesscontextmanagerV1EgressSource", "properties": { "accessLevel": { - "description": "An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel name is not specified, only resources within the perimeter can be accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all EgressSources will be allowed.", + "description": "An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel name is not specified, only resources within the perimeter can be accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all EgressSources will be allowed. TODO (b/332744441): annotate this field with custom_org_policy_accessibility when cl/640698580 will be rolled out.", "type": "string" } }, @@ -1178,7 +1179,7 @@ "properties": { "vpcSubnetwork": { "$ref": "GoogleIdentityAccesscontextmanagerV1VpcSubNetwork", - "description": "Sub-segment ranges of a VPC network." + "description": "Sub-segment ranges of a VPC network. TODO (b/332744441): annotate this field with custom_org_policy_accessibility when cl/640698580 will be rolled out." } }, "type": "object" diff --git a/discovery/cloudasset-v1p5beta1.json b/discovery/cloudasset-v1p5beta1.json index 5e4e5375bc..3462c5c6b5 100644 --- a/discovery/cloudasset-v1p5beta1.json +++ b/discovery/cloudasset-v1p5beta1.json @@ -177,7 +177,7 @@ } } }, - "revision": "20240621", + "revision": "20240629", "rootUrl": "https://cloudasset.googleapis.com/", "schemas": { "AnalyzeIamPolicyLongrunningMetadata": { @@ -632,6 +632,7 @@ "properties": { "etag": { "description": "Output only. An opaque identifier for the current version of the `AccessPolicy`. This will always be a strongly validated etag, meaning that two Access Policies will be identical if and only if their etags are identical. Clients should not expect this to be in any specific format.", + "readOnly": true, "type": "string" }, "name": { @@ -867,7 +868,7 @@ "type": "string" }, "sources": { - "description": "Sources that this EgressPolicy authorizes access from. If this field is not empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`.", + "description": "Sources that this EgressPolicy authorizes access from. If this field is not empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`. TODO (b/332744441): annotate this field with custom_org_policy_accessibility when cl/640698580 will be rolled out.", "items": { "$ref": "GoogleIdentityAccesscontextmanagerV1EgressSource" }, @@ -896,7 +897,7 @@ "id": "GoogleIdentityAccesscontextmanagerV1EgressSource", "properties": { "accessLevel": { - "description": "An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel name is not specified, only resources within the perimeter can be accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all EgressSources will be allowed.", + "description": "An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel name is not specified, only resources within the perimeter can be accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all EgressSources will be allowed. TODO (b/332744441): annotate this field with custom_org_policy_accessibility when cl/640698580 will be rolled out.", "type": "string" } }, @@ -1183,7 +1184,7 @@ "properties": { "vpcSubnetwork": { "$ref": "GoogleIdentityAccesscontextmanagerV1VpcSubNetwork", - "description": "Sub-segment ranges of a VPC network." + "description": "Sub-segment ranges of a VPC network. TODO (b/332744441): annotate this field with custom_org_policy_accessibility when cl/640698580 will be rolled out." } }, "type": "object" diff --git a/discovery/cloudasset-v1p7beta1.json b/discovery/cloudasset-v1p7beta1.json index 991c938874..f0142938a6 100644 --- a/discovery/cloudasset-v1p7beta1.json +++ b/discovery/cloudasset-v1p7beta1.json @@ -167,7 +167,7 @@ } } }, - "revision": "20240621", + "revision": "20240629", "rootUrl": "https://cloudasset.googleapis.com/", "schemas": { "AnalyzeIamPolicyLongrunningMetadata": { @@ -701,6 +701,7 @@ "properties": { "etag": { "description": "Output only. An opaque identifier for the current version of the `AccessPolicy`. This will always be a strongly validated etag, meaning that two Access Policies will be identical if and only if their etags are identical. Clients should not expect this to be in any specific format.", + "readOnly": true, "type": "string" }, "name": { @@ -936,7 +937,7 @@ "type": "string" }, "sources": { - "description": "Sources that this EgressPolicy authorizes access from. If this field is not empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`.", + "description": "Sources that this EgressPolicy authorizes access from. If this field is not empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`. TODO (b/332744441): annotate this field with custom_org_policy_accessibility when cl/640698580 will be rolled out.", "items": { "$ref": "GoogleIdentityAccesscontextmanagerV1EgressSource" }, @@ -965,7 +966,7 @@ "id": "GoogleIdentityAccesscontextmanagerV1EgressSource", "properties": { "accessLevel": { - "description": "An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel name is not specified, only resources within the perimeter can be accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all EgressSources will be allowed.", + "description": "An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel name is not specified, only resources within the perimeter can be accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all EgressSources will be allowed. TODO (b/332744441): annotate this field with custom_org_policy_accessibility when cl/640698580 will be rolled out.", "type": "string" } }, @@ -1252,7 +1253,7 @@ "properties": { "vpcSubnetwork": { "$ref": "GoogleIdentityAccesscontextmanagerV1VpcSubNetwork", - "description": "Sub-segment ranges of a VPC network." + "description": "Sub-segment ranges of a VPC network. TODO (b/332744441): annotate this field with custom_org_policy_accessibility when cl/640698580 will be rolled out." } }, "type": "object" diff --git a/discovery/cloudbuild-v1.json b/discovery/cloudbuild-v1.json index 6f536ac4fa..6b7c178a45 100644 --- a/discovery/cloudbuild-v1.json +++ b/discovery/cloudbuild-v1.json @@ -2346,7 +2346,7 @@ } } }, - "revision": "20240627", + "revision": "20240704", "rootUrl": "https://cloudbuild.googleapis.com/", "schemas": { "ApprovalConfig": { @@ -4295,7 +4295,7 @@ "id": "HttpConfig", "properties": { "proxySecretVersionName": { - "description": "SecretVersion resource of the HTTP proxy URL. The Service Account should have accessor permissions on this secret. The proxy URL should be in format protocol://@]proxyhost[:port].", + "description": "SecretVersion resource of the HTTP proxy URL. The Service Account used in the build (either the default Service Account or user-specified Service Account) should have `secretmanager.versions.access` permissions on this secret. The proxy URL should be in format `protocol://@]proxyhost[:port]`.", "type": "string" } }, diff --git a/discovery/cloudbuild-v2.json b/discovery/cloudbuild-v2.json index 445b48c007..a60d2e5cd9 100644 --- a/discovery/cloudbuild-v2.json +++ b/discovery/cloudbuild-v2.json @@ -844,7 +844,7 @@ } } }, - "revision": "20240618", + "revision": "20240704", "rootUrl": "https://cloudbuild.googleapis.com/", "schemas": { "AuditConfig": { @@ -1806,12 +1806,14 @@ "enum": [ "TYPE_UNSPECIFIED", "STRING", - "ARRAY" + "ARRAY", + "OBJECT" ], "enumDescriptions": [ "Default enum type; should not be used.", "Default", - "Arrary type." + "Array type.", + "Object type." ], "type": "string" } @@ -1829,6 +1831,13 @@ }, "type": "array" }, + "objectVal": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Value of the parameter if type is object.", + "type": "object" + }, "stringVal": { "description": "Value of the parameter if type is string.", "type": "string" @@ -1838,12 +1847,14 @@ "enum": [ "TYPE_UNSPECIFIED", "STRING", - "ARRAY" + "ARRAY", + "OBJECT" ], "enumDescriptions": [ "Default enum type; should not be used.", "Default", - "Array type" + "Array type", + "Object type" ], "type": "string" } diff --git a/discovery/cloudchannel-v1.json b/discovery/cloudchannel-v1.json index a6f03370d8..6c8ef5fa8b 100644 --- a/discovery/cloudchannel-v1.json +++ b/discovery/cloudchannel-v1.json @@ -2183,7 +2183,7 @@ } } }, - "revision": "20240131", + "revision": "20240109", "rootUrl": "https://cloudchannel.googleapis.com/", "schemas": { "GoogleCloudChannelV1ActivateEntitlementRequest": { diff --git a/discovery/clouderrorreporting-v1beta1.json b/discovery/clouderrorreporting-v1beta1.json index 105d7f28ce..5ff6bf038a 100644 --- a/discovery/clouderrorreporting-v1beta1.json +++ b/discovery/clouderrorreporting-v1beta1.json @@ -117,7 +117,7 @@ ], "parameters": { "projectName": { - "description": "Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID}`, where `{projectID}` is the [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840). Example: `projects/my-project-123`.", + "description": "Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID}` or `projects/{projectID}/locations/{location}`, where `{projectID}` is the [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840) and `{location}` is a Cloud region. Examples: `projects/my-project-123`, `projects/my-project-123/locations/global`. For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified.", "location": "path", "pattern": "^projects/[^/]+$", "required": true, @@ -162,7 +162,7 @@ "type": "string" }, "projectName": { - "description": "Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID}`, where `{projectID}` is the [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840). Example: `projects/my-project-123`.", + "description": "Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID}` or `projects/{projectID}/locations/{location}`, where `{projectID}` is the [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840) and `{location}` is a Cloud region. Examples: `projects/my-project-123`, `projects/my-project-123/locations/global`. For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified.", "location": "path", "pattern": "^projects/[^/]+$", "required": true, @@ -214,7 +214,7 @@ ] }, "report": { - "description": "Report an individual error event and record the event to a log. This endpoint accepts **either** an OAuth token, **or** an [API key](https://support.google.com/cloud/answer/6158862) for authentication. To use an API key, append it to the URL as the value of a `key` parameter. For example: `POST https://clouderrorreporting.googleapis.com/v1beta1/{projectName}/events:report?key=123ABC456` **Note:** [Error Reporting] (https://cloud.google.com/error-reporting) is a global service built on Cloud Logging and can analyze log entries when all of the following are true: * The log entries are stored in a log bucket in the `global` location. * Customer-managed encryption keys (CMEK) are disabled on the log bucket. * The log bucket satisfies one of the following: * The log bucket is stored in the same project where the logs originated. * The logs were routed to a project, and then that project stored those logs in a log bucket that it owns.", + "description": "Report an individual error event and record the event to a log. This endpoint accepts **either** an OAuth token, **or** an [API key](https://support.google.com/cloud/answer/6158862) for authentication. To use an API key, append it to the URL as the value of a `key` parameter. For example: `POST https://clouderrorreporting.googleapis.com/v1beta1/{projectName}/events:report?key=123ABC456` **Note:** [Error Reporting] (https://cloud.google.com/error-reporting) is a service built on Cloud Logging and can analyze log entries when all of the following are true: * Customer-managed encryption keys (CMEK) are disabled on the log bucket. * The log bucket satisfies one of the following: * The log bucket is stored in the same project where the logs originated. * The logs were routed to a project, and then that project stored those logs in a log bucket that it owns.", "flatPath": "v1beta1/projects/{projectsId}/events:report", "httpMethod": "POST", "id": "clouderrorreporting.projects.events.report", @@ -312,7 +312,7 @@ "type": "string" }, "projectName": { - "description": "Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID}` or `projects/{projectNumber}`, where `{projectID}` and `{projectNumber}` can be found in the [Google Cloud console](https://support.google.com/cloud/answer/6158840). Examples: `projects/my-project-123`, `projects/5551234`.", + "description": "Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID}` or `projects/{projectNumber}`, where `{projectID}` and `{projectNumber}` can be found in the [Google Cloud console](https://support.google.com/cloud/answer/6158840). It may also include a location, such as `projects/{projectID}/locations/{location}` where `{location}` is a cloud region. Examples: `projects/my-project-123`, `projects/5551234`, `projects/my-project-123/locations/us-central1`, `projects/5551234/locations/us-central1`. For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified. Use `-` as a wildcard to request group stats from all regions.", "location": "path", "pattern": "^projects/[^/]+$", "required": true, @@ -383,7 +383,7 @@ ], "parameters": { "groupName": { - "description": "Required. The group resource name. Written as `projects/{projectID}/groups/{group_id}`. Call groupStats.list to return a list of groups belonging to this project. Example: `projects/my-project-123/groups/my-group` In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice).", + "description": "Required. The group resource name. Written as either `projects/{projectID}/groups/{group_id}` or `projects/{projectID}/locations/{location}/groups/{group_id}`. Call groupStats.list to return a list of groups belonging to this project. Examples: `projects/my-project-123/groups/my-group`, `projects/my-project-123/locations/global/groups/my-group` In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified.", "location": "path", "pattern": "^projects/[^/]+/groups/[^/]+$", "required": true, @@ -408,7 +408,7 @@ ], "parameters": { "name": { - "description": "The group resource name. Written as `projects/{projectID}/groups/{group_id}`. Example: `projects/my-project-123/groups/my-group` In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice).", + "description": "The group resource name. Written as `projects/{projectID}/groups/{group_id}` or `projects/{projectID}/locations/{location}/groups/{group_id}` Examples: `projects/my-project-123/groups/my-group`, `projects/my-project-123/locations/us-central1/groups/my-group` In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified.", "location": "path", "pattern": "^projects/[^/]+/groups/[^/]+$", "required": true, @@ -427,11 +427,308 @@ ] } } + }, + "locations": { + "methods": { + "deleteEvents": { + "description": "Deletes all error events of a given project.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/events", + "httpMethod": "DELETE", + "id": "clouderrorreporting.projects.locations.deleteEvents", + "parameterOrder": [ + "projectName" + ], + "parameters": { + "projectName": { + "description": "Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID}` or `projects/{projectID}/locations/{location}`, where `{projectID}` is the [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840) and `{location}` is a Cloud region. Examples: `projects/my-project-123`, `projects/my-project-123/locations/global`. For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+projectName}/events", + "response": { + "$ref": "DeleteEventsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, + "resources": { + "events": { + "methods": { + "list": { + "description": "Lists the specified events.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/events", + "httpMethod": "GET", + "id": "clouderrorreporting.projects.locations.events.list", + "parameterOrder": [ + "projectName" + ], + "parameters": { + "groupId": { + "description": "Required. The group for which events shall be returned. The `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice).", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of results to return per response.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A `next_page_token` provided by a previous response.", + "location": "query", + "type": "string" + }, + "projectName": { + "description": "Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID}` or `projects/{projectID}/locations/{location}`, where `{projectID}` is the [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840) and `{location}` is a Cloud region. Examples: `projects/my-project-123`, `projects/my-project-123/locations/global`. For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "serviceFilter.resourceType": { + "description": "Optional. The exact value to match against [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type).", + "location": "query", + "type": "string" + }, + "serviceFilter.service": { + "description": "Optional. The exact value to match against [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service).", + "location": "query", + "type": "string" + }, + "serviceFilter.version": { + "description": "Optional. The exact value to match against [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version).", + "location": "query", + "type": "string" + }, + "timeRange.period": { + "description": "Restricts the query to the specified time range.", + "enum": [ + "PERIOD_UNSPECIFIED", + "PERIOD_1_HOUR", + "PERIOD_6_HOURS", + "PERIOD_1_DAY", + "PERIOD_1_WEEK", + "PERIOD_30_DAYS" + ], + "enumDescriptions": [ + "Do not use.", + "Retrieve data for the last hour. Recommended minimum timed count duration: 1 min.", + "Retrieve data for the last 6 hours. Recommended minimum timed count duration: 10 min.", + "Retrieve data for the last day. Recommended minimum timed count duration: 1 hour.", + "Retrieve data for the last week. Recommended minimum timed count duration: 6 hours.", + "Retrieve data for the last 30 days. Recommended minimum timed count duration: 1 day." + ], + "location": "query", + "type": "string" + } + }, + "path": "v1beta1/{+projectName}/events", + "response": { + "$ref": "ListEventsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "groupStats": { + "methods": { + "list": { + "description": "Lists the specified groups.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/groupStats", + "httpMethod": "GET", + "id": "clouderrorreporting.projects.locations.groupStats.list", + "parameterOrder": [ + "projectName" + ], + "parameters": { + "alignment": { + "description": "Optional. The alignment of the timed counts to be returned. Default is `ALIGNMENT_EQUAL_AT_END`.", + "enum": [ + "ERROR_COUNT_ALIGNMENT_UNSPECIFIED", + "ALIGNMENT_EQUAL_ROUNDED", + "ALIGNMENT_EQUAL_AT_END" + ], + "enumDescriptions": [ + "No alignment specified.", + "The time periods shall be consecutive, have width equal to the requested duration, and be aligned at the alignment_time provided in the request. The alignment_time does not have to be inside the query period but even if it is outside, only time periods are returned which overlap with the query period. A rounded alignment will typically result in a different size of the first or the last time period.", + "The time periods shall be consecutive, have width equal to the requested duration, and be aligned at the end of the requested time period. This can result in a different size of the first time period." + ], + "location": "query", + "type": "string" + }, + "alignmentTime": { + "description": "Optional. Time where the timed counts shall be aligned if rounded alignment is chosen. Default is 00:00 UTC.", + "format": "google-datetime", + "location": "query", + "type": "string" + }, + "groupId": { + "description": "Optional. List all ErrorGroupStats with these IDs. The `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice] (https://cloud.google.com/terms/cloud-privacy-notice).", + "location": "query", + "repeated": true, + "type": "string" + }, + "order": { + "description": "Optional. The sort order in which the results are returned. Default is `COUNT_DESC`.", + "enum": [ + "GROUP_ORDER_UNSPECIFIED", + "COUNT_DESC", + "LAST_SEEN_DESC", + "CREATED_DESC", + "AFFECTED_USERS_DESC" + ], + "enumDescriptions": [ + "No group order specified.", + "Total count of errors in the given time window in descending order.", + "Timestamp when the group was last seen in the given time window in descending order.", + "Timestamp when the group was created in descending order.", + "Number of affected users in the given time window in descending order." + ], + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of results to return per response. Default is 20.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A next_page_token provided by a previous response. To view additional results, pass this token along with the identical query parameters as the first request.", + "location": "query", + "type": "string" + }, + "projectName": { + "description": "Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID}` or `projects/{projectNumber}`, where `{projectID}` and `{projectNumber}` can be found in the [Google Cloud console](https://support.google.com/cloud/answer/6158840). It may also include a location, such as `projects/{projectID}/locations/{location}` where `{location}` is a cloud region. Examples: `projects/my-project-123`, `projects/5551234`, `projects/my-project-123/locations/us-central1`, `projects/5551234/locations/us-central1`. For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified. Use `-` as a wildcard to request group stats from all regions.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "serviceFilter.resourceType": { + "description": "Optional. The exact value to match against [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type).", + "location": "query", + "type": "string" + }, + "serviceFilter.service": { + "description": "Optional. The exact value to match against [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service).", + "location": "query", + "type": "string" + }, + "serviceFilter.version": { + "description": "Optional. The exact value to match against [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version).", + "location": "query", + "type": "string" + }, + "timeRange.period": { + "description": "Restricts the query to the specified time range.", + "enum": [ + "PERIOD_UNSPECIFIED", + "PERIOD_1_HOUR", + "PERIOD_6_HOURS", + "PERIOD_1_DAY", + "PERIOD_1_WEEK", + "PERIOD_30_DAYS" + ], + "enumDescriptions": [ + "Do not use.", + "Retrieve data for the last hour. Recommended minimum timed count duration: 1 min.", + "Retrieve data for the last 6 hours. Recommended minimum timed count duration: 10 min.", + "Retrieve data for the last day. Recommended minimum timed count duration: 1 hour.", + "Retrieve data for the last week. Recommended minimum timed count duration: 6 hours.", + "Retrieve data for the last 30 days. Recommended minimum timed count duration: 1 day." + ], + "location": "query", + "type": "string" + }, + "timedCountDuration": { + "description": "Optional. The preferred duration for a single returned TimedCount. If not set, no timed counts are returned.", + "format": "google-duration", + "location": "query", + "type": "string" + } + }, + "path": "v1beta1/{+projectName}/groupStats", + "response": { + "$ref": "ListGroupStatsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "groups": { + "methods": { + "get": { + "description": "Get the specified group.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/groups/{groupsId}", + "httpMethod": "GET", + "id": "clouderrorreporting.projects.locations.groups.get", + "parameterOrder": [ + "groupName" + ], + "parameters": { + "groupName": { + "description": "Required. The group resource name. Written as either `projects/{projectID}/groups/{group_id}` or `projects/{projectID}/locations/{location}/groups/{group_id}`. Call groupStats.list to return a list of groups belonging to this project. Examples: `projects/my-project-123/groups/my-group`, `projects/my-project-123/locations/global/groups/my-group` In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/groups/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+groupName}", + "response": { + "$ref": "ErrorGroup" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "update": { + "description": "Replace the data for the specified group. Fails if the group does not exist.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/groups/{groupsId}", + "httpMethod": "PUT", + "id": "clouderrorreporting.projects.locations.groups.update", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The group resource name. Written as `projects/{projectID}/groups/{group_id}` or `projects/{projectID}/locations/{location}/groups/{group_id}` Examples: `projects/my-project-123/groups/my-group`, `projects/my-project-123/locations/us-central1/groups/my-group` In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/groups/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+name}", + "request": { + "$ref": "ErrorGroup" + }, + "response": { + "$ref": "ErrorGroup" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } } } } }, - "revision": "20240426", + "revision": "20240705", "rootUrl": "https://clouderrorreporting.googleapis.com/", "schemas": { "DeleteEventsResponse": { @@ -499,7 +796,7 @@ "type": "string" }, "name": { - "description": "The group resource name. Written as `projects/{projectID}/groups/{group_id}`. Example: `projects/my-project-123/groups/my-group` In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice).", + "description": "The group resource name. Written as `projects/{projectID}/groups/{group_id}` or `projects/{projectID}/locations/{location}/groups/{group_id}` Examples: `projects/my-project-123/groups/my-group`, `projects/my-project-123/locations/us-central1/groups/my-group` In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified.", "type": "string" }, "resolutionStatus": { @@ -682,7 +979,7 @@ "type": "string" }, "message": { - "description": "Required. The error message. If no `context.reportLocation` is provided, the message must contain a header (typically consisting of the exception type name and an error message) and an exception stack trace in one of the supported programming languages and formats. Supported languages are Java, Python, JavaScript, Ruby, C#, PHP, and Go. Supported stack trace formats are: * **Java**: Must be the return value of [`Throwable.printStackTrace()`](https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html#printStackTrace%28%29). * **Python**: Must be the return value of [`traceback.format_exc()`](https://docs.python.org/2/library/traceback.html#traceback.format_exc). * **JavaScript**: Must be the value of [`error.stack`](https://github.com/v8/v8/wiki/Stack-Trace-API) as returned by V8. * **Ruby**: Must contain frames returned by [`Exception.backtrace`](https://ruby-doc.org/core-2.2.0/Exception.html#method-i-backtrace). * **C#**: Must be the return value of [`Exception.ToString()`](https://msdn.microsoft.com/en-us/library/system.exception.tostring.aspx). * **PHP**: Must be prefixed with `\"PHP (Notice|Parse error|Fatal error|Warning): \"` and contain the result of [`(string)$exception`](https://php.net/manual/en/exception.tostring.php). * **Go**: Must be the return value of [`runtime.Stack()`](https://golang.org/pkg/runtime/debug/#Stack).", + "description": "Required. The error message. If no `context.reportLocation` is provided, the message must contain a header (typically consisting of the exception type name and an error message) and an exception stack trace in one of the supported programming languages and formats. Supported languages are Java, Python, JavaScript, Ruby, C#, PHP, and Go. Supported stack trace formats are: * **Java**: Must be the return value of [`Throwable.printStackTrace()`](https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html#printStackTrace%28%29). * **Python**: Must be the return value of [`traceback.format_exc()`](https://docs.python.org/2/library/traceback.html#traceback.format_exc). * **JavaScript**: Must be the value of [`error.stack`](https://github.com/v8/v8/wiki/Stack-Trace-API) as returned by V8. * **Ruby**: Must contain frames returned by [`Exception.backtrace`](https://ruby-doc.org/core-2.2.0/Exception.html#method-i-backtrace). * **C#**: Must be the return value of [`Exception.ToString()`](https://msdn.microsoft.com/en-us/library/system.exception.tostring.aspx). * **PHP**: Must be prefixed with `\"PHP (Notice|Parse error|Fatal error|Warning): \"` and contain the result of [`(string)$exception`](https://php.net/manual/en/exception.tostring.php). * **Go**: Must be the return value of [`debug.Stack()`](https://pkg.go.dev/runtime/debug#Stack).", "type": "string" }, "serviceContext": { diff --git a/discovery/cloudidentity-v1.json b/discovery/cloudidentity-v1.json index 511f7027ff..cddbc53d72 100644 --- a/discovery/cloudidentity-v1.json +++ b/discovery/cloudidentity-v1.json @@ -1990,7 +1990,7 @@ } } }, - "revision": "20240625", + "revision": "20240611", "rootUrl": "https://cloudidentity.googleapis.com/", "schemas": { "AddIdpCredentialOperationMetadata": { diff --git a/discovery/cloudidentity-v1beta1.json b/discovery/cloudidentity-v1beta1.json index 5878d594c0..9fcb78b164 100644 --- a/discovery/cloudidentity-v1beta1.json +++ b/discovery/cloudidentity-v1beta1.json @@ -2015,7 +2015,7 @@ } } }, - "revision": "20240625", + "revision": "20240611", "rootUrl": "https://cloudidentity.googleapis.com/", "schemas": { "AddIdpCredentialOperationMetadata": { diff --git a/discovery/cloudkms-v1.json b/discovery/cloudkms-v1.json index ba8aea016f..67de32da05 100644 --- a/discovery/cloudkms-v1.json +++ b/discovery/cloudkms-v1.json @@ -20,24 +20,24 @@ "documentationLink": "https://cloud.google.com/kms/", "endpoints": [ { + "description": "Regional Endpoint", "endpointUrl": "https://cloudkms.europe-west3.rep.googleapis.com/", - "location": "europe-west3", - "description": "Regional Endpoint" + "location": "europe-west3" }, { + "description": "Regional Endpoint", "endpointUrl": "https://cloudkms.europe-west9.rep.googleapis.com/", - "location": "europe-west9", - "description": "Regional Endpoint" + "location": "europe-west9" }, { + "description": "Regional Endpoint", "endpointUrl": "https://cloudkms.me-central2.rep.googleapis.com/", - "location": "me-central2", - "description": "Regional Endpoint" + "location": "me-central2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://cloudkms.us-east1.rep.googleapis.com/", - "location": "us-east1", - "description": "Regional Endpoint" + "location": "us-east1" } ], "fullyEncodeReservedExpansion": true, diff --git a/discovery/cloudprofiler-v2.json b/discovery/cloudprofiler-v2.json index 3d0c398147..68e9bad23a 100644 --- a/discovery/cloudprofiler-v2.json +++ b/discovery/cloudprofiler-v2.json @@ -254,7 +254,7 @@ } } }, - "revision": "20240429", + "revision": "20240325", "rootUrl": "https://cloudprofiler.googleapis.com/", "schemas": { "CreateProfileRequest": { diff --git a/discovery/cloudsupport-v2.json b/discovery/cloudsupport-v2.json index 2240d98d82..053f2aeda1 100644 --- a/discovery/cloudsupport-v2.json +++ b/discovery/cloudsupport-v2.json @@ -552,7 +552,7 @@ } } }, - "revision": "20240430", + "revision": "20240403", "rootUrl": "https://cloudsupport.googleapis.com/", "schemas": { "Actor": { diff --git a/discovery/cloudsupport-v2beta.json b/discovery/cloudsupport-v2beta.json index 7e6a21aac0..469cdd103d 100644 --- a/discovery/cloudsupport-v2beta.json +++ b/discovery/cloudsupport-v2beta.json @@ -619,7 +619,7 @@ } } }, - "revision": "20240430", + "revision": "20240429", "rootUrl": "https://cloudsupport.googleapis.com/", "schemas": { "Actor": { diff --git a/discovery/cloudtasks-v2.json b/discovery/cloudtasks-v2.json index 6b54a6db13..cfcdd5b896 100644 --- a/discovery/cloudtasks-v2.json +++ b/discovery/cloudtasks-v2.json @@ -779,7 +779,7 @@ } } }, - "revision": "20240301", + "revision": "20240223", "rootUrl": "https://cloudtasks.googleapis.com/", "schemas": { "AppEngineHttpRequest": { diff --git a/discovery/cloudtasks-v2beta2.json b/discovery/cloudtasks-v2beta2.json index d972dd359b..ba7848e0fc 100644 --- a/discovery/cloudtasks-v2beta2.json +++ b/discovery/cloudtasks-v2beta2.json @@ -935,7 +935,7 @@ } } }, - "revision": "20240301", + "revision": "20240223", "rootUrl": "https://cloudtasks.googleapis.com/", "schemas": { "AcknowledgeTaskRequest": { diff --git a/discovery/cloudtasks-v2beta3.json b/discovery/cloudtasks-v2beta3.json index 3324507fde..7608166097 100644 --- a/discovery/cloudtasks-v2beta3.json +++ b/discovery/cloudtasks-v2beta3.json @@ -791,7 +791,7 @@ } } }, - "revision": "20240301", + "revision": "20240223", "rootUrl": "https://cloudtasks.googleapis.com/", "schemas": { "AppEngineHttpQueue": { diff --git a/discovery/cloudtrace-v2.json b/discovery/cloudtrace-v2.json index 0df1cf8917..bf9df73e5b 100644 --- a/discovery/cloudtrace-v2.json +++ b/discovery/cloudtrace-v2.json @@ -181,7 +181,7 @@ } } }, - "revision": "20230608", + "revision": "20230511", "rootUrl": "https://cloudtrace.googleapis.com/", "schemas": { "Annotation": { diff --git a/discovery/cloudtrace-v2beta1.json b/discovery/cloudtrace-v2beta1.json index 4b5d691cd3..7c11c7400e 100644 --- a/discovery/cloudtrace-v2beta1.json +++ b/discovery/cloudtrace-v2beta1.json @@ -273,7 +273,7 @@ } } }, - "revision": "20220428", + "revision": "20220421", "rootUrl": "https://cloudtrace.googleapis.com/", "schemas": { "Empty": { diff --git a/discovery/composer-v1beta1.json b/discovery/composer-v1beta1.json index e0749f6893..4a7b12913b 100644 --- a/discovery/composer-v1beta1.json +++ b/discovery/composer-v1beta1.json @@ -994,7 +994,7 @@ } } }, - "revision": "20240317", + "revision": "20240310", "rootUrl": "https://composer.googleapis.com/", "schemas": { "AirflowMetadataRetentionPolicyConfig": { diff --git a/discovery/compute-alpha.json b/discovery/compute-alpha.json index d06cf7ddfb..c343f5cd40 100644 --- a/discovery/compute-alpha.json +++ b/discovery/compute-alpha.json @@ -33564,7 +33564,7 @@ "regions": { "methods": { "get": { - "description": "Returns the specified Region resource. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request.", + "description": "Returns the specified Region resource. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request. This method fails if the quota information is unavailable for the region and if the organization policy constraint compute.requireBasicQuotaInResponse is enforced. This constraint, when enforced, disables the fail-open behaviour when quota information (the `items.quotas` field) is unavailable for the region. It is recommended to use the default setting for the constraint unless your application requires the fail-closed behaviour for this method.", "flatPath": "projects/{project}/regions/{region}", "httpMethod": "GET", "id": "compute.regions.get", @@ -44715,7 +44715,7 @@ } } }, - "revision": "20240618", + "revision": "20240702", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -46139,6 +46139,14 @@ "sourceInstanceTemplateId": { "description": "ID of the instance template used to populate reservation properties.", "type": "string" + }, + "utilizations": { + "additionalProperties": { + "format": "int64", + "type": "string" + }, + "description": "Per service utilization breakdown. The Key is the Google Cloud managed service name.", + "type": "object" } }, "type": "object" @@ -47479,11 +47487,13 @@ "description": "Specifies how to determine whether the backend of a load balancer can handle additional traffic or is fully loaded. For usage guidelines, see Connection balancing mode. Backends must use compatible balancing modes. For more information, see Supported balancing modes and target capacity settings and Restrictions and guidance for instance groups. Note: Currently, if you use the API to configure incompatible balancing modes, the configuration might be accepted even though it has no impact and is ignored. Specifically, Backend.maxUtilization is ignored when Backend.balancingMode is RATE. In the future, this incompatible combination will be rejected.", "enum": [ "CONNECTION", + "CUSTOM_METRICS", "RATE", "UTILIZATION" ], "enumDescriptions": [ "Balance based on the number of simultaneous connections.", + "Based on custom defined and reported metrics.", "Balance based on requests per second (RPS).", "Balance based on the backend utilization." ], @@ -47494,6 +47504,13 @@ "format": "float", "type": "number" }, + "customMetrics": { + "description": "List of custom metrics that are used for CUSTOM_METRICS BalancingMode and WEIGHTED_ROUND_ROBIN BackendService locality_lb_policy.", + "items": { + "$ref": "BackendCustomMetric" + }, + "type": "array" + }, "description": { "description": "An optional description of this resource. Provide this property when you create the resource.", "type": "string" @@ -47923,6 +47940,26 @@ }, "type": "object" }, + "BackendCustomMetric": { + "description": "Custom Metrics are used for CUSTOM_METRICS balancing_mode and WEIGHTED_ROUND_ROBIN BackendService locality_lb_policy.", + "id": "BackendCustomMetric", + "properties": { + "dryRun": { + "description": "If true, the metric data is collected and reported to Cloud Monitoring, but is not used for load balancing.", + "type": "boolean" + }, + "maxUtilization": { + "description": "Optional parameter to define a target utilization for the Custom Metrics balancing mode. The valid range is [0.0, 1.0].", + "format": "float", + "type": "number" + }, + "name": { + "description": "Name of a custom utilization signal. The name must be 1-24 characters long, and comply with RFC1035. Specifically, the name must be 1-24 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. For usage guidelines, see Custom Metrics balancing mode. This field can only be used for a global or regional backend service with the loadBalancingScheme set to EXTERNAL_MANAGED, INTERNAL_MANAGED INTERNAL_SELF_MANAGED.", + "type": "string" + } + }, + "type": "object" + }, "BackendService": { "description": "Represents a Backend Service resource. A backend service defines how Google Cloud load balancers distribute traffic. The backend service configuration contains a set of values, such as the protocol used to connect to backends, various distribution and session settings, health checks, and timeouts. These settings provide fine-grained control over how your load balancer behaves. Most of the settings have default values that allow for easy configuration if you need to get started quickly. Backend services in Google Compute Engine can be either regionally or globally scoped. * [Global](https://cloud.google.com/compute/docs/reference/rest/alpha/backendServices) * [Regional](https://cloud.google.com/compute/docs/reference/rest/alpha/regionBackendServices) For more information, see Backend Services.", "id": "BackendService", @@ -48105,7 +48142,8 @@ "RANDOM", "RING_HASH", "ROUND_ROBIN", - "WEIGHTED_MAGLEV" + "WEIGHTED_MAGLEV", + "WEIGHTED_ROUND_ROBIN" ], "enumDescriptions": [ "", @@ -48115,7 +48153,8 @@ "The load balancer selects a random healthy host.", "The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests.", "This is a simple policy in which each healthy backend is selected in round robin order. This is the default.", - "Per-instance weighted Load Balancing via health check reported weights. If set, the Backend Service must configure a non legacy HTTP-based Health Check, and health check replies are expected to contain non-standard HTTP response header field X-Load-Balancing-Endpoint-Weight to specify the per-instance weights. If set, Load Balancing is weighted based on the per-instance weights reported in the last processed health check replies, as long as every instance either reported a valid weight or had UNAVAILABLE_WEIGHT. Otherwise, Load Balancing remains equal-weight. This option is only supported in Network Load Balancing." + "Per-instance weighted Load Balancing via health check reported weights. If set, the Backend Service must configure a non legacy HTTP-based Health Check, and health check replies are expected to contain non-standard HTTP response header field X-Load-Balancing-Endpoint-Weight to specify the per-instance weights. If set, Load Balancing is weighted based on the per-instance weights reported in the last processed health check replies, as long as every instance either reported a valid weight or had UNAVAILABLE_WEIGHT. Otherwise, Load Balancing remains equal-weight. This option is only supported in Network Load Balancing.", + "Per-endpoint weighted round-robin Load Balancing using weights computed from Backend reported Custom Metrics. If set, the Backend Service responses are expected to contain non-standard HTTP response header field X-Endpoint-Load-Metrics. The reported metrics to use for computing the weights are specified via the backends[].customMetrics fields." ], "type": "string" }, @@ -48257,6 +48296,7 @@ "type": "integer" }, "usedBy": { + "description": "[Output Only] List of resources referencing given backend service.", "items": { "$ref": "BackendServiceUsedBy" }, @@ -49091,7 +49131,8 @@ "RANDOM", "RING_HASH", "ROUND_ROBIN", - "WEIGHTED_MAGLEV" + "WEIGHTED_MAGLEV", + "WEIGHTED_ROUND_ROBIN" ], "enumDescriptions": [ "", @@ -49101,7 +49142,8 @@ "The load balancer selects a random healthy host.", "The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests.", "This is a simple policy in which each healthy backend is selected in round robin order. This is the default.", - "Per-instance weighted Load Balancing via health check reported weights. If set, the Backend Service must configure a non legacy HTTP-based Health Check, and health check replies are expected to contain non-standard HTTP response header field X-Load-Balancing-Endpoint-Weight to specify the per-instance weights. If set, Load Balancing is weighted based on the per-instance weights reported in the last processed health check replies, as long as every instance either reported a valid weight or had UNAVAILABLE_WEIGHT. Otherwise, Load Balancing remains equal-weight. This option is only supported in Network Load Balancing." + "Per-instance weighted Load Balancing via health check reported weights. If set, the Backend Service must configure a non legacy HTTP-based Health Check, and health check replies are expected to contain non-standard HTTP response header field X-Load-Balancing-Endpoint-Weight to specify the per-instance weights. If set, Load Balancing is weighted based on the per-instance weights reported in the last processed health check replies, as long as every instance either reported a valid weight or had UNAVAILABLE_WEIGHT. Otherwise, Load Balancing remains equal-weight. This option is only supported in Network Load Balancing.", + "Per-endpoint weighted round-robin Load Balancing using weights computed from Backend reported Custom Metrics. If set, the Backend Service responses are expected to contain non-standard HTTP response header field X-Endpoint-Load-Metrics. The reported metrics to use for computing the weights are specified via the backends[].customMetrics fields." ], "type": "string" } @@ -49212,6 +49254,7 @@ "id": "BackendServiceUsedBy", "properties": { "reference": { + "description": "[Output Only] Server-defined URL for resources referencing given BackendService like UrlMaps, TargetTcpProxies, TargetSslProxies and ForwardingRule.", "type": "string" } }, @@ -50058,6 +50101,10 @@ "description": "[Output Only] Creation timestamp in RFC3339 text format.", "type": "string" }, + "customEndTimestamp": { + "description": "[Input Only] Optional, specifies the CUD end time requested by the customer in RFC3339 text format. Needed when the customer wants CUD's end date is later than the start date + term duration.", + "type": "string" + }, "description": { "description": "An optional description of this resource. Provide this property when you create the resource.", "type": "string" @@ -50548,6 +50595,10 @@ "cancellationInformation": { "$ref": "CommitmentResourceStatusCancellationInformation", "description": "[Output Only] An optional, contains all the needed information of cancellation." + }, + "customTermEligibilityEndTimestamp": { + "description": "[Output Only] Indicates the end time of customer's eligibility to send custom term requests in RFC3339 text format. Term extension requests that (not the end time in the request) after this time will be rejected.", + "type": "string" } }, "type": "object" @@ -59606,8 +59657,7 @@ "type": "array" }, "baseInstanceName": { - "description": "The base instance name to use for instances in this group. The value must be 1-58 characters long. Instances are named by appending a hyphen and a random four-character string to the base instance name. The base instance name must comply with RFC1035.", - "pattern": "[a-z][-a-z0-9]{0,57}", + "description": "The base instance name is a prefix that you want to attach to the names of all VMs in a MIG. The maximum character length is 58 and the name must comply with RFC1035 format. When a VM is created in the group, the MIG appends a hyphen and a random four-character string to the base instance name. If you want the MIG to assign sequential numbers instead of a random string, then end the base instance name with a hyphen followed by one or more hash symbols. The hash symbols indicate the number of digits. For example, a base instance name of \"vm-###\" results in \"vm-001\" as a VM name. @pattern [a-z](([-a-z0-9]{0,57})|([-a-z0-9]{0,52}-#{1,10}(\\\\[[0-9]{1,10}\\\\])?))", "type": "string" }, "creationTimestamp": { @@ -70061,12 +70111,6 @@ "format": "int32", "type": "integer" }, - "clientPort": { - "deprecated": true, - "description": "Represents the port number to which PSC consumer sends packets. Only valid for network endpoint groups created with CLIENT_PORT_PER_ENDPOINT mapping mode.", - "format": "int32", - "type": "integer" - }, "fqdn": { "description": "Optional fully qualified domain name of network endpoint. This can only be specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT.", "type": "string" @@ -70110,19 +70154,6 @@ "$ref": "NetworkEndpointGroupAppEngine", "description": "Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or cloudFunction may be set." }, - "clientPortMappingMode": { - "deprecated": true, - "description": "Only valid when networkEndpointType is GCE_VM_IP_PORT and the NEG is regional.", - "enum": [ - "CLIENT_PORT_PER_ENDPOINT", - "PORT_MAPPING_DISABLED" - ], - "enumDescriptions": [ - "For each endpoint there is exactly one client port.", - "NEG should not be used for mapping client port to destination." - ], - "type": "string" - }, "cloudFunction": { "$ref": "NetworkEndpointGroupCloudFunction", "description": "Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or cloudFunction may be set." @@ -82117,6 +82148,9 @@ "vmMaintenancePolicy": { "$ref": "ResourcePolicyVmMaintenancePolicy", "description": "Resource policy applicable to VMs for infrastructure maintenance." + }, + "workloadPolicy": { + "$ref": "ResourcePolicyWorkloadPolicy" } }, "type": "object" @@ -82796,6 +82830,24 @@ }, "type": "object" }, + "ResourcePolicyWorkloadPolicy": { + "description": "Represents the workload policy.", + "id": "ResourcePolicyWorkloadPolicy", + "properties": { + "type": { + "enum": [ + "HIGH_AVAILABILITY", + "HIGH_THROUGHPUT" + ], + "enumDescriptions": [ + "VMs will be provisioned in such a way which provides high availability.", + "VMs will be provisioned in such a way which provides high throughput." + ], + "type": "string" + } + }, + "type": "object" + }, "ResourceStatus": { "description": "Contains output only fields. Use this sub-message for actual values set on Instance attributes as compared to the value requested by the user (intent) in their instance CRUD calls.", "id": "ResourceStatus", @@ -82874,7 +82926,7 @@ "id": "ResourceStatusScheduling", "properties": { "availabilityDomain": { - "description": "Specifies the availability domain (AD), which this instance should be scheduled on. The AD belongs to the spread GroupPlacementPolicy resource policy that has been assigned to the instance. Specify a value between 1-max count of availability domains in your GroupPlacementPolicy. See go/placement-policy-extension for more details.", + "description": "Specifies the availability domain to place the instance in. The value must be a number between 1 and the number of availability domains specified in the spread placement policy attached to the instance.", "format": "int32", "type": "integer" }, @@ -85854,7 +85906,7 @@ "type": "boolean" }, "availabilityDomain": { - "description": "Specifies the availability domain (AD), which this instance should be scheduled on. The AD belongs to the spread GroupPlacementPolicy resource policy that has been assigned to the instance. Specify a value between 1-max count of availability domains in your GroupPlacementPolicy. See go/placement-policy-extension for more details.", + "description": "Specifies the availability domain to place the instance in. The value must be a number between 1 and the number of availability domains specified in the spread placement policy attached to the instance.", "format": "int32", "type": "integer" }, @@ -98900,7 +98952,7 @@ "type": "string" }, "stackType": { - "description": "The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified, IPV4_ONLY will be used.", + "description": "The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6, IPV6_ONLY. If not specified, IPV4_ONLY is used if the gateway IP version is IPV4, or IPV4_IPV6 if the gateway IP version is IPV6.", "enum": [ "IPV4_IPV6", "IPV4_ONLY", diff --git a/discovery/compute-beta.json b/discovery/compute-beta.json index 4e768d5c6f..f8bd1e33cd 100644 --- a/discovery/compute-beta.json +++ b/discovery/compute-beta.json @@ -3669,6 +3669,40 @@ "https://www.googleapis.com/auth/compute" ] }, + "addPacketMirroringRule": { + "description": "Inserts a packet mirroring rule into a firewall policy.", + "flatPath": "locations/global/firewallPolicies/{firewallPolicy}/addPacketMirroringRule", + "httpMethod": "POST", + "id": "compute.firewallPolicies.addPacketMirroringRule", + "parameterOrder": [ + "firewallPolicy" + ], + "parameters": { + "firewallPolicy": { + "description": "Name of the firewall policy to update.", + "location": "path", + "pattern": "(firewallPolicies/)?[0-9]{0,20}", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "path": "locations/global/firewallPolicies/{firewallPolicy}/addPacketMirroringRule", + "request": { + "$ref": "FirewallPolicyRule" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] + }, "addRule": { "description": "Inserts a rule into a firewall policy.", "flatPath": "locations/global/firewallPolicies/{firewallPolicy}/addRule", @@ -3862,6 +3896,39 @@ "https://www.googleapis.com/auth/compute.readonly" ] }, + "getPacketMirroringRule": { + "description": "Gets a packet mirroring rule of the specified priority.", + "flatPath": "locations/global/firewallPolicies/{firewallPolicy}/getPacketMirroringRule", + "httpMethod": "GET", + "id": "compute.firewallPolicies.getPacketMirroringRule", + "parameterOrder": [ + "firewallPolicy" + ], + "parameters": { + "firewallPolicy": { + "description": "Name of the firewall policy to which the queried rule belongs.", + "location": "path", + "pattern": "(firewallPolicies/)?[0-9]{0,20}", + "required": true, + "type": "string" + }, + "priority": { + "description": "The priority of the rule to get from the firewall policy.", + "format": "int32", + "location": "query", + "type": "integer" + } + }, + "path": "locations/global/firewallPolicies/{firewallPolicy}/getPacketMirroringRule", + "response": { + "$ref": "FirewallPolicyRule" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] + }, "getRule": { "description": "Gets a rule of the specified priority.", "flatPath": "locations/global/firewallPolicies/{firewallPolicy}/getRule", @@ -4066,6 +4133,46 @@ "https://www.googleapis.com/auth/compute" ] }, + "patchPacketMirroringRule": { + "description": "Patches a packet mirroring rule of the specified priority.", + "flatPath": "locations/global/firewallPolicies/{firewallPolicy}/patchPacketMirroringRule", + "httpMethod": "POST", + "id": "compute.firewallPolicies.patchPacketMirroringRule", + "parameterOrder": [ + "firewallPolicy" + ], + "parameters": { + "firewallPolicy": { + "description": "Name of the firewall policy to update.", + "location": "path", + "pattern": "(firewallPolicies/)?[0-9]{0,20}", + "required": true, + "type": "string" + }, + "priority": { + "description": "The priority of the rule to patch.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "path": "locations/global/firewallPolicies/{firewallPolicy}/patchPacketMirroringRule", + "request": { + "$ref": "FirewallPolicyRule" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] + }, "patchRule": { "description": "Patches a rule of the specified priority.", "flatPath": "locations/global/firewallPolicies/{firewallPolicy}/patchRule", @@ -4142,6 +4249,43 @@ "https://www.googleapis.com/auth/compute" ] }, + "removePacketMirroringRule": { + "description": "Deletes a packet mirroring rule of the specified priority.", + "flatPath": "locations/global/firewallPolicies/{firewallPolicy}/removePacketMirroringRule", + "httpMethod": "POST", + "id": "compute.firewallPolicies.removePacketMirroringRule", + "parameterOrder": [ + "firewallPolicy" + ], + "parameters": { + "firewallPolicy": { + "description": "Name of the firewall policy to update.", + "location": "path", + "pattern": "(firewallPolicies/)?[0-9]{0,20}", + "required": true, + "type": "string" + }, + "priority": { + "description": "The priority of the rule to remove from the firewall policy.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "path": "locations/global/firewallPolicies/{firewallPolicy}/removePacketMirroringRule", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] + }, "removeRule": { "description": "Deletes a rule of the specified priority.", "flatPath": "locations/global/firewallPolicies/{firewallPolicy}/removeRule", @@ -17184,6 +17328,60 @@ "https://www.googleapis.com/auth/compute" ] }, + "addPacketMirroringRule": { + "description": "Inserts a packet mirroring rule into a firewall policy.", + "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/addPacketMirroringRule", + "httpMethod": "POST", + "id": "compute.networkFirewallPolicies.addPacketMirroringRule", + "parameterOrder": [ + "project", + "firewallPolicy" + ], + "parameters": { + "firewallPolicy": { + "description": "Name of the firewall policy to update.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + }, + "maxPriority": { + "description": "When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "minPriority": { + "description": "When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "path": "projects/{project}/global/firewallPolicies/{firewallPolicy}/addPacketMirroringRule", + "request": { + "$ref": "FirewallPolicyRule" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] + }, "addRule": { "description": "Inserts a rule into a firewall policy.", "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/addRule", @@ -17437,6 +17635,47 @@ "https://www.googleapis.com/auth/compute.readonly" ] }, + "getPacketMirroringRule": { + "description": "Gets a packet mirroring rule of the specified priority.", + "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/getPacketMirroringRule", + "httpMethod": "GET", + "id": "compute.networkFirewallPolicies.getPacketMirroringRule", + "parameterOrder": [ + "project", + "firewallPolicy" + ], + "parameters": { + "firewallPolicy": { + "description": "Name of the firewall policy to which the queried rule belongs.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + }, + "priority": { + "description": "The priority of the rule to get from the firewall policy.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/global/firewallPolicies/{firewallPolicy}/getPacketMirroringRule", + "response": { + "$ref": "FirewallPolicyRule" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] + }, "getRule": { "description": "Gets a rule of the specified priority.", "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/getRule", @@ -17609,6 +17848,54 @@ "https://www.googleapis.com/auth/compute" ] }, + "patchPacketMirroringRule": { + "description": "Patches a packet mirroring rule of the specified priority.", + "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/patchPacketMirroringRule", + "httpMethod": "POST", + "id": "compute.networkFirewallPolicies.patchPacketMirroringRule", + "parameterOrder": [ + "project", + "firewallPolicy" + ], + "parameters": { + "firewallPolicy": { + "description": "Name of the firewall policy to update.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + }, + "priority": { + "description": "The priority of the rule to patch.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "path": "projects/{project}/global/firewallPolicies/{firewallPolicy}/patchPacketMirroringRule", + "request": { + "$ref": "FirewallPolicyRule" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] + }, "patchRule": { "description": "Patches a rule of the specified priority.", "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/patchRule", @@ -17701,6 +17988,51 @@ "https://www.googleapis.com/auth/compute" ] }, + "removePacketMirroringRule": { + "description": "Deletes a packet mirroring rule of the specified priority.", + "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/removePacketMirroringRule", + "httpMethod": "POST", + "id": "compute.networkFirewallPolicies.removePacketMirroringRule", + "parameterOrder": [ + "project", + "firewallPolicy" + ], + "parameters": { + "firewallPolicy": { + "description": "Name of the firewall policy to update.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + }, + "priority": { + "description": "The priority of the rule to remove from the firewall policy.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "path": "projects/{project}/global/firewallPolicies/{firewallPolicy}/removePacketMirroringRule", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] + }, "removeRule": { "description": "Deletes a rule of the specified priority.", "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/removeRule", @@ -31184,7 +31516,7 @@ "regions": { "methods": { "get": { - "description": "Returns the specified Region resource. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request.", + "description": "Returns the specified Region resource. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request. This method fails if the quota information is unavailable for the region and if the organization policy constraint compute.requireBasicQuotaInResponse is enforced. This constraint, when enforced, disables the fail-open behaviour when quota information (the `items.quotas` field) is unavailable for the region. It is recommended to use the default setting for the constraint unless your application requires the fail-closed behaviour for this method.", "flatPath": "projects/{project}/regions/{region}", "httpMethod": "GET", "id": "compute.regions.get", @@ -41579,7 +41911,7 @@ } } }, - "revision": "20240618", + "revision": "20240707", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -44904,7 +45236,8 @@ "GENERATED_COOKIE", "HEADER_FIELD", "HTTP_COOKIE", - "NONE" + "NONE", + "STRONG_COOKIE_AFFINITY" ], "enumDescriptions": [ "2-tuple hash on packet's source and destination IP addresses. Connections from the same source IP address to the same destination IP address will be served by the same backend VM while that VM remains healthy.", @@ -44914,10 +45247,15 @@ "Hash based on a cookie generated by the L7 loadbalancer. Only valid for HTTP(S) load balancing.", "The hash is based on a user specified header field.", "The hash is based on a user provided cookie.", - "No session affinity. Connections from the same client IP may go to any instance in the pool." + "No session affinity. Connections from the same client IP may go to any instance in the pool.", + "Strong cookie-based affinity. Connections bearing the same cookie will be served by the same backend VM while that VM remains healthy, as long as the cookie has not expired." ], "type": "string" }, + "strongSessionAffinityCookie": { + "$ref": "BackendServiceHttpCookie", + "description": "Describes the HTTP cookie used for stateful session affinity. This field is applicable and required if the sessionAffinity is set to STRONG_COOKIE_AFFINITY." + }, "subsetting": { "$ref": "Subsetting" }, @@ -44927,6 +45265,7 @@ "type": "integer" }, "usedBy": { + "description": "[Output Only] List of resources referencing given backend service.", "items": { "$ref": "BackendServiceUsedBy" }, @@ -45293,6 +45632,25 @@ }, "type": "object" }, + "BackendServiceHttpCookie": { + "description": "The HTTP cookie used for stateful session affinity.", + "id": "BackendServiceHttpCookie", + "properties": { + "name": { + "description": "Name of the cookie.", + "type": "string" + }, + "path": { + "description": "Path to set for the cookie.", + "type": "string" + }, + "ttl": { + "$ref": "Duration", + "description": "Lifetime of the cookie." + } + }, + "type": "object" + }, "BackendServiceIAP": { "description": "Identity-Aware Proxy", "id": "BackendServiceIAP", @@ -45729,6 +46087,7 @@ "id": "BackendServiceUsedBy", "properties": { "reference": { + "description": "[Output Only] Server-defined URL for resources referencing given BackendService like UrlMaps, TargetTcpProxies, TargetSslProxies and ForwardingRule.", "type": "string" } }, @@ -46586,6 +46945,7 @@ "COMPUTE_OPTIMIZED_C3D", "COMPUTE_OPTIMIZED_H3", "GENERAL_PURPOSE", + "GENERAL_PURPOSE_C4", "GENERAL_PURPOSE_E2", "GENERAL_PURPOSE_N2", "GENERAL_PURPOSE_N2D", @@ -46616,6 +46976,7 @@ "", "", "", + "", "" ], "type": "string" @@ -49848,6 +50209,13 @@ "description": "Name of the resource. For Organization Firewall Policies it's a [Output Only] numeric ID allocated by Google Cloud which uniquely identifies the Organization Firewall Policy.", "type": "string" }, + "packetMirroringRules": { + "description": "A list of packet mirroring rules that belong to this policy.", + "items": { + "$ref": "FirewallPolicyRule" + }, + "type": "array" + }, "parent": { "description": "[Output Only] The parent of the firewall policy. This field is not applicable to network firewall policies.", "type": "string" @@ -55330,8 +55698,7 @@ "type": "array" }, "baseInstanceName": { - "description": "The base instance name to use for instances in this group. The value must be 1-58 characters long. Instances are named by appending a hyphen and a random four-character string to the base instance name. The base instance name must comply with RFC1035.", - "pattern": "[a-z][-a-z0-9]{0,57}", + "description": "The base instance name is a prefix that you want to attach to the names of all VMs in a MIG. The maximum character length is 58 and the name must comply with RFC1035 format. When a VM is created in the group, the MIG appends a hyphen and a random four-character string to the base instance name. If you want the MIG to assign sequential numbers instead of a random string, then end the base instance name with a hyphen followed by one or more hash symbols. The hash symbols indicate the number of digits. For example, a base instance name of \"vm-###\" results in \"vm-001\" as a VM name. @pattern [a-z](([-a-z0-9]{0,57})|([-a-z0-9]{0,52}-#{1,10}(\\\\[[0-9]{1,10}\\\\])?))", "type": "string" }, "creationTimestamp": { @@ -58756,6 +59123,11 @@ "description": "[Output Only] The name of the firewall policy.", "type": "string" }, + "priority": { + "description": "[Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY.", + "format": "int32", + "type": "integer" + }, "rules": { "description": "The rules that apply to the network.", "items": { @@ -58773,9 +59145,13 @@ "HIERARCHY", "NETWORK", "NETWORK_REGIONAL", + "SYSTEM_GLOBAL", + "SYSTEM_REGIONAL", "UNSPECIFIED" ], "enumDescriptions": [ + "", + "", "", "", "", @@ -64659,12 +65035,6 @@ "format": "int32", "type": "integer" }, - "clientPort": { - "deprecated": true, - "description": "Represents the port number to which PSC consumer sends packets. Only valid for network endpoint groups created with CLIENT_PORT_PER_ENDPOINT mapping mode.", - "format": "int32", - "type": "integer" - }, "fqdn": { "description": "Optional fully qualified domain name of network endpoint. This can only be specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT.", "type": "string" @@ -64704,19 +65074,6 @@ "$ref": "NetworkEndpointGroupAppEngine", "description": "Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or cloudFunction may be set." }, - "clientPortMappingMode": { - "deprecated": true, - "description": "Only valid when networkEndpointType is GCE_VM_IP_PORT and the NEG is regional.", - "enum": [ - "CLIENT_PORT_PER_ENDPOINT", - "PORT_MAPPING_DISABLED" - ], - "enumDescriptions": [ - "For each endpoint there is exactly one client port.", - "NEG should not be used for mapping client port to destination." - ], - "type": "string" - }, "cloudFunction": { "$ref": "NetworkEndpointGroupCloudFunction", "description": "Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or cloudFunction may be set." @@ -73434,6 +73791,11 @@ "description": "[Output Only] The name of the firewall policy.", "type": "string" }, + "priority": { + "description": "[Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY.", + "format": "int32", + "type": "integer" + }, "rules": { "description": "The rules that apply to the network.", "items": { @@ -73447,9 +73809,13 @@ "HIERARCHY", "NETWORK", "NETWORK_REGIONAL", + "SYSTEM_GLOBAL", + "SYSTEM_REGIONAL", "UNSPECIFIED" ], "enumDescriptions": [ + "", + "", "", "", "", @@ -75020,6 +75386,11 @@ "ResourceStatusScheduling": { "id": "ResourceStatusScheduling", "properties": { + "availabilityDomain": { + "description": "Specifies the availability domain to place the instance in. The value must be a number between 1 and the number of availability domains specified in the spread placement policy attached to the instance.", + "format": "int32", + "type": "integer" + }, "terminationTimestamp": { "description": "Time in future when the instance will be terminated in RFC3339 text format.", "type": "string" @@ -77646,6 +78017,11 @@ "description": "Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). You can only set the automatic restart option for standard instances. Preemptible instances cannot be automatically restarted. By default, this is set to true so an instance is automatically restarted if it is terminated by Compute Engine.", "type": "boolean" }, + "availabilityDomain": { + "description": "Specifies the availability domain to place the instance in. The value must be a number between 1 and the number of availability domains specified in the spread placement policy attached to the instance.", + "format": "int32", + "type": "integer" + }, "hostErrorTimeoutSeconds": { "description": "Specify the time in seconds for host error detection, the value must be within the range of [90, 330] with the increment of 30, if unset, the default behavior of host error recovery will be used.", "format": "int32", @@ -86364,7 +86740,8 @@ "GENERATED_COOKIE", "HEADER_FIELD", "HTTP_COOKIE", - "NONE" + "NONE", + "STRONG_COOKIE_AFFINITY" ], "enumDescriptions": [ "2-tuple hash on packet's source and destination IP addresses. Connections from the same source IP address to the same destination IP address will be served by the same backend VM while that VM remains healthy.", @@ -86374,7 +86751,8 @@ "Hash based on a cookie generated by the L7 loadbalancer. Only valid for HTTP(S) load balancing.", "The hash is based on a user specified header field.", "The hash is based on a user provided cookie.", - "No session affinity. Connections from the same client IP may go to any instance in the pool." + "No session affinity. Connections from the same client IP may go to any instance in the pool.", + "Strong cookie-based affinity. Connections bearing the same cookie will be served by the same backend VM while that VM remains healthy, as long as the cookie has not expired." ], "type": "string" } @@ -89651,7 +90029,7 @@ "type": "string" }, "stackType": { - "description": "The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified, IPV4_ONLY will be used.", + "description": "The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6, IPV6_ONLY. If not specified, IPV4_ONLY is used if the gateway IP version is IPV4, or IPV4_IPV6 if the gateway IP version is IPV6.", "enum": [ "IPV4_IPV6", "IPV4_ONLY", diff --git a/discovery/compute-v1.json b/discovery/compute-v1.json index 9518b041c9..937a1faa10 100644 --- a/discovery/compute-v1.json +++ b/discovery/compute-v1.json @@ -27980,7 +27980,7 @@ "regions": { "methods": { "get": { - "description": "Returns the specified Region resource. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request.", + "description": "Returns the specified Region resource. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request. This method fails if the quota information is unavailable for the region and if the organization policy constraint compute.requireBasicQuotaInResponse is enforced. This constraint, when enforced, disables the fail-open behaviour when quota information (the `items.quotas` field) is unavailable for the region. It is recommended to use the default setting for the constraint unless your application requires the fail-closed behaviour for this method.", "flatPath": "projects/{project}/regions/{region}", "httpMethod": "GET", "id": "compute.regions.get", @@ -37421,7 +37421,7 @@ } } }, - "revision": "20240618", + "revision": "20240707", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -40687,6 +40687,7 @@ "type": "integer" }, "usedBy": { + "description": "[Output Only] List of resources referencing given backend service.", "items": { "$ref": "BackendServiceUsedBy" }, @@ -41489,6 +41490,7 @@ "id": "BackendServiceUsedBy", "properties": { "reference": { + "description": "[Output Only] Server-defined URL for resources referencing given BackendService like UrlMaps, TargetTcpProxies, TargetSslProxies and ForwardingRule.", "type": "string" } }, @@ -42242,6 +42244,7 @@ "COMPUTE_OPTIMIZED_C3D", "COMPUTE_OPTIMIZED_H3", "GENERAL_PURPOSE", + "GENERAL_PURPOSE_C4", "GENERAL_PURPOSE_E2", "GENERAL_PURPOSE_N2", "GENERAL_PURPOSE_N2D", @@ -42272,6 +42275,7 @@ "", "", "", + "", "" ], "type": "string" @@ -50039,8 +50043,7 @@ "type": "array" }, "baseInstanceName": { - "description": "The base instance name to use for instances in this group. The value must be 1-58 characters long. Instances are named by appending a hyphen and a random four-character string to the base instance name. The base instance name must comply with RFC1035.", - "pattern": "[a-z][-a-z0-9]{0,57}", + "description": "The base instance name is a prefix that you want to attach to the names of all VMs in a MIG. The maximum character length is 58 and the name must comply with RFC1035 format. When a VM is created in the group, the MIG appends a hyphen and a random four-character string to the base instance name. If you want the MIG to assign sequential numbers instead of a random string, then end the base instance name with a hyphen followed by one or more hash symbols. The hash symbols indicate the number of digits. For example, a base instance name of \"vm-###\" results in \"vm-001\" as a VM name. @pattern [a-z](([-a-z0-9]{0,57})|([-a-z0-9]{0,52}-#{1,10}(\\\\[[0-9]{1,10}\\\\])?))", "type": "string" }, "creationTimestamp": { @@ -71222,6 +71225,11 @@ "description": "Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). You can only set the automatic restart option for standard instances. Preemptible instances cannot be automatically restarted. By default, this is set to true so an instance is automatically restarted if it is terminated by Compute Engine.", "type": "boolean" }, + "availabilityDomain": { + "description": "Specifies the availability domain to place the instance in. The value must be a number between 1 and the number of availability domains specified in the spread placement policy attached to the instance.", + "format": "int32", + "type": "integer" + }, "instanceTerminationAction": { "description": "Specifies the termination action for the instance.", "enum": [ @@ -82684,7 +82692,7 @@ "type": "string" }, "stackType": { - "description": "The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified, IPV4_ONLY will be used.", + "description": "The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6, IPV6_ONLY. If not specified, IPV4_ONLY is used if the gateway IP version is IPV4, or IPV4_IPV6 if the gateway IP version is IPV6.", "enum": [ "IPV4_IPV6", "IPV4_ONLY", diff --git a/discovery/connectors-v1.json b/discovery/connectors-v1.json index 26acbb8389..458d4968c0 100644 --- a/discovery/connectors-v1.json +++ b/discovery/connectors-v1.json @@ -2427,7 +2427,7 @@ } } }, - "revision": "20240625", + "revision": "20240708", "rootUrl": "https://connectors.googleapis.com/", "schemas": { "AuditConfig": { @@ -2600,7 +2600,7 @@ }, "omitQueryParams": { "description": "Optional. Omit query params from the redirect URI.", - "type": "string" + "type": "boolean" }, "scopes": { "description": "The scopes for which the user will authorize Google Cloud Connectors on the connector data source.", @@ -5892,7 +5892,7 @@ "type": "array" }, "valueSeparator": { - "description": "Required. Value separator.", + "description": "Required. Value separator. Only \",\" can be used for OAuth auth code flow scope field.", "type": "string" } }, @@ -6536,6 +6536,10 @@ ], "type": "string" }, + "defaultValue": { + "description": "The following field specifies the default value of the Parameter provided by the external system if a value is not provided.", + "type": "any" + }, "description": { "description": "A brief description of the field.", "type": "string" @@ -6547,6 +6551,10 @@ "jsonSchema": { "$ref": "JsonSchema", "description": "JsonSchema representation of this action's result" + }, + "nullable": { + "description": "Specifies whether a null value is allowed.", + "type": "boolean" } }, "type": "object" diff --git a/discovery/connectors-v2.json b/discovery/connectors-v2.json index 1da3a38be4..298e7636f8 100644 --- a/discovery/connectors-v2.json +++ b/discovery/connectors-v2.json @@ -660,7 +660,7 @@ } } }, - "revision": "20240619", + "revision": "20240708", "rootUrl": "https://connectors.googleapis.com/", "schemas": { "AccessCredentials": { @@ -2269,6 +2269,10 @@ ], "type": "string" }, + "defaultValue": { + "description": "The following field specifies the default value of the Parameter provided by the external system if a value is not provided.", + "type": "any" + }, "description": { "description": "A brief description of the metadata field.", "type": "string" @@ -2280,6 +2284,10 @@ "name": { "description": "Name of the metadata field.", "type": "string" + }, + "nullable": { + "description": "Specifies whether a null value is allowed.", + "type": "boolean" } }, "type": "object" diff --git a/discovery/contactcenteraiplatform-v1alpha1.json b/discovery/contactcenteraiplatform-v1alpha1.json index eb44085fd4..37b901c6db 100644 --- a/discovery/contactcenteraiplatform-v1alpha1.json +++ b/discovery/contactcenteraiplatform-v1alpha1.json @@ -512,7 +512,7 @@ } } }, - "revision": "20240624", + "revision": "20240621", "rootUrl": "https://contactcenteraiplatform.googleapis.com/", "schemas": { "AdminUser": { diff --git a/discovery/contactcenterinsights-v1.json b/discovery/contactcenterinsights-v1.json index 7d799fe621..822b271805 100644 --- a/discovery/contactcenterinsights-v1.json +++ b/discovery/contactcenterinsights-v1.json @@ -1474,7 +1474,7 @@ } } }, - "revision": "20240624", + "revision": "20240701", "rootUrl": "https://contactcenterinsights.googleapis.com/", "schemas": { "GoogleCloudContactcenterinsightsV1Analysis": { @@ -3806,6 +3806,20 @@ "query": { "description": "Query text. Article Search uses this to store the input query used to generate the search results.", "type": "string" + }, + "querySource": { + "description": "Query source for the answer.", + "enum": [ + "QUERY_SOURCE_UNSPECIFIED", + "AGENT_QUERY", + "SUGGESTED_QUERY" + ], + "enumDescriptions": [ + "Unknown query source.", + "The query is from agents.", + "The query is a query from previous suggestions, e.g. from a preceding SuggestKnowledgeAssist response." + ], + "type": "string" } }, "type": "object" @@ -6037,6 +6051,20 @@ "query": { "description": "Query text. Article Search uses this to store the input query used to generate the search results.", "type": "string" + }, + "querySource": { + "description": "Query source for the answer.", + "enum": [ + "QUERY_SOURCE_UNSPECIFIED", + "AGENT_QUERY", + "SUGGESTED_QUERY" + ], + "enumDescriptions": [ + "Unknown query source.", + "The query is from agents.", + "The query is a query from previous suggestions, e.g. from a preceding SuggestKnowledgeAssist response." + ], + "type": "string" } }, "type": "object" diff --git a/discovery/container-v1.json b/discovery/container-v1.json index 713284b93e..7e67fc14a3 100644 --- a/discovery/container-v1.json +++ b/discovery/container-v1.json @@ -2540,7 +2540,7 @@ } } }, - "revision": "20240608", + "revision": "20240619", "rootUrl": "https://container.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -2592,14 +2592,14 @@ "properties": { "maxPodsPerNode": { "$ref": "MaxPodsConstraint", - "description": "The maximum number of pods per node which use this pod network" + "description": "The maximum number of pods per node which use this pod network." }, "secondaryPodRange": { - "description": "The name of the secondary range on the subnet which provides IP address for this pod range", + "description": "The name of the secondary range on the subnet which provides IP address for this pod range.", "type": "string" }, "subnetwork": { - "description": "Name of the subnetwork where the additional pod network belongs", + "description": "Name of the subnetwork where the additional pod network belongs.", "type": "string" } }, @@ -2676,6 +2676,10 @@ "$ref": "NetworkPolicyConfig", "description": "Configuration for NetworkPolicy. This only tracks whether the addon is enabled or not on the Master, it does not track whether network policy is enabled for the nodes." }, + "rayOperatorConfig": { + "$ref": "RayOperatorConfig", + "description": "Optional. Configuration for Ray Operator addon." + }, "statefulHaConfig": { "$ref": "StatefulHAConfig", "description": "Optional. Configuration for the StatefulHA add-on." @@ -6272,6 +6276,47 @@ }, "type": "object" }, + "RayClusterLoggingConfig": { + "description": "RayClusterLoggingConfig specifies configuration of Ray logging.", + "id": "RayClusterLoggingConfig", + "properties": { + "enabled": { + "description": "Enable log collection for Ray clusters.", + "type": "boolean" + } + }, + "type": "object" + }, + "RayClusterMonitoringConfig": { + "description": "RayClusterMonitoringConfig specifies monitoring configuration for Ray clusters.", + "id": "RayClusterMonitoringConfig", + "properties": { + "enabled": { + "description": "Enable metrics collection for Ray clusters.", + "type": "boolean" + } + }, + "type": "object" + }, + "RayOperatorConfig": { + "description": "Configuration options for the Ray Operator add-on.", + "id": "RayOperatorConfig", + "properties": { + "enabled": { + "description": "Whether the Ray Operator addon is enabled for this cluster.", + "type": "boolean" + }, + "rayClusterLoggingConfig": { + "$ref": "RayClusterLoggingConfig", + "description": "Optional. Logging configuration for Ray clusters." + }, + "rayClusterMonitoringConfig": { + "$ref": "RayClusterMonitoringConfig", + "description": "Optional. Monitoring configuration for Ray clusters." + } + }, + "type": "object" + }, "RecurringTimeWindow": { "description": "Represents an arbitrary window of time that recurs.", "id": "RecurringTimeWindow", diff --git a/discovery/container-v1beta1.json b/discovery/container-v1beta1.json index 5812847424..b6694b1efc 100644 --- a/discovery/container-v1beta1.json +++ b/discovery/container-v1beta1.json @@ -2565,7 +2565,7 @@ } } }, - "revision": "20240618", + "revision": "20240619", "rootUrl": "https://container.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -2717,6 +2717,10 @@ "$ref": "NetworkPolicyConfig", "description": "Configuration for NetworkPolicy. This only tracks whether the addon is enabled or not on the Master, it does not track whether network policy is enabled for the nodes." }, + "rayOperatorConfig": { + "$ref": "RayOperatorConfig", + "description": "Optional. Configuration for Ray Operator addon." + }, "statefulHaConfig": { "$ref": "StatefulHAConfig", "description": "Optional. Configuration for the StatefulHA add-on." @@ -6792,6 +6796,47 @@ }, "type": "object" }, + "RayClusterLoggingConfig": { + "description": "RayClusterLoggingConfig specifies logging configuration for Ray clusters.", + "id": "RayClusterLoggingConfig", + "properties": { + "enabled": { + "description": "Enable log collection for Ray clusters.", + "type": "boolean" + } + }, + "type": "object" + }, + "RayClusterMonitoringConfig": { + "description": "RayClusterMonitoringConfig specifies monitoring configuration for Ray clusters.", + "id": "RayClusterMonitoringConfig", + "properties": { + "enabled": { + "description": "Enable metrics collection for Ray clusters.", + "type": "boolean" + } + }, + "type": "object" + }, + "RayOperatorConfig": { + "description": "Configuration options for the Ray Operator add-on.", + "id": "RayOperatorConfig", + "properties": { + "enabled": { + "description": "Whether the Ray addon is enabled for this cluster.", + "type": "boolean" + }, + "rayClusterLoggingConfig": { + "$ref": "RayClusterLoggingConfig", + "description": "Optional. Logging configuration for Ray clusters." + }, + "rayClusterMonitoringConfig": { + "$ref": "RayClusterMonitoringConfig", + "description": "Optional. Monitoring configuration for Ray clusters." + } + }, + "type": "object" + }, "RecurringTimeWindow": { "description": "Represents an arbitrary window of time that recurs.", "id": "RecurringTimeWindow", diff --git a/discovery/containeranalysis-v1.json b/discovery/containeranalysis-v1.json index 3fd786e2ff..87e77d6d34 100644 --- a/discovery/containeranalysis-v1.json +++ b/discovery/containeranalysis-v1.json @@ -1072,7 +1072,7 @@ } } }, - "revision": "20240625", + "revision": "20240704", "rootUrl": "https://containeranalysis.googleapis.com/", "schemas": { "AliasContext": { @@ -2968,26 +2968,6 @@ }, "type": "object" }, - "ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation": { - "description": "Represents a storage location in Cloud Storage", - "id": "ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation", - "properties": { - "bucket": { - "description": "Cloud Storage bucket. See https://cloud.google.com/storage/docs/naming#requirements", - "type": "string" - }, - "generation": { - "description": "Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.", - "format": "int64", - "type": "string" - }, - "object": { - "description": "Cloud Storage object. See https://cloud.google.com/storage/docs/naming#objectnames", - "type": "string" - } - }, - "type": "object" - }, "ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig": { "description": "GitConfig is a configuration for git operations.", "id": "ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig", @@ -3004,12 +2984,8 @@ "id": "ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig", "properties": { "proxySecretVersionName": { - "description": "SecretVersion resource of the HTTP proxy URL. The proxy URL should be in format protocol://@]proxyhost[:port].", + "description": "SecretVersion resource of the HTTP proxy URL. The Service Account used in the build (either the default Service Account or user-specified Service Account) should have `secretmanager.versions.access` permissions on this secret. The proxy URL should be in format `protocol://@]proxyhost[:port]`.", "type": "string" - }, - "proxySslCaInfo": { - "$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation", - "description": "Optional. Cloud Storage object storing the certificate to use with the HTTP proxy." } }, "type": "object" @@ -3748,10 +3724,6 @@ "sbomStatus": { "$ref": "SBOMStatus", "description": "The status of an SBOM generation." - }, - "vulnerabilityAttestation": { - "$ref": "VulnerabilityAttestation", - "description": "The status of an vulnerability attestation generation." } }, "type": "object" @@ -5905,36 +5877,6 @@ }, "type": "object" }, - "VulnerabilityAttestation": { - "description": "The status of an vulnerability attestation generation.", - "id": "VulnerabilityAttestation", - "properties": { - "error": { - "description": "If failure, the error reason for why the attestation generation failed.", - "type": "string" - }, - "lastAttemptTime": { - "description": "The last time we attempted to generate an attestation.", - "format": "google-datetime", - "type": "string" - }, - "state": { - "description": "The success/failure state of the latest attestation attempt.", - "enum": [ - "VULNERABILITY_ATTESTATION_STATE_UNSPECIFIED", - "SUCCESS", - "FAILURE" - ], - "enumDescriptions": [ - "Default unknown state.", - "Attestation was successfully generated and stored.", - "Attestation was unsuccessfully generated and stored." - ], - "type": "string" - } - }, - "type": "object" - }, "VulnerabilityNote": { "description": "A security vulnerability that can be found in resources.", "id": "VulnerabilityNote", diff --git a/discovery/containeranalysis-v1alpha1.json b/discovery/containeranalysis-v1alpha1.json index 3de1414253..97ccd278e8 100644 --- a/discovery/containeranalysis-v1alpha1.json +++ b/discovery/containeranalysis-v1alpha1.json @@ -17,9 +17,9 @@ "documentationLink": "https://cloud.google.com/container-analysis/api/reference/rest/", "endpoints": [ { - "location": "me-central2", + "description": "Regional Endpoint", "endpointUrl": "https://containeranalysis.me-central2.rep.googleapis.com/", - "description": "Regional Endpoint" + "location": "me-central2" } ], "fullyEncodeReservedExpansion": true, @@ -1240,7 +1240,7 @@ } } }, - "revision": "20240625", + "revision": "20240704", "rootUrl": "https://containeranalysis.googleapis.com/", "schemas": { "AnalysisCompleted": { @@ -2942,26 +2942,6 @@ }, "type": "object" }, - "ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation": { - "description": "Represents a storage location in Cloud Storage", - "id": "ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation", - "properties": { - "bucket": { - "description": "Cloud Storage bucket. See https://cloud.google.com/storage/docs/naming#requirements", - "type": "string" - }, - "generation": { - "description": "Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.", - "format": "int64", - "type": "string" - }, - "object": { - "description": "Cloud Storage object. See https://cloud.google.com/storage/docs/naming#objectnames", - "type": "string" - } - }, - "type": "object" - }, "ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig": { "description": "GitConfig is a configuration for git operations.", "id": "ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig", @@ -2978,12 +2958,8 @@ "id": "ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig", "properties": { "proxySecretVersionName": { - "description": "SecretVersion resource of the HTTP proxy URL. The proxy URL should be in format protocol://@]proxyhost[:port].", + "description": "SecretVersion resource of the HTTP proxy URL. The Service Account used in the build (either the default Service Account or user-specified Service Account) should have `secretmanager.versions.access` permissions on this secret. The proxy URL should be in format `protocol://@]proxyhost[:port]`.", "type": "string" - }, - "proxySslCaInfo": { - "$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation", - "description": "Optional. Cloud Storage object storing the certificate to use with the HTTP proxy." } }, "type": "object" diff --git a/discovery/containeranalysis-v1beta1.json b/discovery/containeranalysis-v1beta1.json index 630b59af54..a4f1633937 100644 --- a/discovery/containeranalysis-v1beta1.json +++ b/discovery/containeranalysis-v1beta1.json @@ -17,9 +17,9 @@ "documentationLink": "https://cloud.google.com/container-analysis/api/reference/rest/", "endpoints": [ { - "location": "me-central2", "description": "Regional Endpoint", - "endpointUrl": "https://containeranalysis.me-central2.rep.googleapis.com/" + "endpointUrl": "https://containeranalysis.me-central2.rep.googleapis.com/", + "location": "me-central2" } ], "fullyEncodeReservedExpansion": true, @@ -1128,7 +1128,7 @@ } } }, - "revision": "20240625", + "revision": "20240704", "rootUrl": "https://containeranalysis.googleapis.com/", "schemas": { "AliasContext": { @@ -2924,26 +2924,6 @@ }, "type": "object" }, - "ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation": { - "description": "Represents a storage location in Cloud Storage", - "id": "ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation", - "properties": { - "bucket": { - "description": "Cloud Storage bucket. See https://cloud.google.com/storage/docs/naming#requirements", - "type": "string" - }, - "generation": { - "description": "Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.", - "format": "int64", - "type": "string" - }, - "object": { - "description": "Cloud Storage object. See https://cloud.google.com/storage/docs/naming#objectnames", - "type": "string" - } - }, - "type": "object" - }, "ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig": { "description": "GitConfig is a configuration for git operations.", "id": "ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig", @@ -2960,12 +2940,8 @@ "id": "ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig", "properties": { "proxySecretVersionName": { - "description": "SecretVersion resource of the HTTP proxy URL. The proxy URL should be in format protocol://@]proxyhost[:port].", + "description": "SecretVersion resource of the HTTP proxy URL. The Service Account used in the build (either the default Service Account or user-specified Service Account) should have `secretmanager.versions.access` permissions on this secret. The proxy URL should be in format `protocol://@]proxyhost[:port]`.", "type": "string" - }, - "proxySslCaInfo": { - "$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation", - "description": "Optional. Cloud Storage object storing the certificate to use with the HTTP proxy." } }, "type": "object" diff --git a/discovery/content-v2.1.json b/discovery/content-v2.1.json index c0ec1726d5..758d82c74d 100644 --- a/discovery/content-v2.1.json +++ b/discovery/content-v2.1.json @@ -6219,7 +6219,7 @@ } } }, - "revision": "20240614", + "revision": "20240609", "rootUrl": "https://shoppingcontent.googleapis.com/", "schemas": { "Account": { diff --git a/discovery/css-v1.json b/discovery/css-v1.json new file mode 100644 index 0000000000..fae543c5dd --- /dev/null +++ b/discovery/css-v1.json @@ -0,0 +1,1216 @@ +{ + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/content": { + "description": "Manage your product listings and accounts for Google Shopping" + } + } + } + }, + "basePath": "", + "baseUrl": "https://css.googleapis.com/", + "batchPath": "batch", + "canonicalName": "Css", + "description": "Programmatically manage your Comparison Shopping Service (CSS) account data at scale.", + "discoveryVersion": "v1", + "documentationLink": "https://developers.google.com/comparison-shopping-services/api/overview", + "fullyEncodeReservedExpansion": true, + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "id": "css:v1", + "kind": "discovery#restDescription", + "mtlsRootUrl": "https://css.mtls.googleapis.com/", + "name": "css", + "ownerDomain": "google.com", + "ownerName": "Google", + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "enum": [ + "1", + "2" + ], + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, + "alt": { + "default": "json", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "type": "string" + }, + "callback": { + "description": "JSONP", + "location": "query", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" + }, + "quotaUser": { + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", + "location": "query", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "location": "query", + "type": "string" + } + }, + "protocol": "rest", + "resources": { + "accounts": { + "methods": { + "get": { + "description": "Retrieves a single CSS/MC account by ID.", + "flatPath": "v1/accounts/{accountsId}", + "httpMethod": "GET", + "id": "css.accounts.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the managed CSS/MC account. Format: accounts/{account}", + "location": "path", + "pattern": "^accounts/[^/]+$", + "required": true, + "type": "string" + }, + "parent": { + "description": "Optional. Only required when retrieving MC account information. The CSS domain that is the parent resource of the MC account. Format: accounts/{account}", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Account" + }, + "scopes": [ + "https://www.googleapis.com/auth/content" + ] + }, + "listChildAccounts": { + "description": "Lists all the accounts under the specified CSS account ID, and optionally filters by label ID and account name.", + "flatPath": "v1/accounts/{accountsId}:listChildAccounts", + "httpMethod": "GET", + "id": "css.accounts.listChildAccounts", + "parameterOrder": [ + "parent" + ], + "parameters": { + "fullName": { + "description": "If set, only the MC accounts with the given name (case sensitive) will be returned.", + "location": "query", + "type": "string" + }, + "labelId": { + "description": "If set, only the MC accounts with the given label ID will be returned.", + "format": "int64", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of accounts to return. The service may return fewer than this value. If unspecified, at most 50 accounts will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token, received from a previous `ListChildAccounts` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListChildAccounts` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent account. Must be a CSS group or domain. Format: accounts/{account}", + "location": "path", + "pattern": "^accounts/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}:listChildAccounts", + "response": { + "$ref": "ListChildAccountsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/content" + ] + }, + "updateLabels": { + "description": "Updates labels assigned to CSS/MC accounts by a CSS domain.", + "flatPath": "v1/accounts/{accountsId}:updateLabels", + "httpMethod": "POST", + "id": "css.accounts.updateLabels", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The label resource name. Format: accounts/{account}", + "location": "path", + "pattern": "^accounts/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:updateLabels", + "request": { + "$ref": "UpdateAccountLabelsRequest" + }, + "response": { + "$ref": "Account" + }, + "scopes": [ + "https://www.googleapis.com/auth/content" + ] + } + }, + "resources": { + "cssProductInputs": { + "methods": { + "delete": { + "description": "Deletes a CSS Product input from your CSS Center account. After a delete it may take several minutes until the input is no longer available.", + "flatPath": "v1/accounts/{accountsId}/cssProductInputs/{cssProductInputsId}", + "httpMethod": "DELETE", + "id": "css.accounts.cssProductInputs.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the CSS product input resource to delete. Format: accounts/{account}/cssProductInputs/{css_product_input}", + "location": "path", + "pattern": "^accounts/[^/]+/cssProductInputs/[^/]+$", + "required": true, + "type": "string" + }, + "supplementalFeedId": { + "description": "The Content API Supplemental Feed ID. The field must not be set if the action applies to a primary feed. If the field is set, then product action applies to a supplemental feed instead of primary Content API feed.", + "format": "int64", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/content" + ] + }, + "insert": { + "description": "Uploads a CssProductInput to your CSS Center account. If an input with the same contentLanguage, identity, feedLabel and feedId already exists, this method replaces that entry. After inserting, updating, or deleting a CSS Product input, it may take several minutes before the processed CSS Product can be retrieved.", + "flatPath": "v1/accounts/{accountsId}/cssProductInputs:insert", + "httpMethod": "POST", + "id": "css.accounts.cssProductInputs.insert", + "parameterOrder": [ + "parent" + ], + "parameters": { + "feedId": { + "description": "Required. The primary or supplemental feed id. If CSS Product already exists and feed id provided is different, then the CSS Product will be moved to a new feed. Note: For now, CSSs do not need to provide feed ids as we create feeds on the fly. We do not have supplemental feed support for CSS Products yet.", + "format": "int64", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The account where this CSS Product will be inserted. Format: accounts/{account}", + "location": "path", + "pattern": "^accounts/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/cssProductInputs:insert", + "request": { + "$ref": "CssProductInput" + }, + "response": { + "$ref": "CssProductInput" + }, + "scopes": [ + "https://www.googleapis.com/auth/content" + ] + } + } + }, + "cssProducts": { + "methods": { + "get": { + "description": "Retrieves the processed CSS Product from your CSS Center account. After inserting, updating, or deleting a product input, it may take several minutes before the updated final product can be retrieved.", + "flatPath": "v1/accounts/{accountsId}/cssProducts/{cssProductsId}", + "httpMethod": "GET", + "id": "css.accounts.cssProducts.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the CSS product to retrieve.", + "location": "path", + "pattern": "^accounts/[^/]+/cssProducts/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "CssProduct" + }, + "scopes": [ + "https://www.googleapis.com/auth/content" + ] + }, + "list": { + "description": "Lists the processed CSS Products in your CSS Center account. The response might contain fewer items than specified by pageSize. Rely on pageToken to determine if there are more items to be requested. After inserting, updating, or deleting a CSS product input, it may take several minutes before the updated processed CSS product can be retrieved.", + "flatPath": "v1/accounts/{accountsId}/cssProducts", + "httpMethod": "GET", + "id": "css.accounts.cssProducts.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of CSS Products to return. The service may return fewer than this value. The maximum value is 1000; values above 1000 will be coerced to 1000. If unspecified, the maximum number of CSS products will be returned.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token, received from a previous `ListCssProducts` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListCssProducts` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The account/domain to list processed CSS Products for. Format: accounts/{account}", + "location": "path", + "pattern": "^accounts/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/cssProducts", + "response": { + "$ref": "ListCssProductsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/content" + ] + } + } + }, + "labels": { + "methods": { + "create": { + "description": "Creates a new label, not assigned to any account.", + "flatPath": "v1/accounts/{accountsId}/labels", + "httpMethod": "POST", + "id": "css.accounts.labels.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent account. Format: accounts/{account}", + "location": "path", + "pattern": "^accounts/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/labels", + "request": { + "$ref": "AccountLabel" + }, + "response": { + "$ref": "AccountLabel" + }, + "scopes": [ + "https://www.googleapis.com/auth/content" + ] + }, + "delete": { + "description": "Deletes a label and removes it from all accounts to which it was assigned.", + "flatPath": "v1/accounts/{accountsId}/labels/{labelsId}", + "httpMethod": "DELETE", + "id": "css.accounts.labels.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the label to delete. Format: accounts/{account}/labels/{label}", + "location": "path", + "pattern": "^accounts/[^/]+/labels/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/content" + ] + }, + "list": { + "description": "Lists the labels assigned to an account.", + "flatPath": "v1/accounts/{accountsId}/labels", + "httpMethod": "GET", + "id": "css.accounts.labels.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of labels to return. The service may return fewer than this value. If unspecified, at most 50 labels will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token, received from a previous `ListAccountLabels` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAccountLabels` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent account. Format: accounts/{account}", + "location": "path", + "pattern": "^accounts/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/labels", + "response": { + "$ref": "ListAccountLabelsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/content" + ] + }, + "patch": { + "description": "Updates a label.", + "flatPath": "v1/accounts/{accountsId}/labels/{labelsId}", + "httpMethod": "PATCH", + "id": "css.accounts.labels.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The resource name of the label. Format: accounts/{account}/labels/{label}", + "location": "path", + "pattern": "^accounts/[^/]+/labels/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "AccountLabel" + }, + "response": { + "$ref": "AccountLabel" + }, + "scopes": [ + "https://www.googleapis.com/auth/content" + ] + } + } + } + } + } + }, + "revision": "20240614", + "rootUrl": "https://css.googleapis.com/", + "schemas": { + "Account": { + "description": "Information about CSS/MC account.", + "id": "Account", + "properties": { + "accountType": { + "description": "Output only. The type of this account.", + "enum": [ + "ACCOUNT_TYPE_UNSPECIFIED", + "CSS_GROUP", + "CSS_DOMAIN", + "MC_PRIMARY_CSS_MCA", + "MC_CSS_MCA", + "MC_MARKETPLACE_MCA", + "MC_OTHER_MCA", + "MC_STANDALONE", + "MC_MCA_SUBACCOUNT" + ], + "enumDescriptions": [ + "Unknown account type.", + "CSS group account.", + "CSS domain account.", + "MC Primary CSS MCA account.", + "MC CSS MCA account.", + "MC Marketplace MCA account.", + "MC Other MCA account.", + "MC Standalone account.", + "MC MCA sub-account." + ], + "readOnly": true, + "type": "string" + }, + "automaticLabelIds": { + "description": "Automatically created label IDs assigned to the MC account by CSS Center.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "displayName": { + "description": "The CSS/MC account's short display name.", + "type": "string" + }, + "fullName": { + "description": "Output only. Immutable. The CSS/MC account's full name.", + "readOnly": true, + "type": "string" + }, + "homepageUri": { + "description": "Output only. Immutable. The CSS/MC account's homepage.", + "readOnly": true, + "type": "string" + }, + "labelIds": { + "description": "Manually created label IDs assigned to the CSS/MC account by a CSS parent account.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "The label resource name. Format: accounts/{account}", + "type": "string" + }, + "parent": { + "description": "The CSS/MC account's parent resource. CSS group for CSS domains; CSS domain for MC accounts. Returned only if the user has access to the parent account.", + "type": "string" + } + }, + "type": "object" + }, + "AccountLabel": { + "description": "Label assigned by CSS domain or CSS group to one of its sub-accounts.", + "id": "AccountLabel", + "properties": { + "accountId": { + "description": "Output only. The ID of account this label belongs to.", + "format": "int64", + "readOnly": true, + "type": "string" + }, + "description": { + "description": "The description of this label.", + "type": "string" + }, + "displayName": { + "description": "The display name of this label.", + "type": "string" + }, + "labelId": { + "description": "Output only. The ID of the label.", + "format": "int64", + "readOnly": true, + "type": "string" + }, + "labelType": { + "description": "Output only. The type of this label.", + "enum": [ + "LABEL_TYPE_UNSPECIFIED", + "MANUAL", + "AUTOMATIC" + ], + "enumDescriptions": [ + "Unknown label type.", + "Indicates that the label was created manually.", + "Indicates that the label was created automatically by CSS Center." + ], + "readOnly": true, + "type": "string" + }, + "name": { + "description": "The resource name of the label. Format: accounts/{account}/labels/{label}", + "type": "string" + } + }, + "type": "object" + }, + "Attributes": { + "description": "Attributes for CSS Product.", + "id": "Attributes", + "properties": { + "additionalImageLinks": { + "description": "Additional URL of images of the item.", + "items": { + "type": "string" + }, + "type": "array" + }, + "adult": { + "description": "Set to true if the item is targeted towards adults.", + "type": "boolean" + }, + "ageGroup": { + "description": "Target age group of the item.", + "type": "string" + }, + "brand": { + "description": "Product Related Attributes.[14-36] Brand of the item.", + "type": "string" + }, + "certifications": { + "description": "A list of certificates claimed by the CSS for the given product.", + "items": { + "$ref": "Certification" + }, + "type": "array" + }, + "color": { + "description": "Color of the item.", + "type": "string" + }, + "cppAdsRedirect": { + "description": "Allows advertisers to override the item URL when the product is shown within the context of Product Ads.", + "type": "string" + }, + "cppLink": { + "description": "URL directly linking to your the Product Detail Page of the CSS.", + "type": "string" + }, + "cppMobileLink": { + "description": "URL for the mobile-optimized version of the Product Detail Page of the CSS.", + "type": "string" + }, + "customLabel0": { + "description": "Custom label 0 for custom grouping of items in a Shopping campaign.", + "type": "string" + }, + "customLabel1": { + "description": "Custom label 1 for custom grouping of items in a Shopping campaign.", + "type": "string" + }, + "customLabel2": { + "description": "Custom label 2 for custom grouping of items in a Shopping campaign.", + "type": "string" + }, + "customLabel3": { + "description": "Custom label 3 for custom grouping of items in a Shopping campaign.", + "type": "string" + }, + "customLabel4": { + "description": "Custom label 4 for custom grouping of items in a Shopping campaign.", + "type": "string" + }, + "description": { + "description": "Description of the item.", + "type": "string" + }, + "excludedDestinations": { + "description": "The list of destinations to exclude for this target (corresponds to unchecked check boxes in Merchant Center).", + "items": { + "type": "string" + }, + "type": "array" + }, + "expirationDate": { + "description": "Date on which the item should expire, as specified upon insertion, in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format. The actual expiration date is exposed in `productstatuses` as [googleExpirationDate](https://support.google.com/merchants/answer/6324499) and might be earlier if `expirationDate` is too far in the future. Note: It may take 2+ days from the expiration date for the item to actually get deleted.", + "format": "google-datetime", + "type": "string" + }, + "gender": { + "description": "Target gender of the item.", + "type": "string" + }, + "googleProductCategory": { + "description": "Google's category of the item (see [Google product taxonomy](https://support.google.com/merchants/answer/1705911)). When querying products, this field will contain the user provided value. There is currently no way to get back the auto assigned google product categories through the API.", + "type": "string" + }, + "gtin": { + "description": "Global Trade Item Number ([GTIN](https://support.google.com/merchants/answer/188494#gtin)) of the item.", + "type": "string" + }, + "headlineOfferCondition": { + "description": "Condition of the headline offer.", + "type": "string" + }, + "headlineOfferLink": { + "description": "Link to the headline offer.", + "type": "string" + }, + "headlineOfferMobileLink": { + "description": "Mobile Link to the headline offer.", + "type": "string" + }, + "headlineOfferPrice": { + "$ref": "Price", + "description": "Headline Price of the aggregate offer." + }, + "headlineOfferShippingPrice": { + "$ref": "Price", + "description": "Headline Price of the aggregate offer." + }, + "highPrice": { + "$ref": "Price", + "description": "High Price of the aggregate offer." + }, + "imageLink": { + "description": "URL of an image of the item.", + "type": "string" + }, + "includedDestinations": { + "description": "The list of destinations to include for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included unless provided in `excludedDestinations`.", + "items": { + "type": "string" + }, + "type": "array" + }, + "isBundle": { + "description": "Whether the item is a merchant-defined bundle. A bundle is a custom grouping of different products sold by a merchant for a single price.", + "type": "boolean" + }, + "itemGroupId": { + "description": "Shared identifier for all variants of the same product.", + "type": "string" + }, + "lowPrice": { + "$ref": "Price", + "description": "Low Price of the aggregate offer." + }, + "material": { + "description": "The material of which the item is made.", + "type": "string" + }, + "mpn": { + "description": "Manufacturer Part Number ([MPN](https://support.google.com/merchants/answer/188494#mpn)) of the item.", + "type": "string" + }, + "multipack": { + "description": "The number of identical products in a merchant-defined multipack.", + "format": "int64", + "type": "string" + }, + "numberOfOffers": { + "description": "The number of aggregate offers.", + "format": "int64", + "type": "string" + }, + "pattern": { + "description": "The item's pattern (e.g. polka dots).", + "type": "string" + }, + "pause": { + "description": "Publication of this item will be temporarily paused.", + "type": "string" + }, + "productDetails": { + "description": "Technical specification or additional product details.", + "items": { + "$ref": "ProductDetail" + }, + "type": "array" + }, + "productHeight": { + "$ref": "ProductDimension", + "description": "The height of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive)." + }, + "productHighlights": { + "description": "Bullet points describing the most relevant highlights of a product.", + "items": { + "type": "string" + }, + "type": "array" + }, + "productLength": { + "$ref": "ProductDimension", + "description": "The length of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive)." + }, + "productTypes": { + "description": "Categories of the item (formatted as in [products data specification](https://support.google.com/merchants/answer/6324406)).", + "items": { + "type": "string" + }, + "type": "array" + }, + "productWeight": { + "$ref": "ProductWeight", + "description": "The weight of the product in the units provided. The value must be between 0 (exclusive) and 2000 (inclusive)." + }, + "productWidth": { + "$ref": "ProductDimension", + "description": "The width of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive)." + }, + "size": { + "description": "Size of the item. Only one value is allowed. For variants with different sizes, insert a separate product for each size with the same `itemGroupId` value (see [https://support.google.com/merchants/answer/6324492](size definition)).", + "type": "string" + }, + "sizeSystem": { + "description": "System in which the size is specified. Recommended for apparel items.", + "type": "string" + }, + "sizeTypes": { + "description": "The cut of the item. It can be used to represent combined size types for apparel items. Maximum two of size types can be provided (see [https://support.google.com/merchants/answer/6324497](size type)).", + "items": { + "type": "string" + }, + "type": "array" + }, + "title": { + "description": "Title of the item.", + "type": "string" + } + }, + "type": "object" + }, + "Certification": { + "description": "The certification for the product.", + "id": "Certification", + "properties": { + "authority": { + "description": "Name of the certification body.", + "type": "string" + }, + "code": { + "description": "A unique code to identify the certification.", + "type": "string" + }, + "name": { + "description": "Name of the certification.", + "type": "string" + } + }, + "type": "object" + }, + "CssProduct": { + "description": "The processed CSS Product(a.k.a Aggregate Offer internally).", + "id": "CssProduct", + "properties": { + "attributes": { + "$ref": "Attributes", + "description": "Output only. A list of product attributes.", + "readOnly": true + }, + "contentLanguage": { + "description": "Output only. The two-letter [ISO 639-1](http://en.wikipedia.org/wiki/ISO_639-1) language code for the product.", + "readOnly": true, + "type": "string" + }, + "cssProductStatus": { + "$ref": "CssProductStatus", + "description": "Output only. The status of a product, data validation issues, that is, information about a product computed asynchronously.", + "readOnly": true + }, + "customAttributes": { + "description": "Output only. A list of custom (CSS-provided) attributes. It can also be used to submit any attribute of the feed specification in its generic form (for example, `{ \"name\": \"size type\", \"value\": \"regular\" }`). This is useful for submitting attributes not explicitly exposed by the API, such as additional attributes used for Buy on Google.", + "items": { + "$ref": "CustomAttribute" + }, + "readOnly": true, + "type": "array" + }, + "feedLabel": { + "description": "Output only. The feed label for the product.", + "readOnly": true, + "type": "string" + }, + "name": { + "description": "The name of the CSS Product. Format: `\"accounts/{account}/cssProducts/{css_product}\"`", + "type": "string" + }, + "rawProvidedId": { + "description": "Output only. Your unique raw identifier for the product.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "CssProductInput": { + "description": "This resource represents input data you submit for a CSS Product, not the processed CSS Product that you see in CSS Center, in Shopping Ads, or across Google surfaces.", + "id": "CssProductInput", + "properties": { + "attributes": { + "$ref": "Attributes", + "description": "A list of CSS Product attributes." + }, + "contentLanguage": { + "description": "Required. The two-letter [ISO 639-1](http://en.wikipedia.org/wiki/ISO_639-1) language code for the CSS Product.", + "type": "string" + }, + "customAttributes": { + "description": "A list of custom (CSS-provided) attributes. It can also be used for submitting any attribute of the feed specification in its generic form (for example: `{ \"name\": \"size type\", \"value\": \"regular\" }`). This is useful for submitting attributes not explicitly exposed by the API, such as additional attributes used for Buy on Google.", + "items": { + "$ref": "CustomAttribute" + }, + "type": "array" + }, + "feedLabel": { + "description": "Required. The [feed label](https://developers.google.com/shopping-content/guides/products/feed-labels) for the CSS Product. Feed Label is synonymous to \"target country\" and hence should always be a valid region code. For example: 'DE' for Germany, 'FR' for France.", + "type": "string" + }, + "finalName": { + "description": "Output only. The name of the processed CSS Product. Format: `accounts/{account}/cssProducts/{css_product}` \"", + "readOnly": true, + "type": "string" + }, + "freshnessTime": { + "description": "Represents the existing version (freshness) of the CSS Product, which can be used to preserve the right order when multiple updates are done at the same time. This field must not be set to the future time. If set, the update is prevented if a newer version of the item already exists in our system (that is the last update time of the existing CSS products is later than the freshness time set in the update). If the update happens, the last update time is then set to this freshness time. If not set, the update will not be prevented and the last update time will default to when this request was received by the CSS API. If the operation is prevented, the aborted exception will be thrown.", + "format": "google-datetime", + "type": "string" + }, + "name": { + "description": "The name of the CSS Product input. Format: `accounts/{account}/cssProductInputs/{css_product_input}`", + "type": "string" + }, + "rawProvidedId": { + "description": "Required. Your unique identifier for the CSS Product. This is the same for the CSS Product input and processed CSS Product. We only allow ids with alphanumerics, underscores and dashes. See the [products feed specification](https://support.google.com/merchants/answer/188494#id) for details.", + "type": "string" + } + }, + "type": "object" + }, + "CssProductStatus": { + "description": "The status of the Css Product, data validation issues, that is, information about the Css Product computed asynchronously.", + "id": "CssProductStatus", + "properties": { + "creationDate": { + "description": "Date on which the item has been created, in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format.", + "format": "google-datetime", + "type": "string" + }, + "destinationStatuses": { + "description": "The intended destinations for the product.", + "items": { + "$ref": "DestinationStatus" + }, + "type": "array" + }, + "googleExpirationDate": { + "description": "Date on which the item expires, in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format.", + "format": "google-datetime", + "type": "string" + }, + "itemLevelIssues": { + "description": "A list of all issues associated with the product.", + "items": { + "$ref": "ItemLevelIssue" + }, + "type": "array" + }, + "lastUpdateDate": { + "description": "Date on which the item has been last updated, in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "CustomAttribute": { + "description": "A message that represents custom attributes. Exactly one of `value` or `group_values` must not be empty.", + "id": "CustomAttribute", + "properties": { + "groupValues": { + "description": "Subattributes within this attribute group. If `group_values` is not empty, `value` must be empty.", + "items": { + "$ref": "CustomAttribute" + }, + "type": "array" + }, + "name": { + "description": "The name of the attribute.", + "type": "string" + }, + "value": { + "description": "The value of the attribute. If `value` is not empty, `group_values` must be empty.", + "type": "string" + } + }, + "type": "object" + }, + "DestinationStatus": { + "description": "The destination status of the product status.", + "id": "DestinationStatus", + "properties": { + "approvedCountries": { + "description": "List of country codes (ISO 3166-1 alpha-2) where the aggregate offer is approved.", + "items": { + "type": "string" + }, + "type": "array" + }, + "destination": { + "description": "The name of the destination", + "type": "string" + }, + "disapprovedCountries": { + "description": "List of country codes (ISO 3166-1 alpha-2) where the aggregate offer is disapproved.", + "items": { + "type": "string" + }, + "type": "array" + }, + "pendingCountries": { + "description": "List of country codes (ISO 3166-1 alpha-2) where the aggregate offer is pending approval.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "Empty": { + "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", + "id": "Empty", + "properties": {}, + "type": "object" + }, + "ItemLevelIssue": { + "description": "The ItemLevelIssue of the product status.", + "id": "ItemLevelIssue", + "properties": { + "applicableCountries": { + "description": "List of country codes (ISO 3166-1 alpha-2) where issue applies to the aggregate offer.", + "items": { + "type": "string" + }, + "type": "array" + }, + "attribute": { + "description": "The attribute's name, if the issue is caused by a single attribute.", + "type": "string" + }, + "code": { + "description": "The error code of the issue.", + "type": "string" + }, + "description": { + "description": "A short issue description in English.", + "type": "string" + }, + "destination": { + "description": "The destination the issue applies to.", + "type": "string" + }, + "detail": { + "description": "A detailed issue description in English.", + "type": "string" + }, + "documentation": { + "description": "The URL of a web page to help with resolving this issue.", + "type": "string" + }, + "resolution": { + "description": "Whether the issue can be resolved by the merchant.", + "type": "string" + }, + "servability": { + "description": "How this issue affects serving of the aggregate offer.", + "type": "string" + } + }, + "type": "object" + }, + "ListAccountLabelsResponse": { + "description": "Response message for the `ListAccountLabels` method.", + "id": "ListAccountLabelsResponse", + "properties": { + "accountLabels": { + "description": "The labels from the specified account.", + "items": { + "$ref": "AccountLabel" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, + "ListChildAccountsResponse": { + "description": "Response message for the `ListChildAccounts` method.", + "id": "ListChildAccountsResponse", + "properties": { + "accounts": { + "description": "The CSS/MC accounts returned for the specified CSS parent account.", + "items": { + "$ref": "Account" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, + "ListCssProductsResponse": { + "description": "Response message for the ListCssProducts method.", + "id": "ListCssProductsResponse", + "properties": { + "cssProducts": { + "description": "The processed CSS products from the specified account. These are your processed CSS products after applying rules and supplemental feeds.", + "items": { + "$ref": "CssProduct" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, + "Price": { + "description": "The price represented as a number and currency.", + "id": "Price", + "properties": { + "amountMicros": { + "description": "The price represented as a number in micros (1 million micros is an equivalent to one's currency standard unit, for example, 1 USD = 1000000 micros).", + "format": "int64", + "type": "string" + }, + "currencyCode": { + "description": "The currency of the price using three-letter acronyms according to [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217).", + "type": "string" + } + }, + "type": "object" + }, + "ProductDetail": { + "description": "The product details.", + "id": "ProductDetail", + "properties": { + "attributeName": { + "description": "The name of the product detail.", + "type": "string" + }, + "attributeValue": { + "description": "The value of the product detail.", + "type": "string" + }, + "sectionName": { + "description": "The section header used to group a set of product details.", + "type": "string" + } + }, + "type": "object" + }, + "ProductDimension": { + "description": "The dimension of the product.", + "id": "ProductDimension", + "properties": { + "unit": { + "description": "Required. The dimension units. Acceptable values are: * \"`in`\" * \"`cm`\"", + "type": "string" + }, + "value": { + "description": "Required. The dimension value represented as a number. The value can have a maximum precision of four decimal places.", + "format": "double", + "type": "number" + } + }, + "type": "object" + }, + "ProductWeight": { + "description": "The weight of the product.", + "id": "ProductWeight", + "properties": { + "unit": { + "description": "Required. The weight unit. Acceptable values are: * \"`g`\" * \"`kg`\" * \"`oz`\" * \"`lb`\"", + "type": "string" + }, + "value": { + "description": "Required. The weight represented as a number. The weight can have a maximum precision of four decimal places.", + "format": "double", + "type": "number" + } + }, + "type": "object" + }, + "UpdateAccountLabelsRequest": { + "description": "The request message for the `UpdateLabels` method.", + "id": "UpdateAccountLabelsRequest", + "properties": { + "labelIds": { + "description": "The list of label IDs to overwrite the existing account label IDs. If the list is empty, all currently assigned label IDs will be deleted.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "parent": { + "description": "Optional. Only required when updating MC account labels. The CSS domain that is the parent resource of the MC account. Format: accounts/{account}", + "type": "string" + } + }, + "type": "object" + } + }, + "servicePath": "", + "title": "CSS API", + "version": "v1", + "version_module": true +} \ No newline at end of file diff --git a/discovery/customsearch-v1.json b/discovery/customsearch-v1.json index 2b16e28265..f4d2c6a1f0 100644 --- a/discovery/customsearch-v1.json +++ b/discovery/customsearch-v1.json @@ -702,7 +702,7 @@ } } }, - "revision": "20240430", + "revision": "20240417", "rootUrl": "https://customsearch.googleapis.com/", "schemas": { "Promotion": { diff --git a/discovery/dataflow-v1b3.json b/discovery/dataflow-v1b3.json index 9083259d4c..eb9ab895c1 100644 --- a/discovery/dataflow-v1b3.json +++ b/discovery/dataflow-v1b3.json @@ -7,9 +7,6 @@ }, "https://www.googleapis.com/auth/compute": { "description": "View and manage your Google Compute Engine resources" - }, - "https://www.googleapis.com/auth/compute.readonly": { - "description": "View your Google Compute Engine resources" } } } @@ -23,29 +20,79 @@ "documentationLink": "https://cloud.google.com/dataflow", "endpoints": [ { + "description": "Regional Endpoint", "endpointUrl": "https://dataflow.europe-west3.rep.googleapis.com/", - "location": "europe-west3", - "description": "Regional Endpoint" + "location": "europe-west3" }, { + "description": "Regional Endpoint", "endpointUrl": "https://dataflow.europe-west8.rep.googleapis.com/", - "location": "europe-west8", - "description": "Regional Endpoint" + "location": "europe-west8" }, { + "description": "Regional Endpoint", "endpointUrl": "https://dataflow.europe-west9.rep.googleapis.com/", - "location": "europe-west9", - "description": "Regional Endpoint" + "location": "europe-west9" }, { + "description": "Regional Endpoint", "endpointUrl": "https://dataflow.me-central2.rep.googleapis.com/", - "location": "me-central2", - "description": "Regional Endpoint" + "location": "me-central2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dataflow.us-central1.rep.googleapis.com/", + "location": "us-central1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dataflow.us-central2.rep.googleapis.com/", + "location": "us-central2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dataflow.us-east1.rep.googleapis.com/", + "location": "us-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dataflow.us-east4.rep.googleapis.com/", + "location": "us-east4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dataflow.us-east5.rep.googleapis.com/", + "location": "us-east5" }, { + "description": "Regional Endpoint", "endpointUrl": "https://dataflow.us-east7.rep.googleapis.com/", - "location": "us-east7", - "description": "Regional Endpoint" + "location": "us-east7" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dataflow.us-south1.rep.googleapis.com/", + "location": "us-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dataflow.us-west1.rep.googleapis.com/", + "location": "us-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dataflow.us-west2.rep.googleapis.com/", + "location": "us-west2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dataflow.us-west4.rep.googleapis.com/", + "location": "us-west4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dataflow.us-west8.rep.googleapis.com/", + "location": "us-west8" } ], "fullyEncodeReservedExpansion": true, @@ -172,8 +219,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ] }, "workerMessages": { @@ -201,8 +247,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ] } }, @@ -287,8 +332,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ] }, "create": { @@ -343,8 +387,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ] }, "get": { @@ -398,8 +441,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ] }, "getMetrics": { @@ -442,8 +484,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ] }, "list": { @@ -524,8 +565,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ] }, "snapshot": { @@ -560,8 +600,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ] }, "update": { @@ -607,8 +646,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ] } }, @@ -647,8 +685,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ] }, "sendCapture": { @@ -683,8 +720,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ] } } @@ -769,8 +805,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ] } } @@ -809,8 +844,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ] }, "reportStatus": { @@ -845,8 +879,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ] } } @@ -887,8 +920,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ] } }, @@ -927,8 +959,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ] } } @@ -989,8 +1020,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ] }, "get": { @@ -1046,8 +1076,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ] }, "getExecutionDetails": { @@ -1097,8 +1126,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ] }, "getMetrics": { @@ -1143,8 +1171,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ] }, "list": { @@ -1227,8 +1254,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ] }, "snapshot": { @@ -1270,8 +1296,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ] }, "update": { @@ -1319,8 +1344,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ] } }, @@ -1366,8 +1390,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ] }, "sendCapture": { @@ -1409,8 +1432,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ] } } @@ -1497,8 +1519,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ] } } @@ -1541,8 +1562,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ] } } @@ -1615,8 +1635,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ] } } @@ -1662,8 +1681,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ] }, "reportStatus": { @@ -1705,8 +1723,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ] } } @@ -1751,8 +1768,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ] }, "get": { @@ -1791,8 +1807,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ] }, "list": { @@ -1829,8 +1844,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ] } } @@ -1869,8 +1883,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ] }, "get": { @@ -1918,8 +1931,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ] }, "launch": { @@ -1974,8 +1986,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ] } } @@ -2018,8 +2029,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ] }, "list": { @@ -2054,8 +2064,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ] } } @@ -2087,8 +2096,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ] }, "get": { @@ -2134,8 +2142,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ] }, "launch": { @@ -2188,8 +2195,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ] } } @@ -2197,7 +2203,7 @@ } } }, - "revision": "20240624", + "revision": "20240709", "rootUrl": "https://dataflow.googleapis.com/", "schemas": { "ApproximateProgress": { diff --git a/discovery/dataform-v1beta1.json b/discovery/dataform-v1beta1.json index af46b374ad..c6fc8070c4 100644 --- a/discovery/dataform-v1beta1.json +++ b/discovery/dataform-v1beta1.json @@ -2236,7 +2236,7 @@ } } }, - "revision": "20240615", + "revision": "20240629", "rootUrl": "https://dataform.googleapis.com/", "schemas": { "Assertion": { @@ -2543,6 +2543,12 @@ "readOnly": true, "type": "array" }, + "createTime": { + "description": "Output only. The timestamp of when the compilation result was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, "dataEncryptionState": { "$ref": "DataEncryptionState", "description": "Output only. Only set if the repository has a KMS Key.", @@ -3983,6 +3989,12 @@ "description": "Represents a Dataform workflow configuration.", "id": "WorkflowConfig", "properties": { + "createTime": { + "description": "Output only. The timestamp of when the WorkflowConfig was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, "cronSchedule": { "description": "Optional. Optional schedule (in cron format) for automatic execution of this workflow config.", "type": "string" @@ -4010,6 +4022,12 @@ "timeZone": { "description": "Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time zone name from the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the default is UTC.", "type": "string" + }, + "updateTime": { + "description": "Output only. The timestamp of when the WorkflowConfig was last updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" } }, "type": "object" diff --git a/discovery/datafusion-v1.json b/discovery/datafusion-v1.json index 9be84e33ae..60f9cef658 100644 --- a/discovery/datafusion-v1.json +++ b/discovery/datafusion-v1.json @@ -732,7 +732,7 @@ } } }, - "revision": "20240618", + "revision": "20240703", "rootUrl": "https://datafusion.googleapis.com/", "schemas": { "Accelerator": { @@ -777,6 +777,38 @@ }, "type": "object" }, + "AssetLocation": { + "description": "Provides the mapping of a cloud asset to a direct physical location or to a proxy that defines the location on its behalf.", + "id": "AssetLocation", + "properties": { + "expected": { + "$ref": "IsolationExpectations", + "description": "Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state of the region at the time of asset creation." + }, + "extraParameters": { + "description": "Defines extra parameters required for specific asset types.", + "items": { + "$ref": "ExtraParameter" + }, + "type": "array" + }, + "locationData": { + "description": "Contains all kinds of physical location definitions for this asset.", + "items": { + "$ref": "LocationData" + }, + "type": "array" + }, + "parentAsset": { + "description": "Defines parents assets if any in order to allow later generation of child_asset_location data via child assets.", + "items": { + "$ref": "CloudAsset" + }, + "type": "array" + } + }, + "type": "object" + }, "AuditConfig": { "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", "id": "AuditConfig", @@ -847,12 +879,49 @@ }, "type": "object" }, + "BlobstoreLocation": { + "description": "Policy ID that identified data placement in Blobstore as per go/blobstore-user-guide#data-metadata-placement-and-failure-domains", + "id": "BlobstoreLocation", + "properties": { + "policyId": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "CancelOperationRequest": { "description": "The request message for Operations.CancelOperation.", "id": "CancelOperationRequest", "properties": {}, "type": "object" }, + "CloudAsset": { + "id": "CloudAsset", + "properties": { + "assetName": { + "type": "string" + }, + "assetType": { + "type": "string" + } + }, + "type": "object" + }, + "CloudAssetComposition": { + "id": "CloudAssetComposition", + "properties": { + "childAsset": { + "items": { + "$ref": "CloudAsset" + }, + "type": "array" + } + }, + "type": "object" + }, "CryptoKeyConfig": { "description": "The crypto key configuration. This field is used by the Customer-managed encryption keys (CMEK) feature.", "id": "CryptoKeyConfig", @@ -864,6 +933,18 @@ }, "type": "object" }, + "DirectLocationAssignment": { + "id": "DirectLocationAssignment", + "properties": { + "location": { + "items": { + "$ref": "LocationAssignment" + }, + "type": "array" + } + }, + "type": "object" + }, "DnsPeering": { "description": "DNS peering configuration. These configurations are used to create DNS peering with the customer Cloud DNS.", "id": "DnsPeering", @@ -935,6 +1016,17 @@ }, "type": "object" }, + "ExtraParameter": { + "description": "Defines parameters that should only be used for specific asset types.", + "id": "ExtraParameter", + "properties": { + "regionalMigDistributionPolicy": { + "$ref": "RegionalMigDistributionPolicy", + "description": "Details about zones used by regional compute.googleapis.com/InstanceGroupManager to create instances." + } + }, + "type": "object" + }, "Instance": { "description": "Represents a Data Fusion instance.", "id": "Instance", @@ -1162,6 +1254,127 @@ }, "type": "object" }, + "IsolationExpectations": { + "id": "IsolationExpectations", + "properties": { + "ziOrgPolicy": { + "enum": [ + "ZI_UNSPECIFIED", + "ZI_UNKNOWN", + "ZI_NOT_REQUIRED", + "ZI_PREFERRED", + "ZI_REQUIRED" + ], + "enumDescriptions": [ + "", + "To be used if tracking is not available", + "", + "", + "" + ], + "type": "string" + }, + "ziRegionPolicy": { + "enum": [ + "ZI_REGION_POLICY_UNSPECIFIED", + "ZI_REGION_POLICY_UNKNOWN", + "ZI_REGION_POLICY_NOT_SET", + "ZI_REGION_POLICY_FAIL_OPEN", + "ZI_REGION_POLICY_FAIL_CLOSED" + ], + "enumDescriptions": [ + "", + "To be used if tracking is not available", + "", + "", + "" + ], + "type": "string" + }, + "ziRegionState": { + "enum": [ + "ZI_REGION_UNSPECIFIED", + "ZI_REGION_UNKNOWN", + "ZI_REGION_NOT_ENABLED", + "ZI_REGION_ENABLED" + ], + "enumDescriptions": [ + "", + "To be used if tracking is not available", + "", + "" + ], + "type": "string" + }, + "zoneIsolation": { + "deprecated": true, + "description": "Deprecated: use zi_org_policy, zi_region_policy and zi_region_state instead for setting ZI expectations as per go/zicy-publish-physical-location.", + "enum": [ + "ZI_UNSPECIFIED", + "ZI_UNKNOWN", + "ZI_NOT_REQUIRED", + "ZI_PREFERRED", + "ZI_REQUIRED" + ], + "enumDescriptions": [ + "", + "To be used if tracking is not available", + "", + "", + "" + ], + "type": "string" + }, + "zoneSeparation": { + "deprecated": true, + "description": "Deprecated: use zs_org_policy, and zs_region_stateinstead for setting Zs expectations as per go/zicy-publish-physical-location.", + "enum": [ + "ZS_UNSPECIFIED", + "ZS_UNKNOWN", + "ZS_NOT_REQUIRED", + "ZS_REQUIRED" + ], + "enumDescriptions": [ + "", + "To be used if tracking is not available", + "", + "" + ], + "type": "string" + }, + "zsOrgPolicy": { + "enum": [ + "ZS_UNSPECIFIED", + "ZS_UNKNOWN", + "ZS_NOT_REQUIRED", + "ZS_REQUIRED" + ], + "enumDescriptions": [ + "", + "To be used if tracking is not available", + "", + "" + ], + "type": "string" + }, + "zsRegionState": { + "enum": [ + "ZS_REGION_UNSPECIFIED", + "ZS_REGION_UNKNOWN", + "ZS_REGION_NOT_ENABLED", + "ZS_REGION_ENABLED" + ], + "enumDescriptions": [ + "", + "To be used if tracking of the asset ZS-bit is not available", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, "ListAvailableVersionsResponse": { "description": "Response message for the list available versions request.", "id": "ListAvailableVersionsResponse", @@ -1293,6 +1506,64 @@ }, "type": "object" }, + "LocationAssignment": { + "id": "LocationAssignment", + "properties": { + "location": { + "type": "string" + }, + "locationType": { + "enum": [ + "UNSPECIFIED", + "CLUSTER", + "POP", + "CLOUD_ZONE", + "CLOUD_REGION", + "MULTI_REGION_GEO", + "MULTI_REGION_JURISDICTION", + "GLOBAL", + "OTHER" + ], + "enumDescriptions": [ + "", + "1-10: Physical failure domains.", + "", + "11-20: Logical failure domains.", + "", + "", + "", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "LocationData": { + "id": "LocationData", + "properties": { + "blobstoreLocation": { + "$ref": "BlobstoreLocation" + }, + "childAssetLocation": { + "$ref": "CloudAssetComposition" + }, + "directLocation": { + "$ref": "DirectLocationAssignment" + }, + "gcpProjectProxy": { + "$ref": "TenantProjectProxy" + }, + "placerLocation": { + "$ref": "PlacerLocation" + }, + "spannerLocation": { + "$ref": "SpannerLocation" + } + }, + "type": "object" + }, "MaintenancePolicy": { "description": "Maintenance policy of the instance.", "id": "MaintenancePolicy", @@ -1431,6 +1702,17 @@ }, "type": "object" }, + "PlacerLocation": { + "description": "Message describing that the location of the customer resource is tied to placer allocations", + "id": "PlacerLocation", + "properties": { + "placerConfig": { + "description": "Directory with a config related to it in placer (e.g. \"/placer/prod/home/my-root/my-dir\")", + "type": "string" + } + }, + "type": "object" + }, "Policy": { "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "Policy", @@ -1497,6 +1779,25 @@ }, "type": "object" }, + "RegionalMigDistributionPolicy": { + "description": "To be used for specifying the intended distribution of regional compute.googleapis.com/InstanceGroupManager instances", + "id": "RegionalMigDistributionPolicy", + "properties": { + "targetShape": { + "description": "The shape in which the group converges around distribution of resources. Instance of proto2 enum", + "format": "int32", + "type": "integer" + }, + "zones": { + "description": "Cloud zones used by regional MIG to create instances.", + "items": { + "$ref": "ZoneConfiguration" + }, + "type": "array" + } + }, + "type": "object" + }, "RestartInstanceRequest": { "description": "Request message for restarting a Data Fusion instance.", "id": "RestartInstanceRequest", @@ -1519,6 +1820,26 @@ }, "type": "object" }, + "SpannerLocation": { + "id": "SpannerLocation", + "properties": { + "backupName": { + "description": "Set of backups used by the resource with name in the same format as what is available at http://table/spanner_automon.backup_metadata", + "items": { + "type": "string" + }, + "type": "array" + }, + "dbName": { + "description": "Set of databases used by the resource in format /span//", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "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", @@ -1546,6 +1867,18 @@ }, "type": "object" }, + "TenantProjectProxy": { + "id": "TenantProjectProxy", + "properties": { + "projectNumbers": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "TestIamPermissionsRequest": { "description": "Request message for `TestIamPermissions` method.", "id": "TestIamPermissionsRequest", @@ -1626,6 +1959,15 @@ } }, "type": "object" + }, + "ZoneConfiguration": { + "id": "ZoneConfiguration", + "properties": { + "zone": { + "type": "string" + } + }, + "type": "object" } }, "servicePath": "", diff --git a/discovery/datafusion-v1beta1.json b/discovery/datafusion-v1beta1.json index 4c535042e2..81790755b1 100644 --- a/discovery/datafusion-v1beta1.json +++ b/discovery/datafusion-v1beta1.json @@ -930,7 +930,7 @@ } } }, - "revision": "20240618", + "revision": "20240703", "rootUrl": "https://datafusion.googleapis.com/", "schemas": { "Accelerator": { @@ -975,6 +975,38 @@ }, "type": "object" }, + "AssetLocation": { + "description": "Provides the mapping of a cloud asset to a direct physical location or to a proxy that defines the location on its behalf.", + "id": "AssetLocation", + "properties": { + "expected": { + "$ref": "IsolationExpectations", + "description": "Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state of the region at the time of asset creation." + }, + "extraParameters": { + "description": "Defines extra parameters required for specific asset types.", + "items": { + "$ref": "ExtraParameter" + }, + "type": "array" + }, + "locationData": { + "description": "Contains all kinds of physical location definitions for this asset.", + "items": { + "$ref": "LocationData" + }, + "type": "array" + }, + "parentAsset": { + "description": "Defines parents assets if any in order to allow later generation of child_asset_location data via child assets.", + "items": { + "$ref": "CloudAsset" + }, + "type": "array" + } + }, + "type": "object" + }, "AuditConfig": { "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", "id": "AuditConfig", @@ -1045,12 +1077,49 @@ }, "type": "object" }, + "BlobstoreLocation": { + "description": "Policy ID that identified data placement in Blobstore as per go/blobstore-user-guide#data-metadata-placement-and-failure-domains", + "id": "BlobstoreLocation", + "properties": { + "policyId": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "CancelOperationRequest": { "description": "The request message for Operations.CancelOperation.", "id": "CancelOperationRequest", "properties": {}, "type": "object" }, + "CloudAsset": { + "id": "CloudAsset", + "properties": { + "assetName": { + "type": "string" + }, + "assetType": { + "type": "string" + } + }, + "type": "object" + }, + "CloudAssetComposition": { + "id": "CloudAssetComposition", + "properties": { + "childAsset": { + "items": { + "$ref": "CloudAsset" + }, + "type": "array" + } + }, + "type": "object" + }, "CryptoKeyConfig": { "description": "The crypto key configuration. This field is used by the Customer-managed encryption keys (CMEK) feature.", "id": "CryptoKeyConfig", @@ -1062,6 +1131,18 @@ }, "type": "object" }, + "DirectLocationAssignment": { + "id": "DirectLocationAssignment", + "properties": { + "location": { + "items": { + "$ref": "LocationAssignment" + }, + "type": "array" + } + }, + "type": "object" + }, "DnsPeering": { "description": "DNS peering configuration. These configurations are used to create DNS peering with the customer Cloud DNS.", "id": "DnsPeering", @@ -1133,6 +1214,17 @@ }, "type": "object" }, + "ExtraParameter": { + "description": "Defines parameters that should only be used for specific asset types.", + "id": "ExtraParameter", + "properties": { + "regionalMigDistributionPolicy": { + "$ref": "RegionalMigDistributionPolicy", + "description": "Details about zones used by regional compute.googleapis.com/InstanceGroupManager to create instances." + } + }, + "type": "object" + }, "IAMPolicy": { "description": "IAMPolicy encapsulates the IAM policy name, definition and status of policy fetching.", "id": "IAMPolicy", @@ -1375,6 +1467,127 @@ }, "type": "object" }, + "IsolationExpectations": { + "id": "IsolationExpectations", + "properties": { + "ziOrgPolicy": { + "enum": [ + "ZI_UNSPECIFIED", + "ZI_UNKNOWN", + "ZI_NOT_REQUIRED", + "ZI_PREFERRED", + "ZI_REQUIRED" + ], + "enumDescriptions": [ + "", + "To be used if tracking is not available", + "", + "", + "" + ], + "type": "string" + }, + "ziRegionPolicy": { + "enum": [ + "ZI_REGION_POLICY_UNSPECIFIED", + "ZI_REGION_POLICY_UNKNOWN", + "ZI_REGION_POLICY_NOT_SET", + "ZI_REGION_POLICY_FAIL_OPEN", + "ZI_REGION_POLICY_FAIL_CLOSED" + ], + "enumDescriptions": [ + "", + "To be used if tracking is not available", + "", + "", + "" + ], + "type": "string" + }, + "ziRegionState": { + "enum": [ + "ZI_REGION_UNSPECIFIED", + "ZI_REGION_UNKNOWN", + "ZI_REGION_NOT_ENABLED", + "ZI_REGION_ENABLED" + ], + "enumDescriptions": [ + "", + "To be used if tracking is not available", + "", + "" + ], + "type": "string" + }, + "zoneIsolation": { + "deprecated": true, + "description": "Deprecated: use zi_org_policy, zi_region_policy and zi_region_state instead for setting ZI expectations as per go/zicy-publish-physical-location.", + "enum": [ + "ZI_UNSPECIFIED", + "ZI_UNKNOWN", + "ZI_NOT_REQUIRED", + "ZI_PREFERRED", + "ZI_REQUIRED" + ], + "enumDescriptions": [ + "", + "To be used if tracking is not available", + "", + "", + "" + ], + "type": "string" + }, + "zoneSeparation": { + "deprecated": true, + "description": "Deprecated: use zs_org_policy, and zs_region_stateinstead for setting Zs expectations as per go/zicy-publish-physical-location.", + "enum": [ + "ZS_UNSPECIFIED", + "ZS_UNKNOWN", + "ZS_NOT_REQUIRED", + "ZS_REQUIRED" + ], + "enumDescriptions": [ + "", + "To be used if tracking is not available", + "", + "" + ], + "type": "string" + }, + "zsOrgPolicy": { + "enum": [ + "ZS_UNSPECIFIED", + "ZS_UNKNOWN", + "ZS_NOT_REQUIRED", + "ZS_REQUIRED" + ], + "enumDescriptions": [ + "", + "To be used if tracking is not available", + "", + "" + ], + "type": "string" + }, + "zsRegionState": { + "enum": [ + "ZS_REGION_UNSPECIFIED", + "ZS_REGION_UNKNOWN", + "ZS_REGION_NOT_ENABLED", + "ZS_REGION_ENABLED" + ], + "enumDescriptions": [ + "", + "To be used if tracking of the asset ZS-bit is not available", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, "ListAvailableVersionsResponse": { "description": "Response message for the list available versions request.", "id": "ListAvailableVersionsResponse", @@ -1524,6 +1737,64 @@ }, "type": "object" }, + "LocationAssignment": { + "id": "LocationAssignment", + "properties": { + "location": { + "type": "string" + }, + "locationType": { + "enum": [ + "UNSPECIFIED", + "CLUSTER", + "POP", + "CLOUD_ZONE", + "CLOUD_REGION", + "MULTI_REGION_GEO", + "MULTI_REGION_JURISDICTION", + "GLOBAL", + "OTHER" + ], + "enumDescriptions": [ + "", + "1-10: Physical failure domains.", + "", + "11-20: Logical failure domains.", + "", + "", + "", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "LocationData": { + "id": "LocationData", + "properties": { + "blobstoreLocation": { + "$ref": "BlobstoreLocation" + }, + "childAssetLocation": { + "$ref": "CloudAssetComposition" + }, + "directLocation": { + "$ref": "DirectLocationAssignment" + }, + "gcpProjectProxy": { + "$ref": "TenantProjectProxy" + }, + "placerLocation": { + "$ref": "PlacerLocation" + }, + "spannerLocation": { + "$ref": "SpannerLocation" + } + }, + "type": "object" + }, "MaintenancePolicy": { "description": "Maintenance policy of the instance.", "id": "MaintenancePolicy", @@ -1677,6 +1948,17 @@ }, "type": "object" }, + "PlacerLocation": { + "description": "Message describing that the location of the customer resource is tied to placer allocations", + "id": "PlacerLocation", + "properties": { + "placerConfig": { + "description": "Directory with a config related to it in placer (e.g. \"/placer/prod/home/my-root/my-dir\")", + "type": "string" + } + }, + "type": "object" + }, "Policy": { "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "Policy", @@ -1743,6 +2025,25 @@ }, "type": "object" }, + "RegionalMigDistributionPolicy": { + "description": "To be used for specifying the intended distribution of regional compute.googleapis.com/InstanceGroupManager instances", + "id": "RegionalMigDistributionPolicy", + "properties": { + "targetShape": { + "description": "The shape in which the group converges around distribution of resources. Instance of proto2 enum", + "format": "int32", + "type": "integer" + }, + "zones": { + "description": "Cloud zones used by regional MIG to create instances.", + "items": { + "$ref": "ZoneConfiguration" + }, + "type": "array" + } + }, + "type": "object" + }, "RemoveIamPolicyRequest": { "description": "Request message for RemoveIamPolicy method.", "id": "RemoveIamPolicyRequest", @@ -1777,6 +2078,26 @@ }, "type": "object" }, + "SpannerLocation": { + "id": "SpannerLocation", + "properties": { + "backupName": { + "description": "Set of backups used by the resource with name in the same format as what is available at http://table/spanner_automon.backup_metadata", + "items": { + "type": "string" + }, + "type": "array" + }, + "dbName": { + "description": "Set of databases used by the resource in format /span//", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "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", @@ -1804,6 +2125,18 @@ }, "type": "object" }, + "TenantProjectProxy": { + "id": "TenantProjectProxy", + "properties": { + "projectNumbers": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "TestIamPermissionsRequest": { "description": "Request message for `TestIamPermissions` method.", "id": "TestIamPermissionsRequest", @@ -1890,6 +2223,15 @@ } }, "type": "object" + }, + "ZoneConfiguration": { + "id": "ZoneConfiguration", + "properties": { + "zone": { + "type": "string" + } + }, + "type": "object" } }, "servicePath": "", diff --git a/discovery/datalineage-v1.json b/discovery/datalineage-v1.json index bde88540e2..902714c48b 100644 --- a/discovery/datalineage-v1.json +++ b/discovery/datalineage-v1.json @@ -798,7 +798,7 @@ } } }, - "revision": "20230908", + "revision": "20230901", "rootUrl": "https://datalineage.googleapis.com/", "schemas": { "GoogleCloudDatacatalogLineageV1BatchSearchLinkProcessesRequest": { diff --git a/discovery/datamigration-v1.json b/discovery/datamigration-v1.json index 5acd035000..de3f91d754 100644 --- a/discovery/datamigration-v1.json +++ b/discovery/datamigration-v1.json @@ -2125,7 +2125,7 @@ } } }, - "revision": "20240615", + "revision": "20240628", "rootUrl": "https://datamigration.googleapis.com/", "schemas": { "AlloyDbConnectionProfile": { @@ -4479,8 +4479,7 @@ "PROMOTE_IN_PROGRESS", "WAITING_FOR_SOURCE_WRITES_TO_STOP", "PREPARING_THE_DUMP", - "READY_FOR_PROMOTE", - "DIFF_BACKUP" + "READY_FOR_PROMOTE" ], "enumDescriptions": [ "The phase of the migration job is unknown.", @@ -4489,8 +4488,7 @@ "The migration job is running the promote phase.", "Only RDS flow - waiting for source writes to stop", "Only RDS flow - the sources writes stopped, waiting for dump to begin", - "The migration job is ready to be promoted.", - "The migration job is in the differential backup phase." + "The migration job is ready to be promoted." ], "readOnly": true, "type": "string" diff --git a/discovery/dataplex-v1.json b/discovery/dataplex-v1.json index f2aa3d7356..a3effdb96b 100644 --- a/discovery/dataplex-v1.json +++ b/discovery/dataplex-v1.json @@ -176,7 +176,7 @@ ] }, "lookupEntry": { - "description": "Looks up a single entry.", + "description": "Looks up a single Entry by name using the permission on the source system.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}:lookupEntry", "httpMethod": "GET", "id": "dataplex.projects.locations.lookupEntry", @@ -185,7 +185,7 @@ ], "parameters": { "aspectTypes": { - "description": "Optional. Limits the aspects returned to the provided aspect types. Only works if the CUSTOM view is selected.", + "description": "Optional. Limits the aspects returned to the provided aspect types. It only works for CUSTOM view.", "location": "query", "repeated": true, "type": "string" @@ -203,13 +203,13 @@ "type": "string" }, "paths": { - "description": "Optional. Limits the aspects returned to those associated with the provided paths within the Entry. Only works if the CUSTOM view is selected.", + "description": "Optional. Limits the aspects returned to those associated with the provided paths within the Entry. It only works for CUSTOM view.", "location": "query", "repeated": true, "type": "string" }, "view": { - "description": "Optional. View for controlling which parts of an entry are to be returned.", + "description": "Optional. View to control which parts of an entry the service should return.", "enum": [ "ENTRY_VIEW_UNSPECIFIED", "BASIC", @@ -221,8 +221,8 @@ "Unspecified EntryView. Defaults to FULL.", "Returns entry only, without aspects.", "Returns all required aspects as well as the keys of all non-required aspects.", - "Returns aspects matching custom fields in GetEntryRequest. If the number of aspects would exceed 100, the first 100 will be returned.", - "Returns all aspects. If the number of aspects would exceed 100, the first 100 will be returned." + "Returns aspects matching custom fields in GetEntryRequest. If the number of aspects exceeds 100, the first 100 will be returned.", + "Returns all aspects. If the number of aspects exceeds 100, the first 100 will be returned." ], "location": "query", "type": "string" @@ -237,7 +237,7 @@ ] }, "searchEntries": { - "description": "Searches for entries matching given query and scope.", + "description": "Searches for Entries matching the given query and scope.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}:searchEntries", "httpMethod": "POST", "id": "dataplex.projects.locations.searchEntries", @@ -253,17 +253,18 @@ "type": "string" }, "orderBy": { - "description": "Optional. Ordering of the results. Supported options to be added later.", + "description": "Optional. Specifies the ordering of results.", "location": "query", "type": "string" }, "pageSize": { - "description": "Optional. Pagination.", + "description": "Optional. Number of results in the search page. If <=0, then defaults to 10. Max limit for page_size is 1000. Throws an invalid argument for page_size > 1000.", "format": "int32", "location": "query", "type": "integer" }, "pageToken": { + "description": "Optional. Page token received from a previous SearchEntries call. Provide this to retrieve the subsequent page.", "location": "query", "type": "string" }, @@ -273,7 +274,7 @@ "type": "string" }, "scope": { - "description": "Optional. The scope under which the search should be operating. Should either be organizations/ or projects/. If left unspecified, it will default to the organization where the project provided in name is located.", + "description": "Optional. The scope under which the search should be operating. It must either be organizations/ or projects/. If it is unspecified, it defaults to the organization where the project provided in name is located.", "location": "query", "type": "string" } @@ -291,7 +292,7 @@ "aspectTypes": { "methods": { "create": { - "description": "Creates an AspectType", + "description": "Creates an AspectType.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/aspectTypes", "httpMethod": "POST", "id": "dataplex.projects.locations.aspectTypes.create", @@ -305,14 +306,14 @@ "type": "string" }, "parent": { - "description": "Required. The resource name of the AspectType, of the form: projects/{project_number}/locations/{location_id} where location_id refers to a GCP region.", + "description": "Required. The resource name of the AspectType, of the form: projects/{project_number}/locations/{location_id} where location_id refers to a Google Cloud region.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, "type": "string" }, "validateOnly": { - "description": "Optional. Only validate the request, but do not perform mutations. The default is false.", + "description": "Optional. The service validates the request without performing any mutations. The default is false.", "location": "query", "type": "boolean" } @@ -329,7 +330,7 @@ ] }, "delete": { - "description": "Deletes a AspectType resource.", + "description": "Deletes an AspectType.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/aspectTypes/{aspectTypesId}", "httpMethod": "DELETE", "id": "dataplex.projects.locations.aspectTypes.delete", @@ -338,7 +339,7 @@ ], "parameters": { "etag": { - "description": "Optional. If the client provided etag value does not match the current etag value, the DeleteAspectTypeRequest method returns an ABORTED error response", + "description": "Optional. If the client provided etag value does not match the current etag value, the DeleteAspectTypeRequest method returns an ABORTED error response.", "location": "query", "type": "string" }, @@ -359,7 +360,7 @@ ] }, "get": { - "description": "Retrieves a AspectType resource.", + "description": "Gets an AspectType.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/aspectTypes/{aspectTypesId}", "httpMethod": "GET", "id": "dataplex.projects.locations.aspectTypes.get", @@ -424,28 +425,28 @@ ], "parameters": { "filter": { - "description": "Optional. Filter request. Filters are case-sensitive. The following formats are supported:labels.key1 = \"value1\" labels:key1 name = \"value\" These restrictions can be coinjoined with AND, OR and NOT conjunctions.", + "description": "Optional. Filter request. Filters are case-sensitive. The service supports the following formats: labels.key1 = \"value1\" labels:key1 name = \"value\"These restrictions can be conjoined with AND, OR, and NOT conjunctions.", "location": "query", "type": "string" }, "orderBy": { - "description": "Optional. Order by fields (name or create_time) for the result. If not specified, the ordering is undefined.", + "description": "Optional. Orders the result by name or create_time fields. If not specified, the ordering is undefined.", "location": "query", "type": "string" }, "pageSize": { - "description": "Optional. Maximum number of AspectTypes to return. The service may return fewer than this value. If unspecified, at most 10 AspectTypes will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", + "description": "Optional. Maximum number of AspectTypes to return. The service may return fewer than this value. If unspecified, the service returns at most 10 AspectTypes. The maximum value is 1000; values above 1000 will be coerced to 1000.", "format": "int32", "location": "query", "type": "integer" }, "pageToken": { - "description": "Optional. Page token received from a previous ListAspectTypes call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListAspectTypes must match the call that provided the page token.", + "description": "Optional. Page token received from a previous ListAspectTypes call. Provide this to retrieve the subsequent page. When paginating, all other parameters you provide to ListAspectTypes must match the call that provided the page token.", "location": "query", "type": "string" }, "parent": { - "description": "Required. The resource name of the AspectType location, of the form: projects/{project_number}/locations/{location_id} where location_id refers to a GCP region.", + "description": "Required. The resource name of the AspectType location, of the form: projects/{project_number}/locations/{location_id} where location_id refers to a Google Cloud region.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -461,7 +462,7 @@ ] }, "patch": { - "description": "Updates a AspectType resource.", + "description": "Updates an AspectType.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/aspectTypes/{aspectTypesId}", "httpMethod": "PATCH", "id": "dataplex.projects.locations.aspectTypes.patch", @@ -1819,7 +1820,7 @@ "entryGroups": { "methods": { "create": { - "description": "Creates an EntryGroup", + "description": "Creates an EntryGroup.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/entryGroups", "httpMethod": "POST", "id": "dataplex.projects.locations.entryGroups.create", @@ -1840,7 +1841,7 @@ "type": "string" }, "validateOnly": { - "description": "Optional. Only validate the request, but do not perform mutations. The default is false.", + "description": "Optional. The service validates the request without performing any mutations. The default is false.", "location": "query", "type": "boolean" } @@ -1857,7 +1858,7 @@ ] }, "delete": { - "description": "Deletes a EntryGroup resource.", + "description": "Deletes an EntryGroup.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/entryGroups/{entryGroupsId}", "httpMethod": "DELETE", "id": "dataplex.projects.locations.entryGroups.delete", @@ -1866,7 +1867,7 @@ ], "parameters": { "etag": { - "description": "Optional. If the client provided etag value does not match the current etag value, the DeleteEntryGroupRequest method returns an ABORTED error response", + "description": "Optional. If the client provided etag value does not match the current etag value, the DeleteEntryGroupRequest method returns an ABORTED error response.", "location": "query", "type": "string" }, @@ -1887,7 +1888,7 @@ ] }, "get": { - "description": "Retrieves a EntryGroup resource.", + "description": "Gets an EntryGroup.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/entryGroups/{entryGroupsId}", "httpMethod": "GET", "id": "dataplex.projects.locations.entryGroups.get", @@ -1962,18 +1963,18 @@ "type": "string" }, "pageSize": { - "description": "Optional. Maximum number of EntryGroups to return. The service may return fewer than this value. If unspecified, at most 10 EntryGroups will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", + "description": "Optional. Maximum number of EntryGroups to return. The service may return fewer than this value. If unspecified, the service returns at most 10 EntryGroups. The maximum value is 1000; values above 1000 will be coerced to 1000.", "format": "int32", "location": "query", "type": "integer" }, "pageToken": { - "description": "Optional. Page token received from a previous ListEntryGroups call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListEntryGroups must match the call that provided the page token.", + "description": "Optional. Page token received from a previous ListEntryGroups call. Provide this to retrieve the subsequent page. When paginating, all other parameters you provide to ListEntryGroups must match the call that provided the page token.", "location": "query", "type": "string" }, "parent": { - "description": "Required. The resource name of the entryGroup location, of the form: projects/{project_number}/locations/{location_id} where location_id refers to a GCP region.", + "description": "Required. The resource name of the entryGroup location, of the form: projects/{project_number}/locations/{location_id} where location_id refers to a Google Cloud region.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -1989,7 +1990,7 @@ ] }, "patch": { - "description": "Updates a EntryGroup resource.", + "description": "Updates an EntryGroup.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/entryGroups/{entryGroupsId}", "httpMethod": "PATCH", "id": "dataplex.projects.locations.entryGroups.patch", @@ -2011,7 +2012,7 @@ "type": "string" }, "validateOnly": { - "description": "Optional. Only validate the request, but do not perform mutations. The default is false.", + "description": "Optional. The service validates the request, without performing any mutations. The default is false.", "location": "query", "type": "boolean" } @@ -2097,7 +2098,7 @@ ], "parameters": { "entryId": { - "description": "Required. Entry identifier. It has to be unique within an Entry Group.Entries corresponding to Google Cloud resources use Entry ID format based on Full Resource Names (https://cloud.google.com/apis/design/resource_names#full_resource_name). The format is a Full Resource Name of the resource without the prefix double slashes in the API Service Name part of Full Resource Name. This allows retrieval of entries using their associated resource name.For example if the Full Resource Name of a resource is //library.googleapis.com/shelves/shelf1/books/book2, then the suggested entry_id is library.googleapis.com/shelves/shelf1/books/book2.It is also suggested to follow the same convention for entries corresponding to resources from other providers or systems than Google Cloud.The maximum size of the field is 4000 characters.", + "description": "Required. Entry identifier. It has to be unique within an Entry Group.Entries corresponding to Google Cloud resources use an Entry ID format based on full resource names (https://cloud.google.com/apis/design/resource_names#full_resource_name). The format is a full resource name of the resource without the prefix double slashes in the API service name part of the full resource name. This allows retrieval of entries using their associated resource name.For example, if the full resource name of a resource is //library.googleapis.com/shelves/shelf1/books/book2, then the suggested entry_id is library.googleapis.com/shelves/shelf1/books/book2.It is also suggested to follow the same convention for entries corresponding to resources from providers or systems other than Google Cloud.The maximum size of the field is 4000 characters.", "location": "query", "type": "string" }, @@ -2146,7 +2147,7 @@ ] }, "get": { - "description": "Gets a single entry.", + "description": "Gets an Entry.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/entryGroups/{entryGroupsId}/entries/{entriesId}", "httpMethod": "GET", "id": "dataplex.projects.locations.entryGroups.entries.get", @@ -2155,7 +2156,7 @@ ], "parameters": { "aspectTypes": { - "description": "Optional. Limits the aspects returned to the provided aspect types. Only works if the CUSTOM view is selected.", + "description": "Optional. Limits the aspects returned to the provided aspect types. It only works for CUSTOM view.", "location": "query", "repeated": true, "type": "string" @@ -2168,13 +2169,13 @@ "type": "string" }, "paths": { - "description": "Optional. Limits the aspects returned to those associated with the provided paths within the Entry. Only works if the CUSTOM view is selected.", + "description": "Optional. Limits the aspects returned to those associated with the provided paths within the Entry. It only works for CUSTOM view.", "location": "query", "repeated": true, "type": "string" }, "view": { - "description": "Optional. View for controlling which parts of an entry are to be returned.", + "description": "Optional. View to control which parts of an entry the service should return.", "enum": [ "ENTRY_VIEW_UNSPECIFIED", "BASIC", @@ -2186,8 +2187,8 @@ "Unspecified EntryView. Defaults to FULL.", "Returns entry only, without aspects.", "Returns all required aspects as well as the keys of all non-required aspects.", - "Returns aspects matching custom fields in GetEntryRequest. If the number of aspects would exceed 100, the first 100 will be returned.", - "Returns all aspects. If the number of aspects would exceed 100, the first 100 will be returned." + "Returns aspects matching custom fields in GetEntryRequest. If the number of aspects exceeds 100, the first 100 will be returned.", + "Returns all aspects. If the number of aspects exceeds 100, the first 100 will be returned." ], "location": "query", "type": "string" @@ -2202,7 +2203,7 @@ ] }, "list": { - "description": "Lists entries within an entry group.", + "description": "Lists Entries within an EntryGroup.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/entryGroups/{entryGroupsId}/entries", "httpMethod": "GET", "id": "dataplex.projects.locations.entryGroups.entries.list", @@ -2211,17 +2212,18 @@ ], "parameters": { "filter": { - "description": "Optional. A filter on the entries to return. Filters are case-sensitive. The request can be filtered by the following fields: entry_type, entry_source.display_name. The comparison operators are =, !=, <, >, <=, >= (strings are compared according to lexical order) The logical operators AND, OR, NOT can be used in the filter. Wildcard \"*\" can be used, but for entry_type the full project id or number needs to be provided. Example filter expressions: \"entry_source.display_name=AnExampleDisplayName\" \"entry_type=projects/example-project/locations/global/entryTypes/example-entry_type\" \"entry_type=projects/example-project/locations/us/entryTypes/a* OR entry_type=projects/another-project/locations/*\" \"NOT entry_source.display_name=AnotherExampleDisplayName\"", + "description": "Optional. A filter on the entries to return. Filters are case-sensitive. You can filter the request by the following fields: entry_type entry_source.display_nameThe comparison operators are =, !=, <, >, <=, >=. The service compares strings according to lexical order.You can use the logical operators AND, OR, NOT in the filter.You can use Wildcard \"*\", but for entry_type you need to provide the full project id or number.Example filter expressions: \"entry_source.display_name=AnExampleDisplayName\" \"entry_type=projects/example-project/locations/global/entryTypes/example-entry_type\" \"entry_type=projects/example-project/locations/us/entryTypes/a* OR entry_type=projects/another-project/locations/*\" \"NOT entry_source.display_name=AnotherExampleDisplayName\"", "location": "query", "type": "string" }, "pageSize": { + "description": "Optional. Number of items to return per page. If there are remaining results, the service returns a next_page_token. If unspecified, the service returns at most 10 Entries. The maximum value is 100; values above 100 will be coerced to 100.", "format": "int32", "location": "query", "type": "integer" }, "pageToken": { - "description": "Optional. The pagination token returned by a previous request.", + "description": "Optional. Page token received from a previous ListEntries call. Provide this to retrieve the subsequent page.", "location": "query", "type": "string" }, @@ -2251,18 +2253,18 @@ ], "parameters": { "allowMissing": { - "description": "Optional. If set to true and the entry does not exist, it will be created.", + "description": "Optional. If set to true and the entry doesn't exist, the service will create it.", "location": "query", "type": "boolean" }, "aspectKeys": { - "description": "Optional. The map keys of the Aspects which should be modified. Supports the following syntaxes: * - matches aspect on given type and empty path * @path - matches aspect on given type and specified path * * - matches aspects on given type for all paths * *@path - matches aspects of all types on the given pathExisting aspects matching the syntax will not be removed unless delete_missing_aspects is set to true.If this field is left empty, it will be treated as specifying exactly those Aspects present in the request.", + "description": "Optional. The map keys of the Aspects which the service should modify. It supports the following syntaxes: - matches an aspect of the given type and empty path. @path - matches an aspect of the given type and specified path. * - matches aspects of the given type for all paths. *@path - matches aspects of all types on the given path.The service will not remove existing aspects matching the syntax unless delete_missing_aspects is set to true.If this field is left empty, the service treats it as specifying exactly those Aspects present in the request.", "location": "query", "repeated": true, "type": "string" }, "deleteMissingAspects": { - "description": "Optional. If set to true and the aspect_keys specify aspect ranges, any existing aspects from that range not provided in the request will be deleted.", + "description": "Optional. If set to true and the aspect_keys specify aspect ranges, the service deletes any existing aspects from that range that weren't provided in the request.", "location": "query", "type": "boolean" }, @@ -2274,7 +2276,7 @@ "type": "string" }, "updateMask": { - "description": "Optional. Mask of fields to update. To update Aspects, the update_mask must contain the value \"aspects\".If the update_mask is empty, all modifiable fields present in the request will be updated.", + "description": "Optional. Mask of fields to update. To update Aspects, the update_mask must contain the value \"aspects\".If the update_mask is empty, the service will update all modifiable fields present in the request.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -2298,7 +2300,7 @@ "entryTypes": { "methods": { "create": { - "description": "Creates an EntryType", + "description": "Creates an EntryType.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/entryTypes", "httpMethod": "POST", "id": "dataplex.projects.locations.entryTypes.create", @@ -2312,14 +2314,14 @@ "type": "string" }, "parent": { - "description": "Required. The resource name of the EntryType, of the form: projects/{project_number}/locations/{location_id} where location_id refers to a GCP region.", + "description": "Required. The resource name of the EntryType, of the form: projects/{project_number}/locations/{location_id} where location_id refers to a Google Cloud region.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, "type": "string" }, "validateOnly": { - "description": "Optional. Only validate the request, but do not perform mutations. The default is false.", + "description": "Optional. The service validates the request without performing any mutations. The default is false.", "location": "query", "type": "boolean" } @@ -2336,7 +2338,7 @@ ] }, "delete": { - "description": "Deletes a EntryType resource.", + "description": "Deletes an EntryType.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/entryTypes/{entryTypesId}", "httpMethod": "DELETE", "id": "dataplex.projects.locations.entryTypes.delete", @@ -2345,7 +2347,7 @@ ], "parameters": { "etag": { - "description": "Optional. If the client provided etag value does not match the current etag value, the DeleteEntryTypeRequest method returns an ABORTED error response", + "description": "Optional. If the client provided etag value does not match the current etag value, the DeleteEntryTypeRequest method returns an ABORTED error response.", "location": "query", "type": "string" }, @@ -2366,7 +2368,7 @@ ] }, "get": { - "description": "Retrieves a EntryType resource.", + "description": "Gets an EntryType.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/entryTypes/{entryTypesId}", "httpMethod": "GET", "id": "dataplex.projects.locations.entryTypes.get", @@ -2431,28 +2433,28 @@ ], "parameters": { "filter": { - "description": "Optional. Filter request. Filters are case-sensitive. The following formats are supported:labels.key1 = \"value1\" labels:key1 name = \"value\" These restrictions can be coinjoined with AND, OR and NOT conjunctions.", + "description": "Optional. Filter request. Filters are case-sensitive. The service supports the following formats: labels.key1 = \"value1\" labels:key1 name = \"value\"These restrictions can be conjoined with AND, OR, and NOT conjunctions.", "location": "query", "type": "string" }, "orderBy": { - "description": "Optional. Order by fields (name or create_time) for the result. If not specified, the ordering is undefined.", + "description": "Optional. Orders the result by name or create_time fields. If not specified, the ordering is undefined.", "location": "query", "type": "string" }, "pageSize": { - "description": "Optional. Maximum number of EntryTypes to return. The service may return fewer than this value. If unspecified, at most 10 EntryTypes will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", + "description": "Optional. Maximum number of EntryTypes to return. The service may return fewer than this value. If unspecified, the service returns at most 10 EntryTypes. The maximum value is 1000; values above 1000 will be coerced to 1000.", "format": "int32", "location": "query", "type": "integer" }, "pageToken": { - "description": "Optional. Page token received from a previous ListEntryTypes call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListEntryTypes must match the call that provided the page token.", + "description": "Optional. Page token received from a previous ListEntryTypes call. Provide this to retrieve the subsequent page. When paginating, all other parameters you provided to ListEntryTypes must match the call that provided the page token.", "location": "query", "type": "string" }, "parent": { - "description": "Required. The resource name of the EntryType location, of the form: projects/{project_number}/locations/{location_id} where location_id refers to a GCP region.", + "description": "Required. The resource name of the EntryType location, of the form: projects/{project_number}/locations/{location_id} where location_id refers to a Google Cloud region.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -2468,7 +2470,7 @@ ] }, "patch": { - "description": "Updates a EntryType resource.", + "description": "Updates an EntryType.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/entryTypes/{entryTypesId}", "httpMethod": "PATCH", "id": "dataplex.projects.locations.entryTypes.patch", @@ -2490,7 +2492,7 @@ "type": "string" }, "validateOnly": { - "description": "Optional. Only validate the request, but do not perform mutations. The default is false.", + "description": "Optional. The service validates the request without performing any mutations. The default is false.", "location": "query", "type": "boolean" } @@ -5271,7 +5273,7 @@ } } }, - "revision": "20240611", + "revision": "20240624", "rootUrl": "https://dataplex.googleapis.com/", "schemas": { "Empty": { @@ -5512,7 +5514,7 @@ "description": "Properties of the object.", "type": "any" }, - "description": "Required. The content of the aspect, according to its aspect type schema. This will replace content. The maximum size of the field is 120KB (encoded as UTF-8).", + "description": "Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8).", "type": "object" }, "path": { @@ -5530,7 +5532,7 @@ "type": "object" }, "GoogleCloudDataplexV1AspectSource": { - "description": "AspectSource contains source system related information for the aspect.", + "description": "AspectSource contains information related to the source system of the Aspect.", "id": "GoogleCloudDataplexV1AspectSource", "properties": { "createTime": { @@ -5547,12 +5549,12 @@ "type": "object" }, "GoogleCloudDataplexV1AspectType": { - "description": "Aspect Type is a template for creating Aspects, and represents the JSON-schema for a given Entry, e.g., BigQuery Table Schema.", + "description": "AspectType is a template for creating Aspects, and represents the JSON-schema for a given Entry, for example, BigQuery Table Schema.", "id": "GoogleCloudDataplexV1AspectType", "properties": { "authorization": { "$ref": "GoogleCloudDataplexV1AspectTypeAuthorization", - "description": "Immutable. Authorization defined for this type." + "description": "Immutable. Defines the Authorization for this type." }, "createTime": { "description": "Output only. The time when the AspectType was created.", @@ -5569,7 +5571,7 @@ "type": "string" }, "etag": { - "description": "This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.", + "description": "The service computes this checksum. The client may send it on update and delete requests to ensure it has an up-to-date value before proceeding.", "type": "string" }, "labels": { @@ -5588,23 +5590,8 @@ "readOnly": true, "type": "string" }, - "transferStatus": { - "description": "Output only. Denotes the transfer status of the Aspect Type. It is unspecified for Aspect Types created from Dataplex API.", - "enum": [ - "TRANSFER_STATUS_UNSPECIFIED", - "TRANSFER_STATUS_MIGRATED", - "TRANSFER_STATUS_TRANSFERRED" - ], - "enumDescriptions": [ - "The default value. It is set for resources that were not subject for migration from Data Catalog service.", - "Indicates that a resource was migrated from Data Catalog service but it hasn't been transferred yet. In particular the resource cannot be updated from Dataplex API.", - "Indicates that a resource was transferred from Data Catalog service. The resource can only be updated from Dataplex API." - ], - "readOnly": true, - "type": "string" - }, "uid": { - "description": "Output only. System generated globally unique ID for the AspectType. This ID will be different if the AspectType is deleted and re-created with the same name.", + "description": "Output only. System generated globally unique ID for the AspectType. If you delete and recreate the AspectType with the same name, then this ID will be different.", "readOnly": true, "type": "string" }, @@ -5618,18 +5605,18 @@ "type": "object" }, "GoogleCloudDataplexV1AspectTypeAuthorization": { - "description": "Autorization for an Aspect Type.", + "description": "Autorization for an AspectType.", "id": "GoogleCloudDataplexV1AspectTypeAuthorization", "properties": { "alternateUsePermission": { - "description": "Immutable. The IAM permission grantable on the Entry Group to allow access to instantiate Aspects of Dataplex owned Aspect Types, only settable for Dataplex owned Types.", + "description": "Immutable. The IAM permission grantable on the EntryGroup to allow access to instantiate Aspects of Dataplex owned AspectTypes, only settable for Dataplex owned Types.", "type": "string" } }, "type": "object" }, "GoogleCloudDataplexV1AspectTypeMetadataTemplate": { - "description": "MetadataTemplate definition for AspectType", + "description": "MetadataTemplate definition for an AspectType.", "id": "GoogleCloudDataplexV1AspectTypeMetadataTemplate", "properties": { "annotations": { @@ -5638,14 +5625,14 @@ }, "arrayItems": { "$ref": "GoogleCloudDataplexV1AspectTypeMetadataTemplate", - "description": "Optional. array_items needs to be set if the type is array. array_items can refer to a primitive field or a complex (record only) field. To specify a primitive field, just name and type needs to be set in the nested MetadataTemplate. The recommended value for the name field is item, as this is not used in the actual payload." + "description": "Optional. If the type is array, set array_items. array_items can refer to a primitive field or a complex (record only) field. To specify a primitive field, you only need to set name and type in the nested MetadataTemplate. The recommended value for the name field is item, as this isn't used in the actual payload." }, "constraints": { "$ref": "GoogleCloudDataplexV1AspectTypeMetadataTemplateConstraints", "description": "Optional. Specifies the constraints on this field." }, "enumValues": { - "description": "Optional. The list of values for an enum type. Needs to be defined if the type is enum.", + "description": "Optional. The list of values for an enum type. You must define it if the type is enum.", "items": { "$ref": "GoogleCloudDataplexV1AspectTypeMetadataTemplateEnumValue" }, @@ -5658,61 +5645,61 @@ }, "mapItems": { "$ref": "GoogleCloudDataplexV1AspectTypeMetadataTemplate", - "description": "Optional. map_items needs to be set if the type is map. map_items can refer to a primitive field or a complex (record only) field. To specify a primitive field, just name and type needs to be set in the nested MetadataTemplate. The recommended value for the name field is item, as this is not used in the actual payload." + "description": "Optional. If the type is map, set map_items. map_items can refer to a primitive field or a complex (record only) field. To specify a primitive field, you only need to set name and type in the nested MetadataTemplate. The recommended value for the name field is item, as this isn't used in the actual payload." }, "name": { "description": "Required. The name of the field.", "type": "string" }, "recordFields": { - "description": "Optional. Field definition, needs to be specified if the type is record. Defines the nested fields.", + "description": "Optional. Field definition. You must specify it if the type is record. It defines the nested fields.", "items": { "$ref": "GoogleCloudDataplexV1AspectTypeMetadataTemplate" }, "type": "array" }, "type": { - "description": "Required. The datatype of this field. The following values are supported: Primitive types (string, integer, boolean, double, datetime); datetime must be of the format RFC3339 UTC \"Zulu\" (Examples: \"2014-10-02T15:01:23Z\" and \"2014-10-02T15:01:23.045123456Z\"). Complex types (enum, array, map, record).", + "description": "Required. The datatype of this field. The following values are supported:Primitive types: string integer boolean double datetime. Must be of the format RFC3339 UTC \"Zulu\" (Examples: \"2014-10-02T15:01:23Z\" and \"2014-10-02T15:01:23.045123456Z\").Complex types: enum array map record", "type": "string" }, "typeId": { - "description": "Optional. Id can be used if this definition of the field needs to be reused later. Id needs to be unique across the entire template. Id can only be specified if the field type is record.", + "description": "Optional. You can use type id if this definition of the field needs to be reused later. The type id must be unique across the entire template. You can only specify it if the field type is record.", "type": "string" }, "typeRef": { - "description": "Optional. A reference to another field definition (instead of an inline definition). The value must be equal to the value of an id field defined elsewhere in the MetadataTemplate. Only fields with type as record can refer to other fields.", + "description": "Optional. A reference to another field definition (not an inline definition). The value must be equal to the value of an id field defined elsewhere in the MetadataTemplate. Only fields with record type can refer to other fields.", "type": "string" } }, "type": "object" }, "GoogleCloudDataplexV1AspectTypeMetadataTemplateAnnotations": { - "description": "Definition of the annotations of a field", + "description": "Definition of the annotations of a field.", "id": "GoogleCloudDataplexV1AspectTypeMetadataTemplateAnnotations", "properties": { "deprecated": { - "description": "Optional. Marks a field as deprecated, a deprecation message can be included.", + "description": "Optional. Marks a field as deprecated. You can include a deprecation message.", "type": "string" }, "description": { - "description": "Optional. Specify a description for a field", + "description": "Optional. Description for a field.", "type": "string" }, "displayName": { - "description": "Optional. Specify a displayname for a field.", + "description": "Optional. Display name for a field.", "type": "string" }, "displayOrder": { - "description": "Optional. Specify a display order for a field. Display order can be used to reorder where a field is rendered", + "description": "Optional. Display order for a field. You can use this to reorder where a field is rendered.", "format": "int32", "type": "integer" }, "stringType": { - "description": "Optional. String Type annotations can be used to specify special meaning to string fields. The following values are supported: richText: The field must be interpreted as a rich text field. url: A fully qualified url link. resource: A service qualified resource reference.", + "description": "Optional. You can use String Type annotations to specify special meaning to string fields. The following values are supported: richText: The field must be interpreted as a rich text field. url: A fully qualified URL link. resource: A service qualified resource reference.", "type": "string" }, "stringValues": { - "description": "Optional. Suggested hints for string fields. These can be used to suggest values to users, through an UI for example.", + "description": "Optional. Suggested hints for string fields. You can use them to suggest values to users through console.", "items": { "type": "string" }, @@ -5722,31 +5709,31 @@ "type": "object" }, "GoogleCloudDataplexV1AspectTypeMetadataTemplateConstraints": { - "description": "Definition of the constraints of a field", + "description": "Definition of the constraints of a field.", "id": "GoogleCloudDataplexV1AspectTypeMetadataTemplateConstraints", "properties": { "required": { - "description": "Optional. Marks this as an optional/required field.", + "description": "Optional. Marks this field as optional or required.", "type": "boolean" } }, "type": "object" }, "GoogleCloudDataplexV1AspectTypeMetadataTemplateEnumValue": { - "description": "Definition of Enumvalue (to be used by enum fields)", + "description": "Definition of Enumvalue, to be used for enum fields.", "id": "GoogleCloudDataplexV1AspectTypeMetadataTemplateEnumValue", "properties": { "deprecated": { - "description": "Optional. Optional deprecation message to be set if an enum value needs to be deprecated.", + "description": "Optional. You can set this message if you need to deprecate an enum value.", "type": "string" }, "index": { - "description": "Required. Index for the enum. Cannot be modified.", + "description": "Required. Index for the enum value. It can't be modified.", "format": "int32", "type": "integer" }, "name": { - "description": "Required. Name of the enumvalue. This is the actual value that the aspect will contain.", + "description": "Required. Name of the enumvalue. This is the actual value that the aspect can contain.", "type": "string" } }, @@ -7709,6 +7696,12 @@ "description": "A DataScanJob represents an instance of DataScan execution.", "id": "GoogleCloudDataplexV1DataScanJob", "properties": { + "createTime": { + "description": "Output only. The time when the DataScanJob was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, "dataProfileResult": { "$ref": "GoogleCloudDataplexV1DataProfileResult", "description": "Output only. The result of the data profile scan.", @@ -8175,7 +8168,7 @@ "additionalProperties": { "$ref": "GoogleCloudDataplexV1Aspect" }, - "description": "Optional. The Aspects attached to the Entry. The format for the key can be one of the following: 1. {projectId}.{locationId}.{aspectTypeId} (if the aspect is attached directly to the entry) 2. {projectId}.{locationId}.{aspectTypeId}@{path} (if the aspect is attached to an entry's path)", + "description": "Optional. The Aspects attached to the Entry. The format for the key can be one of the following: {projectId}.{locationId}.{aspectTypeId} (if the aspect is attached directly to the entry) {projectId}.{locationId}.{aspectTypeId}@{path} (if the aspect is attached to an entry's path)", "type": "object" }, "createTime": { @@ -8186,7 +8179,7 @@ }, "entrySource": { "$ref": "GoogleCloudDataplexV1EntrySource", - "description": "Optional. Source system related information for an entry." + "description": "Optional. Information related to the source system for an entry." }, "entryType": { "description": "Required. Immutable. The resource name of the EntryType used to create this Entry.", @@ -8232,7 +8225,7 @@ "type": "string" }, "etag": { - "description": "This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.", + "description": "This checksum is computed by the service, and might be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.", "type": "string" }, "labels": { @@ -8247,23 +8240,8 @@ "readOnly": true, "type": "string" }, - "transferStatus": { - "description": "Output only. Denotes the transfer status of the Entry Group. It is unspecified for Entry Group created from Dataplex API.", - "enum": [ - "TRANSFER_STATUS_UNSPECIFIED", - "TRANSFER_STATUS_MIGRATED", - "TRANSFER_STATUS_TRANSFERRED" - ], - "enumDescriptions": [ - "The default value. It is set for resources that were not subject for migration from Data Catalog service.", - "Indicates that a resource was migrated from Data Catalog service but it hasn't been transferred yet. In particular the resource cannot be updated from Dataplex API.", - "Indicates that a resource was transferred from Data Catalog service. The resource can only be updated from Dataplex API." - ], - "readOnly": true, - "type": "string" - }, "uid": { - "description": "Output only. System generated globally unique ID for the EntryGroup. This ID will be different if the EntryGroup is deleted and re-created with the same name.", + "description": "Output only. System generated globally unique ID for the EntryGroup. If you delete and recreate the EntryGroup with the same name, this ID will be different.", "readOnly": true, "type": "string" }, @@ -8277,7 +8255,7 @@ "type": "object" }, "GoogleCloudDataplexV1EntrySource": { - "description": "EntrySource contains source system related information for the entry.", + "description": "EntrySource contains information related to the source system of the Entry.", "id": "GoogleCloudDataplexV1EntrySource", "properties": { "ancestors": { @@ -8308,7 +8286,7 @@ "type": "object" }, "location": { - "description": "Output only. Location of the resource in the source system. Entry will be searchable by this location. By default, this should match the location of the EntryGroup containing this entry. A different value allows capturing source location for data external to GCP.", + "description": "Output only. Location of the resource in the source system. You can search the Entry by this location. By default, this should match the location of the EntryGroup containing this entry. A different value allows capturing the source location for data external to Google Cloud.", "readOnly": true, "type": "string" }, @@ -8370,7 +8348,7 @@ "type": "string" }, "etag": { - "description": "Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.", + "description": "Optional. This checksum is computed by the service, and might be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.", "type": "string" }, "labels": { @@ -8401,7 +8379,7 @@ "type": "string" }, "typeAliases": { - "description": "Optional. Indicates the class this Entry Type belongs to, for example, TABLE, DATABASE, MODEL.", + "description": "Optional. Indicates the classes this Entry Type belongs to, for example, TABLE, DATABASE, MODEL.", "items": { "type": "string" }, @@ -9090,11 +9068,11 @@ "type": "object" }, "GoogleCloudDataplexV1ListAspectTypesResponse": { - "description": "List AspectTypes response", + "description": "List AspectTypes response.", "id": "GoogleCloudDataplexV1ListAspectTypesResponse", "properties": { "aspectTypes": { - "description": "ListAspectTypes under the given parent location.", + "description": "AspectTypes under the given parent location.", "items": { "$ref": "GoogleCloudDataplexV1AspectType" }, @@ -9105,7 +9083,7 @@ "type": "string" }, "unreachableLocations": { - "description": "Locations that could not be reached.", + "description": "Locations that the service couldn't reach.", "items": { "type": "string" }, @@ -9287,28 +9265,29 @@ "type": "object" }, "GoogleCloudDataplexV1ListEntriesResponse": { + "description": "List Entries response.", "id": "GoogleCloudDataplexV1ListEntriesResponse", "properties": { "entries": { - "description": "The list of entries.", + "description": "The list of entries under the given parent location.", "items": { "$ref": "GoogleCloudDataplexV1Entry" }, "type": "array" }, "nextPageToken": { - "description": "Pagination token.", + "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", "type": "string" } }, "type": "object" }, "GoogleCloudDataplexV1ListEntryGroupsResponse": { - "description": "List ListEntryGroups response.", + "description": "List entry groups response.", "id": "GoogleCloudDataplexV1ListEntryGroupsResponse", "properties": { "entryGroups": { - "description": "ListEntryGroups under the given parent location.", + "description": "Entry groups under the given parent location.", "items": { "$ref": "GoogleCloudDataplexV1EntryGroup" }, @@ -9319,7 +9298,7 @@ "type": "string" }, "unreachableLocations": { - "description": "Locations that could not be reached.", + "description": "Locations that the service couldn't reach.", "items": { "type": "string" }, @@ -9329,11 +9308,11 @@ "type": "object" }, "GoogleCloudDataplexV1ListEntryTypesResponse": { - "description": "List EntryTypes response", + "description": "List EntryTypes response.", "id": "GoogleCloudDataplexV1ListEntryTypesResponse", "properties": { "entryTypes": { - "description": "ListEntryTypes under the given parent location.", + "description": "EntryTypes under the given parent location.", "items": { "$ref": "GoogleCloudDataplexV1EntryType" }, @@ -9344,7 +9323,7 @@ "type": "string" }, "unreachableLocations": { - "description": "Locations that could not be reached.", + "description": "Locations that the service couldn't reach.", "items": { "type": "string" }, @@ -9840,7 +9819,7 @@ "id": "GoogleCloudDataplexV1SearchEntriesResponse", "properties": { "nextPageToken": { - "description": "Pagination token.", + "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", "type": "string" }, "results": { @@ -9851,12 +9830,12 @@ "type": "array" }, "totalSize": { - "description": "The estimated total number of matching entries. Not guaranteed to be accurate.", + "description": "The estimated total number of matching entries. This number isn't guaranteed to be accurate.", "format": "int32", "type": "integer" }, "unreachable": { - "description": "Unreachable locations. Search results don't include data from those locations.", + "description": "Locations that the service couldn't reach. Search results don't include data from these locations.", "items": { "type": "string" }, diff --git a/discovery/dataportability-v1.json b/discovery/dataportability-v1.json index cfe997540b..c4c6f459b7 100644 --- a/discovery/dataportability-v1.json +++ b/discovery/dataportability-v1.json @@ -641,7 +641,7 @@ } } }, - "revision": "20240430", + "revision": "20240410", "rootUrl": "https://dataportability.googleapis.com/", "schemas": { "Empty": { diff --git a/discovery/dataportability-v1beta.json b/discovery/dataportability-v1beta.json index 03f37fe7f1..6736eee1de 100644 --- a/discovery/dataportability-v1beta.json +++ b/discovery/dataportability-v1beta.json @@ -641,7 +641,7 @@ } } }, - "revision": "20240430", + "revision": "20240410", "rootUrl": "https://dataportability.googleapis.com/", "schemas": { "Empty": { diff --git a/discovery/dataproc-v1.json b/discovery/dataproc-v1.json index 5693e27bd4..fe85670e83 100644 --- a/discovery/dataproc-v1.json +++ b/discovery/dataproc-v1.json @@ -17,19 +17,19 @@ "documentationLink": "https://cloud.google.com/dataproc/", "endpoints": [ { + "description": "Regional Endpoint", "endpointUrl": "https://dataproc.europe-west3.rep.googleapis.com/", - "location": "europe-west3", - "description": "Regional Endpoint" + "location": "europe-west3" }, { + "description": "Regional Endpoint", "endpointUrl": "https://dataproc.europe-west9.rep.googleapis.com/", - "location": "europe-west9", - "description": "Regional Endpoint" + "location": "europe-west9" }, { + "description": "Regional Endpoint", "endpointUrl": "https://dataproc.me-central2.rep.googleapis.com/", - "location": "me-central2", - "description": "Regional Endpoint" + "location": "me-central2" } ], "fullyEncodeReservedExpansion": true, diff --git a/discovery/datastream-v1.json b/discovery/datastream-v1.json index e0525416cb..c53eb2a522 100644 --- a/discovery/datastream-v1.json +++ b/discovery/datastream-v1.json @@ -1250,7 +1250,7 @@ } } }, - "revision": "20240612", + "revision": "20240529", "rootUrl": "https://datastream.googleapis.com/", "schemas": { "AppendOnly": { diff --git a/discovery/deploymentmanager-alpha.json b/discovery/deploymentmanager-alpha.json index b31c759373..8152890376 100644 --- a/discovery/deploymentmanager-alpha.json +++ b/discovery/deploymentmanager-alpha.json @@ -1588,7 +1588,7 @@ } } }, - "revision": "20240215", + "revision": "20240214", "rootUrl": "https://deploymentmanager.googleapis.com/", "schemas": { "AsyncOptions": { diff --git a/discovery/deploymentmanager-v2beta.json b/discovery/deploymentmanager-v2beta.json index 1f17d1148c..43e7789b07 100644 --- a/discovery/deploymentmanager-v2beta.json +++ b/discovery/deploymentmanager-v2beta.json @@ -1552,7 +1552,7 @@ } } }, - "revision": "20240215", + "revision": "20240214", "rootUrl": "https://deploymentmanager.googleapis.com/", "schemas": { "AsyncOptions": { diff --git a/discovery/developerconnect-v1.json b/discovery/developerconnect-v1.json index 6278bc1634..9151055250 100644 --- a/discovery/developerconnect-v1.json +++ b/discovery/developerconnect-v1.json @@ -840,7 +840,7 @@ } } }, - "revision": "20240527", + "revision": "20240523", "rootUrl": "https://developerconnect.googleapis.com/", "schemas": { "CancelOperationRequest": { diff --git a/discovery/dfareporting-v3.5.json b/discovery/dfareporting-v3.5.json index 92f65c768b..a437fd6a1f 100644 --- a/discovery/dfareporting-v3.5.json +++ b/discovery/dfareporting-v3.5.json @@ -161,7 +161,7 @@ } } }, - "revision": "20240625", + "revision": "20240613", "rootUrl": "https://dfareporting.googleapis.com/", "schemas": { "ClickTag": { diff --git a/discovery/dfareporting-v4.json b/discovery/dfareporting-v4.json index 48ed7da64b..8f86fe6aed 100644 --- a/discovery/dfareporting-v4.json +++ b/discovery/dfareporting-v4.json @@ -10067,7 +10067,7 @@ } } }, - "revision": "20240625", + "revision": "20240613", "rootUrl": "https://dfareporting.googleapis.com/", "schemas": { "Account": { diff --git a/discovery/dialogflow-v2.json b/discovery/dialogflow-v2.json index 2f4cc9d6c0..ce117a7a87 100644 --- a/discovery/dialogflow-v2.json +++ b/discovery/dialogflow-v2.json @@ -4343,6 +4343,32 @@ "https://www.googleapis.com/auth/dialogflow" ] }, + "getEncryptionSpec": { + "description": "Gets location-level encryption key specification.", + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/encryptionSpec", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.getEncryptionSpec", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the encryption spec resource to get.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/encryptionSpec$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+name}", + "response": { + "$ref": "GoogleCloudDialogflowV2EncryptionSpec" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, "list": { "description": "Lists information about the supported locations for this service.", "flatPath": "v2/projects/{projectsId}/locations", @@ -7717,6 +7743,39 @@ } } }, + "encryptionSpec": { + "methods": { + "initialize": { + "description": "Initializes a location-level encryption key specification. An error will be thrown if the location has resources already created before the initialization. Once the encryption specification is initialized at a location, it is immutable and all newly created resources under the location will be encrypted with the existing specification.", + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/encryptionSpec:initialize", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.encryptionSpec.initialize", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Immutable. The resource name of the encryption key specification resource. Format: projects/{project}/locations/{location}/encryptionSpec", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/encryptionSpec$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+name}:initialize", + "request": { + "$ref": "GoogleCloudDialogflowV2InitializeEncryptionSpecRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + } + } + }, "generators": { "methods": { "create": { @@ -8655,7 +8714,7 @@ } } }, - "revision": "20240614", + "revision": "20240704", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -9167,6 +9226,10 @@ "description": "The target page to transition to. Format: `projects//locations//agents//flows//pages/`.", "type": "string" }, + "targetPlaybook": { + "description": "The target playbook to transition to. Format: `projects//locations//agents//playbooks/`.", + "type": "string" + }, "triggerFulfillment": { "$ref": "GoogleCloudDialogflowCxV3Fulfillment", "description": "The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks." @@ -10472,11 +10535,11 @@ "id": "GoogleCloudDialogflowCxV3TestConfig", "properties": { "flow": { - "description": "Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", + "description": "Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.", "type": "string" }, "page": { - "description": "The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", + "description": "The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.", "type": "string" }, "trackingParameters": { @@ -11557,6 +11620,10 @@ "description": "The target page to transition to. Format: `projects//locations//agents//flows//pages/`.", "type": "string" }, + "targetPlaybook": { + "description": "The target playbook to transition to. Format: `projects//locations//agents//playbooks/`.", + "type": "string" + }, "triggerFulfillment": { "$ref": "GoogleCloudDialogflowCxV3beta1Fulfillment", "description": "The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks." @@ -12854,11 +12921,11 @@ "id": "GoogleCloudDialogflowCxV3beta1TestConfig", "properties": { "flow": { - "description": "Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", + "description": "Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.", "type": "string" }, "page": { - "description": "The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", + "description": "The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.", "type": "string" }, "trackingParameters": { @@ -15013,6 +15080,21 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2EncryptionSpec": { + "description": "A customer-managed encryption key specification that can be applied to all created resources (e.g. Conversation).", + "id": "GoogleCloudDialogflowV2EncryptionSpec", + "properties": { + "kmsKey": { + "description": "Required. The name of customer-managed encryption key that is used to secure a resource and its sub-resources. If empty, the resource is secured by the default Google encryption key. Only the key in the same location as this resource is allowed to be used for encryption. Format: `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}`", + "type": "string" + }, + "name": { + "description": "Immutable. The resource name of the encryption key specification resource. Format: projects/{project}/locations/{location}/encryptionSpec", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2EntityType": { "description": "Each intent parameter has a type, called the entity type, which dictates exactly how data from an end-user expression is extracted. Dialogflow provides predefined system entities that can match many common types of data. For example, there are system entities for matching dates, times, colors, email addresses, and so on. You can also create your own custom entities for matching custom data. For example, you could define a vegetable entity that can match the types of vegetables available for purchase with a grocery store agent. For more information, see the [Entity guide](https://cloud.google.com/dialogflow/docs/entities-overview).", "id": "GoogleCloudDialogflowV2EntityType", @@ -16217,6 +16299,29 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata": { + "description": "Metadata for initializing a location-level encryption specification.", + "id": "GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata", + "properties": { + "request": { + "$ref": "GoogleCloudDialogflowV2InitializeEncryptionSpecRequest", + "description": "Output only. The original request for initialization.", + "readOnly": true + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2InitializeEncryptionSpecRequest": { + "description": "The request to initialize a location-level encryption specification.", + "id": "GoogleCloudDialogflowV2InitializeEncryptionSpecRequest", + "properties": { + "encryptionSpec": { + "$ref": "GoogleCloudDialogflowV2EncryptionSpec", + "description": "Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. If the kms_key_name is left empty, no encryption will be enforced." + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2InputAudioConfig": { "description": "Instructs the speech recognizer how to process the audio content.", "id": "GoogleCloudDialogflowV2InputAudioConfig", @@ -18581,10 +18686,54 @@ "description": "Configures speech transcription for ConversationProfile.", "id": "GoogleCloudDialogflowV2SpeechToTextConfig", "properties": { + "alternativeLanguageCodes": { + "description": "Defines the list of other language codes in addition to the one provided by the conversation profile that may be detected as the language code for the utterances over the conversation. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes.", + "items": { + "type": "string" + }, + "type": "array" + }, + "audioEncoding": { + "description": "Audio encoding of the audio content to process.", + "enum": [ + "AUDIO_ENCODING_UNSPECIFIED", + "AUDIO_ENCODING_LINEAR_16", + "AUDIO_ENCODING_FLAC", + "AUDIO_ENCODING_MULAW", + "AUDIO_ENCODING_AMR", + "AUDIO_ENCODING_AMR_WB", + "AUDIO_ENCODING_OGG_OPUS", + "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE" + ], + "enumDescriptions": [ + "Not specified.", + "Uncompressed 16-bit signed little-endian samples (Linear PCM).", + "[`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless Audio Codec) is the recommended encoding because it is lossless (therefore recognition is not compromised) and requires only about half the bandwidth of `LINEAR16`. `FLAC` stream encoding supports 16-bit and 24-bit samples, however, not all fields in `STREAMINFO` are supported.", + "8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law.", + "Adaptive Multi-Rate Narrowband codec. `sample_rate_hertz` must be 8000.", + "Adaptive Multi-Rate Wideband codec. `sample_rate_hertz` must be 16000.", + "Opus encoded audio frames in Ogg container ([OggOpus](https://wiki.xiph.org/OggOpus)). `sample_rate_hertz` must be 16000.", + "Although the use of lossy encodings is not recommended, if a very low bitrate encoding is required, `OGG_OPUS` is highly preferred over Speex encoding. The [Speex](https://speex.org/) encoding supported by Dialogflow API has a header byte in each block, as in MIME type `audio/x-speex-with-header-byte`. It is a variant of the RTP Speex encoding defined in [RFC 5574](https://tools.ietf.org/html/rfc5574). The stream is a sequence of blocks, one block per RTP packet. Each block starts with a byte containing the length of the block, in bytes, followed by one or more frames of Speex data, padded to an integral number of bytes (octets) as specified in RFC 5574. In other words, each RTP header is replaced with a single byte containing the block length. Only Speex wideband is supported. `sample_rate_hertz` must be 16000." + ], + "type": "string" + }, + "enableWordInfo": { + "description": "If `true`, Dialogflow returns SpeechWordInfo in StreamingRecognitionResult with information about the recognized speech words, e.g. start and end time offsets. If false or unspecified, Speech doesn't return any word-level information.", + "type": "boolean" + }, + "languageCode": { + "description": "The language of the supplied audio. Dialogflow does not do translations. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.", + "type": "string" + }, "model": { "description": "Which Speech model to select. Select the model best suited to your domain to get best results. If a model is not explicitly specified, then Dialogflow auto-selects a model based on other parameters in the SpeechToTextConfig and Agent settings. If enhanced speech model is enabled for the agent and an enhanced version of the specified model for the language does not exist, then the speech is recognized using the standard version of the specified model. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model) for more details. If you specify a model, the following models typically have the best performance: - phone_call (best for Agent Assist and telephony) - latest_short (best for Dialogflow non-telephony) - command_and_search Leave this field unspecified to use [Agent Speech settings](https://cloud.google.com/dialogflow/cx/docs/concept/agent#settings-speech) for model selection.", "type": "string" }, + "sampleRateHertz": { + "description": "Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics) for more details.", + "format": "int32", + "type": "integer" + }, "speechModelVariant": { "description": "The speech model used in speech to text. `SPEECH_MODEL_VARIANT_UNSPECIFIED`, `USE_BEST_AVAILABLE` will be treated as `USE_ENHANCED`. It can be overridden in AnalyzeContentRequest and StreamingAnalyzeContentRequest request. If enhanced model variant is specified and an enhanced version of the specified model for the language does not exist, then it would emit an error.", "enum": [ @@ -19551,6 +19700,21 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2beta1EncryptionSpec": { + "description": "A customer-managed encryption key specification that can be applied to all created resources (e.g. Conversation).", + "id": "GoogleCloudDialogflowV2beta1EncryptionSpec", + "properties": { + "kmsKey": { + "description": "Required. The name of customer-managed encryption key that is used to secure a resource and its sub-resources. If empty, the resource is secured by the default Google encryption key. Only the key in the same location as this resource is allowed to be used for encryption. Format: `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}`", + "type": "string" + }, + "name": { + "description": "Immutable. The resource name of the encryption key specification resource. Format: projects/{project}/locations/{location}/encryptionSpec", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2beta1EntityType": { "description": "Each intent parameter has a type, called the entity type, which dictates exactly how data from an end-user expression is extracted. Dialogflow provides predefined system entities that can match many common types of data. For example, there are system entities for matching dates, times, colors, email addresses, and so on. You can also create your own custom entities for matching custom data. For example, you could define a vegetable entity that can match the types of vegetables available for purchase with a grocery store agent. For more information, see the [Entity guide](https://cloud.google.com/dialogflow/docs/entities-overview).", "id": "GoogleCloudDialogflowV2beta1EntityType", @@ -19755,6 +19919,29 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata": { + "description": "Metadata for initializing a location-level encryption specification.", + "id": "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata", + "properties": { + "request": { + "$ref": "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest", + "description": "Output only. The original request for initialization.", + "readOnly": true + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest": { + "description": "The request to initialize a location-level encryption specification.", + "id": "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest", + "properties": { + "encryptionSpec": { + "$ref": "GoogleCloudDialogflowV2beta1EncryptionSpec", + "description": "Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. If the kms_key_name is left empty, no encryption will be enforced." + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2beta1Intent": { "description": "An intent categorizes an end-user's intention for one conversation turn. For each agent, you define many intents, where your combined intents can handle a complete conversation. When an end-user writes or says something, referred to as an end-user expression or end-user input, Dialogflow matches the end-user input to the best intent in your agent. Matching an intent is also known as intent classification. For more information, see the [intent guide](https://cloud.google.com/dialogflow/docs/intents-overview).", "id": "GoogleCloudDialogflowV2beta1Intent", @@ -21214,6 +21401,13 @@ "readOnly": true, "type": "string" }, + "responseMessages": { + "description": "Optional. Automated agent responses.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1ResponseMessage" + }, + "type": "array" + }, "sendTime": { "description": "Optional. The time when the message was sent.", "format": "google-datetime", @@ -21363,6 +21557,125 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2beta1ResponseMessage": { + "description": "Response messages from an automated agent.", + "id": "GoogleCloudDialogflowV2beta1ResponseMessage", + "properties": { + "endInteraction": { + "$ref": "GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction", + "description": "A signal that indicates the interaction with the Dialogflow agent has ended." + }, + "liveAgentHandoff": { + "$ref": "GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff", + "description": "Hands off conversation to a live agent." + }, + "mixedAudio": { + "$ref": "GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio", + "description": "An audio response message composed of both the synthesized Dialogflow agent responses and the audios hosted in places known to the client." + }, + "payload": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Returns a response containing a custom, platform-specific payload.", + "type": "object" + }, + "telephonyTransferCall": { + "$ref": "GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall", + "description": "A signal that the client should transfer the phone call connected to this agent to a third-party endpoint." + }, + "text": { + "$ref": "GoogleCloudDialogflowV2beta1ResponseMessageText", + "description": "Returns a text response." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction": { + "description": "Indicates that interaction with the Dialogflow agent has ended.", + "id": "GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction", + "properties": {}, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff": { + "description": "Indicates that the conversation should be handed off to a human agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example: * In the entry fulfillment of a CX Page if entering the page indicates something went extremely wrong in the conversation. * In a webhook response when you determine that the customer issue can only be handled by a human.", + "id": "GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff", + "properties": { + "metadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Custom metadata for your handoff procedure. Dialogflow doesn't impose any structure on this.", + "type": "object" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio": { + "description": "Represents an audio message that is composed of both segments synthesized from the Dialogflow agent prompts and ones hosted externally at the specified URIs.", + "id": "GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio", + "properties": { + "segments": { + "description": "Segments this audio response is composed of.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment": { + "description": "Represents one segment of audio.", + "id": "GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment", + "properties": { + "allowPlaybackInterruption": { + "description": "Whether the playback of this segment can be interrupted by the end user's speech and the client should then start the next Dialogflow request.", + "type": "boolean" + }, + "audio": { + "description": "Raw audio synthesized from the Dialogflow agent's response using the output config specified in the request.", + "format": "byte", + "type": "string" + }, + "uri": { + "description": "Client-specific URI that points to an audio clip accessible to the client.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall": { + "description": "Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint.", + "id": "GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall", + "properties": { + "phoneNumber": { + "description": "Transfer the call to a phone number in [E.164 format](https://en.wikipedia.org/wiki/E.164).", + "type": "string" + }, + "sipUri": { + "description": "Transfer the call to a SIP endpoint.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1ResponseMessageText": { + "description": "The text response message.", + "id": "GoogleCloudDialogflowV2beta1ResponseMessageText", + "properties": { + "text": { + "description": "A collection of text responses.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2beta1Sentiment": { "description": "The sentiment, such as positive/negative feeling or association, for a unit of analysis, such as the query text. See: https://cloud.google.com/natural-language/docs/basics#interpreting_sentiment_analysis_values for how to interpret the result.", "id": "GoogleCloudDialogflowV2beta1Sentiment", diff --git a/discovery/dialogflow-v2beta1.json b/discovery/dialogflow-v2beta1.json index cef253fd7d..260ca6e7ae 100644 --- a/discovery/dialogflow-v2beta1.json +++ b/discovery/dialogflow-v2beta1.json @@ -4108,6 +4108,32 @@ "https://www.googleapis.com/auth/dialogflow" ] }, + "getEncryptionSpec": { + "description": "Gets location-level encryption key specification.", + "flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/encryptionSpec", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.getEncryptionSpec", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the encryption spec resource to get.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/encryptionSpec$", + "required": true, + "type": "string" + } + }, + "path": "v2beta1/{+name}", + "response": { + "$ref": "GoogleCloudDialogflowV2beta1EncryptionSpec" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, "list": { "description": "Lists information about the supported locations for this service.", "flatPath": "v2beta1/projects/{projectsId}/locations", @@ -7109,6 +7135,39 @@ } } }, + "encryptionSpec": { + "methods": { + "initialize": { + "description": "Initializes a location-level encryption key specification. An error will be thrown if the location has resources already created before the initialization. Once the encryption specification is initialized at a location, it is immutable and all newly created resources under the location will be encrypted with the existing specification.", + "flatPath": "v2beta1/projects/{projectsId}/locations/{locationsId}/encryptionSpec:initialize", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.encryptionSpec.initialize", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Immutable. The resource name of the encryption key specification resource. Format: projects/{project}/locations/{location}/encryptionSpec", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/encryptionSpec$", + "required": true, + "type": "string" + } + }, + "path": "v2beta1/{+name}:initialize", + "request": { + "$ref": "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + } + } + }, "generators": { "methods": { "create": { @@ -8023,7 +8082,7 @@ } } }, - "revision": "20240614", + "revision": "20240704", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -8535,6 +8594,10 @@ "description": "The target page to transition to. Format: `projects//locations//agents//flows//pages/`.", "type": "string" }, + "targetPlaybook": { + "description": "The target playbook to transition to. Format: `projects//locations//agents//playbooks/`.", + "type": "string" + }, "triggerFulfillment": { "$ref": "GoogleCloudDialogflowCxV3Fulfillment", "description": "The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks." @@ -9840,11 +9903,11 @@ "id": "GoogleCloudDialogflowCxV3TestConfig", "properties": { "flow": { - "description": "Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", + "description": "Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.", "type": "string" }, "page": { - "description": "The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", + "description": "The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.", "type": "string" }, "trackingParameters": { @@ -10925,6 +10988,10 @@ "description": "The target page to transition to. Format: `projects//locations//agents//flows//pages/`.", "type": "string" }, + "targetPlaybook": { + "description": "The target playbook to transition to. Format: `projects//locations//agents//playbooks/`.", + "type": "string" + }, "triggerFulfillment": { "$ref": "GoogleCloudDialogflowCxV3beta1Fulfillment", "description": "The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks." @@ -12222,11 +12289,11 @@ "id": "GoogleCloudDialogflowCxV3beta1TestConfig", "properties": { "flow": { - "description": "Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", + "description": "Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.", "type": "string" }, "page": { - "description": "The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", + "description": "The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.", "type": "string" }, "trackingParameters": { @@ -13274,6 +13341,21 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2EncryptionSpec": { + "description": "A customer-managed encryption key specification that can be applied to all created resources (e.g. Conversation).", + "id": "GoogleCloudDialogflowV2EncryptionSpec", + "properties": { + "kmsKey": { + "description": "Required. The name of customer-managed encryption key that is used to secure a resource and its sub-resources. If empty, the resource is secured by the default Google encryption key. Only the key in the same location as this resource is allowed to be used for encryption. Format: `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}`", + "type": "string" + }, + "name": { + "description": "Immutable. The resource name of the encryption key specification resource. Format: projects/{project}/locations/{location}/encryptionSpec", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2EntityType": { "description": "Each intent parameter has a type, called the entity type, which dictates exactly how data from an end-user expression is extracted. Dialogflow provides predefined system entities that can match many common types of data. For example, there are system entities for matching dates, times, colors, email addresses, and so on. You can also create your own custom entities for matching custom data. For example, you could define a vegetable entity that can match the types of vegetables available for purchase with a grocery store agent. For more information, see the [Entity guide](https://cloud.google.com/dialogflow/docs/entities-overview).", "id": "GoogleCloudDialogflowV2EntityType", @@ -13517,6 +13599,29 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata": { + "description": "Metadata for initializing a location-level encryption specification.", + "id": "GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata", + "properties": { + "request": { + "$ref": "GoogleCloudDialogflowV2InitializeEncryptionSpecRequest", + "description": "Output only. The original request for initialization.", + "readOnly": true + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2InitializeEncryptionSpecRequest": { + "description": "The request to initialize a location-level encryption specification.", + "id": "GoogleCloudDialogflowV2InitializeEncryptionSpecRequest", + "properties": { + "encryptionSpec": { + "$ref": "GoogleCloudDialogflowV2EncryptionSpec", + "description": "Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. If the kms_key_name is left empty, no encryption will be enforced." + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2InputDataset": { "description": "InputDataset used to create model or do evaluation. NextID:5", "id": "GoogleCloudDialogflowV2InputDataset", @@ -16512,6 +16617,21 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2beta1EncryptionSpec": { + "description": "A customer-managed encryption key specification that can be applied to all created resources (e.g. Conversation).", + "id": "GoogleCloudDialogflowV2beta1EncryptionSpec", + "properties": { + "kmsKey": { + "description": "Required. The name of customer-managed encryption key that is used to secure a resource and its sub-resources. If empty, the resource is secured by the default Google encryption key. Only the key in the same location as this resource is allowed to be used for encryption. Format: `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}`", + "type": "string" + }, + "name": { + "description": "Immutable. The resource name of the encryption key specification resource. Format: projects/{project}/locations/{location}/encryptionSpec", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2beta1EntityType": { "description": "Each intent parameter has a type, called the entity type, which dictates exactly how data from an end-user expression is extracted. Dialogflow provides predefined system entities that can match many common types of data. For example, there are system entities for matching dates, times, colors, email addresses, and so on. You can also create your own custom entities for matching custom data. For example, you could define a vegetable entity that can match the types of vegetables available for purchase with a grocery store agent. For more information, see the [Entity guide](https://cloud.google.com/dialogflow/docs/entities-overview).", "id": "GoogleCloudDialogflowV2beta1EntityType", @@ -17606,6 +17726,29 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata": { + "description": "Metadata for initializing a location-level encryption specification.", + "id": "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata", + "properties": { + "request": { + "$ref": "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest", + "description": "Output only. The original request for initialization.", + "readOnly": true + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest": { + "description": "The request to initialize a location-level encryption specification.", + "id": "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest", + "properties": { + "encryptionSpec": { + "$ref": "GoogleCloudDialogflowV2beta1EncryptionSpec", + "description": "Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. If the kms_key_name is left empty, no encryption will be enforced." + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2beta1InputAudioConfig": { "description": "Instructs the speech recognizer on how to process the audio content.", "id": "GoogleCloudDialogflowV2beta1InputAudioConfig", @@ -19499,6 +19642,13 @@ "readOnly": true, "type": "string" }, + "responseMessages": { + "description": "Optional. Automated agent responses.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1ResponseMessage" + }, + "type": "array" + }, "sendTime": { "description": "Optional. The time when the message was sent.", "format": "google-datetime", @@ -20363,10 +20513,54 @@ "description": "Configures speech transcription for ConversationProfile.", "id": "GoogleCloudDialogflowV2beta1SpeechToTextConfig", "properties": { + "alternativeLanguageCodes": { + "description": "Defines the list of other language codes in addition to the one provided by the conversation profile that may be detected as the language code for the utterances over the conversation. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes.", + "items": { + "type": "string" + }, + "type": "array" + }, + "audioEncoding": { + "description": "Audio encoding of the audio content to process.", + "enum": [ + "AUDIO_ENCODING_UNSPECIFIED", + "AUDIO_ENCODING_LINEAR_16", + "AUDIO_ENCODING_FLAC", + "AUDIO_ENCODING_MULAW", + "AUDIO_ENCODING_AMR", + "AUDIO_ENCODING_AMR_WB", + "AUDIO_ENCODING_OGG_OPUS", + "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE" + ], + "enumDescriptions": [ + "Not specified.", + "Uncompressed 16-bit signed little-endian samples (Linear PCM).", + "[`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless Audio Codec) is the recommended encoding because it is lossless (therefore recognition is not compromised) and requires only about half the bandwidth of `LINEAR16`. `FLAC` stream encoding supports 16-bit and 24-bit samples, however, not all fields in `STREAMINFO` are supported.", + "8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law.", + "Adaptive Multi-Rate Narrowband codec. `sample_rate_hertz` must be 8000.", + "Adaptive Multi-Rate Wideband codec. `sample_rate_hertz` must be 16000.", + "Opus encoded audio frames in Ogg container ([OggOpus](https://wiki.xiph.org/OggOpus)). `sample_rate_hertz` must be 16000.", + "Although the use of lossy encodings is not recommended, if a very low bitrate encoding is required, `OGG_OPUS` is highly preferred over Speex encoding. The [Speex](https://speex.org/) encoding supported by Dialogflow API has a header byte in each block, as in MIME type `audio/x-speex-with-header-byte`. It is a variant of the RTP Speex encoding defined in [RFC 5574](https://tools.ietf.org/html/rfc5574). The stream is a sequence of blocks, one block per RTP packet. Each block starts with a byte containing the length of the block, in bytes, followed by one or more frames of Speex data, padded to an integral number of bytes (octets) as specified in RFC 5574. In other words, each RTP header is replaced with a single byte containing the block length. Only Speex wideband is supported. `sample_rate_hertz` must be 16000." + ], + "type": "string" + }, + "enableWordInfo": { + "description": "If `true`, Dialogflow returns SpeechWordInfo in StreamingRecognitionResult with information about the recognized speech words, e.g. start and end time offsets. If false or unspecified, Speech doesn't return any word-level information.", + "type": "boolean" + }, + "languageCode": { + "description": "The language of the supplied audio. Dialogflow does not do translations. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.", + "type": "string" + }, "model": { "description": "Which Speech model to select. Select the model best suited to your domain to get best results. If a model is not explicitly specified, then Dialogflow auto-selects a model based on other parameters in the SpeechToTextConfig and Agent settings. If enhanced speech model is enabled for the agent and an enhanced version of the specified model for the language does not exist, then the speech is recognized using the standard version of the specified model. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model) for more details. If you specify a model, the following models typically have the best performance: - phone_call (best for Agent Assist and telephony) - latest_short (best for Dialogflow non-telephony) - command_and_search Leave this field unspecified to use [Agent Speech settings](https://cloud.google.com/dialogflow/cx/docs/concept/agent#settings-speech) for model selection.", "type": "string" }, + "sampleRateHertz": { + "description": "Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics) for more details.", + "format": "int32", + "type": "integer" + }, "speechModelVariant": { "description": "The speech model used in speech to text. `SPEECH_MODEL_VARIANT_UNSPECIFIED`, `USE_BEST_AVAILABLE` will be treated as `USE_ENHANCED`. It can be overridden in AnalyzeContentRequest and StreamingAnalyzeContentRequest request. If enhanced model variant is specified and an enhanced version of the specified model for the language does not exist, then it would emit an error.", "enum": [ diff --git a/discovery/dialogflow-v3.json b/discovery/dialogflow-v3.json index 63873b0e28..cc222defaa 100644 --- a/discovery/dialogflow-v3.json +++ b/discovery/dialogflow-v3.json @@ -4453,7 +4453,7 @@ } } }, - "revision": "20240614", + "revision": "20240704", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -5273,6 +5273,10 @@ "description": "Diagnostic info related to the answer generation model call.", "id": "GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerGenerationModelCallSignals", "properties": { + "model": { + "description": "Name of the generative model. For example, \"gemini-ultra\", \"gemini-pro\", \"gemini-1.5-flash\" etc. Defaults to \"Other\" if the model is unknown.", + "type": "string" + }, "modelOutput": { "description": "Output of the generative model.", "type": "string" @@ -5364,6 +5368,10 @@ "description": "Diagnostic info related to the rewriter model call.", "id": "GoogleCloudDialogflowCxV3DataStoreConnectionSignalsRewriterModelCallSignals", "properties": { + "model": { + "description": "Name of the generative model. For example, \"gemini-ultra\", \"gemini-pro\", \"gemini-1.5-flash\" etc. Defaults to \"Other\" if the model is unknown.", + "type": "string" + }, "modelOutput": { "description": "Output of the generative model.", "type": "string" @@ -5827,6 +5835,10 @@ "description": "The target page to transition to. Format: `projects//locations//agents//flows//pages/`.", "type": "string" }, + "targetPlaybook": { + "description": "The target playbook to transition to. Format: `projects//locations//agents//playbooks/`.", + "type": "string" + }, "triggerFulfillment": { "$ref": "GoogleCloudDialogflowCxV3Fulfillment", "description": "The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks." @@ -7864,6 +7876,7 @@ "NO_MATCH", "NO_INPUT", "EVENT", + "KNOWLEDGE_CONNECTOR", "PLAYBOOK" ], "enumDescriptions": [ @@ -7874,6 +7887,7 @@ "No match was found for the query.", "Indicates an empty query.", "The query directly triggered an event.", + "The query was matched to a Knowledge Connector answer.", "The query was handled by a `Playbook`." ], "type": "string" @@ -9236,11 +9250,11 @@ "id": "GoogleCloudDialogflowCxV3TestConfig", "properties": { "flow": { - "description": "Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", + "description": "Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.", "type": "string" }, "page": { - "description": "The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", + "description": "The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.", "type": "string" }, "trackingParameters": { @@ -10712,6 +10726,10 @@ "description": "The target page to transition to. Format: `projects//locations//agents//flows//pages/`.", "type": "string" }, + "targetPlaybook": { + "description": "The target playbook to transition to. Format: `projects//locations//agents//playbooks/`.", + "type": "string" + }, "triggerFulfillment": { "$ref": "GoogleCloudDialogflowCxV3beta1Fulfillment", "description": "The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks." @@ -12009,11 +12027,11 @@ "id": "GoogleCloudDialogflowCxV3beta1TestConfig", "properties": { "flow": { - "description": "Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", + "description": "Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.", "type": "string" }, "page": { - "description": "The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", + "description": "The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.", "type": "string" }, "trackingParameters": { @@ -13061,6 +13079,21 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2EncryptionSpec": { + "description": "A customer-managed encryption key specification that can be applied to all created resources (e.g. Conversation).", + "id": "GoogleCloudDialogflowV2EncryptionSpec", + "properties": { + "kmsKey": { + "description": "Required. The name of customer-managed encryption key that is used to secure a resource and its sub-resources. If empty, the resource is secured by the default Google encryption key. Only the key in the same location as this resource is allowed to be used for encryption. Format: `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}`", + "type": "string" + }, + "name": { + "description": "Immutable. The resource name of the encryption key specification resource. Format: projects/{project}/locations/{location}/encryptionSpec", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2EntityType": { "description": "Each intent parameter has a type, called the entity type, which dictates exactly how data from an end-user expression is extracted. Dialogflow provides predefined system entities that can match many common types of data. For example, there are system entities for matching dates, times, colors, email addresses, and so on. You can also create your own custom entities for matching custom data. For example, you could define a vegetable entity that can match the types of vegetables available for purchase with a grocery store agent. For more information, see the [Entity guide](https://cloud.google.com/dialogflow/docs/entities-overview).", "id": "GoogleCloudDialogflowV2EntityType", @@ -13304,6 +13337,29 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata": { + "description": "Metadata for initializing a location-level encryption specification.", + "id": "GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata", + "properties": { + "request": { + "$ref": "GoogleCloudDialogflowV2InitializeEncryptionSpecRequest", + "description": "Output only. The original request for initialization.", + "readOnly": true + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2InitializeEncryptionSpecRequest": { + "description": "The request to initialize a location-level encryption specification.", + "id": "GoogleCloudDialogflowV2InitializeEncryptionSpecRequest", + "properties": { + "encryptionSpec": { + "$ref": "GoogleCloudDialogflowV2EncryptionSpec", + "description": "Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. If the kms_key_name is left empty, no encryption will be enforced." + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2InputDataset": { "description": "InputDataset used to create model or do evaluation. NextID:5", "id": "GoogleCloudDialogflowV2InputDataset", @@ -15125,6 +15181,21 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2beta1EncryptionSpec": { + "description": "A customer-managed encryption key specification that can be applied to all created resources (e.g. Conversation).", + "id": "GoogleCloudDialogflowV2beta1EncryptionSpec", + "properties": { + "kmsKey": { + "description": "Required. The name of customer-managed encryption key that is used to secure a resource and its sub-resources. If empty, the resource is secured by the default Google encryption key. Only the key in the same location as this resource is allowed to be used for encryption. Format: `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}`", + "type": "string" + }, + "name": { + "description": "Immutable. The resource name of the encryption key specification resource. Format: projects/{project}/locations/{location}/encryptionSpec", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2beta1EntityType": { "description": "Each intent parameter has a type, called the entity type, which dictates exactly how data from an end-user expression is extracted. Dialogflow provides predefined system entities that can match many common types of data. For example, there are system entities for matching dates, times, colors, email addresses, and so on. You can also create your own custom entities for matching custom data. For example, you could define a vegetable entity that can match the types of vegetables available for purchase with a grocery store agent. For more information, see the [Entity guide](https://cloud.google.com/dialogflow/docs/entities-overview).", "id": "GoogleCloudDialogflowV2beta1EntityType", @@ -15329,6 +15400,29 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata": { + "description": "Metadata for initializing a location-level encryption specification.", + "id": "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata", + "properties": { + "request": { + "$ref": "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest", + "description": "Output only. The original request for initialization.", + "readOnly": true + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest": { + "description": "The request to initialize a location-level encryption specification.", + "id": "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest", + "properties": { + "encryptionSpec": { + "$ref": "GoogleCloudDialogflowV2beta1EncryptionSpec", + "description": "Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. If the kms_key_name is left empty, no encryption will be enforced." + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2beta1Intent": { "description": "An intent categorizes an end-user's intention for one conversation turn. For each agent, you define many intents, where your combined intents can handle a complete conversation. When an end-user writes or says something, referred to as an end-user expression or end-user input, Dialogflow matches the end-user input to the best intent in your agent. Matching an intent is also known as intent classification. For more information, see the [intent guide](https://cloud.google.com/dialogflow/docs/intents-overview).", "id": "GoogleCloudDialogflowV2beta1Intent", @@ -16788,6 +16882,13 @@ "readOnly": true, "type": "string" }, + "responseMessages": { + "description": "Optional. Automated agent responses.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1ResponseMessage" + }, + "type": "array" + }, "sendTime": { "description": "Optional. The time when the message was sent.", "format": "google-datetime", @@ -16937,6 +17038,125 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2beta1ResponseMessage": { + "description": "Response messages from an automated agent.", + "id": "GoogleCloudDialogflowV2beta1ResponseMessage", + "properties": { + "endInteraction": { + "$ref": "GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction", + "description": "A signal that indicates the interaction with the Dialogflow agent has ended." + }, + "liveAgentHandoff": { + "$ref": "GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff", + "description": "Hands off conversation to a live agent." + }, + "mixedAudio": { + "$ref": "GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio", + "description": "An audio response message composed of both the synthesized Dialogflow agent responses and the audios hosted in places known to the client." + }, + "payload": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Returns a response containing a custom, platform-specific payload.", + "type": "object" + }, + "telephonyTransferCall": { + "$ref": "GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall", + "description": "A signal that the client should transfer the phone call connected to this agent to a third-party endpoint." + }, + "text": { + "$ref": "GoogleCloudDialogflowV2beta1ResponseMessageText", + "description": "Returns a text response." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction": { + "description": "Indicates that interaction with the Dialogflow agent has ended.", + "id": "GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction", + "properties": {}, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff": { + "description": "Indicates that the conversation should be handed off to a human agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example: * In the entry fulfillment of a CX Page if entering the page indicates something went extremely wrong in the conversation. * In a webhook response when you determine that the customer issue can only be handled by a human.", + "id": "GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff", + "properties": { + "metadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Custom metadata for your handoff procedure. Dialogflow doesn't impose any structure on this.", + "type": "object" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio": { + "description": "Represents an audio message that is composed of both segments synthesized from the Dialogflow agent prompts and ones hosted externally at the specified URIs.", + "id": "GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio", + "properties": { + "segments": { + "description": "Segments this audio response is composed of.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment": { + "description": "Represents one segment of audio.", + "id": "GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment", + "properties": { + "allowPlaybackInterruption": { + "description": "Whether the playback of this segment can be interrupted by the end user's speech and the client should then start the next Dialogflow request.", + "type": "boolean" + }, + "audio": { + "description": "Raw audio synthesized from the Dialogflow agent's response using the output config specified in the request.", + "format": "byte", + "type": "string" + }, + "uri": { + "description": "Client-specific URI that points to an audio clip accessible to the client.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall": { + "description": "Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint.", + "id": "GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall", + "properties": { + "phoneNumber": { + "description": "Transfer the call to a phone number in [E.164 format](https://en.wikipedia.org/wiki/E.164).", + "type": "string" + }, + "sipUri": { + "description": "Transfer the call to a SIP endpoint.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1ResponseMessageText": { + "description": "The text response message.", + "id": "GoogleCloudDialogflowV2beta1ResponseMessageText", + "properties": { + "text": { + "description": "A collection of text responses.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2beta1Sentiment": { "description": "The sentiment, such as positive/negative feeling or association, for a unit of analysis, such as the query text. See: https://cloud.google.com/natural-language/docs/basics#interpreting_sentiment_analysis_values for how to interpret the result.", "id": "GoogleCloudDialogflowV2beta1Sentiment", diff --git a/discovery/dialogflow-v3beta1.json b/discovery/dialogflow-v3beta1.json index e8e5e5c148..e0cd8d77be 100644 --- a/discovery/dialogflow-v3beta1.json +++ b/discovery/dialogflow-v3beta1.json @@ -5185,7 +5185,7 @@ } } }, - "revision": "20240614", + "revision": "20240704", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -5697,6 +5697,10 @@ "description": "The target page to transition to. Format: `projects//locations//agents//flows//pages/`.", "type": "string" }, + "targetPlaybook": { + "description": "The target playbook to transition to. Format: `projects//locations//agents//playbooks/`.", + "type": "string" + }, "triggerFulfillment": { "$ref": "GoogleCloudDialogflowCxV3Fulfillment", "description": "The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks." @@ -7002,11 +7006,11 @@ "id": "GoogleCloudDialogflowCxV3TestConfig", "properties": { "flow": { - "description": "Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", + "description": "Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.", "type": "string" }, "page": { - "description": "The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", + "description": "The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.", "type": "string" }, "trackingParameters": { @@ -8699,6 +8703,10 @@ "description": "Diagnostic info related to the answer generation model call.", "id": "GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerGenerationModelCallSignals", "properties": { + "model": { + "description": "Name of the generative model. For example, \"gemini-ultra\", \"gemini-pro\", \"gemini-1.5-flash\" etc. Defaults to \"Other\" if the model is unknown.", + "type": "string" + }, "modelOutput": { "description": "Output of the generative model.", "type": "string" @@ -8790,6 +8798,10 @@ "description": "Diagnostic info related to the rewriter model call.", "id": "GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsRewriterModelCallSignals", "properties": { + "model": { + "description": "Name of the generative model. For example, \"gemini-ultra\", \"gemini-pro\", \"gemini-1.5-flash\" etc. Defaults to \"Other\" if the model is unknown.", + "type": "string" + }, "modelOutput": { "description": "Output of the generative model.", "type": "string" @@ -9257,6 +9269,10 @@ "description": "The target page to transition to. Format: `projects//locations//agents//flows//pages/`.", "type": "string" }, + "targetPlaybook": { + "description": "The target playbook to transition to. Format: `projects//locations//agents//playbooks/`.", + "type": "string" + }, "triggerFulfillment": { "$ref": "GoogleCloudDialogflowCxV3beta1Fulfillment", "description": "The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks." @@ -11584,6 +11600,7 @@ "NO_MATCH", "NO_INPUT", "EVENT", + "KNOWLEDGE_CONNECTOR", "PLAYBOOK" ], "enumDescriptions": [ @@ -11594,6 +11611,7 @@ "No match was found for the query.", "Indicates an empty query.", "The query directly triggered an event.", + "The query was matched to a Knowledge Connector answer.", "The query was handled by a `Playbook`." ], "type": "string" @@ -13255,11 +13273,11 @@ "id": "GoogleCloudDialogflowCxV3beta1TestConfig", "properties": { "flow": { - "description": "Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", + "description": "Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.", "type": "string" }, "page": { - "description": "The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow.", + "description": "The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow.", "type": "string" }, "trackingParameters": { @@ -14982,6 +15000,21 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2EncryptionSpec": { + "description": "A customer-managed encryption key specification that can be applied to all created resources (e.g. Conversation).", + "id": "GoogleCloudDialogflowV2EncryptionSpec", + "properties": { + "kmsKey": { + "description": "Required. The name of customer-managed encryption key that is used to secure a resource and its sub-resources. If empty, the resource is secured by the default Google encryption key. Only the key in the same location as this resource is allowed to be used for encryption. Format: `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}`", + "type": "string" + }, + "name": { + "description": "Immutable. The resource name of the encryption key specification resource. Format: projects/{project}/locations/{location}/encryptionSpec", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2EntityType": { "description": "Each intent parameter has a type, called the entity type, which dictates exactly how data from an end-user expression is extracted. Dialogflow provides predefined system entities that can match many common types of data. For example, there are system entities for matching dates, times, colors, email addresses, and so on. You can also create your own custom entities for matching custom data. For example, you could define a vegetable entity that can match the types of vegetables available for purchase with a grocery store agent. For more information, see the [Entity guide](https://cloud.google.com/dialogflow/docs/entities-overview).", "id": "GoogleCloudDialogflowV2EntityType", @@ -15225,6 +15258,29 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata": { + "description": "Metadata for initializing a location-level encryption specification.", + "id": "GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata", + "properties": { + "request": { + "$ref": "GoogleCloudDialogflowV2InitializeEncryptionSpecRequest", + "description": "Output only. The original request for initialization.", + "readOnly": true + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2InitializeEncryptionSpecRequest": { + "description": "The request to initialize a location-level encryption specification.", + "id": "GoogleCloudDialogflowV2InitializeEncryptionSpecRequest", + "properties": { + "encryptionSpec": { + "$ref": "GoogleCloudDialogflowV2EncryptionSpec", + "description": "Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. If the kms_key_name is left empty, no encryption will be enforced." + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2InputDataset": { "description": "InputDataset used to create model or do evaluation. NextID:5", "id": "GoogleCloudDialogflowV2InputDataset", @@ -17046,6 +17102,21 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2beta1EncryptionSpec": { + "description": "A customer-managed encryption key specification that can be applied to all created resources (e.g. Conversation).", + "id": "GoogleCloudDialogflowV2beta1EncryptionSpec", + "properties": { + "kmsKey": { + "description": "Required. The name of customer-managed encryption key that is used to secure a resource and its sub-resources. If empty, the resource is secured by the default Google encryption key. Only the key in the same location as this resource is allowed to be used for encryption. Format: `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}`", + "type": "string" + }, + "name": { + "description": "Immutable. The resource name of the encryption key specification resource. Format: projects/{project}/locations/{location}/encryptionSpec", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2beta1EntityType": { "description": "Each intent parameter has a type, called the entity type, which dictates exactly how data from an end-user expression is extracted. Dialogflow provides predefined system entities that can match many common types of data. For example, there are system entities for matching dates, times, colors, email addresses, and so on. You can also create your own custom entities for matching custom data. For example, you could define a vegetable entity that can match the types of vegetables available for purchase with a grocery store agent. For more information, see the [Entity guide](https://cloud.google.com/dialogflow/docs/entities-overview).", "id": "GoogleCloudDialogflowV2beta1EntityType", @@ -17250,6 +17321,29 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata": { + "description": "Metadata for initializing a location-level encryption specification.", + "id": "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata", + "properties": { + "request": { + "$ref": "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest", + "description": "Output only. The original request for initialization.", + "readOnly": true + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest": { + "description": "The request to initialize a location-level encryption specification.", + "id": "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest", + "properties": { + "encryptionSpec": { + "$ref": "GoogleCloudDialogflowV2beta1EncryptionSpec", + "description": "Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. If the kms_key_name is left empty, no encryption will be enforced." + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2beta1Intent": { "description": "An intent categorizes an end-user's intention for one conversation turn. For each agent, you define many intents, where your combined intents can handle a complete conversation. When an end-user writes or says something, referred to as an end-user expression or end-user input, Dialogflow matches the end-user input to the best intent in your agent. Matching an intent is also known as intent classification. For more information, see the [intent guide](https://cloud.google.com/dialogflow/docs/intents-overview).", "id": "GoogleCloudDialogflowV2beta1Intent", @@ -18709,6 +18803,13 @@ "readOnly": true, "type": "string" }, + "responseMessages": { + "description": "Optional. Automated agent responses.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1ResponseMessage" + }, + "type": "array" + }, "sendTime": { "description": "Optional. The time when the message was sent.", "format": "google-datetime", @@ -18858,6 +18959,125 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2beta1ResponseMessage": { + "description": "Response messages from an automated agent.", + "id": "GoogleCloudDialogflowV2beta1ResponseMessage", + "properties": { + "endInteraction": { + "$ref": "GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction", + "description": "A signal that indicates the interaction with the Dialogflow agent has ended." + }, + "liveAgentHandoff": { + "$ref": "GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff", + "description": "Hands off conversation to a live agent." + }, + "mixedAudio": { + "$ref": "GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio", + "description": "An audio response message composed of both the synthesized Dialogflow agent responses and the audios hosted in places known to the client." + }, + "payload": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Returns a response containing a custom, platform-specific payload.", + "type": "object" + }, + "telephonyTransferCall": { + "$ref": "GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall", + "description": "A signal that the client should transfer the phone call connected to this agent to a third-party endpoint." + }, + "text": { + "$ref": "GoogleCloudDialogflowV2beta1ResponseMessageText", + "description": "Returns a text response." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction": { + "description": "Indicates that interaction with the Dialogflow agent has ended.", + "id": "GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction", + "properties": {}, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff": { + "description": "Indicates that the conversation should be handed off to a human agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example: * In the entry fulfillment of a CX Page if entering the page indicates something went extremely wrong in the conversation. * In a webhook response when you determine that the customer issue can only be handled by a human.", + "id": "GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff", + "properties": { + "metadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Custom metadata for your handoff procedure. Dialogflow doesn't impose any structure on this.", + "type": "object" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio": { + "description": "Represents an audio message that is composed of both segments synthesized from the Dialogflow agent prompts and ones hosted externally at the specified URIs.", + "id": "GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio", + "properties": { + "segments": { + "description": "Segments this audio response is composed of.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment": { + "description": "Represents one segment of audio.", + "id": "GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment", + "properties": { + "allowPlaybackInterruption": { + "description": "Whether the playback of this segment can be interrupted by the end user's speech and the client should then start the next Dialogflow request.", + "type": "boolean" + }, + "audio": { + "description": "Raw audio synthesized from the Dialogflow agent's response using the output config specified in the request.", + "format": "byte", + "type": "string" + }, + "uri": { + "description": "Client-specific URI that points to an audio clip accessible to the client.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall": { + "description": "Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint.", + "id": "GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall", + "properties": { + "phoneNumber": { + "description": "Transfer the call to a phone number in [E.164 format](https://en.wikipedia.org/wiki/E.164).", + "type": "string" + }, + "sipUri": { + "description": "Transfer the call to a SIP endpoint.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1ResponseMessageText": { + "description": "The text response message.", + "id": "GoogleCloudDialogflowV2beta1ResponseMessageText", + "properties": { + "text": { + "description": "A collection of text responses.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2beta1Sentiment": { "description": "The sentiment, such as positive/negative feeling or association, for a unit of analysis, such as the query text. See: https://cloud.google.com/natural-language/docs/basics#interpreting_sentiment_analysis_values for how to interpret the result.", "id": "GoogleCloudDialogflowV2beta1Sentiment", diff --git a/discovery/digitalassetlinks-v1.json b/discovery/digitalassetlinks-v1.json index 2bc9179ff6..ba0a3975ea 100644 --- a/discovery/digitalassetlinks-v1.json +++ b/discovery/digitalassetlinks-v1.json @@ -199,7 +199,7 @@ } } }, - "revision": "20220129", + "revision": "20220122", "rootUrl": "https://digitalassetlinks.googleapis.com/", "schemas": { "AndroidAppAsset": { diff --git a/discovery/discovery-v1.json b/discovery/discovery-v1.json index 7f08929053..8d8df5dbde 100644 --- a/discovery/discovery-v1.json +++ b/discovery/discovery-v1.json @@ -234,10 +234,6 @@ "description": "The default value of this property (if one exists).", "type": "string" }, - "deprecated": { - "description": "Whether the parameter is deprecated.", - "type": "boolean" - }, "description": { "description": "A description of this object.", "type": "string" @@ -249,13 +245,6 @@ }, "type": "array" }, - "enumDeprecated": { - "description": "The deprecation status for the enums. Each position maps to the corresponding value in the \"enum\" array.", - "items": { - "type": "boolean" - }, - "type": "array" - }, "enumDescriptions": { "description": "The descriptions for the enums. Each position maps to the corresponding value in the \"enum\" array.", "items": { @@ -401,32 +390,6 @@ "description": "A link to human readable documentation for the API.", "type": "string" }, - "endpoints": { - "description": "A list of location-based endpoint objects for this API. Each object contains the endpoint URL, location, description and deprecation status.", - "items": { - "description": "A single endpoint object", - "properties": { - "deprecated": { - "description": "Whether this endpoint is deprecated", - "type": "boolean" - }, - "description": { - "description": "A string describing the host designated by the URL", - "type": "string" - }, - "endpointUrl": { - "description": "The URL of the endpoint target host", - "type": "string" - }, - "location": { - "description": "The location of the endpoint", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, "etag": { "description": "The ETag for this response.", "readOnly": true, @@ -555,14 +518,6 @@ "RestMethod": { "id": "RestMethod", "properties": { - "apiVersion": { - "description": "The API Version of this method, as passed in via the `X-Goog-Api-Version` header or `$apiVersion` query parameter.", - "type": "string" - }, - "deprecated": { - "description": "Whether this method is deprecated.", - "type": "boolean" - }, "description": { "description": "Description of this method.", "type": "string" @@ -708,10 +663,6 @@ "RestResource": { "id": "RestResource", "properties": { - "deprecated": { - "description": "Whether this resource is deprecated.", - "type": "boolean" - }, "methods": { "additionalProperties": { "$ref": "RestMethod", diff --git a/discovery/discoveryengine-v1.json b/discovery/discoveryengine-v1.json index 76f217377d..8b625ac2b9 100644 --- a/discovery/discoveryengine-v1.json +++ b/discovery/discoveryengine-v1.json @@ -5711,7 +5711,7 @@ } } }, - "revision": "20240621", + "revision": "20240704", "rootUrl": "https://discoveryengine.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -6177,6 +6177,11 @@ "disable": { "description": "Disable query rephraser.", "type": "boolean" + }, + "maxRephraseSteps": { + "description": "Max rephrase steps. The max number is 5 steps. If not set or set to < 1, it will be set to 1 by default.", + "format": "int32", + "type": "integer" } }, "type": "object" @@ -6657,6 +6662,14 @@ }, "type": "array" }, + "structData": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Data representation. The structured JSON data for the document. It's populated from the struct data from the Document (code pointer: http://shortn/_objzAfIiHq), or the Chunk in search result (code pointer: http://shortn/_Ipo6KFFGBL).", + "type": "object" + }, "title": { "description": "Title.", "type": "string" @@ -8038,7 +8051,7 @@ "additionalProperties": { "$ref": "GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig" }, - "description": "Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and or layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and or layout parsing are supported.", + "description": "Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported.", "type": "object" } }, @@ -9663,6 +9676,18 @@ "description": "Whether to turn on safe search. This is only supported for website search.", "type": "boolean" }, + "searchAsYouTypeSpec": { + "$ref": "GoogleCloudDiscoveryengineV1SearchRequestSearchAsYouTypeSpec", + "description": "Search as you type configuration. Only supported for the IndustryVertical.MEDIA vertical." + }, + "session": { + "description": "The session resource name. Optional. Session allows users to do multi-turn /search API calls or coordination between /search API calls and /answer API calls. Example #1 (multi-turn /search API calls): 1. Call /search API with the auto-session mode (see below). 2. Call /search API with the session ID generated in the first call. Here, the previous search query gets considered in query standing. I.e., if the first query is \"How did Alphabet do in 2022?\" and the current query is \"How about 2023?\", the current query will be interpreted as \"How did Alphabet do in 2023?\". Example #2 (coordination between /search API calls and /answer API calls): 1. Call /search API with the auto-session mode (see below). 2. Call /answer API with the session ID generated in the first call. Here, the answer generation happens in the context of the search results from the first search call. Auto-session mode: when `projects/.../sessions/-` is used, a new session gets automatically created. Otherwise, users can use the create-session API to create a session manually. Multi-turn Search feature is currently at private GA stage. Please use v1alpha or v1beta version instead before we launch this feature to public GA. Or ask for allowlisting through Google Support team.", + "type": "string" + }, + "sessionSpec": { + "$ref": "GoogleCloudDiscoveryengineV1SearchRequestSessionSpec", + "description": "Session specification. Can be used only when `session` is set." + }, "spellCorrectionSpec": { "$ref": "GoogleCloudDiscoveryengineV1SearchRequestSpellCorrectionSpec", "description": "The spell correction specification that specifies the mode under which spell correction takes effect." @@ -9885,7 +9910,7 @@ "type": "object" }, "GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec": { - "description": "A struct to define data stores to filter on in a search call and configurations for those data stores. A maximum of 1 DataStoreSpec per data_store is allowed. Otherwise, an `INVALID_ARGUMENT` error is returned.", + "description": "A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned.", "id": "GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec", "properties": { "dataStore": { @@ -10005,6 +10030,43 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1SearchRequestSearchAsYouTypeSpec": { + "description": "Specification for search as you type in search requests.", + "id": "GoogleCloudDiscoveryengineV1SearchRequestSearchAsYouTypeSpec", + "properties": { + "condition": { + "description": "The condition under which search as you type should occur. Default to Condition.DISABLED.", + "enum": [ + "CONDITION_UNSPECIFIED", + "DISABLED", + "ENABLED" + ], + "enumDescriptions": [ + "Server behavior defaults to Condition.DISABLED.", + "Disables Search As You Type.", + "Enables Search As You Type." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDiscoveryengineV1SearchRequestSessionSpec": { + "description": "Session specification. Multi-turn Search feature is currently at private GA stage. Please use v1alpha or v1beta version instead before we launch this feature to public GA. Or ask for allowlisting through Google Support team.", + "id": "GoogleCloudDiscoveryengineV1SearchRequestSessionSpec", + "properties": { + "queryId": { + "description": "If set, the search result gets stored to the \"turn\" specified by this query ID. Example: Let's say the session looks like this: session { name: \".../sessions/xxx\" turns { query { text: \"What is foo?\" query_id: \".../questions/yyy\" } answer: \"Foo is ...\" } turns { query { text: \"How about bar then?\" query_id: \".../questions/zzz\" } } } The user can call /search API with a request like this: session: \".../sessions/xxx\" session_spec { query_id: \".../questions/zzz\" } Then, the API stores the search result, associated with the last turn. The stored search result can be used by a subsequent /answer API call (with the session ID and the query ID specified). Also, it is possible to call /search and /answer in parallel with the same session ID & query ID.", + "type": "string" + }, + "searchResultPersistenceCount": { + "description": "The number of top search results to persist. The persisted search results can be used for the subsequent /answer api call. This field is simliar to the `summary_result_count` field in SearchRequest.ContentSearchSpec.SummarySpec.summary_result_count. At most 10 results for documents mode, or 50 for chunks mode.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1SearchRequestSpellCorrectionSpec": { "description": "The specification for query spell correction.", "id": "GoogleCloudDiscoveryengineV1SearchRequestSpellCorrectionSpec", @@ -10064,6 +10126,10 @@ }, "type": "array" }, + "sessionInfo": { + "$ref": "GoogleCloudDiscoveryengineV1SearchResponseSessionInfo", + "description": "Session information. Only set if SearchRequest.session is provided. See its description for more details." + }, "summary": { "$ref": "GoogleCloudDiscoveryengineV1SearchResponseSummary", "description": "A summary as part of the search results. This field is only returned if SearchRequest.ContentSearchSpec.summary_spec is set." @@ -10153,6 +10219,21 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1SearchResponseSessionInfo": { + "description": "Information about the session.", + "id": "GoogleCloudDiscoveryengineV1SearchResponseSessionInfo", + "properties": { + "name": { + "description": "Name of the session. If the auto-session mode is used (when SearchRequest.session ends with \"-\"), this field holds the newly generated session name.", + "type": "string" + }, + "queryId": { + "description": "Query ID that corresponds to this search API call. One session can have multiple turns, each with a unique query ID. By specifying the session name and this query ID in the Answer API call, the answer generation happens in the context of the search results from this search call.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1SearchResponseSummary": { "description": "Summary of the top N search results specified by the summary spec.", "id": "GoogleCloudDiscoveryengineV1SearchResponseSummary", @@ -11177,6 +11258,14 @@ }, "type": "array" }, + "structData": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Data representation. The structured JSON data for the document. It's populated from the struct data from the Document (code pointer: http://shortn/_objzAfIiHq), or the Chunk in search result (code pointer: http://shortn/_Ipo6KFFGBL).", + "type": "object" + }, "title": { "description": "Title.", "type": "string" @@ -11532,6 +11621,7 @@ "id": "GoogleCloudDiscoveryengineV1alphaCustomTuningModel", "properties": { "createTime": { + "deprecated": true, "description": "Timestamp the Model was created at.", "format": "google-datetime", "type": "string" @@ -11540,6 +11630,14 @@ "description": "The display name of the model.", "type": "string" }, + "metrics": { + "additionalProperties": { + "format": "double", + "type": "number" + }, + "description": "The metrics of the trained model.", + "type": "object" + }, "modelState": { "description": "The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`).", "enum": [ @@ -11548,7 +11646,8 @@ "TRAINING", "TRAINING_COMPLETE", "READY_FOR_SERVING", - "TRAINING_FAILED" + "TRAINING_FAILED", + "NO_IMPROVEMENT" ], "enumDescriptions": [ "Default value.", @@ -11556,7 +11655,8 @@ "The model is currently training.", "The model has successfully completed training.", "The model is ready for serving.", - "The model training failed." + "The model training failed.", + "The model training finished successfully but metrics did not improve." ], "type": "string" }, @@ -11788,7 +11888,7 @@ "additionalProperties": { "$ref": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig" }, - "description": "Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and or layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and or layout parsing are supported.", + "description": "Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported.", "type": "object" } }, @@ -12222,6 +12322,38 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1alphaExportUserEventsMetadata": { + "description": "Metadata related to the progress of the Export operation. This is returned by the google.longrunning.Operation.metadata field.", + "id": "GoogleCloudDiscoveryengineV1alphaExportUserEventsMetadata", + "properties": { + "createTime": { + "description": "Operation create time.", + "format": "google-datetime", + "type": "string" + }, + "updateTime": { + "description": "Operation last update time. If the operation is done, this is also the finish time.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDiscoveryengineV1alphaExportUserEventsResponse": { + "description": "Response of the ExportUserEventsRequest. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field.", + "id": "GoogleCloudDiscoveryengineV1alphaExportUserEventsResponse", + "properties": { + "outputResult": { + "$ref": "GoogleCloudDiscoveryengineV1alphaOutputResult", + "description": "Output result indicating where the data were exported to." + }, + "status": { + "$ref": "GoogleRpcStatus", + "description": "The status of the export operation." + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1alphaFieldConfig": { "description": "Configurations for fields of a schema. For example, configuring a field is indexable, or searchable.", "id": "GoogleCloudDiscoveryengineV1alphaFieldConfig", @@ -12651,6 +12783,32 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1alphaOutputResult": { + "description": "Output result that stores the information about where the exported data is stored.", + "id": "GoogleCloudDiscoveryengineV1alphaOutputResult", + "properties": { + "bigqueryResult": { + "$ref": "GoogleCloudDiscoveryengineV1alphaOutputResultBigQueryOutputResult", + "description": "The BigQuery location where the result is stored." + } + }, + "type": "object" + }, + "GoogleCloudDiscoveryengineV1alphaOutputResultBigQueryOutputResult": { + "description": "A BigQuery output result.", + "id": "GoogleCloudDiscoveryengineV1alphaOutputResultBigQueryOutputResult", + "properties": { + "datasetId": { + "description": "The ID of a BigQuery Dataset.", + "type": "string" + }, + "tableId": { + "description": "The ID of a BigQuery Table.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1alphaProject": { "description": "Metadata and configurations for a Google Cloud project in the service.", "id": "GoogleCloudDiscoveryengineV1alphaProject", @@ -13636,6 +13794,7 @@ "id": "GoogleCloudDiscoveryengineV1betaCustomTuningModel", "properties": { "createTime": { + "deprecated": true, "description": "Timestamp the Model was created at.", "format": "google-datetime", "type": "string" @@ -13644,6 +13803,14 @@ "description": "The display name of the model.", "type": "string" }, + "metrics": { + "additionalProperties": { + "format": "double", + "type": "number" + }, + "description": "The metrics of the trained model.", + "type": "object" + }, "modelState": { "description": "The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`).", "enum": [ @@ -13652,7 +13819,8 @@ "TRAINING", "TRAINING_COMPLETE", "READY_FOR_SERVING", - "TRAINING_FAILED" + "TRAINING_FAILED", + "NO_IMPROVEMENT" ], "enumDescriptions": [ "Default value.", @@ -13660,7 +13828,8 @@ "The model is currently training.", "The model has successfully completed training.", "The model is ready for serving.", - "The model training failed." + "The model training failed.", + "The model training finished successfully but metrics did not improve." ], "type": "string" }, @@ -13883,7 +14052,7 @@ "additionalProperties": { "$ref": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig" }, - "description": "Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and or layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and or layout parsing are supported.", + "description": "Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported.", "type": "object" } }, diff --git a/discovery/discoveryengine-v1alpha.json b/discovery/discoveryengine-v1alpha.json index ca7b3a84cb..8ab7fd2d37 100644 --- a/discovery/discoveryengine-v1alpha.json +++ b/discovery/discoveryengine-v1alpha.json @@ -6761,7 +6761,7 @@ } } }, - "revision": "20240621", + "revision": "20240704", "rootUrl": "https://discoveryengine.googleapis.com/", "schemas": { "GoogleApiDistribution": { @@ -7587,7 +7587,7 @@ "additionalProperties": { "$ref": "GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig" }, - "description": "Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and or layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and or layout parsing are supported.", + "description": "Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported.", "type": "object" } }, @@ -9285,6 +9285,14 @@ }, "type": "array" }, + "structData": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Data representation. The structured JSON data for the document. It's populated from the struct data from the Document (code pointer: http://shortn/_objzAfIiHq), or the Chunk in search result (code pointer: http://shortn/_Ipo6KFFGBL).", + "type": "object" + }, "title": { "description": "Title.", "type": "string" @@ -9684,7 +9692,7 @@ "type": "string" }, "resources": { - "description": "The type needed for the monitored resources: * `discoveryengine.googleapis.com/Branch`. * The labels needed for this resource: * `project_number` * `location_id` * `collection_id` * `datastore_id` * `branch_id` * `discoveryengine.googleapis.com/DataStore` * The labels needed for this resource: * `project_number` * `location_id` * `collection_id` * `datastore_id`", + "description": "The type needed for the monitored resources: * `discoveryengine.googleapis.com/Branch`. * The labels needed for this resource: * `project`_`number` * `location`_`id` * `collection`_`id` * `datastore`_`id` * `branch`_`id` * `discoveryengine.googleapis.com/DataStore` * The labels needed for this resource: * `project`_`number` * `location`_`id` * `collection`_`id` * `datastore`_`id`", "items": { "$ref": "GoogleApiMonitoredResource" }, @@ -10469,6 +10477,7 @@ "id": "GoogleCloudDiscoveryengineV1alphaCustomTuningModel", "properties": { "createTime": { + "deprecated": true, "description": "Timestamp the Model was created at.", "format": "google-datetime", "type": "string" @@ -10477,6 +10486,14 @@ "description": "The display name of the model.", "type": "string" }, + "metrics": { + "additionalProperties": { + "format": "double", + "type": "number" + }, + "description": "The metrics of the trained model.", + "type": "object" + }, "modelState": { "description": "The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`).", "enum": [ @@ -10485,7 +10502,8 @@ "TRAINING", "TRAINING_COMPLETE", "READY_FOR_SERVING", - "TRAINING_FAILED" + "TRAINING_FAILED", + "NO_IMPROVEMENT" ], "enumDescriptions": [ "Default value.", @@ -10493,7 +10511,8 @@ "The model is currently training.", "The model has successfully completed training.", "The model is ready for serving.", - "The model training failed." + "The model training failed.", + "The model training finished successfully but metrics did not improve." ], "type": "string" }, @@ -10868,7 +10887,7 @@ "additionalProperties": { "$ref": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig" }, - "description": "Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and or layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and or layout parsing are supported.", + "description": "Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported.", "type": "object" } }, @@ -11397,6 +11416,38 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1alphaExportUserEventsMetadata": { + "description": "Metadata related to the progress of the Export operation. This is returned by the google.longrunning.Operation.metadata field.", + "id": "GoogleCloudDiscoveryengineV1alphaExportUserEventsMetadata", + "properties": { + "createTime": { + "description": "Operation create time.", + "format": "google-datetime", + "type": "string" + }, + "updateTime": { + "description": "Operation last update time. If the operation is done, this is also the finish time.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDiscoveryengineV1alphaExportUserEventsResponse": { + "description": "Response of the ExportUserEventsRequest. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field.", + "id": "GoogleCloudDiscoveryengineV1alphaExportUserEventsResponse", + "properties": { + "outputResult": { + "$ref": "GoogleCloudDiscoveryengineV1alphaOutputResult", + "description": "Output result indicating where the data were exported to." + }, + "status": { + "$ref": "GoogleRpcStatus", + "description": "The status of the export operation." + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1alphaFactChunk": { "description": "Fact Chunk.", "id": "GoogleCloudDiscoveryengineV1alphaFactChunk", @@ -12390,6 +12441,32 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1alphaOutputResult": { + "description": "Output result that stores the information about where the exported data is stored.", + "id": "GoogleCloudDiscoveryengineV1alphaOutputResult", + "properties": { + "bigqueryResult": { + "$ref": "GoogleCloudDiscoveryengineV1alphaOutputResultBigQueryOutputResult", + "description": "The BigQuery location where the result is stored." + } + }, + "type": "object" + }, + "GoogleCloudDiscoveryengineV1alphaOutputResultBigQueryOutputResult": { + "description": "A BigQuery output result.", + "id": "GoogleCloudDiscoveryengineV1alphaOutputResultBigQueryOutputResult", + "properties": { + "datasetId": { + "description": "The ID of a BigQuery Dataset.", + "type": "string" + }, + "tableId": { + "description": "The ID of a BigQuery Table.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1alphaPageInfo": { "description": "Detailed page information.", "id": "GoogleCloudDiscoveryengineV1alphaPageInfo", @@ -13363,7 +13440,7 @@ }, "customFineTuningSpec": { "$ref": "GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec", - "description": "Custom fine tuning configs." + "description": "Custom fine tuning configs. If set, it has higher priority than the configs set in ServingConfig.custom_fine_tuning_spec." }, "dataStoreSpecs": { "description": "Specs defining dataStores to filter on in a search call and configurations for those dataStores. This is only considered for engines with multiple dataStores use case. For single dataStore within an engine, they should use the specs at the top level.", @@ -13395,6 +13472,10 @@ "description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see [Standard fields](https://cloud.google.com/apis/design/standard_fields). This field helps to better interpret the query. If a value isn't specified, the query language code is automatically detected, which may not be accurate.", "type": "string" }, + "naturalLanguageQueryUnderstandingSpec": { + "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec", + "description": "If `naturalLanguageQueryUnderstandingSpec` is not specified, no additional natural language query understanding will be done." + }, "offset": { "description": "A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the Documents deemed by the API as relevant) in search results. This field is only considered if page_token is unset. If this field is negative, an `INVALID_ARGUMENT` is returned.", "format": "int32", @@ -13429,7 +13510,7 @@ "description": "The query expansion specification that specifies the conditions under which query expansion occurs." }, "rankingExpression": { - "description": "The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The ranking expression is a single function or multiple functions that are joint by \"+\". * ranking_expression = function, { \" + \", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: `relevance_score`: pre-defined keywords, used for measure relevance between query and document. `embedding_field_path`: the document embedding field used with query embedding vector. `dotProduct`: embedding function between embedding_field_path and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`.", + "description": "The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The ranking expression is a single function or multiple functions that are joined by \"+\". * ranking_expression = function, { \" + \", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between embedding_field_path and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`.", "type": "string" }, "regionCode": { @@ -13462,6 +13543,14 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec", "description": "Search as you type configuration. Only supported for the IndustryVertical.MEDIA vertical." }, + "session": { + "description": "The session resource name. Optional. Session allows users to do multi-turn /search API calls or coordination between /search API calls and /answer API calls. Example #1 (multi-turn /search API calls): 1. Call /search API with the auto-session mode (see below). 2. Call /search API with the session ID generated in the first call. Here, the previous search query gets considered in query standing. I.e., if the first query is \"How did Alphabet do in 2022?\" and the current query is \"How about 2023?\", the current query will be interpreted as \"How did Alphabet do in 2023?\". Example #2 (coordination between /search API calls and /answer API calls): 1. Call /search API with the auto-session mode (see below). 2. Call /answer API with the session ID generated in the first call. Here, the answer generation happens in the context of the search results from the first search call. Auto-session mode: when `projects/.../sessions/-` is used, a new session gets automatically created. Otherwise, users can use the create-session API to create a session manually. Multi-turn Search feature is currently at private GA stage. Please use v1alpha or v1beta version instead before we launch this feature to public GA. Or ask for allowlisting through Google Support team.", + "type": "string" + }, + "sessionSpec": { + "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestSessionSpec", + "description": "Session specification. Can be used only when `session` is set." + }, "spellCorrectionSpec": { "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec", "description": "The spell correction specification that specifies the mode under which spell correction takes effect." @@ -13748,7 +13837,7 @@ "type": "object" }, "GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec": { - "description": "A struct to define data stores to filter on in a search call and configurations for those data stores. A maximum of 1 DataStoreSpec per data_store is allowed. Otherwise, an `INVALID_ARGUMENT` error is returned.", + "description": "A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned.", "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec", "properties": { "dataStore": { @@ -13876,6 +13965,34 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec": { + "description": "Specification to enable natural language understanding capabilities for search requests.", + "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec", + "properties": { + "filterExtractionCondition": { + "description": "The condition under which filter extraction should occur. Default to Condition.DISABLED.", + "enum": [ + "CONDITION_UNSPECIFIED", + "DISABLED", + "ENABLED" + ], + "enumDescriptions": [ + "Server behavior defaults to Condition.DISABLED.", + "Disables NL filter extraction.", + "Enables NL filter extraction." + ], + "type": "string" + }, + "geoSearchQueryDetectionFieldNames": { + "description": "Field names used for location-based filtering, where geolocation filters are detected in natural language search queries. Only valid when the FilterExtractionCondition is set to `ENABLED`. If this field is set, it overrides the field names set in Servingconfig.geo_search_query_detection_field_names.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec": { "description": "Specification to determine under which conditions query expansion should occur.", "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec", @@ -13922,6 +14039,22 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1alphaSearchRequestSessionSpec": { + "description": "Session specification. Multi-turn Search feature is currently at private GA stage. Please use v1alpha or v1beta version instead before we launch this feature to public GA. Or ask for allowlisting through Google Support team.", + "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestSessionSpec", + "properties": { + "queryId": { + "description": "If set, the search result gets stored to the \"turn\" specified by this query ID. Example: Let's say the session looks like this: session { name: \".../sessions/xxx\" turns { query { text: \"What is foo?\" query_id: \".../questions/yyy\" } answer: \"Foo is ...\" } turns { query { text: \"How about bar then?\" query_id: \".../questions/zzz\" } } } The user can call /search API with a request like this: session: \".../sessions/xxx\" session_spec { query_id: \".../questions/zzz\" } Then, the API stores the search result, associated with the last turn. The stored search result can be used by a subsequent /answer API call (with the session ID and the query ID specified). Also, it is possible to call /search and /answer in parallel with the same session ID & query ID.", + "type": "string" + }, + "searchResultPersistenceCount": { + "description": "The number of top search results to persist. The persisted search results can be used for the subsequent /answer api call. This field is simliar to the `summary_result_count` field in SearchRequest.ContentSearchSpec.SummarySpec.summary_result_count. At most 10 results for documents mode, or 50 for chunks mode.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec": { "description": "The specification for query spell correction.", "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec", @@ -13979,6 +14112,10 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseGuidedSearchResult", "description": "Guided search result." }, + "naturalLanguageQueryUnderstandingInfo": { + "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfo", + "description": "Natural language query understanding information for the returned results." + }, "nextPageToken": { "description": "A token that can be sent as SearchRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", "type": "string" @@ -13998,6 +14135,10 @@ }, "type": "array" }, + "sessionInfo": { + "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseSessionInfo", + "description": "Session information. Only set if SearchRequest.session is provided. See its description for more details." + }, "summary": { "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseSummary", "description": "A summary as part of the search results. This field is only returned if SearchRequest.ContentSearchSpec.summary_spec is set." @@ -14103,6 +14244,165 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfo": { + "description": "Information describing what natural language understanding was done on the input query.", + "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfo", + "properties": { + "extractedFilters": { + "description": "The filters that were extracted from the input query.", + "type": "string" + }, + "rewrittenQuery": { + "description": "Rewritten input query minus the extracted filters.", + "type": "string" + }, + "structuredExtractedFilter": { + "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter", + "description": "The filters that were extracted from the input query represented in a structured form." + } + }, + "type": "object" + }, + "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter": { + "description": "The filters that were extracted from the input query represented in a structured form.", + "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter", + "properties": { + "expression": { + "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression", + "description": "The expression denoting the filter that was extracted from the input query in a structured form. It can be a simple expression denoting a single string, numerical or geolocation constraint or a compound expression which is a combination of multiple expressions connected using logical (OR and AND) operators." + } + }, + "type": "object" + }, + "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression": { + "description": "Logical `And` operator.", + "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression", + "properties": { + "expressions": { + "description": "The expressions that were ANDed together.", + "items": { + "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression": { + "description": "The expression denoting the filter that was extracted from the input query.", + "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression", + "properties": { + "andExpr": { + "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression", + "description": "Logical \"And\" compound operator connecting multiple expressions." + }, + "geolocationConstraint": { + "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint", + "description": "Geolocation constraint expression." + }, + "numberConstraint": { + "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint", + "description": "Numerical constraint expression." + }, + "orExpr": { + "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterOrExpression", + "description": "Logical \"Or\" compound operator connecting multiple expressions." + }, + "stringConstraint": { + "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint", + "description": "String constraint expression." + } + }, + "type": "object" + }, + "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint": { + "description": "Constraint of a geolocation field. Name of the geolocation field as defined in the schema.", + "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint", + "properties": { + "address": { + "description": "The reference address that was inferred from the input query. The proximity of the reference address to the geolocation field will be used to filter the results.", + "type": "string" + }, + "fieldName": { + "description": "The name of the geolocation field as defined in the schema.", + "type": "string" + }, + "radiusInMeters": { + "description": "The radius in meters around the address. The record is returned if the location of the geolocation field is within the radius.", + "format": "float", + "type": "number" + } + }, + "type": "object" + }, + "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint": { + "description": "Constraint expression of a number field. Example: price < 100.", + "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint", + "properties": { + "comparison": { + "description": "The comparison operation performed between the field value and the value specified in the constraint.", + "enum": [ + "COMPARISON_UNSPECIFIED", + "EQUALS", + "LESS_THAN_EQUALS", + "LESS_THAN", + "GREATER_THAN_EQUALS", + "GREATER_THAN" + ], + "enumDescriptions": [ + "Undefined comparison operator.", + "Denotes equality `=` operator.", + "Denotes less than or equal to `<=` operator.", + "Denotes less than `<` operator.", + "Denotes greater than or equal to `>=` operator.", + "Denotes greater than `>` operator." + ], + "type": "string" + }, + "fieldName": { + "description": "Name of the numerical field as defined in the schema.", + "type": "string" + }, + "value": { + "description": "The value specified in the numerical constraint.", + "format": "double", + "type": "number" + } + }, + "type": "object" + }, + "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterOrExpression": { + "description": "Logical `Or` operator.", + "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterOrExpression", + "properties": { + "expressions": { + "description": "The expressions that were ORed together.", + "items": { + "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint": { + "description": "Constraint expression of a string field.", + "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint", + "properties": { + "fieldName": { + "description": "Name of the string field as defined in the schema.", + "type": "string" + }, + "values": { + "description": "Values of the string field. The record will only be returned if the field value matches one of the values specified here.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1alphaSearchResponseQueryExpansionInfo": { "description": "Information describing query expansion including whether expansion has occurred.", "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseQueryExpansionInfo", @@ -14145,6 +14445,21 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1alphaSearchResponseSessionInfo": { + "description": "Information about the session.", + "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseSessionInfo", + "properties": { + "name": { + "description": "Name of the session. If the auto-session mode is used (when SearchRequest.session ends with \"-\"), this field holds the newly generated session name.", + "type": "string" + }, + "queryId": { + "description": "Query ID that corresponds to this search API call. One session can have multiple turns, each with a unique query ID. By specifying the session name and this query ID in the Answer API call, the answer generation happens in the context of the search results from this search call.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1alphaSearchResponseSummary": { "description": "Summary of the top N search results specified by the summary spec.", "id": "GoogleCloudDiscoveryengineV1alphaSearchResponseSummary", @@ -14341,7 +14656,7 @@ }, "customFineTuningSpec": { "$ref": "GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec", - "description": "Custom fine tuning configs." + "description": "Custom fine tuning configs. If SearchRequest.custom_fine_tuning_spec is set, it has higher priority than the configs set here." }, "displayName": { "description": "Required. The human readable serving config display name. Used in Discovery UI. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.", @@ -14404,7 +14719,7 @@ "type": "array" }, "rankingExpression": { - "description": "The ranking expression controls the customized ranking on retrieval documents. To leverage this, document embedding is required. The ranking expression setting in ServingConfig applies to all search requests served by the serving config. However, if SearchRequest.ranking_expression is specified, it overrides the ServingConfig ranking expression. The ranking expression is a single function or multiple functions that are joined by \"+\". * ranking_expression = function, { \" + \", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: relevance_score: pre-defined keywords, used for measure relevance between query and document. embedding_field_path: the document embedding field used with query embedding vector. dotProduct: embedding function between embedding_field_path and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be 0.5 * relevance_score + 0.3 * dotProduct(doc_embedding).", + "description": "The ranking expression controls the customized ranking on retrieval documents. To leverage this, document embedding is required. The ranking expression setting in ServingConfig applies to all search requests served by the serving config. However, if SearchRequest.ranking_expression is specified, it overrides the ServingConfig ranking expression. The ranking expression is a single function or multiple functions that are joined by \"+\". * ranking_expression = function, { \" + \", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between embedding_field_path and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`.", "type": "string" }, "redirectControlIds": { @@ -15363,6 +15678,7 @@ "id": "GoogleCloudDiscoveryengineV1betaCustomTuningModel", "properties": { "createTime": { + "deprecated": true, "description": "Timestamp the Model was created at.", "format": "google-datetime", "type": "string" @@ -15371,6 +15687,14 @@ "description": "The display name of the model.", "type": "string" }, + "metrics": { + "additionalProperties": { + "format": "double", + "type": "number" + }, + "description": "The metrics of the trained model.", + "type": "object" + }, "modelState": { "description": "The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`).", "enum": [ @@ -15379,7 +15703,8 @@ "TRAINING", "TRAINING_COMPLETE", "READY_FOR_SERVING", - "TRAINING_FAILED" + "TRAINING_FAILED", + "NO_IMPROVEMENT" ], "enumDescriptions": [ "Default value.", @@ -15387,7 +15712,8 @@ "The model is currently training.", "The model has successfully completed training.", "The model is ready for serving.", - "The model training failed." + "The model training failed.", + "The model training finished successfully but metrics did not improve." ], "type": "string" }, @@ -15610,7 +15936,7 @@ "additionalProperties": { "$ref": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig" }, - "description": "Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and or layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and or layout parsing are supported.", + "description": "Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported.", "type": "object" } }, diff --git a/discovery/discoveryengine-v1beta.json b/discovery/discoveryengine-v1beta.json index 1da8493f4d..e35317c02c 100644 --- a/discovery/discoveryengine-v1beta.json +++ b/discovery/discoveryengine-v1beta.json @@ -5822,6 +5822,39 @@ } } }, + "evaluations": { + "resources": { + "operations": { + "methods": { + "get": { + "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/evaluations/{evaluationsId}/operations/{operationsId}", + "httpMethod": "GET", + "id": "discoveryengine.projects.locations.evaluations.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/evaluations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta/{+name}", + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + }, "groundingConfigs": { "methods": { "check": { @@ -5956,6 +5989,39 @@ } } }, + "sampleQuerySets": { + "resources": { + "operations": { + "methods": { + "get": { + "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/sampleQuerySets/{sampleQuerySetsId}/operations/{operationsId}", + "httpMethod": "GET", + "id": "discoveryengine.projects.locations.sampleQuerySets.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/sampleQuerySets/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta/{+name}", + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + }, "userEvents": { "methods": { "collect": { @@ -6109,7 +6175,7 @@ } } }, - "revision": "20240621", + "revision": "20240704", "rootUrl": "https://discoveryengine.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -6749,7 +6815,7 @@ "additionalProperties": { "$ref": "GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig" }, - "description": "Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and or layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and or layout parsing are supported.", + "description": "Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported.", "type": "object" } }, @@ -8020,6 +8086,14 @@ }, "type": "array" }, + "structData": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Data representation. The structured JSON data for the document. It's populated from the struct data from the Document (code pointer: http://shortn/_objzAfIiHq), or the Chunk in search result (code pointer: http://shortn/_Ipo6KFFGBL).", + "type": "object" + }, "title": { "description": "Title.", "type": "string" @@ -8375,6 +8449,7 @@ "id": "GoogleCloudDiscoveryengineV1alphaCustomTuningModel", "properties": { "createTime": { + "deprecated": true, "description": "Timestamp the Model was created at.", "format": "google-datetime", "type": "string" @@ -8383,6 +8458,14 @@ "description": "The display name of the model.", "type": "string" }, + "metrics": { + "additionalProperties": { + "format": "double", + "type": "number" + }, + "description": "The metrics of the trained model.", + "type": "object" + }, "modelState": { "description": "The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`).", "enum": [ @@ -8391,7 +8474,8 @@ "TRAINING", "TRAINING_COMPLETE", "READY_FOR_SERVING", - "TRAINING_FAILED" + "TRAINING_FAILED", + "NO_IMPROVEMENT" ], "enumDescriptions": [ "Default value.", @@ -8399,7 +8483,8 @@ "The model is currently training.", "The model has successfully completed training.", "The model is ready for serving.", - "The model training failed." + "The model training failed.", + "The model training finished successfully but metrics did not improve." ], "type": "string" }, @@ -8631,7 +8716,7 @@ "additionalProperties": { "$ref": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig" }, - "description": "Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and or layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and or layout parsing are supported.", + "description": "Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported.", "type": "object" } }, @@ -9065,6 +9150,38 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1alphaExportUserEventsMetadata": { + "description": "Metadata related to the progress of the Export operation. This is returned by the google.longrunning.Operation.metadata field.", + "id": "GoogleCloudDiscoveryengineV1alphaExportUserEventsMetadata", + "properties": { + "createTime": { + "description": "Operation create time.", + "format": "google-datetime", + "type": "string" + }, + "updateTime": { + "description": "Operation last update time. If the operation is done, this is also the finish time.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDiscoveryengineV1alphaExportUserEventsResponse": { + "description": "Response of the ExportUserEventsRequest. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field.", + "id": "GoogleCloudDiscoveryengineV1alphaExportUserEventsResponse", + "properties": { + "outputResult": { + "$ref": "GoogleCloudDiscoveryengineV1alphaOutputResult", + "description": "Output result indicating where the data were exported to." + }, + "status": { + "$ref": "GoogleRpcStatus", + "description": "The status of the export operation." + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1alphaFieldConfig": { "description": "Configurations for fields of a schema. For example, configuring a field is indexable, or searchable.", "id": "GoogleCloudDiscoveryengineV1alphaFieldConfig", @@ -9494,6 +9611,32 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1alphaOutputResult": { + "description": "Output result that stores the information about where the exported data is stored.", + "id": "GoogleCloudDiscoveryengineV1alphaOutputResult", + "properties": { + "bigqueryResult": { + "$ref": "GoogleCloudDiscoveryengineV1alphaOutputResultBigQueryOutputResult", + "description": "The BigQuery location where the result is stored." + } + }, + "type": "object" + }, + "GoogleCloudDiscoveryengineV1alphaOutputResultBigQueryOutputResult": { + "description": "A BigQuery output result.", + "id": "GoogleCloudDiscoveryengineV1alphaOutputResultBigQueryOutputResult", + "properties": { + "datasetId": { + "description": "The ID of a BigQuery Dataset.", + "type": "string" + }, + "tableId": { + "description": "The ID of a BigQuery Table.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1alphaProject": { "description": "Metadata and configurations for a Google Cloud project in the service.", "id": "GoogleCloudDiscoveryengineV1alphaProject", @@ -10983,6 +11126,14 @@ }, "type": "array" }, + "structData": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Data representation. The structured JSON data for the document. It's populated from the struct data from the Document (code pointer: http://shortn/_objzAfIiHq), or the Chunk in search result (code pointer: http://shortn/_Ipo6KFFGBL).", + "type": "object" + }, "title": { "description": "Title.", "type": "string" @@ -12067,6 +12218,7 @@ "id": "GoogleCloudDiscoveryengineV1betaCustomTuningModel", "properties": { "createTime": { + "deprecated": true, "description": "Timestamp the Model was created at.", "format": "google-datetime", "type": "string" @@ -12075,6 +12227,14 @@ "description": "The display name of the model.", "type": "string" }, + "metrics": { + "additionalProperties": { + "format": "double", + "type": "number" + }, + "description": "The metrics of the trained model.", + "type": "object" + }, "modelState": { "description": "The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`).", "enum": [ @@ -12083,7 +12243,8 @@ "TRAINING", "TRAINING_COMPLETE", "READY_FOR_SERVING", - "TRAINING_FAILED" + "TRAINING_FAILED", + "NO_IMPROVEMENT" ], "enumDescriptions": [ "Default value.", @@ -12091,7 +12252,8 @@ "The model is currently training.", "The model has successfully completed training.", "The model is ready for serving.", - "The model training failed." + "The model training failed.", + "The model training finished successfully but metrics did not improve." ], "type": "string" }, @@ -12425,7 +12587,7 @@ "additionalProperties": { "$ref": "GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig" }, - "description": "Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and or layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and or layout parsing are supported.", + "description": "Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported.", "type": "object" } }, @@ -14117,6 +14279,10 @@ "description": "The BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see [Standard fields](https://cloud.google.com/apis/design/standard_fields). This field helps to better interpret the query. If a value isn't specified, the query language code is automatically detected, which may not be accurate.", "type": "string" }, + "naturalLanguageQueryUnderstandingSpec": { + "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec", + "description": "If `naturalLanguageQueryUnderstandingSpec` is not specified, no additional natural language query understanding will be done." + }, "offset": { "description": "A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the Documents deemed by the API as relevant) in search results. This field is only considered if page_token is unset. If this field is negative, an `INVALID_ARGUMENT` is returned.", "format": "int32", @@ -14151,7 +14317,7 @@ "description": "The query expansion specification that specifies the conditions under which query expansion occurs." }, "rankingExpression": { - "description": "The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The ranking expression is a single function or multiple functions that are joint by \"+\". * ranking_expression = function, { \" + \", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: `relevance_score`: pre-defined keywords, used for measure relevance between query and document. `embedding_field_path`: the document embedding field used with query embedding vector. `dotProduct`: embedding function between embedding_field_path and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`.", + "description": "The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The ranking expression is a single function or multiple functions that are joined by \"+\". * ranking_expression = function, { \" + \", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between embedding_field_path and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`.", "type": "string" }, "regionCode": { @@ -14162,6 +14328,18 @@ "description": "Whether to turn on safe search. This is only supported for website search.", "type": "boolean" }, + "searchAsYouTypeSpec": { + "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec", + "description": "Search as you type configuration. Only supported for the IndustryVertical.MEDIA vertical." + }, + "session": { + "description": "The session resource name. Optional. Session allows users to do multi-turn /search API calls or coordination between /search API calls and /answer API calls. Example #1 (multi-turn /search API calls): 1. Call /search API with the auto-session mode (see below). 2. Call /search API with the session ID generated in the first call. Here, the previous search query gets considered in query standing. I.e., if the first query is \"How did Alphabet do in 2022?\" and the current query is \"How about 2023?\", the current query will be interpreted as \"How did Alphabet do in 2023?\". Example #2 (coordination between /search API calls and /answer API calls): 1. Call /search API with the auto-session mode (see below). 2. Call /answer API with the session ID generated in the first call. Here, the answer generation happens in the context of the search results from the first search call. Auto-session mode: when `projects/.../sessions/-` is used, a new session gets automatically created. Otherwise, users can use the create-session API to create a session manually. Multi-turn Search feature is currently at private GA stage. Please use v1alpha or v1beta version instead before we launch this feature to public GA. Or ask for allowlisting through Google Support team.", + "type": "string" + }, + "sessionSpec": { + "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestSessionSpec", + "description": "Session specification. Can be used only when `session` is set." + }, "spellCorrectionSpec": { "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestSpellCorrectionSpec", "description": "The spell correction specification that specifies the mode under which spell correction takes effect." @@ -14448,7 +14626,7 @@ "type": "object" }, "GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec": { - "description": "A struct to define data stores to filter on in a search call and configurations for those data stores. A maximum of 1 DataStoreSpec per data_store is allowed. Otherwise, an `INVALID_ARGUMENT` error is returned.", + "description": "A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned.", "id": "GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec", "properties": { "dataStore": { @@ -14576,6 +14754,34 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec": { + "description": "Specification to enable natural language understanding capabilities for search requests.", + "id": "GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec", + "properties": { + "filterExtractionCondition": { + "description": "The condition under which filter extraction should occur. Default to Condition.DISABLED.", + "enum": [ + "CONDITION_UNSPECIFIED", + "DISABLED", + "ENABLED" + ], + "enumDescriptions": [ + "Server behavior defaults to Condition.DISABLED.", + "Disables NL filter extraction.", + "Enables NL filter extraction." + ], + "type": "string" + }, + "geoSearchQueryDetectionFieldNames": { + "description": "Field names used for location-based filtering, where geolocation filters are detected in natural language search queries. Only valid when the FilterExtractionCondition is set to `ENABLED`. If this field is set, it overrides the field names set in Servingconfig.geo_search_query_detection_field_names.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec": { "description": "Specification to determine under which conditions query expansion should occur.", "id": "GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec", @@ -14601,6 +14807,43 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec": { + "description": "Specification for search as you type in search requests.", + "id": "GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec", + "properties": { + "condition": { + "description": "The condition under which search as you type should occur. Default to Condition.DISABLED.", + "enum": [ + "CONDITION_UNSPECIFIED", + "DISABLED", + "ENABLED" + ], + "enumDescriptions": [ + "Server behavior defaults to Condition.DISABLED.", + "Disables Search As You Type.", + "Enables Search As You Type." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDiscoveryengineV1betaSearchRequestSessionSpec": { + "description": "Session specification. Multi-turn Search feature is currently at private GA stage. Please use v1alpha or v1beta version instead before we launch this feature to public GA. Or ask for allowlisting through Google Support team.", + "id": "GoogleCloudDiscoveryengineV1betaSearchRequestSessionSpec", + "properties": { + "queryId": { + "description": "If set, the search result gets stored to the \"turn\" specified by this query ID. Example: Let's say the session looks like this: session { name: \".../sessions/xxx\" turns { query { text: \"What is foo?\" query_id: \".../questions/yyy\" } answer: \"Foo is ...\" } turns { query { text: \"How about bar then?\" query_id: \".../questions/zzz\" } } } The user can call /search API with a request like this: session: \".../sessions/xxx\" session_spec { query_id: \".../questions/zzz\" } Then, the API stores the search result, associated with the last turn. The stored search result can be used by a subsequent /answer API call (with the session ID and the query ID specified). Also, it is possible to call /search and /answer in parallel with the same session ID & query ID.", + "type": "string" + }, + "searchResultPersistenceCount": { + "description": "The number of top search results to persist. The persisted search results can be used for the subsequent /answer api call. This field is simliar to the `summary_result_count` field in SearchRequest.ContentSearchSpec.SummarySpec.summary_result_count. At most 10 results for documents mode, or 50 for chunks mode.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1betaSearchRequestSpellCorrectionSpec": { "description": "The specification for query spell correction.", "id": "GoogleCloudDiscoveryengineV1betaSearchRequestSpellCorrectionSpec", @@ -14658,6 +14901,10 @@ "$ref": "GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResult", "description": "Guided search result." }, + "naturalLanguageQueryUnderstandingInfo": { + "$ref": "GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfo", + "description": "Natural language query understanding information for the returned results." + }, "nextPageToken": { "description": "A token that can be sent as SearchRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", "type": "string" @@ -14677,6 +14924,10 @@ }, "type": "array" }, + "sessionInfo": { + "$ref": "GoogleCloudDiscoveryengineV1betaSearchResponseSessionInfo", + "description": "Session information. Only set if SearchRequest.session is provided. See its description for more details." + }, "summary": { "$ref": "GoogleCloudDiscoveryengineV1betaSearchResponseSummary", "description": "A summary as part of the search results. This field is only returned if SearchRequest.ContentSearchSpec.summary_spec is set." @@ -14782,6 +15033,165 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfo": { + "description": "Information describing what natural language understanding was done on the input query.", + "id": "GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfo", + "properties": { + "extractedFilters": { + "description": "The filters that were extracted from the input query.", + "type": "string" + }, + "rewrittenQuery": { + "description": "Rewritten input query minus the extracted filters.", + "type": "string" + }, + "structuredExtractedFilter": { + "$ref": "GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter", + "description": "The filters that were extracted from the input query represented in a structured form." + } + }, + "type": "object" + }, + "GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter": { + "description": "The filters that were extracted from the input query represented in a structured form.", + "id": "GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter", + "properties": { + "expression": { + "$ref": "GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression", + "description": "The expression denoting the filter that was extracted from the input query in a structured form. It can be a simple expression denoting a single string, numerical or geolocation constraint or a compound expression which is a combination of multiple expressions connected using logical (OR and AND) operators." + } + }, + "type": "object" + }, + "GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression": { + "description": "Logical `And` operator.", + "id": "GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression", + "properties": { + "expressions": { + "description": "The expressions that were ANDed together.", + "items": { + "$ref": "GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression": { + "description": "The expression denoting the filter that was extracted from the input query.", + "id": "GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression", + "properties": { + "andExpr": { + "$ref": "GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression", + "description": "Logical \"And\" compound operator connecting multiple expressions." + }, + "geolocationConstraint": { + "$ref": "GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint", + "description": "Geolocation constraint expression." + }, + "numberConstraint": { + "$ref": "GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint", + "description": "Numerical constraint expression." + }, + "orExpr": { + "$ref": "GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterOrExpression", + "description": "Logical \"Or\" compound operator connecting multiple expressions." + }, + "stringConstraint": { + "$ref": "GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint", + "description": "String constraint expression." + } + }, + "type": "object" + }, + "GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint": { + "description": "Constraint of a geolocation field. Name of the geolocation field as defined in the schema.", + "id": "GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint", + "properties": { + "address": { + "description": "The reference address that was inferred from the input query. The proximity of the reference address to the geolocation field will be used to filter the results.", + "type": "string" + }, + "fieldName": { + "description": "The name of the geolocation field as defined in the schema.", + "type": "string" + }, + "radiusInMeters": { + "description": "The radius in meters around the address. The record is returned if the location of the geolocation field is within the radius.", + "format": "float", + "type": "number" + } + }, + "type": "object" + }, + "GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint": { + "description": "Constraint expression of a number field. Example: price < 100.", + "id": "GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint", + "properties": { + "comparison": { + "description": "The comparison operation performed between the field value and the value specified in the constraint.", + "enum": [ + "COMPARISON_UNSPECIFIED", + "EQUALS", + "LESS_THAN_EQUALS", + "LESS_THAN", + "GREATER_THAN_EQUALS", + "GREATER_THAN" + ], + "enumDescriptions": [ + "Undefined comparison operator.", + "Denotes equality `=` operator.", + "Denotes less than or equal to `<=` operator.", + "Denotes less than `<` operator.", + "Denotes greater than or equal to `>=` operator.", + "Denotes greater than `>` operator." + ], + "type": "string" + }, + "fieldName": { + "description": "Name of the numerical field as defined in the schema.", + "type": "string" + }, + "value": { + "description": "The value specified in the numerical constraint.", + "format": "double", + "type": "number" + } + }, + "type": "object" + }, + "GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterOrExpression": { + "description": "Logical `Or` operator.", + "id": "GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterOrExpression", + "properties": { + "expressions": { + "description": "The expressions that were ORed together.", + "items": { + "$ref": "GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint": { + "description": "Constraint expression of a string field.", + "id": "GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint", + "properties": { + "fieldName": { + "description": "Name of the string field as defined in the schema.", + "type": "string" + }, + "values": { + "description": "Values of the string field. The record will only be returned if the field value matches one of the values specified here.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1betaSearchResponseQueryExpansionInfo": { "description": "Information describing query expansion including whether expansion has occurred.", "id": "GoogleCloudDiscoveryengineV1betaSearchResponseQueryExpansionInfo", @@ -14824,6 +15234,21 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1betaSearchResponseSessionInfo": { + "description": "Information about the session.", + "id": "GoogleCloudDiscoveryengineV1betaSearchResponseSessionInfo", + "properties": { + "name": { + "description": "Name of the session. If the auto-session mode is used (when SearchRequest.session ends with \"-\"), this field holds the newly generated session name.", + "type": "string" + }, + "queryId": { + "description": "Query ID that corresponds to this search API call. One session can have multiple turns, each with a unique query ID. By specifying the session name and this query ID in the Answer API call, the answer generation happens in the context of the search results from this search call.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1betaSearchResponseSummary": { "description": "Summary of the top N search results specified by the summary spec.", "id": "GoogleCloudDiscoveryengineV1betaSearchResponseSummary", @@ -15075,7 +15500,7 @@ "type": "array" }, "rankingExpression": { - "description": "The ranking expression controls the customized ranking on retrieval documents. To leverage this, document embedding is required. The ranking expression setting in ServingConfig applies to all search requests served by the serving config. However, if SearchRequest.ranking_expression is specified, it overrides the ServingConfig ranking expression. The ranking expression is a single function or multiple functions that are joined by \"+\". * ranking_expression = function, { \" + \", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: relevance_score: pre-defined keywords, used for measure relevance between query and document. embedding_field_path: the document embedding field used with query embedding vector. dotProduct: embedding function between embedding_field_path and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be 0.5 * relevance_score + 0.3 * dotProduct(doc_embedding).", + "description": "The ranking expression controls the customized ranking on retrieval documents. To leverage this, document embedding is required. The ranking expression setting in ServingConfig applies to all search requests served by the serving config. However, if SearchRequest.ranking_expression is specified, it overrides the ServingConfig ranking expression. The ranking expression is a single function or multiple functions that are joined by \"+\". * ranking_expression = function, { \" + \", function }; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between embedding_field_path and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`.", "type": "string" }, "redirectControlIds": { diff --git a/discovery/displayvideo-v2.json b/discovery/displayvideo-v2.json index d4fce6296c..826f46a2ab 100644 --- a/discovery/displayvideo-v2.json +++ b/discovery/displayvideo-v2.json @@ -9267,7 +9267,7 @@ } } }, - "revision": "20240620", + "revision": "20240618", "rootUrl": "https://displayvideo.googleapis.com/", "schemas": { "ActivateManualTriggerRequest": { diff --git a/discovery/dlp-v2.json b/discovery/dlp-v2.json index 780fc2f5b0..84b4b4fec8 100644 --- a/discovery/dlp-v2.json +++ b/discovery/dlp-v2.json @@ -17,19 +17,219 @@ "documentationLink": "https://cloud.google.com/sensitive-data-protection/docs/", "endpoints": [ { - "location": "africa-south1", "description": "Regional Endpoint", - "endpointUrl": "https://dlp.africa-south1.rep.googleapis.com/" + "endpointUrl": "https://dlp.africa-south1.rep.googleapis.com/", + "location": "africa-south1" }, { "description": "Regional Endpoint", - "location": "australia-southeast1", - "endpointUrl": "https://dlp.australia-southeast1.rep.googleapis.com/" + "endpointUrl": "https://dlp.asia-east1.rep.googleapis.com/", + "location": "asia-east1" }, { + "description": "Regional Endpoint", + "endpointUrl": "https://dlp.asia-east2.rep.googleapis.com/", + "location": "asia-east2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dlp.asia-northeast1.rep.googleapis.com/", + "location": "asia-northeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dlp.asia-northeast2.rep.googleapis.com/", + "location": "asia-northeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dlp.asia-northeast3.rep.googleapis.com/", + "location": "asia-northeast3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dlp.asia-south1.rep.googleapis.com/", + "location": "asia-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dlp.asia-south2.rep.googleapis.com/", + "location": "asia-south2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dlp.asia-southeast1.rep.googleapis.com/", + "location": "asia-southeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dlp.asia-southeast2.rep.googleapis.com/", + "location": "asia-southeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dlp.australia-southeast1.rep.googleapis.com/", + "location": "australia-southeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dlp.australia-southeast2.rep.googleapis.com/", + "location": "australia-southeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dlp.europe-central2.rep.googleapis.com/", + "location": "europe-central2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dlp.europe-north1.rep.googleapis.com/", + "location": "europe-north1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dlp.europe-north2.rep.googleapis.com/", + "location": "europe-north2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dlp.europe-southwest1.rep.googleapis.com/", + "location": "europe-southwest1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dlp.europe-west1.rep.googleapis.com/", + "location": "europe-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dlp.europe-west10.rep.googleapis.com/", + "location": "europe-west10" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dlp.europe-west12.rep.googleapis.com/", + "location": "europe-west12" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dlp.europe-west2.rep.googleapis.com/", + "location": "europe-west2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dlp.europe-west3.rep.googleapis.com/", + "location": "europe-west3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dlp.europe-west4.rep.googleapis.com/", + "location": "europe-west4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dlp.europe-west6.rep.googleapis.com/", + "location": "europe-west6" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dlp.europe-west8.rep.googleapis.com/", + "location": "europe-west8" + }, + { + "description": "Regional Endpoint", "endpointUrl": "https://dlp.europe-west9.rep.googleapis.com/", - "location": "europe-west9", - "description": "Regional Endpoint" + "location": "europe-west9" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dlp.me-central1.rep.googleapis.com/", + "location": "me-central1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dlp.me-central2.rep.googleapis.com/", + "location": "me-central2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dlp.me-west1.rep.googleapis.com/", + "location": "me-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dlp.northamerica-northeast1.rep.googleapis.com/", + "location": "northamerica-northeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dlp.northamerica-northeast2.rep.googleapis.com/", + "location": "northamerica-northeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dlp.northamerica-south1.rep.googleapis.com/", + "location": "northamerica-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dlp.southamerica-east1.rep.googleapis.com/", + "location": "southamerica-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dlp.southamerica-west1.rep.googleapis.com/", + "location": "southamerica-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dlp.us-central1.rep.googleapis.com/", + "location": "us-central1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dlp.us-east1.rep.googleapis.com/", + "location": "us-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dlp.us-east4.rep.googleapis.com/", + "location": "us-east4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dlp.us-east5.rep.googleapis.com/", + "location": "us-east5" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dlp.us-south1.rep.googleapis.com/", + "location": "us-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dlp.us-west1.rep.googleapis.com/", + "location": "us-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dlp.us-west2.rep.googleapis.com/", + "location": "us-west2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dlp.us-west3.rep.googleapis.com/", + "location": "us-west3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dlp.us-west4.rep.googleapis.com/", + "location": "us-west4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dlp.us-west8.rep.googleapis.com/", + "location": "us-west8" } ], "fullyEncodeReservedExpansion": true, @@ -307,7 +507,7 @@ "type": "string" }, "orderBy": { - "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", + "description": "Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", "location": "query", "type": "string" }, @@ -463,7 +663,7 @@ "type": "string" }, "orderBy": { - "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", + "description": "Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", "location": "query", "type": "string" }, @@ -568,7 +768,7 @@ "type": "string" }, "orderBy": { - "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id asc` * `table_id` * `sensitivity_level desc` Supported fields are: - `project_id`: The Google Cloud project ID. - `dataset_id`: The ID of a BigQuery dataset. - `table_id`: The ID of a BigQuery table. - `sensitivity_level`: How sensitive the data in a column is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds.", + "description": "Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id asc` * `table_id` * `sensitivity_level desc` Supported fields are: - `project_id`: The Google Cloud project ID. - `dataset_id`: The ID of a BigQuery dataset. - `table_id`: The ID of a BigQuery table. - `sensitivity_level`: How sensitive the data in a column is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds.", "location": "query", "type": "string" }, @@ -847,7 +1047,7 @@ "type": "string" }, "orderBy": { - "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", + "description": "Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", "location": "query", "type": "string" }, @@ -998,7 +1198,7 @@ ], "parameters": { "orderBy": { - "description": "Comma separated list of config fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `last_run_time`: corresponds to the last time the DiscoveryConfig ran. - `name`: corresponds to the DiscoveryConfig's name. - `status`: corresponds to DiscoveryConfig's status.", + "description": "Comma-separated list of config fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `last_run_time`: corresponds to the last time the DiscoveryConfig ran. - `name`: corresponds to the DiscoveryConfig's name. - `status`: corresponds to DiscoveryConfig's status.", "location": "query", "type": "string" }, @@ -1081,7 +1281,7 @@ "type": "string" }, "orderBy": { - "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, end_time asc, create_time desc` Supported fields are: - `create_time`: corresponds to the time the job was created. - `end_time`: corresponds to the time the job ended. - `name`: corresponds to the job's name. - `state`: corresponds to `state`", + "description": "Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, end_time asc, create_time desc` Supported fields are: - `create_time`: corresponds to the time the job was created. - `end_time`: corresponds to the time the job ended. - `name`: corresponds to the job's name. - `state`: corresponds to `state`", "location": "query", "type": "string" }, @@ -1191,12 +1391,12 @@ ], "parameters": { "filter": { - "description": "Optional. Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields/values: - `project_id` - The Google Cloud project ID. - `file_store_path` - The path like \"gs://bucket\". - `sensitivity_level` - HIGH|MODERATE|LOW - `data_risk_level` - HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code` - an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto * The operator must be `=` or `!=`. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = PUBLIC` . * 'file_store_path = \"gs://mybucket\"` The length of this field should be no more than 500 characters.", + "description": "Optional. Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields/values: - `project_id` - The Google Cloud project ID. - `file_store_path` - The path like \"gs://bucket\". - `sensitivity_level` - HIGH|MODERATE|LOW - `data_risk_level` - HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code` - an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto * The operator must be `=` or `!=`. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = PUBLIC` * `file_store_path = \"gs://mybucket\"` The length of this field should be no more than 500 characters.", "location": "query", "type": "string" }, "orderBy": { - "description": "Optional. Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id asc` * `name` * `sensitivity_level desc` Supported fields are: - `project_id`: The Google Cloud project ID. - `sensitivity_level`: How sensitive the data in a table is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds. - `last_modified`: The last time the resource was modified. - `resource_visibility`: Visibility restriction for this resource. - `name`: The name of the profile. - `create_time`: The time the file store was first created.", + "description": "Optional. Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id asc` * `name` * `sensitivity_level desc` Supported fields are: - `project_id`: The Google Cloud project ID. - `sensitivity_level`: How sensitive the data in a table is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds. - `last_modified`: The last time the resource was modified. - `resource_visibility`: Visibility restriction for this resource. - `name`: The name of the profile. - `create_time`: The time the file store was first created.", "location": "query", "type": "string" }, @@ -1324,7 +1524,7 @@ "type": "string" }, "orderBy": { - "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", + "description": "Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", "location": "query", "type": "string" }, @@ -1485,7 +1685,7 @@ "type": "string" }, "orderBy": { - "description": "Comma separated list of triggeredJob fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the JobTrigger was created. - `update_time`: corresponds to the time the JobTrigger was last updated. - `last_run_time`: corresponds to the last time the JobTrigger ran. - `name`: corresponds to the JobTrigger's name. - `display_name`: corresponds to the JobTrigger's display name. - `status`: corresponds to JobTrigger's status.", + "description": "Comma-separated list of triggeredJob fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the JobTrigger was created. - `update_time`: corresponds to the time the JobTrigger was last updated. - `last_run_time`: corresponds to the last time the JobTrigger ran. - `name`: corresponds to the JobTrigger's name. - `display_name`: corresponds to the JobTrigger's display name. - `status`: corresponds to JobTrigger's status.", "location": "query", "type": "string" }, @@ -1603,7 +1803,7 @@ "type": "string" }, "orderBy": { - "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id` * `sensitivity_level desc` Supported fields are: - `project_id`: Google Cloud project ID - `sensitivity_level`: How sensitive the data in a project is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds.", + "description": "Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id` * `sensitivity_level desc` Supported fields are: - `project_id`: Google Cloud project ID - `sensitivity_level`: How sensitive the data in a project is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds.", "location": "query", "type": "string" }, @@ -1731,7 +1931,7 @@ "type": "string" }, "orderBy": { - "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, display_name, create_time desc` Supported fields are: - `create_time`: corresponds to the time the most recent version of the resource was created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name.", + "description": "Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, display_name, create_time desc` Supported fields are: - `create_time`: corresponds to the time the most recent version of the resource was created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name.", "location": "query", "type": "string" }, @@ -1859,7 +2059,7 @@ "type": "string" }, "orderBy": { - "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id asc` * `table_id` * `sensitivity_level desc` Supported fields are: - `project_id`: The Google Cloud project ID. - `dataset_id`: The ID of a BigQuery dataset. - `table_id`: The ID of a BigQuery table. - `sensitivity_level`: How sensitive the data in a table is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds. - `last_modified`: The last time the resource was modified. - `resource_visibility`: Visibility restriction for this resource. - `row_count`: Number of rows in this resource.", + "description": "Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id asc` * `table_id` * `sensitivity_level desc` Supported fields are: - `project_id`: The Google Cloud project ID. - `dataset_id`: The ID of a BigQuery dataset. - `table_id`: The ID of a BigQuery table. - `sensitivity_level`: How sensitive the data in a table is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds. - `last_modified`: The last time the resource was modified. - `resource_visibility`: Visibility restriction for this resource. - `row_count`: Number of rows in this resource.", "location": "query", "type": "string" }, @@ -1989,7 +2189,7 @@ "type": "string" }, "orderBy": { - "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, display_name, create_time desc` Supported fields are: - `create_time`: corresponds to the time the most recent version of the resource was created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name.", + "description": "Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, display_name, create_time desc` Supported fields are: - `create_time`: corresponds to the time the most recent version of the resource was created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name.", "location": "query", "type": "string" }, @@ -2237,7 +2437,7 @@ "type": "string" }, "orderBy": { - "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", + "description": "Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", "location": "query", "type": "string" }, @@ -2426,7 +2626,7 @@ "type": "string" }, "orderBy": { - "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, end_time asc, create_time desc` Supported fields are: - `create_time`: corresponds to the time the job was created. - `end_time`: corresponds to the time the job ended. - `name`: corresponds to the job's name. - `state`: corresponds to `state`", + "description": "Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, end_time asc, create_time desc` Supported fields are: - `create_time`: corresponds to the time the job was created. - `end_time`: corresponds to the time the job ended. - `name`: corresponds to the job's name. - `state`: corresponds to `state`", "location": "query", "type": "string" }, @@ -2601,7 +2801,7 @@ "type": "string" }, "orderBy": { - "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", + "description": "Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", "location": "query", "type": "string" }, @@ -2790,7 +2990,7 @@ "type": "string" }, "orderBy": { - "description": "Comma separated list of triggeredJob fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the JobTrigger was created. - `update_time`: corresponds to the time the JobTrigger was last updated. - `last_run_time`: corresponds to the last time the JobTrigger ran. - `name`: corresponds to the JobTrigger's name. - `display_name`: corresponds to the JobTrigger's display name. - `status`: corresponds to JobTrigger's status.", + "description": "Comma-separated list of triggeredJob fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the JobTrigger was created. - `update_time`: corresponds to the time the JobTrigger was last updated. - `last_run_time`: corresponds to the last time the JobTrigger ran. - `name`: corresponds to the JobTrigger's name. - `display_name`: corresponds to the JobTrigger's display name. - `status`: corresponds to JobTrigger's status.", "location": "query", "type": "string" }, @@ -2910,7 +3110,7 @@ "type": "string" }, "orderBy": { - "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id asc` * `table_id` * `sensitivity_level desc` Supported fields are: - `project_id`: The Google Cloud project ID. - `dataset_id`: The ID of a BigQuery dataset. - `table_id`: The ID of a BigQuery table. - `sensitivity_level`: How sensitive the data in a column is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds.", + "description": "Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id asc` * `table_id` * `sensitivity_level desc` Supported fields are: - `project_id`: The Google Cloud project ID. - `dataset_id`: The ID of a BigQuery dataset. - `table_id`: The ID of a BigQuery table. - `sensitivity_level`: How sensitive the data in a column is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds.", "location": "query", "type": "string" }, @@ -3318,7 +3518,7 @@ "type": "string" }, "orderBy": { - "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", + "description": "Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", "location": "query", "type": "string" }, @@ -3469,7 +3669,7 @@ ], "parameters": { "orderBy": { - "description": "Comma separated list of config fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `last_run_time`: corresponds to the last time the DiscoveryConfig ran. - `name`: corresponds to the DiscoveryConfig's name. - `status`: corresponds to DiscoveryConfig's status.", + "description": "Comma-separated list of config fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `last_run_time`: corresponds to the last time the DiscoveryConfig ran. - `name`: corresponds to the DiscoveryConfig's name. - `status`: corresponds to DiscoveryConfig's status.", "location": "query", "type": "string" }, @@ -3714,7 +3914,7 @@ "type": "string" }, "orderBy": { - "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, end_time asc, create_time desc` Supported fields are: - `create_time`: corresponds to the time the job was created. - `end_time`: corresponds to the time the job ended. - `name`: corresponds to the job's name. - `state`: corresponds to `state`", + "description": "Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, end_time asc, create_time desc` Supported fields are: - `create_time`: corresponds to the time the job was created. - `end_time`: corresponds to the time the job ended. - `name`: corresponds to the job's name. - `state`: corresponds to `state`", "location": "query", "type": "string" }, @@ -3824,12 +4024,12 @@ ], "parameters": { "filter": { - "description": "Optional. Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields/values: - `project_id` - The Google Cloud project ID. - `file_store_path` - The path like \"gs://bucket\". - `sensitivity_level` - HIGH|MODERATE|LOW - `data_risk_level` - HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code` - an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto * The operator must be `=` or `!=`. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = PUBLIC` . * 'file_store_path = \"gs://mybucket\"` The length of this field should be no more than 500 characters.", + "description": "Optional. Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields/values: - `project_id` - The Google Cloud project ID. - `file_store_path` - The path like \"gs://bucket\". - `sensitivity_level` - HIGH|MODERATE|LOW - `data_risk_level` - HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code` - an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto * The operator must be `=` or `!=`. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = PUBLIC` * `file_store_path = \"gs://mybucket\"` The length of this field should be no more than 500 characters.", "location": "query", "type": "string" }, "orderBy": { - "description": "Optional. Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id asc` * `name` * `sensitivity_level desc` Supported fields are: - `project_id`: The Google Cloud project ID. - `sensitivity_level`: How sensitive the data in a table is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds. - `last_modified`: The last time the resource was modified. - `resource_visibility`: Visibility restriction for this resource. - `name`: The name of the profile. - `create_time`: The time the file store was first created.", + "description": "Optional. Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id asc` * `name` * `sensitivity_level desc` Supported fields are: - `project_id`: The Google Cloud project ID. - `sensitivity_level`: How sensitive the data in a table is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds. - `last_modified`: The last time the resource was modified. - `resource_visibility`: Visibility restriction for this resource. - `name`: The name of the profile. - `create_time`: The time the file store was first created.", "location": "query", "type": "string" }, @@ -3989,7 +4189,7 @@ "type": "string" }, "orderBy": { - "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", + "description": "Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name.", "location": "query", "type": "string" }, @@ -4206,7 +4406,7 @@ "type": "string" }, "orderBy": { - "description": "Comma separated list of triggeredJob fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the JobTrigger was created. - `update_time`: corresponds to the time the JobTrigger was last updated. - `last_run_time`: corresponds to the last time the JobTrigger ran. - `name`: corresponds to the JobTrigger's name. - `display_name`: corresponds to the JobTrigger's display name. - `status`: corresponds to JobTrigger's status.", + "description": "Comma-separated list of triggeredJob fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the JobTrigger was created. - `update_time`: corresponds to the time the JobTrigger was last updated. - `last_run_time`: corresponds to the last time the JobTrigger ran. - `name`: corresponds to the JobTrigger's name. - `display_name`: corresponds to the JobTrigger's display name. - `status`: corresponds to JobTrigger's status.", "location": "query", "type": "string" }, @@ -4324,7 +4524,7 @@ "type": "string" }, "orderBy": { - "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id` * `sensitivity_level desc` Supported fields are: - `project_id`: Google Cloud project ID - `sensitivity_level`: How sensitive the data in a project is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds.", + "description": "Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id` * `sensitivity_level desc` Supported fields are: - `project_id`: Google Cloud project ID - `sensitivity_level`: How sensitive the data in a project is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds.", "location": "query", "type": "string" }, @@ -4452,7 +4652,7 @@ "type": "string" }, "orderBy": { - "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, display_name, create_time desc` Supported fields are: - `create_time`: corresponds to the time the most recent version of the resource was created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name.", + "description": "Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, display_name, create_time desc` Supported fields are: - `create_time`: corresponds to the time the most recent version of the resource was created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name.", "location": "query", "type": "string" }, @@ -4580,7 +4780,7 @@ "type": "string" }, "orderBy": { - "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id asc` * `table_id` * `sensitivity_level desc` Supported fields are: - `project_id`: The Google Cloud project ID. - `dataset_id`: The ID of a BigQuery dataset. - `table_id`: The ID of a BigQuery table. - `sensitivity_level`: How sensitive the data in a table is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds. - `last_modified`: The last time the resource was modified. - `resource_visibility`: Visibility restriction for this resource. - `row_count`: Number of rows in this resource.", + "description": "Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id asc` * `table_id` * `sensitivity_level desc` Supported fields are: - `project_id`: The Google Cloud project ID. - `dataset_id`: The ID of a BigQuery dataset. - `table_id`: The ID of a BigQuery table. - `sensitivity_level`: How sensitive the data in a table is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds. - `last_modified`: The last time the resource was modified. - `resource_visibility`: Visibility restriction for this resource. - `row_count`: Number of rows in this resource.", "location": "query", "type": "string" }, @@ -4710,7 +4910,7 @@ "type": "string" }, "orderBy": { - "description": "Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, display_name, create_time desc` Supported fields are: - `create_time`: corresponds to the time the most recent version of the resource was created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name.", + "description": "Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, display_name, create_time desc` Supported fields are: - `create_time`: corresponds to the time the most recent version of the resource was created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name.", "location": "query", "type": "string" }, @@ -4774,7 +4974,7 @@ } } }, - "revision": "20240624", + "revision": "20240707", "rootUrl": "https://dlp.googleapis.com/", "schemas": { "GooglePrivacyDlpV2Action": { @@ -4847,6 +5047,12 @@ "properties": {}, "type": "object" }, + "GooglePrivacyDlpV2AllOtherResources": { + "description": "Match discovery resources not covered by any other filter.", + "id": "GooglePrivacyDlpV2AllOtherResources", + "properties": {}, + "type": "object" + }, "GooglePrivacyDlpV2AllText": { "description": "Apply to all text.", "id": "GooglePrivacyDlpV2AllText", @@ -5419,6 +5625,29 @@ }, "type": "object" }, + "GooglePrivacyDlpV2CloudStorageDiscoveryTarget": { + "description": "Target used to match against for discovery with Cloud Storage buckets.", + "id": "GooglePrivacyDlpV2CloudStorageDiscoveryTarget", + "properties": { + "conditions": { + "$ref": "GooglePrivacyDlpV2DiscoveryFileStoreConditions", + "description": "Optional. In addition to matching the filter, these conditions must be true before a profile is generated." + }, + "disabled": { + "$ref": "GooglePrivacyDlpV2Disabled", + "description": "Optional. Disable profiling for buckets that match this filter." + }, + "filter": { + "$ref": "GooglePrivacyDlpV2DiscoveryCloudStorageFilter", + "description": "Required. The buckets the generation_cadence applies to. The first target with a matching filter will be the one to apply to a bucket." + }, + "generationCadence": { + "$ref": "GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence", + "description": "Optional. How often and when to update profiles. New buckets that match both the filter and conditions are scanned as quickly as possible depending on system capacity." + } + }, + "type": "object" + }, "GooglePrivacyDlpV2CloudStorageFileSet": { "description": "Message representing a set of files in Cloud Storage.", "id": "GooglePrivacyDlpV2CloudStorageFileSet", @@ -5514,6 +5743,21 @@ }, "type": "object" }, + "GooglePrivacyDlpV2CloudStorageRegex": { + "description": "A pattern to match against one or more file stores. At least one pattern must be specified. Regular expressions use RE2 [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found under the google/re2 repository on GitHub.", + "id": "GooglePrivacyDlpV2CloudStorageRegex", + "properties": { + "bucketNameRegex": { + "description": "Optional. Regex to test the bucket name against. If empty, all buckets match. Example: \"marketing2021\" or \"(marketing)\\d{4}\" will both match the bucket gs://marketing2021", + "type": "string" + }, + "projectIdRegex": { + "description": "Optional. For organizations, if unset, will match all projects.", + "type": "string" + } + }, + "type": "object" + }, "GooglePrivacyDlpV2CloudStorageRegexFileSet": { "description": "Message representing a set of files in a Cloud Storage bucket. Regular expressions are used to allow fine-grained control over which files in the bucket to include. Included files are those that match at least one item in `include_regex` and do not match any items in `exclude_regex`. Note that a file that matches items from both lists will _not_ be included. For a match to occur, the entire file path (i.e., everything in the url after the bucket name) must match the regular expression. For example, given the input `{bucket_name: \"mybucket\", include_regex: [\"directory1/.*\"], exclude_regex: [\"directory1/excluded.*\"]}`: * `gs://mybucket/directory1/myfile` will be included * `gs://mybucket/directory1/directory2/myfile` will be included (`.*` matches across `/`) * `gs://mybucket/directory0/directory1/myfile` will _not_ be included (the full path doesn't match any items in `include_regex`) * `gs://mybucket/directory1/excludedfile` will _not_ be included (the path matches an item in `exclude_regex`) If `include_regex` is left empty, it will match all files by default (this is equivalent to setting `include_regex: [\".*\"]`). Some other common use cases: * `{bucket_name: \"mybucket\", exclude_regex: [\".*\\.pdf\"]}` will include all files in `mybucket` except for .pdf files * `{bucket_name: \"mybucket\", include_regex: [\"directory/[^/]+\"]}` will include all files directly under `gs://mybucket/directory/`, without matching across `/`", "id": "GooglePrivacyDlpV2CloudStorageRegexFileSet", @@ -5539,6 +5783,21 @@ }, "type": "object" }, + "GooglePrivacyDlpV2CloudStorageResourceReference": { + "description": "Identifies a single Cloud Storage bucket.", + "id": "GooglePrivacyDlpV2CloudStorageResourceReference", + "properties": { + "bucketName": { + "description": "Required. The bucket to scan.", + "type": "string" + }, + "projectId": { + "description": "Required. If within a project-level config, then this must match the config's project id.", + "type": "string" + } + }, + "type": "object" + }, "GooglePrivacyDlpV2Color": { "description": "Represents a color in the RGB color space.", "id": "GooglePrivacyDlpV2Color", @@ -6310,7 +6569,7 @@ "id": "GooglePrivacyDlpV2DataProfileLocation", "properties": { "folderId": { - "description": "The ID of the Folder within an organization to scan.", + "description": "The ID of the folder within an organization to scan.", "format": "int64", "type": "string" }, @@ -6573,11 +6832,11 @@ "id": "GooglePrivacyDlpV2Deidentify", "properties": { "cloudStorageOutput": { - "description": "Required. User settable Cloud Storage bucket and folders to store de-identified files. This field must be set for cloud storage deidentification. The output Cloud Storage bucket must be different from the input bucket. De-identified files will overwrite files in the output path. Form of: gs://bucket/folder/ or gs://bucket", + "description": "Required. User settable Cloud Storage bucket and folders to store de-identified files. This field must be set for Cloud Storage deidentification. The output Cloud Storage bucket must be different from the input bucket. De-identified files will overwrite files in the output path. Form of: gs://bucket/folder/ or gs://bucket", "type": "string" }, "fileTypesToTransform": { - "description": "List of user-specified file type groups to transform. If specified, only the files with these filetypes will be transformed. If empty, all supported files will be transformed. Supported types may be automatically added over time. If a file type is set in this field that isn't supported by the Deidentify action then the job will fail and will not be successfully created/started. Currently the only filetypes supported are: IMAGES, TEXT_FILES, CSV, TSV.", + "description": "List of user-specified file type groups to transform. If specified, only the files with these file types will be transformed. If empty, all supported files will be transformed. Supported types may be automatically added over time. If a file type is set in this field that isn't supported by the Deidentify action then the job will fail and will not be successfully created/started. Currently the only file types supported are: IMAGES, TEXT_FILES, CSV, TSV.", "items": { "enum": [ "FILE_TYPE_UNSPECIFIED", @@ -7028,6 +7287,107 @@ }, "type": "object" }, + "GooglePrivacyDlpV2DiscoveryCloudStorageConditions": { + "description": "Requirements that must be true before a Cloud Storage bucket or object is scanned in discovery for the first time. There is an AND relationship between the top-level attributes.", + "id": "GooglePrivacyDlpV2DiscoveryCloudStorageConditions", + "properties": { + "includedBucketAttributes": { + "description": "Required. Only objects with the specified attributes will be scanned. Defaults to [ALL_SUPPORTED_BUCKETS] if unset.", + "items": { + "enum": [ + "CLOUD_STORAGE_BUCKET_ATTRIBUTE_UNSPECIFIED", + "ALL_SUPPORTED_BUCKETS", + "AUTOCLASS_DISABLED", + "AUTOCLASS_ENABLED" + ], + "enumDescriptions": [ + "Unused.", + "Scan buckets regardless of the attribute.", + "Buckets with autoclass disabled (https://cloud.google.com/storage/docs/autoclass). Only one of AUTOCLASS_DISABLED or AUTOCLASS_ENABLED should be set.", + "Buckets with autoclass enabled (https://cloud.google.com/storage/docs/autoclass). Only one of AUTOCLASS_DISABLED or AUTOCLASS_ENABLED should be set. Scanning Autoclass-enabled buckets can affect object storage classes." + ], + "type": "string" + }, + "type": "array" + }, + "includedObjectAttributes": { + "description": "Required. Only objects with the specified attributes will be scanned. If an object has one of the specified attributes but is inside an excluded bucket, it will not be scanned. Defaults to [ALL_SUPPORTED_OBJECTS]. A profile will be created even if no objects match the included_object_attributes.", + "items": { + "enum": [ + "CLOUD_STORAGE_OBJECT_ATTRIBUTE_UNSPECIFIED", + "ALL_SUPPORTED_OBJECTS", + "STANDARD", + "NEARLINE", + "COLDLINE", + "ARCHIVE", + "REGIONAL", + "MULTI_REGIONAL", + "DURABLE_REDUCED_AVAILABILITY" + ], + "enumDescriptions": [ + "Unused.", + "Scan objects regardless of the attribute.", + "Scan objects with the standard storage class.", + "Scan objects with the nearline storage class. This will incur retrieval fees.", + "Scan objects with the coldline storage class. This will incur retrieval fees.", + "Scan objects with the archive storage class. This will incur retrieval fees.", + "Scan objects with the regional storage class.", + "Scan objects with the multi-regional storage class.", + "Scan objects with the dual-regional storage class. This will incur retrieval fees." + ], + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GooglePrivacyDlpV2DiscoveryCloudStorageFilter": { + "description": "Determines which buckets will have profiles generated within an organization or project. Includes the ability to filter by regular expression patterns on project ID and bucket name.", + "id": "GooglePrivacyDlpV2DiscoveryCloudStorageFilter", + "properties": { + "cloudStorageResourceReference": { + "$ref": "GooglePrivacyDlpV2CloudStorageResourceReference", + "description": "Optional. The bucket to scan. Targets including this can only include one target (the target with this bucket). This enables profiling the contents of a single bucket, while the other options allow for easy profiling of many bucets within a project or an organization." + }, + "collection": { + "$ref": "GooglePrivacyDlpV2FileStoreCollection", + "description": "Optional. A specific set of buckets for this filter to apply to." + }, + "others": { + "$ref": "GooglePrivacyDlpV2AllOtherResources", + "description": "Optional. Catch-all. This should always be the last target in the list because anything above it will apply first. Should only appear once in a configuration. If none is specified, a default one will be added automatically." + } + }, + "type": "object" + }, + "GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence": { + "description": "How often existing buckets should have their profiles refreshed. New buckets are scanned as quickly as possible depending on system capacity.", + "id": "GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence", + "properties": { + "inspectTemplateModifiedCadence": { + "$ref": "GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence", + "description": "Optional. Governs when to update data profiles when the inspection rules defined by the `InspectTemplate` change. If not set, changing the template will not cause a data profile to update." + }, + "refreshFrequency": { + "description": "Optional. Data changes in Cloud Storage can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying buckets have changed. Defaults to never.", + "enum": [ + "UPDATE_FREQUENCY_UNSPECIFIED", + "UPDATE_FREQUENCY_NEVER", + "UPDATE_FREQUENCY_DAILY", + "UPDATE_FREQUENCY_MONTHLY" + ], + "enumDescriptions": [ + "Unspecified.", + "After the data profile is created, it will never be updated.", + "The data profile can be updated up to once every 24 hours.", + "The data profile can be updated up to once every 30 days. Default." + ], + "type": "string" + } + }, + "type": "object" + }, "GooglePrivacyDlpV2DiscoveryConfig": { "description": "Configuration for discovery to scan resources for profile generation. Only one discovery configuration may exist per organization, folder, or project. The generated data profiles are retained according to the [data retention policy] (https://cloud.google.com/sensitive-data-protection/docs/data-profiles#retention).", "id": "GooglePrivacyDlpV2DiscoveryConfig", @@ -7108,10 +7468,35 @@ }, "type": "object" }, + "GooglePrivacyDlpV2DiscoveryFileStoreConditions": { + "description": "Requirements that must be true before a file store is scanned in discovery for the first time. There is an AND relationship between the top-level attributes.", + "id": "GooglePrivacyDlpV2DiscoveryFileStoreConditions", + "properties": { + "cloudStorageConditions": { + "$ref": "GooglePrivacyDlpV2DiscoveryCloudStorageConditions", + "description": "Optional. Cloud Storage conditions." + }, + "createdAfter": { + "description": "Optional. File store must have been created after this date. Used to avoid backfilling.", + "format": "google-datetime", + "type": "string" + }, + "minAge": { + "description": "Optional. Minimum age a file store must have. If set, the value must be 1 hour or greater.", + "format": "google-duration", + "type": "string" + } + }, + "type": "object" + }, "GooglePrivacyDlpV2DiscoveryGenerationCadence": { "description": "What must take place for a profile to be updated and how frequently it should occur. New tables are scanned as quickly as possible depending on system capacity.", "id": "GooglePrivacyDlpV2DiscoveryGenerationCadence", "properties": { + "inspectTemplateModifiedCadence": { + "$ref": "GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence", + "description": "Governs when to update data profiles when the inspection rules defined by the `InspectTemplate` change. If not set, changing the template will not cause a data profile to update." + }, "schemaModifiedCadence": { "$ref": "GooglePrivacyDlpV2DiscoverySchemaModifiedCadence", "description": "Governs when to update data profiles when a schema is modified." @@ -7123,6 +7508,29 @@ }, "type": "object" }, + "GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence": { + "description": "The cadence at which to update data profiles when the inspection rules defined by the `InspectTemplate` change.", + "id": "GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence", + "properties": { + "frequency": { + "description": "How frequently data profiles can be updated when the template is modified. Defaults to never.", + "enum": [ + "UPDATE_FREQUENCY_UNSPECIFIED", + "UPDATE_FREQUENCY_NEVER", + "UPDATE_FREQUENCY_DAILY", + "UPDATE_FREQUENCY_MONTHLY" + ], + "enumDescriptions": [ + "Unspecified.", + "After the data profile is created, it will never be updated.", + "The data profile can be updated up to once every 24 hours.", + "The data profile can be updated up to once every 30 days. Default." + ], + "type": "string" + } + }, + "type": "object" + }, "GooglePrivacyDlpV2DiscoverySchemaModifiedCadence": { "description": "The cadence at which to update data profiles when a schema is modified.", "id": "GooglePrivacyDlpV2DiscoverySchemaModifiedCadence", @@ -7168,7 +7576,7 @@ "id": "GooglePrivacyDlpV2DiscoveryStartingLocation", "properties": { "folderId": { - "description": "The ID of the Folder within an organization to scan.", + "description": "The ID of the folder within an organization to scan.", "format": "int64", "type": "string" }, @@ -7230,6 +7638,10 @@ "$ref": "GooglePrivacyDlpV2CloudSqlDiscoveryTarget", "description": "Cloud SQL target for Discovery. The first target to match a table will be the one applied." }, + "cloudStorageTarget": { + "$ref": "GooglePrivacyDlpV2CloudStorageDiscoveryTarget", + "description": "Cloud Storage target for Discovery. The first target to match a table will be the one applied." + }, "secretsTarget": { "$ref": "GooglePrivacyDlpV2SecretsDiscoveryTarget", "description": "Discovery target that looks for credentials and secrets stored in cloud resource metadata and reports them as vulnerabilities to Security Command Center. Only one target of this type is allowed." @@ -7534,7 +7946,7 @@ "description": "The data risk level of this cluster. RISK_LOW if nothing has been scanned." }, "errors": { - "description": "A list of Errors detected while scanning this cluster. The list is truncated to 10 per cluster.", + "description": "A list of errors detected while scanning this cluster. The list is truncated to 10 per cluster.", "items": { "$ref": "GooglePrivacyDlpV2Error" }, @@ -7637,8 +8049,19 @@ }, "type": "object" }, + "GooglePrivacyDlpV2FileStoreCollection": { + "description": "Match file stores (e.g. buckets) using regex filters.", + "id": "GooglePrivacyDlpV2FileStoreCollection", + "properties": { + "includeRegexes": { + "$ref": "GooglePrivacyDlpV2FileStoreRegexes", + "description": "Optional. A collection of regular expressions to match a file store against." + } + }, + "type": "object" + }, "GooglePrivacyDlpV2FileStoreDataProfile": { - "description": "The profile for a file store. * Google Cloud Storage: maps 1:1 with a bucket.", + "description": "The profile for a file store. * Cloud Storage: maps 1:1 with a bucket.", "id": "GooglePrivacyDlpV2FileStoreDataProfile", "properties": { "configSnapshot": { @@ -7659,7 +8082,7 @@ "description": "The resource type that was profiled." }, "dataStorageLocations": { - "description": "For resources that have multiple storage locations, these are those regions. For Google Cloud Storage this is the list of regions chosen for dual-region storage. `file_store_location` will normally be the corresponding multi-region for the list of individual locations. The first region is always picked as the processing and storage location for the data profile.", + "description": "For resources that have multiple storage locations, these are those regions. For Cloud Storage this is the list of regions chosen for dual-region storage. `file_store_location` will normally be the corresponding multi-region for the list of individual locations. The first region is always picked as the processing and storage location for the data profile.", "items": { "type": "string" }, @@ -7684,11 +8107,11 @@ "type": "boolean" }, "fileStoreLocation": { - "description": "The location of the file store. * Google Cloud Storage: https://cloud.google.com/storage/docs/locations#available-locations", + "description": "The location of the file store. * Cloud Storage: https://cloud.google.com/storage/docs/locations#available-locations", "type": "string" }, "fileStorePath": { - "description": "The file store path. * Google Cloud Storage: `gs://{bucket}`", + "description": "The file store path. * Cloud Storage: `gs://{bucket}`", "type": "string" }, "fullResource": { @@ -7718,7 +8141,7 @@ "description": "Success or error status from the most recent profile generation attempt. May be empty if the profile is still being generated." }, "projectDataProfile": { - "description": "The resource name to the project data profile for this file store.", + "description": "The resource name of the project data profile for this file store.", "type": "string" }, "projectId": { @@ -7729,7 +8152,7 @@ "additionalProperties": { "$ref": "GooglePrivacyDlpV2Value" }, - "description": "Attributes of the resource being profiled. Currently used attributes: - customer_managed_encryption: boolean true: the resource is encrypted with a customer-managed key. false: the resource is encrypted with a provider-managed key.", + "description": "Attributes of the resource being profiled. Currently used attributes: * customer_managed_encryption: boolean - true: the resource is encrypted with a customer-managed key. - false: the resource is encrypted with a provider-managed key.", "type": "object" }, "resourceLabels": { @@ -7787,6 +8210,31 @@ }, "type": "object" }, + "GooglePrivacyDlpV2FileStoreRegex": { + "description": "A pattern to match against one or more file stores.", + "id": "GooglePrivacyDlpV2FileStoreRegex", + "properties": { + "cloudStorageRegex": { + "$ref": "GooglePrivacyDlpV2CloudStorageRegex", + "description": "Optional. Regex for Cloud Storage." + } + }, + "type": "object" + }, + "GooglePrivacyDlpV2FileStoreRegexes": { + "description": "A collection of regular expressions to determine what file store to match against.", + "id": "GooglePrivacyDlpV2FileStoreRegexes", + "properties": { + "patterns": { + "description": "Required. The group of regular expression patterns to match against one or more file stores. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB.", + "items": { + "$ref": "GooglePrivacyDlpV2FileStoreRegex" + }, + "type": "array" + } + }, + "type": "object" + }, "GooglePrivacyDlpV2Finding": { "description": "Represents a piece of potentially sensitive content.", "id": "GooglePrivacyDlpV2Finding", @@ -10830,7 +11278,7 @@ "description": "Success or error status from the most recent profile generation attempt. May be empty if the profile is still being generated." }, "projectDataProfile": { - "description": "The resource name to the project data profile for this table.", + "description": "The resource name of the project data profile for this table.", "type": "string" }, "resourceLabels": { diff --git a/discovery/dns-v1.json b/discovery/dns-v1.json index 99a2a4acc0..1f1a30e193 100644 --- a/discovery/dns-v1.json +++ b/discovery/dns-v1.json @@ -1824,7 +1824,7 @@ } } }, - "revision": "20240616", + "revision": "20240531", "rootUrl": "https://dns.googleapis.com/", "schemas": { "Change": { diff --git a/discovery/dns-v1beta2.json b/discovery/dns-v1beta2.json index 3d1c670663..2ce6eca500 100644 --- a/discovery/dns-v1beta2.json +++ b/discovery/dns-v1beta2.json @@ -1821,7 +1821,7 @@ } } }, - "revision": "20240616", + "revision": "20240531", "rootUrl": "https://dns.googleapis.com/", "schemas": { "Change": { diff --git a/discovery/documentai-v1.json b/discovery/documentai-v1.json index 9cd1f5c048..b916462880 100644 --- a/discovery/documentai-v1.json +++ b/discovery/documentai-v1.json @@ -1042,7 +1042,7 @@ } } }, - "revision": "20240619", + "revision": "20240615", "rootUrl": "https://documentai.googleapis.com/", "schemas": { "GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata": { diff --git a/discovery/documentai-v1beta3.json b/discovery/documentai-v1beta3.json index 840e8a667a..5d4582f221 100644 --- a/discovery/documentai-v1beta3.json +++ b/discovery/documentai-v1beta3.json @@ -1284,7 +1284,7 @@ } } }, - "revision": "20240619", + "revision": "20240615", "rootUrl": "https://documentai.googleapis.com/", "schemas": { "GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata": { diff --git a/discovery/doubleclickbidmanager-v2.json b/discovery/doubleclickbidmanager-v2.json index 847c074268..a707f5d7d5 100644 --- a/discovery/doubleclickbidmanager-v2.json +++ b/discovery/doubleclickbidmanager-v2.json @@ -319,7 +319,7 @@ } } }, - "revision": "20240424", + "revision": "20240626", "rootUrl": "https://doubleclickbidmanager.googleapis.com/", "schemas": { "DataRange": { @@ -506,7 +506,9 @@ "GRP", "YOUTUBE_PROGRAMMATIC_GUARANTEED", "REACH", - "UNIQUE_REACH_AUDIENCE" + "UNIQUE_REACH_AUDIENCE", + "FULL_PATH", + "PATH_ATTRIBUTION" ], "enumDeprecated": [ false, @@ -518,7 +520,9 @@ false, false, false, - false + false, + true, + true ], "enumDescriptions": [ "Default value when report type is not specified or is unknown in this version.", @@ -530,7 +534,9 @@ "GRP report.", "YouTube Programmatic Guaranteed report.", "Reach report.", - "Unique Reach Audience report." + "Unique Reach Audience report.", + "Full Path report.", + "Path Attribution report." ], "type": "string" } diff --git a/discovery/drive-v2.json b/discovery/drive-v2.json index a20c3a4c3c..f59ca92d13 100644 --- a/discovery/drive-v2.json +++ b/discovery/drive-v2.json @@ -3869,7 +3869,7 @@ } } }, - "revision": "20240522", + "revision": "20240628", "rootUrl": "https://www.googleapis.com/", "schemas": { "About": { @@ -5614,10 +5614,10 @@ "description": "Output only. User that shared the item with the current user, if available." }, "shortcutDetails": { - "description": "Shortcut file details. Only populated for shortcut files, which have the mimeType field set to `application/vnd.google-apps.shortcut`.", + "description": "Shortcut file details. Only populated for shortcut files, which have the mimeType field set to `application/vnd.google-apps.shortcut`. Can only be set on `files.insert` requests.", "properties": { "targetId": { - "description": "The ID of the file that this shortcut points to.", + "description": "The ID of the file that this shortcut points to. Can only be set on `files.insert` requests.", "type": "string" }, "targetMimeType": { diff --git a/discovery/drive-v3.json b/discovery/drive-v3.json index a225c08a5b..ca305418e2 100644 --- a/discovery/drive-v3.json +++ b/discovery/drive-v3.json @@ -2523,7 +2523,7 @@ } } }, - "revision": "20240521", + "revision": "20240628", "rootUrl": "https://www.googleapis.com/", "schemas": { "About": { @@ -3851,10 +3851,10 @@ "description": "Output only. The user who shared the file with the requesting user, if applicable." }, "shortcutDetails": { - "description": "Shortcut file details. Only populated for shortcut files, which have the mimeType field set to `application/vnd.google-apps.shortcut`.", + "description": "Shortcut file details. Only populated for shortcut files, which have the mimeType field set to `application/vnd.google-apps.shortcut`. Can only be set on `files.create` requests.", "properties": { "targetId": { - "description": "The ID of the file that this shortcut points to.", + "description": "The ID of the file that this shortcut points to. Can only be set on `files.create` requests.", "type": "string" }, "targetMimeType": { diff --git a/discovery/essentialcontacts-v1.json b/discovery/essentialcontacts-v1.json index b133e0eeb5..55545d3737 100644 --- a/discovery/essentialcontacts-v1.json +++ b/discovery/essentialcontacts-v1.json @@ -850,7 +850,7 @@ } } }, - "revision": "20221220", + "revision": "20240707", "rootUrl": "https://essentialcontacts.googleapis.com/", "schemas": { "GoogleCloudEssentialcontactsV1ComputeContactsResponse": { @@ -923,7 +923,7 @@ "type": "string" }, "validationState": { - "description": "The validity of the contact. A contact is considered valid if it is the correct recipient for notifications for a particular resource.", + "description": "Output only. The validity of the contact. A contact is considered valid if it is the correct recipient for notifications for a particular resource.", "enum": [ "VALIDATION_STATE_UNSPECIFIED", "VALID", @@ -934,6 +934,7 @@ "The contact is marked as valid. This is usually done manually by the contact admin. All new contacts begin in the valid state.", "The contact is considered invalid. This may become the state if the contact's email is found to be unreachable." ], + "readOnly": true, "type": "string" } }, diff --git a/discovery/eventarc-v1.json b/discovery/eventarc-v1.json index 4012801659..0b810e4efb 100644 --- a/discovery/eventarc-v1.json +++ b/discovery/eventarc-v1.json @@ -1197,7 +1197,7 @@ } } }, - "revision": "20240524", + "revision": "20240510", "rootUrl": "https://eventarc.googleapis.com/", "schemas": { "AuditConfig": { diff --git a/discovery/fcm-v1.json b/discovery/fcm-v1.json index 7f4be99871..2de0ba3f42 100644 --- a/discovery/fcm-v1.json +++ b/discovery/fcm-v1.json @@ -146,7 +146,7 @@ } } }, - "revision": "20240528", + "revision": "20240524", "rootUrl": "https://fcm.googleapis.com/", "schemas": { "AndroidConfig": { diff --git a/discovery/fcmdata-v1beta1.json b/discovery/fcmdata-v1beta1.json index 46e105a14c..a4cf5c5005 100644 --- a/discovery/fcmdata-v1beta1.json +++ b/discovery/fcmdata-v1beta1.json @@ -154,7 +154,7 @@ } } }, - "revision": "20240626", + "revision": "20240605", "rootUrl": "https://fcmdata.googleapis.com/", "schemas": { "GoogleFirebaseFcmDataV1beta1AndroidDeliveryData": { diff --git a/discovery/file-v1beta1.json b/discovery/file-v1beta1.json index 6c63bca5f3..e8fbbd7fc7 100644 --- a/discovery/file-v1beta1.json +++ b/discovery/file-v1beta1.json @@ -1069,7 +1069,7 @@ } } }, - "revision": "20240619", + "revision": "20240704", "rootUrl": "https://file.googleapis.com/", "schemas": { "Backup": { @@ -1098,6 +1098,21 @@ "readOnly": true, "type": "string" }, + "fileSystemProtocol": { + "description": "Output only. The file system protocol of the source Filestore instance that this backup is created from.", + "enum": [ + "FILE_PROTOCOL_UNSPECIFIED", + "NFS_V3", + "NFS_V4_1" + ], + "enumDescriptions": [ + "FILE_PROTOCOL_UNSPECIFIED serves a \"not set\" default value when a FileProtocol is a separate field in a message.", + "NFS 3.0.", + "NFS 4.1." + ], + "readOnly": true, + "type": "string" + }, "kmsKeyName": { "description": "Immutable. KMS key name used for data encryption.", "type": "string" diff --git a/discovery/firebase-v1beta1.json b/discovery/firebase-v1beta1.json index e199b35308..30a3243670 100644 --- a/discovery/firebase-v1beta1.json +++ b/discovery/firebase-v1beta1.json @@ -1324,7 +1324,7 @@ } } }, - "revision": "20230920", + "revision": "20230918", "rootUrl": "https://firebase.googleapis.com/", "schemas": { "AddFirebaseRequest": { diff --git a/discovery/firebaseappcheck-v1.json b/discovery/firebaseappcheck-v1.json index 293b915c4e..af417cfe54 100644 --- a/discovery/firebaseappcheck-v1.json +++ b/discovery/firebaseappcheck-v1.json @@ -1458,12 +1458,210 @@ "https://www.googleapis.com/auth/firebase" ] } + }, + "resources": { + "resourcePolicies": { + "methods": { + "batchUpdate": { + "description": "Atomically updates the specified ResourcePolicy configurations.", + "flatPath": "v1/projects/{projectsId}/services/{servicesId}/resourcePolicies:batchUpdate", + "httpMethod": "POST", + "id": "firebaseappcheck.projects.services.resourcePolicies.batchUpdate", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent service name, in the format ``` projects/{project_number}/services/{service_id} ``` The parent collection in the `name` field of any resource being updated must match this field, or the entire batch fails.", + "location": "path", + "pattern": "^projects/[^/]+/services/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/resourcePolicies:batchUpdate", + "request": { + "$ref": "GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesRequest" + }, + "response": { + "$ref": "GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/firebase" + ] + }, + "create": { + "description": "Creates the specified ResourcePolicy configuration.", + "flatPath": "v1/projects/{projectsId}/services/{servicesId}/resourcePolicies", + "httpMethod": "POST", + "id": "firebaseappcheck.projects.services.resourcePolicies.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The relative resource name of the parent Service in which the specified ResourcePolicy will be created, in the format: ``` projects/{project_number}/services/{service_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `oauth2.googleapis.com` (Google Identity for iOS)", + "location": "path", + "pattern": "^projects/[^/]+/services/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/resourcePolicies", + "request": { + "$ref": "GoogleFirebaseAppcheckV1ResourcePolicy" + }, + "response": { + "$ref": "GoogleFirebaseAppcheckV1ResourcePolicy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/firebase" + ] + }, + "delete": { + "description": "Deletes the specified ResourcePolicy configuration.", + "flatPath": "v1/projects/{projectsId}/services/{servicesId}/resourcePolicies/{resourcePoliciesId}", + "httpMethod": "DELETE", + "id": "firebaseappcheck.projects.services.resourcePolicies.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "etag": { + "description": "The checksum to be validated against the current ResourcePolicy, to ensure the client has an up-to-date value before proceeding. This checksum is computed by the server based on the values of fields in the ResourcePolicy object, and can be obtained from the ResourcePolicy object received from the last CreateResourcePolicy, GetResourcePolicy, ListResourcePolicies, UpdateResourcePolicy, or BatchUpdateResourcePolicies call. This etag is strongly validated as defined by RFC 7232.", + "location": "query", + "type": "string" + }, + "name": { + "description": "Required. The relative resource name of the ResourcePolicy to delete, in the format: ``` projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id} ```", + "location": "path", + "pattern": "^projects/[^/]+/services/[^/]+/resourcePolicies/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/firebase" + ] + }, + "get": { + "description": "Gets the requested ResourcePolicy configuration.", + "flatPath": "v1/projects/{projectsId}/services/{servicesId}/resourcePolicies/{resourcePoliciesId}", + "httpMethod": "GET", + "id": "firebaseappcheck.projects.services.resourcePolicies.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The relative resource name of the ResourcePolicy to retrieve, in the format: ``` projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `oauth2.googleapis.com` (Google Identity for iOS)", + "location": "path", + "pattern": "^projects/[^/]+/services/[^/]+/resourcePolicies/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleFirebaseAppcheckV1ResourcePolicy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/firebase" + ] + }, + "list": { + "description": "Lists all ResourcePolicy configurations for the specified project and service.", + "flatPath": "v1/projects/{projectsId}/services/{servicesId}/resourcePolicies", + "httpMethod": "GET", + "id": "firebaseappcheck.projects.services.resourcePolicies.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. Filters the results by the specified rule. For the exact syntax of this field, please consult the [AIP-160](https://google.aip.dev/160) standard. Currently, since the only fields in the ResourcePolicy resource are the scalar fields `enforcement_mode` and `target_resource`, this method does not support the traversal operator (`.`) or the has operator (`:`). Here are some examples of valid filters: * `enforcement_mode = ENFORCED` * `target_resource = \"//oauth2.googleapis.com/projects/12345/oauthClients/\"` * `enforcement_mode = ENFORCED AND target_resource = \"//oauth2.googleapis.com/projects/12345/oauthClients/\"`", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "The maximum number of ResourcePolicy objects to return in the response. The server may return fewer than this at its own discretion. If no value is specified (or too large a value is specified), the server will impose its own limit.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Token returned from a previous call to ListResourcePolicies indicating where in the set of ResourcePolicy objects to resume listing. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListResourcePolicies must match the call that provided the page token; if they do not match, the result is undefined.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The relative resource name of the parent Service for which to list each associated ResourcePolicy, in the format: ``` projects/{project_number}/services/{service_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `oauth2.googleapis.com` (Google Identity for iOS)", + "location": "path", + "pattern": "^projects/[^/]+/services/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/resourcePolicies", + "response": { + "$ref": "GoogleFirebaseAppcheckV1ListResourcePoliciesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/firebase" + ] + }, + "patch": { + "description": "Updates the specified ResourcePolicy configuration.", + "flatPath": "v1/projects/{projectsId}/services/{servicesId}/resourcePolicies/{resourcePoliciesId}", + "httpMethod": "PATCH", + "id": "firebaseappcheck.projects.services.resourcePolicies.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Identifier. The relative name of the resource policy object, in the format: ``` projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `oauth2.googleapis.com` (Google Identity for iOS) `resource_policy_id` is a system-generated UID.", + "location": "path", + "pattern": "^projects/[^/]+/services/[^/]+/resourcePolicies/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. A comma-separated list of names of fields in the ResourcePolicy to update. Example: `enforcement_mode`.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "GoogleFirebaseAppcheckV1ResourcePolicy" + }, + "response": { + "$ref": "GoogleFirebaseAppcheckV1ResourcePolicy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/firebase" + ] + } + } + } } } } } }, - "revision": "20240528", + "revision": "20240708", "rootUrl": "https://firebaseappcheck.googleapis.com/", "schemas": { "GoogleFirebaseAppcheckV1AppAttestConfig": { @@ -1583,6 +1781,39 @@ }, "type": "object" }, + "GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesRequest": { + "description": "Request message for the BatchUpdateResourcePolicies method.", + "id": "GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesRequest", + "properties": { + "requests": { + "description": "Required. The request messages specifying the ResourcePolicy objects to update. A maximum of 100 objects can be updated in a batch.", + "items": { + "$ref": "GoogleFirebaseAppcheckV1UpdateResourcePolicyRequest" + }, + "type": "array" + }, + "updateMask": { + "description": "Optional. A comma-separated list of names of fields in the ResourcePolicy objects to update. Example: `enforcement_mode`. If this field is present, the `update_mask` field in the UpdateResourcePolicyRequest messages must all match this field, or the entire batch fails and no updates will be committed.", + "format": "google-fieldmask", + "type": "string" + } + }, + "type": "object" + }, + "GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesResponse": { + "description": "Response message for the BatchUpdateResourcePolicies method.", + "id": "GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesResponse", + "properties": { + "resourcePolicies": { + "description": "ResourcePolicy objects after the updates have been applied.", + "items": { + "$ref": "GoogleFirebaseAppcheckV1ResourcePolicy" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleFirebaseAppcheckV1BatchUpdateServicesRequest": { "description": "Request message for the BatchUpdateServices method.", "id": "GoogleFirebaseAppcheckV1BatchUpdateServicesRequest", @@ -1903,6 +2134,24 @@ }, "type": "object" }, + "GoogleFirebaseAppcheckV1ListResourcePoliciesResponse": { + "description": "Response message for the ListResourcePolicies method.", + "id": "GoogleFirebaseAppcheckV1ListResourcePoliciesResponse", + "properties": { + "nextPageToken": { + "description": "If the result list is too large to fit in a single response, then a token is returned. If the string is empty or omitted, then this response is the last page of results. This token can be used in a subsequent call to ListResourcePolicies to find the next group of ResourcePolicy objects. Page tokens are short-lived and should not be persisted.", + "type": "string" + }, + "resourcePolicies": { + "description": "The ResourcePolicy objects retrieved.", + "items": { + "$ref": "GoogleFirebaseAppcheckV1ResourcePolicy" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleFirebaseAppcheckV1ListServicesResponse": { "description": "Response message for the ListServices method.", "id": "GoogleFirebaseAppcheckV1ListServicesResponse", @@ -2027,6 +2276,45 @@ }, "type": "object" }, + "GoogleFirebaseAppcheckV1ResourcePolicy": { + "description": "App Check enforcement policy for a specific resource of a Firebase service supported by App Check. Note that this policy will override the service-level configuration.", + "id": "GoogleFirebaseAppcheckV1ResourcePolicy", + "properties": { + "enforcementMode": { + "description": "Required. The App Check enforcement mode for this resource. This will override the EnforcementMode setting on the service.", + "enum": [ + "OFF", + "UNENFORCED", + "ENFORCED" + ], + "enumDescriptions": [ + "Firebase App Check is not enforced for the service, nor are App Check metrics collected. Though the service is not protected by App Check in this mode, other applicable protections, such as user authorization, are still enforced. An unconfigured service is in this mode by default.", + "Firebase App Check is not enforced for the service. App Check metrics are collected to help you decide when to turn on enforcement for the service. Though the service is not protected by App Check in this mode, other applicable protections, such as user authorization, are still enforced. Some services require certain conditions to be met before they will work with App Check, such as requiring you to upgrade to a specific service tier. Until those requirements are met for a service, this `UNENFORCED` setting will have no effect and App Check will not work with that service.", + "Firebase App Check is enforced for the service. The service will reject any request that attempts to access your project's resources if it does not have valid App Check token attached, with some exceptions depending on the service; for example, some services will still allow requests bearing the developer's privileged service account credentials without an App Check token. App Check metrics continue to be collected to help you detect issues with your App Check integration and monitor the composition of your callers. While the service is protected by App Check, other applicable protections, such as user authorization, continue to be enforced at the same time. Use caution when choosing to enforce App Check on a Firebase service. If your users have not updated to an App Check capable version of your app, their apps will no longer be able to use your Firebase services that are enforcing App Check. App Check metrics can help you decide whether to enforce App Check on your Firebase services. If your app has not launched yet, you should enable enforcement immediately, since there are no outdated clients in use. Some services require certain conditions to be met before they will work with App Check, such as requiring you to upgrade to a specific service tier. Until those requirements are met for a service, this `ENFORCED` setting will have no effect and App Check will not work with that service." + ], + "type": "string" + }, + "etag": { + "description": "This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. This etag is strongly validated as defined by RFC 7232.", + "type": "string" + }, + "name": { + "description": "Required. Identifier. The relative name of the resource policy object, in the format: ``` projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `oauth2.googleapis.com` (Google Identity for iOS) `resource_policy_id` is a system-generated UID.", + "type": "string" + }, + "targetResource": { + "description": "Required. Service specific name of the resource object to which this policy applies, in the format: * `//oauth2.googleapis.com/projects/{project_number}/oauthClients/{oauth_client_id}` (Google Identity for iOS) Note that the resource must belong to the service specified in the `name` and be from the same project as this policy, but the resource is allowed to be missing at the time of creation of this policy; in that case, we make a best-effort attempt at respecting this policy, but it may not have any effect until the resource is fully created.", + "type": "string" + }, + "updateTime": { + "description": "Output only. Timestamp when this resource policy configuration object was most recently updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "GoogleFirebaseAppcheckV1SafetyNetConfig": { "deprecated": true, "description": "An app's SafetyNet configuration object. This configuration controls certain properties of the `AppCheckToken` returned by ExchangeSafetyNetToken, such as its ttl. Note that your registered SHA-256 certificate fingerprints are used to validate tokens issued by SafetyNet; please register them via the Firebase Console or programmatically via the [Firebase Management Service](https://firebase.google.com/docs/projects/api/reference/rest/v11/projects.androidApps.sha/create).", @@ -2069,6 +2357,22 @@ }, "type": "object" }, + "GoogleFirebaseAppcheckV1UpdateResourcePolicyRequest": { + "description": "Request message for the UpdateResourcePolicy method as well as an individual update message for the BatchUpdateResourcePolicies method.", + "id": "GoogleFirebaseAppcheckV1UpdateResourcePolicyRequest", + "properties": { + "resourcePolicy": { + "$ref": "GoogleFirebaseAppcheckV1ResourcePolicy", + "description": "Required. The ResourcePolicy to update. The ResourcePolicy's `name` field is used to identify the ResourcePolicy to be updated, in the format: ``` projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `oauth2.googleapis.com` (Google Identity for iOS)" + }, + "updateMask": { + "description": "Required. A comma-separated list of names of fields in the ResourcePolicy to update. Example: `enforcement_mode`.", + "format": "google-fieldmask", + "type": "string" + } + }, + "type": "object" + }, "GoogleFirebaseAppcheckV1UpdateServiceRequest": { "description": "Request message for the UpdateService method as well as an individual update message for the BatchUpdateServices method.", "id": "GoogleFirebaseAppcheckV1UpdateServiceRequest", diff --git a/discovery/firebaseappdistribution-v1alpha.json b/discovery/firebaseappdistribution-v1alpha.json index 49dc142510..c2f3b01ec2 100644 --- a/discovery/firebaseappdistribution-v1alpha.json +++ b/discovery/firebaseappdistribution-v1alpha.json @@ -585,7 +585,7 @@ } } }, - "revision": "20240628", + "revision": "20240710", "rootUrl": "https://firebaseappdistribution.googleapis.com/", "schemas": { "GoogleFirebaseAppdistroV1Release": { @@ -708,16 +708,16 @@ "steps": { "description": "Required. Steps to be accomplished by the AI", "items": { - "$ref": "GoogleFirebaseAppdistroV1alphaAiInstructionsStep" + "$ref": "GoogleFirebaseAppdistroV1alphaAiStep" }, "type": "array" } }, "type": "object" }, - "GoogleFirebaseAppdistroV1alphaAiInstructionsStep": { + "GoogleFirebaseAppdistroV1alphaAiStep": { "description": "A step to be accomplished by the AI", - "id": "GoogleFirebaseAppdistroV1alphaAiInstructionsStep", + "id": "GoogleFirebaseAppdistroV1alphaAiStep", "properties": { "assertion": { "description": "An assertion to be checked by the AI", @@ -730,6 +730,34 @@ }, "type": "object" }, + "GoogleFirebaseAppdistroV1alphaAiStepResult": { + "description": "Captures the results of an AiStep", + "id": "GoogleFirebaseAppdistroV1alphaAiStepResult", + "properties": { + "state": { + "description": "Output only. The current state of the step", + "enum": [ + "STEP_STATE_UNSPECIFIED", + "IN_PROGRESS", + "PASSED", + "FAILED" + ], + "enumDescriptions": [ + "Step state unspecified", + "The step is in progress", + "The step has completed successfully", + "The step has failed" + ], + "readOnly": true, + "type": "string" + }, + "step": { + "$ref": "GoogleFirebaseAppdistroV1alphaAiStep", + "description": "Required. The step performed by the AI" + } + }, + "type": "object" + }, "GoogleFirebaseAppdistroV1alphaApp": { "id": "GoogleFirebaseAppdistroV1alphaApp", "properties": { @@ -818,6 +846,14 @@ "description": "The results of running an automated test on a particular device.", "id": "GoogleFirebaseAppdistroV1alphaDeviceExecution", "properties": { + "aiStepResults": { + "description": "Output only. Results of the AI steps if passed in", + "items": { + "$ref": "GoogleFirebaseAppdistroV1alphaAiStepResult" + }, + "readOnly": true, + "type": "array" + }, "appCrash": { "$ref": "GoogleFirebaseAppdistroV1alphaAppCrash", "description": "Output only. An app crash, if any occurred during the test.", diff --git a/discovery/firebasedatabase-v1beta.json b/discovery/firebasedatabase-v1beta.json index 0345b1b382..4fdb2df296 100644 --- a/discovery/firebasedatabase-v1beta.json +++ b/discovery/firebasedatabase-v1beta.json @@ -351,7 +351,7 @@ } } }, - "revision": "20221220", + "revision": "20221214", "rootUrl": "https://firebasedatabase.googleapis.com/", "schemas": { "DatabaseInstance": { diff --git a/discovery/firebasedynamiclinks-v1.json b/discovery/firebasedynamiclinks-v1.json index cd9d512d16..672617837d 100644 --- a/discovery/firebasedynamiclinks-v1.json +++ b/discovery/firebasedynamiclinks-v1.json @@ -224,7 +224,7 @@ } } }, - "revision": "20231122", + "revision": "20231107", "rootUrl": "https://firebasedynamiclinks.googleapis.com/", "schemas": { "AnalyticsInfo": { diff --git a/discovery/firebasehosting-v1.json b/discovery/firebasehosting-v1.json index 793d66d82a..4b9d161f6c 100644 --- a/discovery/firebasehosting-v1.json +++ b/discovery/firebasehosting-v1.json @@ -269,7 +269,7 @@ } } }, - "revision": "20240320", + "revision": "20240319", "rootUrl": "https://firebasehosting.googleapis.com/", "schemas": { "CancelOperationRequest": { diff --git a/discovery/firebasehosting-v1beta1.json b/discovery/firebasehosting-v1beta1.json index 841bd99db6..40e430d02e 100644 --- a/discovery/firebasehosting-v1beta1.json +++ b/discovery/firebasehosting-v1beta1.json @@ -2422,7 +2422,7 @@ } } }, - "revision": "20240320", + "revision": "20240319", "rootUrl": "https://firebasehosting.googleapis.com/", "schemas": { "ActingUser": { diff --git a/discovery/firebaseml-v1.json b/discovery/firebaseml-v1.json index a48f641573..38bfe688dc 100644 --- a/discovery/firebaseml-v1.json +++ b/discovery/firebaseml-v1.json @@ -204,7 +204,7 @@ } } }, - "revision": "20230807", + "revision": "20230802", "rootUrl": "https://firebaseml.googleapis.com/", "schemas": { "CancelOperationRequest": { diff --git a/discovery/firebaseml-v1beta2.json b/discovery/firebaseml-v1beta2.json index b4769ec24f..2eb749668d 100644 --- a/discovery/firebaseml-v1beta2.json +++ b/discovery/firebaseml-v1beta2.json @@ -318,7 +318,7 @@ } } }, - "revision": "20230807", + "revision": "20230802", "rootUrl": "https://firebaseml.googleapis.com/", "schemas": { "DownloadModelResponse": { diff --git a/discovery/firebaseml-v2beta.json b/discovery/firebaseml-v2beta.json index 7da414ba59..9413ce4df6 100644 --- a/discovery/firebaseml-v2beta.json +++ b/discovery/firebaseml-v2beta.json @@ -206,7 +206,7 @@ } } }, - "revision": "20240625", + "revision": "20240704", "rootUrl": "https://firebaseml.googleapis.com/", "schemas": { "Date": { @@ -313,6 +313,12 @@ }, "readOnly": true, "type": "array" + }, + "score": { + "description": "Output only. Confidence score of the candidate.", + "format": "double", + "readOnly": true, + "type": "number" } }, "type": "object" @@ -394,22 +400,33 @@ "id": "GoogleCloudAiplatformV1beta1CountTokensRequest", "properties": { "contents": { - "description": "Required. Input content.", + "description": "Optional. Input content.", "items": { "$ref": "GoogleCloudAiplatformV1beta1Content" }, "type": "array" }, "instances": { - "description": "Required. The instances that are the input to token counting call. Schema is identical to the prediction schema of the underlying model.", + "description": "Optional. The instances that are the input to token counting call. Schema is identical to the prediction schema of the underlying model.", "items": { "type": "any" }, "type": "array" }, "model": { - "description": "Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/*/models/*`", + "description": "Optional. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/*/models/*`", "type": "string" + }, + "systemInstruction": { + "$ref": "GoogleCloudAiplatformV1beta1Content", + "description": "Optional. The user provided system instructions for the model. Note: only text should be used in parts and content in each part will be in a separate paragraph." + }, + "tools": { + "description": "Optional. A list of `Tools` the model may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the model.", + "items": { + "$ref": "GoogleCloudAiplatformV1beta1Tool" + }, + "type": "array" } }, "type": "object" @@ -728,66 +745,6 @@ "properties": {}, "type": "object" }, - "GoogleCloudAiplatformV1beta1GroundingAttribution": { - "description": "Grounding attribution.", - "id": "GoogleCloudAiplatformV1beta1GroundingAttribution", - "properties": { - "confidenceScore": { - "description": "Optional. Output only. Confidence score of the attribution. Ranges from 0 to 1. 1 is the most confident.", - "format": "float", - "readOnly": true, - "type": "number" - }, - "retrievedContext": { - "$ref": "GoogleCloudAiplatformV1beta1GroundingAttributionRetrievedContext", - "description": "Optional. Attribution from context retrieved by the retrieval tools." - }, - "segment": { - "$ref": "GoogleCloudAiplatformV1beta1Segment", - "description": "Output only. Segment of the content this attribution belongs to.", - "readOnly": true - }, - "web": { - "$ref": "GoogleCloudAiplatformV1beta1GroundingAttributionWeb", - "description": "Optional. Attribution from the web." - } - }, - "type": "object" - }, - "GoogleCloudAiplatformV1beta1GroundingAttributionRetrievedContext": { - "description": "Attribution from context retrieved by the retrieval tools.", - "id": "GoogleCloudAiplatformV1beta1GroundingAttributionRetrievedContext", - "properties": { - "title": { - "description": "Output only. Title of the attribution.", - "readOnly": true, - "type": "string" - }, - "uri": { - "description": "Output only. URI reference of the attribution.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudAiplatformV1beta1GroundingAttributionWeb": { - "description": "Attribution from the web.", - "id": "GoogleCloudAiplatformV1beta1GroundingAttributionWeb", - "properties": { - "title": { - "description": "Output only. Title of the attribution.", - "readOnly": true, - "type": "string" - }, - "uri": { - "description": "Output only. URI reference of the attribution.", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, "GoogleCloudAiplatformV1beta1GroundingChunk": { "description": "Grounding chunk.", "id": "GoogleCloudAiplatformV1beta1GroundingChunk", @@ -837,13 +794,6 @@ "description": "Metadata returned to client when grounding is enabled.", "id": "GoogleCloudAiplatformV1beta1GroundingMetadata", "properties": { - "groundingAttributions": { - "description": "Optional. List of grounding attributions.", - "items": { - "$ref": "GoogleCloudAiplatformV1beta1GroundingAttribution" - }, - "type": "array" - }, "groundingChunks": { "description": "List of supporting references retrieved from specified grounding source.", "items": { diff --git a/discovery/firebasestorage-v1beta.json b/discovery/firebasestorage-v1beta.json index f66de3fe8a..aad7e19ddf 100644 --- a/discovery/firebasestorage-v1beta.json +++ b/discovery/firebasestorage-v1beta.json @@ -238,7 +238,7 @@ } } }, - "revision": "20230914", + "revision": "20230822", "rootUrl": "https://firebasestorage.googleapis.com/", "schemas": { "AddFirebaseRequest": { diff --git a/discovery/firestore-v1.json b/discovery/firestore-v1.json index 6d38cb8f57..3a7d18d722 100644 --- a/discovery/firestore-v1.json +++ b/discovery/firestore-v1.json @@ -1706,7 +1706,7 @@ } } }, - "revision": "20240617", + "revision": "20240630", "rootUrl": "https://firestore.googleapis.com/", "schemas": { "Aggregation": { @@ -2499,7 +2499,7 @@ "type": "string" }, "retention": { - "description": "At what relative time in the future, compared to its creation time, the backup should be deleted, e.g. keep backups for 7 days.", + "description": "At what relative time in the future, compared to its creation time, the backup should be deleted, e.g. keep backups for 7 days. The maximum supported retention is 14 weeks.", "format": "google-duration", "type": "string" }, @@ -3461,7 +3461,7 @@ "id": "GoogleFirestoreAdminV1RestoreDatabaseRequest", "properties": { "backup": { - "description": "Backup to restore from. Must be from the same project as the parent. Format is: `projects/{project_id}/locations/{location}/backups/{backup}`", + "description": "Backup to restore from. Must be from the same project as the parent. The restored database will be created in the same location as the source backup. Format is: `projects/{project_id}/locations/{location}/backups/{backup}`", "type": "string" }, "databaseId": { @@ -3469,7 +3469,7 @@ "type": "string" }, "kmsKeyName": { - "description": "Use Customer Managed Encryption Keys (CMEK) for encryption. Only keys in the same location as this database are allowed to be used for encryption. For Firestore's nam5 multi-region, this corresponds to Cloud KMS multi-region us. For Firestore's eur3 multi-region, this corresponds to Cloud KMS multi-region europe. See https://cloud.google.com/kms/docs/locations. The expected format is `projects/{project_id}/locations/{kms_location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.", + "description": "Use Customer Managed Encryption Keys (CMEK) for encryption. Only keys in the same location as the restored database are allowed to be used for encryption. For Firestore's nam5 multi-region, this corresponds to Cloud KMS multi-region us. For Firestore's eur3 multi-region, this corresponds to Cloud KMS multi-region europe. See https://cloud.google.com/kms/docs/locations. The expected format is `projects/{project_id}/locations/{kms_location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.", "type": "string" }, "useBackupEncryption": { diff --git a/discovery/fitness-v1.json b/discovery/fitness-v1.json index 6228bd75e1..8433c3ed14 100644 --- a/discovery/fitness-v1.json +++ b/discovery/fitness-v1.json @@ -832,7 +832,7 @@ } } }, - "revision": "20231121", + "revision": "20231107", "rootUrl": "https://fitness.googleapis.com/", "schemas": { "AggregateBucket": { diff --git a/discovery/forms-v1.json b/discovery/forms-v1.json index ae419ff37e..05c89484d8 100644 --- a/discovery/forms-v1.json +++ b/discovery/forms-v1.json @@ -423,7 +423,7 @@ } } }, - "revision": "20220915", + "revision": "20220908", "rootUrl": "https://forms.googleapis.com/", "schemas": { "Answer": { diff --git a/discovery/games-v1.json b/discovery/games-v1.json index f608466bd3..4dded9a557 100644 --- a/discovery/games-v1.json +++ b/discovery/games-v1.json @@ -1469,7 +1469,7 @@ } } }, - "revision": "20240618", + "revision": "20240701", "rootUrl": "https://games.googleapis.com/", "schemas": { "AchievementDefinition": { @@ -2231,12 +2231,9 @@ "description": "The application that this player identifier is for.", "type": "string" }, - "token": { - "description": "Recall token data.", - "items": { - "$ref": "RecallToken" - }, - "type": "array" + "recallToken": { + "$ref": "RecallToken", + "description": "Recall token data." } }, "type": "object" @@ -3314,8 +3311,8 @@ "description": "Recall token data returned from for the RetrieveDeveloperGamesLastPlayerToken RPC", "id": "RetrieveDeveloperGamesLastPlayerTokenResponse", "properties": { - "token": { - "$ref": "RecallToken", + "gamePlayerToken": { + "$ref": "GamePlayerToken", "description": "The recall token associated with the requested PGS Player principal. It can be unset if there is no recall token associated with the requested principal." } }, @@ -3325,7 +3322,7 @@ "description": "A list of recall token data returned from the RetrieveGamesPlayerTokens RPC", "id": "RetrieveGamesPlayerTokensResponse", "properties": { - "applicationRecallTokens": { + "gamePlayerTokens": { "description": "The requested applications along with the recall tokens for the player. If the player does not have recall tokens for an application, that application is not included in the response.", "items": { "$ref": "GamePlayerToken" diff --git a/discovery/gamesConfiguration-v1configuration.json b/discovery/gamesConfiguration-v1configuration.json index 82f99d4ca4..f84b1a9397 100644 --- a/discovery/gamesConfiguration-v1configuration.json +++ b/discovery/gamesConfiguration-v1configuration.json @@ -381,7 +381,7 @@ } } }, - "revision": "20221213", + "revision": "20221124", "rootUrl": "https://gamesconfiguration.googleapis.com/", "schemas": { "AchievementConfiguration": { diff --git a/discovery/gkebackup-v1.json b/discovery/gkebackup-v1.json index 66250d45a3..6f996cd386 100644 --- a/discovery/gkebackup-v1.json +++ b/discovery/gkebackup-v1.json @@ -1713,7 +1713,7 @@ } } }, - "revision": "20240518", + "revision": "20240626", "rootUrl": "https://gkebackup.googleapis.com/", "schemas": { "AuditConfig": { @@ -2415,7 +2415,7 @@ "id": "GroupKind", "properties": { "resourceGroup": { - "description": "Optional. API group string of a Kubernetes resource, e.g. \"apiextensions.k8s.io\", \"storage.k8s.io\", etc. Note: use empty string for core API group", + "description": "Optional. API group string of a Kubernetes resource, e.g. \"apiextensions.k8s.io\", \"storage.k8s.io\", etc. Note: use empty string for core API group.", "type": "string" }, "resourceKind": { @@ -2651,11 +2651,11 @@ "type": "object" }, "Namespaces": { - "description": "A list of Kubernetes Namespaces", + "description": "A list of Kubernetes Namespaces.", "id": "Namespaces", "properties": { "namespaces": { - "description": "Optional. A list of Kubernetes Namespaces", + "description": "Optional. A list of Kubernetes Namespaces.", "items": { "type": "string" }, @@ -2826,7 +2826,7 @@ }, "filter": { "$ref": "Filter", - "description": "Optional. Immutable. Filters resources for `Restore`. If not specified, the scope of the restore will remain the same as defined in the `RestorePlan`. If this is specified, and no resources are matched by the `inclusion_filters` or everyting is excluded by the `exclusion_filters`, nothing will be restored. This filter can only be specified if the value of namespaced_resource_restore_mode is set to `MERGE_SKIP_ON_CONFLICT`, `MERGE_REPLACE_VOLUME_ON_CONFLICT` or `MERGE_REPLACE_ON_CONFLICT`." + "description": "Optional. Immutable. Filters resources for `Restore`. If not specified, the scope of the restore will remain the same as defined in the `RestorePlan`. If this is specified and no resources are matched by the `inclusion_filters` or everyting is excluded by the `exclusion_filters`, nothing will be restored. This filter can only be specified if the value of namespaced_resource_restore_mode is set to `MERGE_SKIP_ON_CONFLICT`, `MERGE_REPLACE_VOLUME_ON_CONFLICT` or `MERGE_REPLACE_ON_CONFLICT`." }, "labels": { "additionalProperties": { diff --git a/discovery/gkehub-v1.json b/discovery/gkehub-v1.json index b01203ef50..f30069a9c7 100644 --- a/discovery/gkehub-v1.json +++ b/discovery/gkehub-v1.json @@ -1146,6 +1146,122 @@ }, "rbacrolebindings": { "methods": { + "create": { + "description": "Creates a Membership RBACRoleBinding.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}/rbacrolebindings", + "httpMethod": "POST", + "id": "gkehub.projects.locations.memberships.rbacrolebindings.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent (project and location) where the RBACRoleBinding will be created. Specified in the format `projects/*/locations/*/memberships/*`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", + "required": true, + "type": "string" + }, + "rbacrolebindingId": { + "description": "Required. Client chosen ID for the RBACRoleBinding. `rbacrolebinding_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+parent}/rbacrolebindings", + "request": { + "$ref": "RBACRoleBinding" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a Membership RBACRoleBinding.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}/rbacrolebindings/{rbacrolebindingsId}", + "httpMethod": "DELETE", + "id": "gkehub.projects.locations.memberships.rbacrolebindings.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The RBACRoleBinding resource name in the format `projects/*/locations/*/memberships/*/rbacrolebindings/*`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+/rbacrolebindings/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "generateMembershipRBACRoleBindingYAML": { + "description": "Generates a YAML of the RBAC policies for the specified RoleBinding and its associated impersonation resources.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}/rbacrolebindings:generateMembershipRBACRoleBindingYAML", + "httpMethod": "POST", + "id": "gkehub.projects.locations.memberships.rbacrolebindings.generateMembershipRBACRoleBindingYAML", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent (project and location) where the RBACRoleBinding will be created. Specified in the format `projects/*/locations/*/memberships/*`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$", + "required": true, + "type": "string" + }, + "rbacrolebindingId": { + "description": "Required. Client chosen ID for the RBACRoleBinding. `rbacrolebinding_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+parent}/rbacrolebindings:generateMembershipRBACRoleBindingYAML", + "request": { + "$ref": "RBACRoleBinding" + }, + "response": { + "$ref": "GenerateMembershipRBACRoleBindingYAMLResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Returns the details of a Membership RBACRoleBinding.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}/rbacrolebindings/{rbacrolebindingsId}", + "httpMethod": "GET", + "id": "gkehub.projects.locations.memberships.rbacrolebindings.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The RBACRoleBinding resource name in the format `projects/*/locations/*/memberships/*/rbacrolebindings/*`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+/rbacrolebindings/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "RBACRoleBinding" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "list": { "description": "Lists all Membership RBACRoleBindings.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}/rbacrolebindings", @@ -1181,6 +1297,40 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] + }, + "patch": { + "description": "Updates a Membership RBACRoleBinding.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}/rbacrolebindings/{rbacrolebindingsId}", + "httpMethod": "PATCH", + "id": "gkehub.projects.locations.memberships.rbacrolebindings.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The resource name for the rbacrolebinding `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}` or `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+/rbacrolebindings/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The fields to be updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "RBACRoleBinding" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] } } } @@ -1951,7 +2101,7 @@ } } }, - "revision": "20240623", + "revision": "20240706", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AppDevExperienceFeatureSpec": { @@ -2545,6 +2695,24 @@ ], "type": "string" }, + "otelCollector": { + "description": "Deployment state of otel-collector", + "enum": [ + "DEPLOYMENT_STATE_UNSPECIFIED", + "NOT_INSTALLED", + "INSTALLED", + "ERROR", + "PENDING" + ], + "enumDescriptions": [ + "Deployment's state cannot be determined", + "Deployment is not installed", + "Deployment is installed", + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" + ], + "type": "string" + }, "reconcilerManager": { "description": "Deployment state of reconciler-manager pod", "enum": [ @@ -2563,6 +2731,24 @@ ], "type": "string" }, + "resourceGroupControllerManager": { + "description": "Deployment state of resource-group-controller-manager", + "enum": [ + "DEPLOYMENT_STATE_UNSPECIFIED", + "NOT_INSTALLED", + "INSTALLED", + "ERROR", + "PENDING" + ], + "enumDescriptions": [ + "Deployment's state cannot be determined", + "Deployment is not installed", + "Deployment is installed", + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" + ], + "type": "string" + }, "rootReconciler": { "description": "Deployment state of root-reconciler", "enum": [ @@ -2698,7 +2884,7 @@ "id": "ConfigManagementConfigSyncVersion", "properties": { "admissionWebhook": { - "description": "Version of the deployed admission_webhook pod", + "description": "Version of the deployed admission-webhook pod", "type": "string" }, "gitSync": { @@ -2713,10 +2899,18 @@ "description": "Version of the deployed monitor pod", "type": "string" }, + "otelCollector": { + "description": "Version of the deployed otel-collector pod", + "type": "string" + }, "reconcilerManager": { "description": "Version of the deployed reconciler-manager pod", "type": "string" }, + "resourceGroupControllerManager": { + "description": "Version of the deployed resource-group-controller-manager pod", + "type": "string" + }, "rootReconciler": { "description": "Version of the deployed reconciler container in root-reconciler pod", "type": "string" @@ -3784,6 +3978,17 @@ }, "type": "object" }, + "GenerateMembershipRBACRoleBindingYAMLResponse": { + "description": "Response for GenerateRBACRoleBindingYAML.", + "id": "GenerateMembershipRBACRoleBindingYAMLResponse", + "properties": { + "roleBindingsYaml": { + "description": "a yaml text blob including the RBAC policies.", + "type": "string" + } + }, + "type": "object" + }, "GkeCluster": { "description": "GkeCluster contains information specific to GKE clusters.", "id": "GkeCluster", @@ -6006,7 +6211,7 @@ "type": "string" }, "management": { - "description": "Enables automatic Service Mesh management.", + "description": "Optional. Enables automatic Service Mesh management.", "enum": [ "MANAGEMENT_UNSPECIFIED", "MANAGEMENT_AUTOMATIC", diff --git a/discovery/gkehub-v1alpha.json b/discovery/gkehub-v1alpha.json index f5b2127bf3..4c15c8cdb2 100644 --- a/discovery/gkehub-v1alpha.json +++ b/discovery/gkehub-v1alpha.json @@ -2175,7 +2175,7 @@ } } }, - "revision": "20240519", + "revision": "20240706", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AnthosObservabilityFeatureSpec": { @@ -2970,6 +2970,24 @@ ], "type": "string" }, + "otelCollector": { + "description": "Deployment state of otel-collector", + "enum": [ + "DEPLOYMENT_STATE_UNSPECIFIED", + "NOT_INSTALLED", + "INSTALLED", + "ERROR", + "PENDING" + ], + "enumDescriptions": [ + "Deployment's state cannot be determined", + "Deployment is not installed", + "Deployment is installed", + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" + ], + "type": "string" + }, "reconcilerManager": { "description": "Deployment state of reconciler-manager pod", "enum": [ @@ -2988,6 +3006,24 @@ ], "type": "string" }, + "resourceGroupControllerManager": { + "description": "Deployment state of resource-group-controller-manager", + "enum": [ + "DEPLOYMENT_STATE_UNSPECIFIED", + "NOT_INSTALLED", + "INSTALLED", + "ERROR", + "PENDING" + ], + "enumDescriptions": [ + "Deployment's state cannot be determined", + "Deployment is not installed", + "Deployment is installed", + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" + ], + "type": "string" + }, "rootReconciler": { "description": "Deployment state of root-reconciler", "enum": [ @@ -3123,7 +3159,7 @@ "id": "ConfigManagementConfigSyncVersion", "properties": { "admissionWebhook": { - "description": "Version of the deployed admission_webhook pod", + "description": "Version of the deployed admission-webhook pod", "type": "string" }, "gitSync": { @@ -3138,10 +3174,18 @@ "description": "Version of the deployed monitor pod", "type": "string" }, + "otelCollector": { + "description": "Version of the deployed otel-collector pod", + "type": "string" + }, "reconcilerManager": { "description": "Version of the deployed reconciler-manager pod", "type": "string" }, + "resourceGroupControllerManager": { + "description": "Version of the deployed resource-group-controller-manager pod", + "type": "string" + }, "rootReconciler": { "description": "Version of the deployed reconciler container in root-reconciler pod", "type": "string" @@ -6690,6 +6734,20 @@ "description": "**Service Mesh**: Spec for a single Membership for the servicemesh feature", "id": "ServiceMeshMembershipSpec", "properties": { + "configApi": { + "description": "Optional. Specifies the API that will be used for configuring the mesh workloads.", + "enum": [ + "CONFIG_API_UNSPECIFIED", + "CONFIG_API_ISTIO", + "CONFIG_API_GATEWAY" + ], + "enumDescriptions": [ + "Unspecified", + "Use the Istio API for configuration.", + "Use the K8s Gateway API for configuration." + ], + "type": "string" + }, "controlPlane": { "deprecated": true, "description": "Deprecated: use `management` instead Enables automatic control plane management.", @@ -6706,6 +6764,7 @@ "type": "string" }, "defaultChannel": { + "deprecated": true, "description": "Determines which release channel to use for default injection and service mesh APIs.", "enum": [ "CHANNEL_UNSPECIFIED", @@ -6722,7 +6781,7 @@ "type": "string" }, "management": { - "description": "Enables automatic Service Mesh management.", + "description": "Optional. Enables automatic Service Mesh management.", "enum": [ "MANAGEMENT_UNSPECIFIED", "MANAGEMENT_AUTOMATIC", diff --git a/discovery/gkehub-v1beta.json b/discovery/gkehub-v1beta.json index c2bb2acce8..d5773eddef 100644 --- a/discovery/gkehub-v1beta.json +++ b/discovery/gkehub-v1beta.json @@ -2101,7 +2101,7 @@ } } }, - "revision": "20240519", + "revision": "20240706", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AnthosObservabilityFeatureSpec": { @@ -2780,6 +2780,24 @@ ], "type": "string" }, + "otelCollector": { + "description": "Deployment state of otel-collector", + "enum": [ + "DEPLOYMENT_STATE_UNSPECIFIED", + "NOT_INSTALLED", + "INSTALLED", + "ERROR", + "PENDING" + ], + "enumDescriptions": [ + "Deployment's state cannot be determined", + "Deployment is not installed", + "Deployment is installed", + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" + ], + "type": "string" + }, "reconcilerManager": { "description": "Deployment state of reconciler-manager pod", "enum": [ @@ -2798,6 +2816,24 @@ ], "type": "string" }, + "resourceGroupControllerManager": { + "description": "Deployment state of resource-group-controller-manager", + "enum": [ + "DEPLOYMENT_STATE_UNSPECIFIED", + "NOT_INSTALLED", + "INSTALLED", + "ERROR", + "PENDING" + ], + "enumDescriptions": [ + "Deployment's state cannot be determined", + "Deployment is not installed", + "Deployment is installed", + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" + ], + "type": "string" + }, "rootReconciler": { "description": "Deployment state of root-reconciler", "enum": [ @@ -2933,7 +2969,7 @@ "id": "ConfigManagementConfigSyncVersion", "properties": { "admissionWebhook": { - "description": "Version of the deployed admission_webhook pod", + "description": "Version of the deployed admission-webhook pod", "type": "string" }, "gitSync": { @@ -2948,10 +2984,18 @@ "description": "Version of the deployed monitor pod", "type": "string" }, + "otelCollector": { + "description": "Version of the deployed otel-collector pod", + "type": "string" + }, "reconcilerManager": { "description": "Version of the deployed reconciler-manager pod", "type": "string" }, + "resourceGroupControllerManager": { + "description": "Version of the deployed resource-group-controller-manager pod", + "type": "string" + }, "rootReconciler": { "description": "Version of the deployed reconciler container in root-reconciler pod", "type": "string" @@ -6330,7 +6374,7 @@ "type": "string" }, "management": { - "description": "Enables automatic Service Mesh management.", + "description": "Optional. Enables automatic Service Mesh management.", "enum": [ "MANAGEMENT_UNSPECIFIED", "MANAGEMENT_AUTOMATIC", diff --git a/discovery/gmail-v1.json b/discovery/gmail-v1.json index 1ec8882b7f..6e4ea0469c 100644 --- a/discovery/gmail-v1.json +++ b/discovery/gmail-v1.json @@ -3077,7 +3077,7 @@ } } }, - "revision": "20240527", + "revision": "20240520", "rootUrl": "https://gmail.googleapis.com/", "schemas": { "AutoForwarding": { diff --git a/discovery/gmailpostmastertools-v1.json b/discovery/gmailpostmastertools-v1.json index d364d923f5..bbff732836 100644 --- a/discovery/gmailpostmastertools-v1.json +++ b/discovery/gmailpostmastertools-v1.json @@ -265,7 +265,7 @@ } } }, - "revision": "20230920", + "revision": "20230907", "rootUrl": "https://gmailpostmastertools.googleapis.com/", "schemas": { "DeliveryError": { diff --git a/discovery/gmailpostmastertools-v1beta1.json b/discovery/gmailpostmastertools-v1beta1.json index eb4f4067c6..32f403b24c 100644 --- a/discovery/gmailpostmastertools-v1beta1.json +++ b/discovery/gmailpostmastertools-v1beta1.json @@ -265,7 +265,7 @@ } } }, - "revision": "20230920", + "revision": "20230907", "rootUrl": "https://gmailpostmastertools.googleapis.com/", "schemas": { "DeliveryError": { diff --git a/discovery/groupsmigration-v1.json b/discovery/groupsmigration-v1.json index d435d18d92..687051ca5d 100644 --- a/discovery/groupsmigration-v1.json +++ b/discovery/groupsmigration-v1.json @@ -146,7 +146,7 @@ } } }, - "revision": "20210311", + "revision": "20210304", "rootUrl": "https://groupsmigration.googleapis.com/", "schemas": { "Groups": { diff --git a/discovery/iam-v1.json b/discovery/iam-v1.json index d8bcb47d5f..e890dc90d9 100644 --- a/discovery/iam-v1.json +++ b/discovery/iam-v1.json @@ -3216,7 +3216,7 @@ } } }, - "revision": "20240621", + "revision": "20240617", "rootUrl": "https://iam.googleapis.com/", "schemas": { "AccessRestrictions": { diff --git a/discovery/iap-v1.json b/discovery/iap-v1.json index b77b906042..8d6622c0a9 100644 --- a/discovery/iap-v1.json +++ b/discovery/iap-v1.json @@ -682,7 +682,7 @@ } } }, - "revision": "20240623", + "revision": "20240617", "rootUrl": "https://iap.googleapis.com/", "schemas": { "AccessDeniedPageSettings": { diff --git a/discovery/iap-v1beta1.json b/discovery/iap-v1beta1.json index 9fd05a72a8..e323c7a668 100644 --- a/discovery/iap-v1beta1.json +++ b/discovery/iap-v1beta1.json @@ -194,7 +194,7 @@ } } }, - "revision": "20240126", + "revision": "20240119", "rootUrl": "https://iap.googleapis.com/", "schemas": { "Binding": { diff --git a/discovery/identitytoolkit-v1.json b/discovery/identitytoolkit-v1.json index 8daeb48e4e..e8cc3e0acb 100644 --- a/discovery/identitytoolkit-v1.json +++ b/discovery/identitytoolkit-v1.json @@ -1239,7 +1239,7 @@ } } }, - "revision": "20240424", + "revision": "20240417", "rootUrl": "https://identitytoolkit.googleapis.com/", "schemas": { "GoogleCloudIdentitytoolkitV1Argon2Parameters": { diff --git a/discovery/identitytoolkit-v3.json b/discovery/identitytoolkit-v3.json index 921ea610e6..85af78181a 100644 --- a/discovery/identitytoolkit-v3.json +++ b/discovery/identitytoolkit-v3.json @@ -18,7 +18,7 @@ "description": "Help the third party sites to implement federated login.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/identity-toolkit/v3/", - "etag": "\"9eZ1uxVRThTDhLJCZHhqs3eQWz4/taa97NuhcHSAt0fUktvGBcH-OqE\"", + "etag": "\"J3WqvAcMk4eQjJXvfSI4Yr8VouA/3oj2ig7C4N6A-_tqqb8y4vu2RvM\"", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" diff --git a/discovery/index.json b/discovery/index.json index 1e9be76212..d258af3d66 100644 --- a/discovery/index.json +++ b/discovery/index.json @@ -1,6851 +1,6881 @@ { - "kind": "discovery#directoryList", "discoveryVersion": "v1", "items": [ { - "kind": "discovery#directoryItem", - "id": "abusiveexperiencereport:v1", - "name": "abusiveexperiencereport", - "version": "v1", - "title": "Abusive Experience Report API", "description": "Views Abusive Experience Report data, and gets a list of sites that have a significant number of abusive experiences.", "discoveryRestUrl": "https://abusiveexperiencereport.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/abusive-experience-report/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/abusive-experience-report/", - "preferred": true + "id": "abusiveexperiencereport:v1", + "kind": "discovery#directoryItem", + "name": "abusiveexperiencereport", + "preferred": true, + "title": "Abusive Experience Report API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "acceleratedmobilepageurl:v1", - "name": "acceleratedmobilepageurl", - "version": "v1", - "title": "Accelerated Mobile Pages (AMP) URL API", "description": "Retrieves the list of AMP URLs (and equivalent AMP Cache URLs) for a given list of public URL(s).", "discoveryRestUrl": "https://acceleratedmobilepageurl.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/amp/cache/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/amp/cache/", - "preferred": true + "id": "acceleratedmobilepageurl:v1", + "kind": "discovery#directoryItem", + "name": "acceleratedmobilepageurl", + "preferred": true, + "title": "Accelerated Mobile Pages (AMP) URL API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "accessapproval:v1", - "name": "accessapproval", - "version": "v1", - "title": "Access Approval API", "description": "An API for controlling access to data by Google personnel.", "discoveryRestUrl": "https://accessapproval.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/assured-workloads/access-approval/docs", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/assured-workloads/access-approval/docs", - "preferred": true + "id": "accessapproval:v1", + "kind": "discovery#directoryItem", + "name": "accessapproval", + "preferred": true, + "title": "Access Approval API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "accesscontextmanager:v1", - "name": "accesscontextmanager", - "version": "v1", - "title": "Access Context Manager API", "description": "An API for setting attribute based access control to requests to Google Cloud services. *Warning:* Do not mix *v1alpha* and *v1* API usage in the same access policy. The v1alpha API supports new Access Context Manager features, which may have different attributes or behaviors that are not supported by v1. The practice of mixed API usage within a policy may result in the inability to update that policy, including any access levels or service perimeters belonging to it. It is not recommended to use both v1 and v1alpha for modifying policies with critical service perimeters. Modifications using v1alpha should be limited to policies with non-production/non-critical service perimeters.", "discoveryRestUrl": "https://accesscontextmanager.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/access-context-manager/docs/reference/rest/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/access-context-manager/docs/reference/rest/", - "preferred": true + "id": "accesscontextmanager:v1", + "kind": "discovery#directoryItem", + "name": "accesscontextmanager", + "preferred": true, + "title": "Access Context Manager API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "acmedns:v1", - "name": "acmedns", - "version": "v1", - "title": "ACME DNS API", "description": "Google Domains ACME DNS API that allows users to complete ACME DNS-01 challenges for a domain.", "discoveryRestUrl": "https://acmedns.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/domains/acme-dns/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/domains/acme-dns/", - "preferred": true + "id": "acmedns:v1", + "kind": "discovery#directoryItem", + "name": "acmedns", + "preferred": true, + "title": "ACME DNS API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "addressvalidation:v1", - "name": "addressvalidation", - "version": "v1", - "title": "Address Validation API", "description": "The Address Validation API allows developers to verify the accuracy of addresses. Given an address, it returns information about the correctness of the components of the parsed address, a geocode, and a verdict on the deliverability of the parsed address.", "discoveryRestUrl": "https://addressvalidation.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/maps/documentation/addressvalidation", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/maps/documentation/addressvalidation", - "preferred": true + "id": "addressvalidation:v1", + "kind": "discovery#directoryItem", + "name": "addressvalidation", + "preferred": true, + "title": "Address Validation API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "adexchangebuyer2:v2beta1", - "name": "adexchangebuyer2", - "version": "v2beta1", - "title": "Ad Exchange Buyer API II", "description": "Accesses the latest features for managing Authorized Buyers accounts, Real-Time Bidding configurations and auction metrics, and Marketplace programmatic deals.", "discoveryRestUrl": "https://adexchangebuyer.googleapis.com/$discovery/rest?version=v2beta1", + "documentationLink": "https://developers.google.com/authorized-buyers/apis/reference/rest/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/authorized-buyers/apis/reference/rest/", - "preferred": true + "id": "adexchangebuyer2:v2beta1", + "kind": "discovery#directoryItem", + "name": "adexchangebuyer2", + "preferred": true, + "title": "Ad Exchange Buyer API II", + "version": "v2beta1" }, { - "kind": "discovery#directoryItem", - "id": "adexperiencereport:v1", - "name": "adexperiencereport", - "version": "v1", - "title": "Ad Experience Report API", "description": "Views Ad Experience Report data, and gets a list of sites that have a significant number of annoying ads.", "discoveryRestUrl": "https://adexperiencereport.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/ad-experience-report/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/ad-experience-report/", - "preferred": true + "id": "adexperiencereport:v1", + "kind": "discovery#directoryItem", + "name": "adexperiencereport", + "preferred": true, + "title": "Ad Experience Report API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "admin:datatransfer_v1", - "name": "admin", - "version": "datatransfer_v1", - "title": "Admin SDK API", "description": "Admin SDK lets administrators of enterprise domains to view and manage resources like user, groups etc. It also provides audit and usage reports of domain.", "discoveryRestUrl": "https://admin.googleapis.com/$discovery/rest?version=datatransfer_v1", + "documentationLink": "https://developers.google.com/admin-sdk/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/admin-sdk/", - "preferred": false - }, - { + "id": "admin:datatransfer_v1", "kind": "discovery#directoryItem", - "id": "admin:directory_v1", "name": "admin", - "version": "directory_v1", + "preferred": false, "title": "Admin SDK API", + "version": "datatransfer_v1" + }, + { "description": "Admin SDK lets administrators of enterprise domains to view and manage resources like user, groups etc. It also provides audit and usage reports of domain.", "discoveryRestUrl": "https://admin.googleapis.com/$discovery/rest?version=directory_v1", + "documentationLink": "https://developers.google.com/admin-sdk/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/admin-sdk/", - "preferred": false - }, - { + "id": "admin:directory_v1", "kind": "discovery#directoryItem", - "id": "admin:reports_v1", "name": "admin", - "version": "reports_v1", + "preferred": false, "title": "Admin SDK API", + "version": "directory_v1" + }, + { "description": "Admin SDK lets administrators of enterprise domains to view and manage resources like user, groups etc. It also provides audit and usage reports of domain.", "discoveryRestUrl": "https://admin.googleapis.com/$discovery/rest?version=reports_v1", + "documentationLink": "https://developers.google.com/admin-sdk/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/admin-sdk/", - "preferred": true + "id": "admin:reports_v1", + "kind": "discovery#directoryItem", + "name": "admin", + "preferred": true, + "title": "Admin SDK API", + "version": "reports_v1" }, { - "kind": "discovery#directoryItem", - "id": "admob:v1beta", - "name": "admob", - "version": "v1beta", - "title": "AdMob API", "description": "The AdMob API allows publishers to programmatically get information about their AdMob account.", "discoveryRestUrl": "https://admob.googleapis.com/$discovery/rest?version=v1beta", + "documentationLink": "https://developers.google.com/admob/api/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/admob/api/", - "preferred": false - }, - { + "id": "admob:v1beta", "kind": "discovery#directoryItem", - "id": "admob:v1", "name": "admob", - "version": "v1", + "preferred": false, "title": "AdMob API", + "version": "v1beta" + }, + { "description": "The AdMob API allows publishers to programmatically get information about their AdMob account.", "discoveryRestUrl": "https://admob.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/admob/api/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/admob/api/", - "preferred": true + "id": "admob:v1", + "kind": "discovery#directoryItem", + "name": "admob", + "preferred": true, + "title": "AdMob API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "adsense:v2", - "name": "adsense", - "version": "v2", - "title": "AdSense Management API", "description": "The AdSense Management API allows publishers to access their inventory and run earnings and performance reports.", "discoveryRestUrl": "https://adsense.googleapis.com/$discovery/rest?version=v2", + "documentationLink": "https://developers.google.com/adsense/management/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/adsense/management/", - "preferred": true + "id": "adsense:v2", + "kind": "discovery#directoryItem", + "name": "adsense", + "preferred": true, + "title": "AdSense Management API", + "version": "v2" }, { - "kind": "discovery#directoryItem", - "id": "adsensehost:v4.1", - "name": "adsensehost", - "version": "v4.1", - "title": "AdSense Host API", "description": "The AdSense Host API gives AdSense Hosts access to report generation, ad code generation, and publisher management capabilities.", "discoveryRestUrl": "https://adsensehost.googleapis.com/$discovery/rest?version=v4.1", + "documentationLink": "https://developers.google.com/adsense/host/index", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/adsense/host/index", - "preferred": true + "id": "adsensehost:v4.1", + "kind": "discovery#directoryItem", + "name": "adsensehost", + "preferred": true, + "title": "AdSense Host API", + "version": "v4.1" }, { + "description": "", + "discoveryRestUrl": "https://adsenseplatform.googleapis.com/$discovery/rest?version=v1alpha", + "documentationLink": "https://developers.google.com/adsense/platforms/", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "id": "adsenseplatform:v1alpha", "kind": "discovery#directoryItem", - "id": "advisorynotifications:v1", - "name": "advisorynotifications", - "version": "v1", - "title": "Advisory Notifications API", + "name": "adsenseplatform", + "preferred": true, + "title": "AdSense Platform API", + "version": "v1alpha" + }, + { "description": "An API for accessing Advisory Notifications in Google Cloud", "discoveryRestUrl": "https://advisorynotifications.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/advisory-notifications", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/advisory-notifications", - "preferred": true + "id": "advisorynotifications:v1", + "kind": "discovery#directoryItem", + "name": "advisorynotifications", + "preferred": true, + "title": "Advisory Notifications API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "aiplatform:v1beta1", - "name": "aiplatform", - "version": "v1beta1", - "title": "Vertex AI API", "description": "Train high-quality custom machine learning models with minimal machine learning expertise and effort.", "discoveryRestUrl": "https://aiplatform.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://cloud.google.com/vertex-ai/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/vertex-ai/", - "preferred": false - }, - { + "id": "aiplatform:v1beta1", "kind": "discovery#directoryItem", - "id": "aiplatform:v1", "name": "aiplatform", - "version": "v1", + "preferred": false, "title": "Vertex AI API", + "version": "v1beta1" + }, + { "description": "Train high-quality custom machine learning models with minimal machine learning expertise and effort.", "discoveryRestUrl": "https://aiplatform.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/vertex-ai/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/vertex-ai/", - "preferred": true + "id": "aiplatform:v1", + "kind": "discovery#directoryItem", + "name": "aiplatform", + "preferred": true, + "title": "Vertex AI API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "airquality:v1", - "name": "airquality", - "version": "v1", - "title": "Air Quality API", "description": "The Air Quality API.", "discoveryRestUrl": "https://airquality.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/maps/documentation/air-quality", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/maps/documentation/air-quality", - "preferred": true + "id": "airquality:v1", + "kind": "discovery#directoryItem", + "name": "airquality", + "preferred": true, + "title": "Air Quality API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "alertcenter:v1beta1", - "name": "alertcenter", - "version": "v1beta1", - "title": "Google Workspace Alert Center API", "description": "Manages alerts on issues affecting your domain. Note: The current version of this API (v1beta1) is available to all Google Workspace customers.", "discoveryRestUrl": "https://alertcenter.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://developers.google.com/admin-sdk/alertcenter/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/admin-sdk/alertcenter/", - "preferred": true + "id": "alertcenter:v1beta1", + "kind": "discovery#directoryItem", + "name": "alertcenter", + "preferred": true, + "title": "Google Workspace Alert Center API", + "version": "v1beta1" }, { - "kind": "discovery#directoryItem", - "id": "alloydb:v1alpha", - "name": "alloydb", - "version": "v1alpha", - "title": "AlloyDB API", "description": "AlloyDB for PostgreSQL is an open source-compatible database service that provides a powerful option for migrating, modernizing, or building commercial-grade applications. It offers full compatibility with standard PostgreSQL, and is more than 4x faster for transactional workloads and up to 100x faster for analytical queries than standard PostgreSQL in our performance tests. AlloyDB for PostgreSQL offers a 99.99 percent availability SLA inclusive of maintenance. AlloyDB is optimized for the most demanding use cases, allowing you to build new applications that require high transaction throughput, large database sizes, or multiple read resources; scale existing PostgreSQL workloads with no application changes; and modernize legacy proprietary databases.", "discoveryRestUrl": "https://alloydb.googleapis.com/$discovery/rest?version=v1alpha", + "documentationLink": "https://cloud.google.com/alloydb/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/alloydb/", - "preferred": false - }, - { + "id": "alloydb:v1alpha", "kind": "discovery#directoryItem", - "id": "alloydb:v1beta", "name": "alloydb", - "version": "v1beta", + "preferred": false, "title": "AlloyDB API", + "version": "v1alpha" + }, + { "description": "AlloyDB for PostgreSQL is an open source-compatible database service that provides a powerful option for migrating, modernizing, or building commercial-grade applications. It offers full compatibility with standard PostgreSQL, and is more than 4x faster for transactional workloads and up to 100x faster for analytical queries than standard PostgreSQL in our performance tests. AlloyDB for PostgreSQL offers a 99.99 percent availability SLA inclusive of maintenance. AlloyDB is optimized for the most demanding use cases, allowing you to build new applications that require high transaction throughput, large database sizes, or multiple read resources; scale existing PostgreSQL workloads with no application changes; and modernize legacy proprietary databases.", "discoveryRestUrl": "https://alloydb.googleapis.com/$discovery/rest?version=v1beta", + "documentationLink": "https://cloud.google.com/alloydb/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/alloydb/", - "preferred": false - }, - { + "id": "alloydb:v1beta", "kind": "discovery#directoryItem", - "id": "alloydb:v1", "name": "alloydb", - "version": "v1", + "preferred": false, "title": "AlloyDB API", + "version": "v1beta" + }, + { "description": "AlloyDB for PostgreSQL is an open source-compatible database service that provides a powerful option for migrating, modernizing, or building commercial-grade applications. It offers full compatibility with standard PostgreSQL, and is more than 4x faster for transactional workloads and up to 100x faster for analytical queries than standard PostgreSQL in our performance tests. AlloyDB for PostgreSQL offers a 99.99 percent availability SLA inclusive of maintenance. AlloyDB is optimized for the most demanding use cases, allowing you to build new applications that require high transaction throughput, large database sizes, or multiple read resources; scale existing PostgreSQL workloads with no application changes; and modernize legacy proprietary databases.", "discoveryRestUrl": "https://alloydb.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/alloydb/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/alloydb/", - "preferred": true + "id": "alloydb:v1", + "kind": "discovery#directoryItem", + "name": "alloydb", + "preferred": true, + "title": "AlloyDB API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "analytics:v3", - "name": "analytics", - "version": "v3", - "title": "Google Analytics API", "description": "The Analytics API provides access to Analytics configuration and report data.", "discoveryRestUrl": "https://analytics.googleapis.com/$discovery/rest?version=v3", + "documentationLink": "http://code.google.com/apis/analytics/docs/mgmt/home.html", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "http://code.google.com/apis/analytics/docs/mgmt/home.html", - "preferred": true + "id": "analytics:v3", + "kind": "discovery#directoryItem", + "name": "analytics", + "preferred": true, + "title": "Google Analytics API", + "version": "v3" }, { - "kind": "discovery#directoryItem", - "id": "analyticsadmin:v1alpha", - "name": "analyticsadmin", - "version": "v1alpha", - "title": "Google Analytics Admin API", "description": "Manage properties in Google Analytics. Warning: Creating multiple Customer Applications, Accounts, or Projects to simulate or act as a single Customer Application, Account, or Project (respectively) or to circumvent Service-specific usage limits or quotas is a direct violation of Google Cloud Platform Terms of Service as well as Google APIs Terms of Service. These actions can result in immediate termination of your GCP project(s) without any warning.", "discoveryRestUrl": "https://analyticsadmin.googleapis.com/$discovery/rest?version=v1alpha", + "documentationLink": "http://code.google.com/apis/analytics/docs/mgmt/home.html", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "http://code.google.com/apis/analytics/docs/mgmt/home.html", - "preferred": false - }, - { + "id": "analyticsadmin:v1alpha", "kind": "discovery#directoryItem", - "id": "analyticsadmin:v1beta", "name": "analyticsadmin", - "version": "v1beta", + "preferred": false, "title": "Google Analytics Admin API", + "version": "v1alpha" + }, + { "description": "Manage properties in Google Analytics. Warning: Creating multiple Customer Applications, Accounts, or Projects to simulate or act as a single Customer Application, Account, or Project (respectively) or to circumvent Service-specific usage limits or quotas is a direct violation of Google Cloud Platform Terms of Service as well as Google APIs Terms of Service. These actions can result in immediate termination of your GCP project(s) without any warning.", "discoveryRestUrl": "https://analyticsadmin.googleapis.com/$discovery/rest?version=v1beta", + "documentationLink": "http://code.google.com/apis/analytics/docs/mgmt/home.html", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "http://code.google.com/apis/analytics/docs/mgmt/home.html", - "preferred": true + "id": "analyticsadmin:v1beta", + "kind": "discovery#directoryItem", + "name": "analyticsadmin", + "preferred": true, + "title": "Google Analytics Admin API", + "version": "v1beta" }, { - "kind": "discovery#directoryItem", - "id": "analyticsdata:v1beta", - "name": "analyticsdata", - "version": "v1beta", - "title": "Google Analytics Data API", "description": "Accesses report data in Google Analytics. Warning: Creating multiple Customer Applications, Accounts, or Projects to simulate or act as a single Customer Application, Account, or Project (respectively) or to circumvent Service-specific usage limits or quotas is a direct violation of Google Cloud Platform Terms of Service as well as Google APIs Terms of Service. These actions can result in immediate termination of your GCP project(s) without any warning.", "discoveryRestUrl": "https://analyticsdata.googleapis.com/$discovery/rest?version=v1beta", + "documentationLink": "https://developers.google.com/analytics/devguides/reporting/data/v1/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/analytics/devguides/reporting/data/v1/", - "preferred": true + "id": "analyticsdata:v1beta", + "kind": "discovery#directoryItem", + "name": "analyticsdata", + "preferred": true, + "title": "Google Analytics Data API", + "version": "v1beta" }, { - "kind": "discovery#directoryItem", - "id": "analyticshub:v1beta1", - "name": "analyticshub", - "version": "v1beta1", - "title": "Analytics Hub API", "description": "Exchange data and analytics assets securely and efficiently.", "discoveryRestUrl": "https://analyticshub.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://cloud.google.com/bigquery/docs/analytics-hub-introduction", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/bigquery/docs/analytics-hub-introduction", - "preferred": false - }, - { + "id": "analyticshub:v1beta1", "kind": "discovery#directoryItem", - "id": "analyticshub:v1", "name": "analyticshub", - "version": "v1", + "preferred": false, "title": "Analytics Hub API", + "version": "v1beta1" + }, + { "description": "Exchange data and analytics assets securely and efficiently.", "discoveryRestUrl": "https://analyticshub.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/bigquery/docs/analytics-hub-introduction", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/bigquery/docs/analytics-hub-introduction", - "preferred": true + "id": "analyticshub:v1", + "kind": "discovery#directoryItem", + "name": "analyticshub", + "preferred": true, + "title": "Analytics Hub API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "analyticsreporting:v4", - "name": "analyticsreporting", - "version": "v4", - "title": "Analytics Reporting API", "description": "Accesses Analytics report data.", "discoveryRestUrl": "https://analyticsreporting.googleapis.com/$discovery/rest?version=v4", + "documentationLink": "https://developers.google.com/analytics/devguides/reporting/core/v4/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/analytics/devguides/reporting/core/v4/", - "preferred": true + "id": "analyticsreporting:v4", + "kind": "discovery#directoryItem", + "name": "analyticsreporting", + "preferred": true, + "title": "Analytics Reporting API", + "version": "v4" }, { - "kind": "discovery#directoryItem", - "id": "androiddeviceprovisioning:v1", - "name": "androiddeviceprovisioning", - "version": "v1", - "title": "Android Device Provisioning Partner API", "description": "Automates Android zero-touch enrollment for device resellers, customers, and EMMs.", "discoveryRestUrl": "https://androiddeviceprovisioning.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/zero-touch/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/zero-touch/", - "preferred": true + "id": "androiddeviceprovisioning:v1", + "kind": "discovery#directoryItem", + "name": "androiddeviceprovisioning", + "preferred": true, + "title": "Android Device Provisioning Partner API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "androidenterprise:v1", - "name": "androidenterprise", - "version": "v1", - "title": "Google Play EMM API", "description": "Manages the deployment of apps to Android Enterprise devices.", "discoveryRestUrl": "https://androidenterprise.googleapis.com/$discovery/rest?version=v1", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "preferred": true + "id": "androidenterprise:v1", + "kind": "discovery#directoryItem", + "name": "androidenterprise", + "preferred": true, + "title": "Google Play EMM API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "androidmanagement:v1", - "name": "androidmanagement", - "version": "v1", - "title": "Android Management API", "description": "The Android Management API provides remote enterprise management of Android devices and apps.", "discoveryRestUrl": "https://androidmanagement.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/android/management", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/android/management", - "preferred": true + "id": "androidmanagement:v1", + "kind": "discovery#directoryItem", + "name": "androidmanagement", + "preferred": true, + "title": "Android Management API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "androidpublisher:v3", - "name": "androidpublisher", - "version": "v3", - "title": "Google Play Android Developer API", "description": "Lets Android application developers access their Google Play accounts. At a high level, the expected workflow is to \"insert\" an Edit, make changes as necessary, and then \"commit\" it.", "discoveryRestUrl": "https://androidpublisher.googleapis.com/$discovery/rest?version=v3", + "documentationLink": "https://developers.google.com/android-publisher", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/android-publisher", - "preferred": true + "id": "androidpublisher:v3", + "kind": "discovery#directoryItem", + "name": "androidpublisher", + "preferred": true, + "title": "Google Play Android Developer API", + "version": "v3" }, { - "kind": "discovery#directoryItem", - "id": "apigateway:v1beta", - "name": "apigateway", - "version": "v1beta", - "title": "API Gateway API", "description": "", "discoveryRestUrl": "https://apigateway.googleapis.com/$discovery/rest?version=v1beta", + "documentationLink": "https://cloud.google.com/api-gateway/docs", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/api-gateway/docs", - "preferred": false - }, - { + "id": "apigateway:v1beta", "kind": "discovery#directoryItem", - "id": "apigateway:v1", "name": "apigateway", - "version": "v1", + "preferred": false, "title": "API Gateway API", + "version": "v1beta" + }, + { "description": "", "discoveryRestUrl": "https://apigateway.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/api-gateway/docs", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/api-gateway/docs", - "preferred": true + "id": "apigateway:v1", + "kind": "discovery#directoryItem", + "name": "apigateway", + "preferred": true, + "title": "API Gateway API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "apigee:v1", - "name": "apigee", - "version": "v1", - "title": "Apigee API", "description": "Use the Apigee API to programmatically develop and manage APIs with a set of RESTful operations. Develop and secure API proxies, deploy and undeploy API proxy revisions, monitor APIs, configure environments, manage users, and more. Note: This product is available as a free trial for a time period of 60 days.", "discoveryRestUrl": "https://apigee.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/apigee-api-management/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/apigee-api-management/", - "preferred": true + "id": "apigee:v1", + "kind": "discovery#directoryItem", + "name": "apigee", + "preferred": true, + "title": "Apigee API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "apigeeregistry:v1", - "name": "apigeeregistry", - "version": "v1", - "title": "Apigee Registry API", "description": "", "discoveryRestUrl": "https://apigeeregistry.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/apigee/docs/api-hub/what-is-api-hub", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/apigee/docs/api-hub/what-is-api-hub", - "preferred": true + "id": "apigeeregistry:v1", + "kind": "discovery#directoryItem", + "name": "apigeeregistry", + "preferred": true, + "title": "Apigee Registry API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "apikeys:v2", - "name": "apikeys", - "version": "v2", - "title": "API Keys API", "description": "Manages the API keys associated with developer projects.", "discoveryRestUrl": "https://apikeys.googleapis.com/$discovery/rest?version=v2", + "documentationLink": "https://cloud.google.com/api-keys/docs", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/api-keys/docs", - "preferred": true + "id": "apikeys:v2", + "kind": "discovery#directoryItem", + "name": "apikeys", + "preferred": true, + "title": "API Keys API", + "version": "v2" }, { - "kind": "discovery#directoryItem", - "id": "apim:v1alpha", - "name": "apim", - "version": "v1alpha", - "title": "API Management API", "description": "Enables users to discover shadow APIs in existing Google Cloud infrastructure.", "discoveryRestUrl": "https://apim.googleapis.com/$discovery/rest?version=v1alpha", + "documentationLink": "https://cloud.google.com/apigee/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/apigee/", - "preferred": true + "id": "apim:v1alpha", + "kind": "discovery#directoryItem", + "name": "apim", + "preferred": true, + "title": "API Management API", + "version": "v1alpha" }, { - "kind": "discovery#directoryItem", - "id": "appengine:v1alpha", - "name": "appengine", - "version": "v1alpha", - "title": "App Engine Admin API", "description": "Provisions and manages developers' App Engine applications.", "discoveryRestUrl": "https://appengine.googleapis.com/$discovery/rest?version=v1alpha", + "documentationLink": "https://cloud.google.com/appengine/docs/admin-api/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/appengine/docs/admin-api/", - "preferred": false - }, - { + "id": "appengine:v1alpha", "kind": "discovery#directoryItem", - "id": "appengine:v1beta", "name": "appengine", - "version": "v1beta", + "preferred": false, "title": "App Engine Admin API", + "version": "v1alpha" + }, + { "description": "Provisions and manages developers' App Engine applications.", "discoveryRestUrl": "https://appengine.googleapis.com/$discovery/rest?version=v1beta", + "documentationLink": "https://cloud.google.com/appengine/docs/admin-api/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/appengine/docs/admin-api/", - "preferred": false - }, - { + "id": "appengine:v1beta", "kind": "discovery#directoryItem", - "id": "appengine:v1", "name": "appengine", - "version": "v1", + "preferred": false, "title": "App Engine Admin API", + "version": "v1beta" + }, + { "description": "Provisions and manages developers' App Engine applications.", "discoveryRestUrl": "https://appengine.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/appengine/docs/admin-api/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/appengine/docs/admin-api/", - "preferred": true + "id": "appengine:v1", + "kind": "discovery#directoryItem", + "name": "appengine", + "preferred": true, + "title": "App Engine Admin API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "apphub:v1alpha", - "name": "apphub", - "version": "v1alpha", - "title": "App Hub API", "description": "", "discoveryRestUrl": "https://apphub.googleapis.com/$discovery/rest?version=v1alpha", + "documentationLink": "https://cloud.google.com/app-hub/docs/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/app-hub/docs/", - "preferred": false - }, - { + "id": "apphub:v1alpha", "kind": "discovery#directoryItem", - "id": "apphub:v1", "name": "apphub", - "version": "v1", + "preferred": false, "title": "App Hub API", + "version": "v1alpha" + }, + { "description": "", "discoveryRestUrl": "https://apphub.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/app-hub/docs/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/app-hub/docs/", - "preferred": true + "id": "apphub:v1", + "kind": "discovery#directoryItem", + "name": "apphub", + "preferred": true, + "title": "App Hub API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "area120tables:v1alpha1", - "name": "area120tables", - "version": "v1alpha1", - "title": "Area120 Tables API", "description": "", "discoveryRestUrl": "https://area120tables.googleapis.com/$discovery/rest?version=v1alpha1", + "documentationLink": "https://support.google.com/area120-tables/answer/10011390", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://support.google.com/area120-tables/answer/10011390", - "preferred": true + "id": "area120tables:v1alpha1", + "kind": "discovery#directoryItem", + "name": "area120tables", + "preferred": true, + "title": "Area120 Tables API", + "version": "v1alpha1" }, { - "kind": "discovery#directoryItem", - "id": "artifactregistry:v1beta1", - "name": "artifactregistry", - "version": "v1beta1", - "title": "Artifact Registry API", "description": "Store and manage build artifacts in a scalable and integrated service built on Google infrastructure.", "discoveryRestUrl": "https://artifactregistry.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://cloud.google.com/artifacts/docs/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/artifacts/docs/", - "preferred": false - }, - { + "id": "artifactregistry:v1beta1", "kind": "discovery#directoryItem", - "id": "artifactregistry:v1beta2", "name": "artifactregistry", - "version": "v1beta2", + "preferred": false, "title": "Artifact Registry API", + "version": "v1beta1" + }, + { "description": "Store and manage build artifacts in a scalable and integrated service built on Google infrastructure.", "discoveryRestUrl": "https://artifactregistry.googleapis.com/$discovery/rest?version=v1beta2", + "documentationLink": "https://cloud.google.com/artifacts/docs/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/artifacts/docs/", - "preferred": false - }, - { + "id": "artifactregistry:v1beta2", "kind": "discovery#directoryItem", - "id": "artifactregistry:v1", "name": "artifactregistry", - "version": "v1", + "preferred": false, "title": "Artifact Registry API", + "version": "v1beta2" + }, + { "description": "Store and manage build artifacts in a scalable and integrated service built on Google infrastructure.", "discoveryRestUrl": "https://artifactregistry.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/artifacts/docs/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/artifacts/docs/", - "preferred": true + "id": "artifactregistry:v1", + "kind": "discovery#directoryItem", + "name": "artifactregistry", + "preferred": true, + "title": "Artifact Registry API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "assuredworkloads:v1beta1", - "name": "assuredworkloads", - "version": "v1beta1", - "title": "Assured Workloads API", "description": "", "discoveryRestUrl": "https://assuredworkloads.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://cloud.google.com/learnmoreurl", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/learnmoreurl", - "preferred": false - }, - { + "id": "assuredworkloads:v1beta1", "kind": "discovery#directoryItem", - "id": "assuredworkloads:v1", "name": "assuredworkloads", - "version": "v1", + "preferred": false, "title": "Assured Workloads API", + "version": "v1beta1" + }, + { "description": "", "discoveryRestUrl": "https://assuredworkloads.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/learnmoreurl", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/learnmoreurl", - "preferred": true + "id": "assuredworkloads:v1", + "kind": "discovery#directoryItem", + "name": "assuredworkloads", + "preferred": true, + "title": "Assured Workloads API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "authorizedbuyersmarketplace:v1", - "name": "authorizedbuyersmarketplace", - "version": "v1", - "title": "Authorized Buyers Marketplace API", "description": "The Authorized Buyers Marketplace API lets buyers programmatically discover inventory; propose, retrieve and negotiate deals with publishers.", "discoveryRestUrl": "https://authorizedbuyersmarketplace.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/authorized-buyers/apis/marketplace/reference/rest/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/authorized-buyers/apis/marketplace/reference/rest/", - "preferred": true + "id": "authorizedbuyersmarketplace:v1", + "kind": "discovery#directoryItem", + "name": "authorizedbuyersmarketplace", + "preferred": true, + "title": "Authorized Buyers Marketplace API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "backupdr:v1", - "name": "backupdr", - "version": "v1", - "title": "Backup and DR Service API", "description": "", "discoveryRestUrl": "https://backupdr.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/backup-disaster-recovery", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/backup-disaster-recovery", - "preferred": true + "id": "backupdr:v1", + "kind": "discovery#directoryItem", + "name": "backupdr", + "preferred": true, + "title": "Backup and DR Service API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "baremetalsolution:v2", - "name": "baremetalsolution", - "version": "v2", - "title": "Bare Metal Solution API", "description": "Provides ways to manage Bare Metal Solution hardware installed in a regional extension located near a Google Cloud data center.", "discoveryRestUrl": "https://baremetalsolution.googleapis.com/$discovery/rest?version=v2", + "documentationLink": "https://cloud.google.com/bare-metal", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/bare-metal", - "preferred": true + "id": "baremetalsolution:v2", + "kind": "discovery#directoryItem", + "name": "baremetalsolution", + "preferred": true, + "title": "Bare Metal Solution API", + "version": "v2" }, { - "kind": "discovery#directoryItem", - "id": "batch:v1", - "name": "batch", - "version": "v1", - "title": "Batch API", "description": "An API to manage the running of Batch resources on Google Cloud Platform.", "discoveryRestUrl": "https://batch.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/batch/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/batch/", - "preferred": true + "id": "batch:v1", + "kind": "discovery#directoryItem", + "name": "batch", + "preferred": true, + "title": "Batch API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "beyondcorp:v1alpha", - "name": "beyondcorp", - "version": "v1alpha", - "title": "BeyondCorp API", "description": "Beyondcorp Enterprise provides identity and context aware access controls for enterprise resources and enables zero-trust access. Using the Beyondcorp Enterprise APIs, enterprises can set up multi-cloud and on-prem connectivity solutions.", "discoveryRestUrl": "https://beyondcorp.googleapis.com/$discovery/rest?version=v1alpha", + "documentationLink": "https://cloud.google.com/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/", - "preferred": false - }, - { + "id": "beyondcorp:v1alpha", "kind": "discovery#directoryItem", - "id": "beyondcorp:v1", "name": "beyondcorp", - "version": "v1", + "preferred": false, "title": "BeyondCorp API", + "version": "v1alpha" + }, + { "description": "Beyondcorp Enterprise provides identity and context aware access controls for enterprise resources and enables zero-trust access. Using the Beyondcorp Enterprise APIs, enterprises can set up multi-cloud and on-prem connectivity solutions.", "discoveryRestUrl": "https://beyondcorp.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/", - "preferred": true + "id": "beyondcorp:v1", + "kind": "discovery#directoryItem", + "name": "beyondcorp", + "preferred": true, + "title": "BeyondCorp API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "biglake:v1", - "name": "biglake", - "version": "v1", - "title": "BigLake API", "description": "The BigLake API provides access to BigLake Metastore, a serverless, fully managed, and highly available metastore for open-source data that can be used for querying Apache Iceberg tables in BigQuery.", "discoveryRestUrl": "https://biglake.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/bigquery/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/bigquery/", - "preferred": true + "id": "biglake:v1", + "kind": "discovery#directoryItem", + "name": "biglake", + "preferred": true, + "title": "BigLake API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "bigquery:v2", - "name": "bigquery", - "version": "v2", - "title": "BigQuery API", "description": "A data platform for customers to create, manage, share and query data.", "discoveryRestUrl": "https://bigquery.googleapis.com/$discovery/rest?version=v2", + "documentationLink": "https://cloud.google.com/bigquery/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/bigquery/", - "preferred": true + "id": "bigquery:v2", + "kind": "discovery#directoryItem", + "name": "bigquery", + "preferred": true, + "title": "BigQuery API", + "version": "v2" }, { - "kind": "discovery#directoryItem", - "id": "bigqueryconnection:v1beta1", - "name": "bigqueryconnection", - "version": "v1beta1", - "title": "BigQuery Connection API", "description": "Allows users to manage BigQuery connections to external data sources.", "discoveryRestUrl": "https://bigqueryconnection.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://cloud.google.com/bigquery/docs/connections-api-intro", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/bigquery/docs/connections-api-intro", - "preferred": false - }, - { + "id": "bigqueryconnection:v1beta1", "kind": "discovery#directoryItem", - "id": "bigqueryconnection:v1", "name": "bigqueryconnection", - "version": "v1", + "preferred": false, "title": "BigQuery Connection API", + "version": "v1beta1" + }, + { "description": "Allows users to manage BigQuery connections to external data sources.", "discoveryRestUrl": "https://bigqueryconnection.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/bigquery/docs/connections-api-intro", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/bigquery/docs/connections-api-intro", - "preferred": true + "id": "bigqueryconnection:v1", + "kind": "discovery#directoryItem", + "name": "bigqueryconnection", + "preferred": true, + "title": "BigQuery Connection API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "bigquerydatapolicy:v1", - "name": "bigquerydatapolicy", - "version": "v1", - "title": "BigQuery Data Policy API", "description": "Allows users to manage BigQuery data policies.", "discoveryRestUrl": "https://bigquerydatapolicy.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/bigquery/docs/column-data-masking", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/bigquery/docs/column-data-masking", - "preferred": true + "id": "bigquerydatapolicy:v1", + "kind": "discovery#directoryItem", + "name": "bigquerydatapolicy", + "preferred": true, + "title": "BigQuery Data Policy API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "bigquerydatatransfer:v1", - "name": "bigquerydatatransfer", - "version": "v1", - "title": "BigQuery Data Transfer API", "description": "Schedule queries or transfer external data from SaaS applications to Google BigQuery on a regular basis.", "discoveryRestUrl": "https://bigquerydatatransfer.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/bigquery-transfer/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/bigquery-transfer/", - "preferred": true + "id": "bigquerydatatransfer:v1", + "kind": "discovery#directoryItem", + "name": "bigquerydatatransfer", + "preferred": true, + "title": "BigQuery Data Transfer API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "bigqueryreservation:v1", - "name": "bigqueryreservation", - "version": "v1", - "title": "BigQuery Reservation API", "description": "A service to modify your BigQuery flat-rate reservations.", "discoveryRestUrl": "https://bigqueryreservation.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/bigquery/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/bigquery/", - "preferred": true + "id": "bigqueryreservation:v1", + "kind": "discovery#directoryItem", + "name": "bigqueryreservation", + "preferred": true, + "title": "BigQuery Reservation API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "bigtableadmin:v2", - "name": "bigtableadmin", - "version": "v2", - "title": "Cloud Bigtable Admin API", "description": "Administer your Cloud Bigtable tables and instances.", "discoveryRestUrl": "https://bigtableadmin.googleapis.com/$discovery/rest?version=v2", + "documentationLink": "https://cloud.google.com/bigtable/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/bigtable/", - "preferred": true + "id": "bigtableadmin:v2", + "kind": "discovery#directoryItem", + "name": "bigtableadmin", + "preferred": true, + "title": "Cloud Bigtable Admin API", + "version": "v2" }, { - "kind": "discovery#directoryItem", - "id": "billingbudgets:v1beta1", - "name": "billingbudgets", - "version": "v1beta1", - "title": "Cloud Billing Budget API", "description": "The Cloud Billing Budget API stores Cloud Billing budgets, which define a budget plan and the rules to execute as spend is tracked against that plan.", "discoveryRestUrl": "https://billingbudgets.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://cloud.google.com/billing/docs/how-to/budget-api-overview", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/billing/docs/how-to/budget-api-overview", - "preferred": false - }, - { + "id": "billingbudgets:v1beta1", "kind": "discovery#directoryItem", - "id": "billingbudgets:v1", "name": "billingbudgets", - "version": "v1", + "preferred": false, "title": "Cloud Billing Budget API", + "version": "v1beta1" + }, + { "description": "The Cloud Billing Budget API stores Cloud Billing budgets, which define a budget plan and the rules to execute as spend is tracked against that plan.", "discoveryRestUrl": "https://billingbudgets.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/billing/docs/how-to/budget-api-overview", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/billing/docs/how-to/budget-api-overview", - "preferred": true + "id": "billingbudgets:v1", + "kind": "discovery#directoryItem", + "name": "billingbudgets", + "preferred": true, + "title": "Cloud Billing Budget API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "binaryauthorization:v1beta1", - "name": "binaryauthorization", - "version": "v1beta1", - "title": "Binary Authorization API", "description": "The management interface for Binary Authorization, a service that provides policy-based deployment validation and control for images deployed to Google Kubernetes Engine (GKE), Anthos Service Mesh, Anthos Clusters, and Cloud Run.", "discoveryRestUrl": "https://binaryauthorization.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://cloud.google.com/binary-authorization/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/binary-authorization/", - "preferred": false - }, - { + "id": "binaryauthorization:v1beta1", "kind": "discovery#directoryItem", - "id": "binaryauthorization:v1", "name": "binaryauthorization", - "version": "v1", + "preferred": false, "title": "Binary Authorization API", + "version": "v1beta1" + }, + { "description": "The management interface for Binary Authorization, a service that provides policy-based deployment validation and control for images deployed to Google Kubernetes Engine (GKE), Anthos Service Mesh, Anthos Clusters, and Cloud Run.", "discoveryRestUrl": "https://binaryauthorization.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/binary-authorization/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/binary-authorization/", - "preferred": true - }, - { + "id": "binaryauthorization:v1", "kind": "discovery#directoryItem", - "id": "blockchainnodeengine:v1", - "name": "blockchainnodeengine", - "version": "v1", - "title": "Blockchain Node Engine API", + "name": "binaryauthorization", + "preferred": true, + "title": "Binary Authorization API", + "version": "v1" + }, + { "description": "", "discoveryRestUrl": "https://blockchainnodeengine.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/blockchain-node-engine", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/blockchain-node-engine", - "preferred": true + "id": "blockchainnodeengine:v1", + "kind": "discovery#directoryItem", + "name": "blockchainnodeengine", + "preferred": true, + "title": "Blockchain Node Engine API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "blogger:v2", - "name": "blogger", - "version": "v2", - "title": "Blogger API", "description": "The Blogger API provides access to posts, comments and pages of a Blogger blog.", "discoveryRestUrl": "https://blogger.googleapis.com/$discovery/rest?version=v2", + "documentationLink": "https://developers.google.com/blogger/docs/3.0/getting_started", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/blogger/docs/3.0/getting_started", - "preferred": false - }, - { + "id": "blogger:v2", "kind": "discovery#directoryItem", - "id": "blogger:v3", "name": "blogger", - "version": "v3", + "preferred": false, "title": "Blogger API", + "version": "v2" + }, + { "description": "The Blogger API provides access to posts, comments and pages of a Blogger blog.", "discoveryRestUrl": "https://blogger.googleapis.com/$discovery/rest?version=v3", + "documentationLink": "https://developers.google.com/blogger/docs/3.0/getting_started", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/blogger/docs/3.0/getting_started", - "preferred": true + "id": "blogger:v3", + "kind": "discovery#directoryItem", + "name": "blogger", + "preferred": true, + "title": "Blogger API", + "version": "v3" }, { - "kind": "discovery#directoryItem", - "id": "books:v1", - "name": "books", - "version": "v1", - "title": "Books API", "description": "The Google Books API allows clients to access the Google Books repository.", "discoveryRestUrl": "https://books.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://code.google.com/apis/books/docs/v1/getting_started.html", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://code.google.com/apis/books/docs/v1/getting_started.html", - "preferred": true + "id": "books:v1", + "kind": "discovery#directoryItem", + "name": "books", + "preferred": true, + "title": "Books API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "businessprofileperformance:v1", - "name": "businessprofileperformance", - "version": "v1", - "title": "Business Profile Performance API", "description": "The Business Profile Performance API allows merchants to fetch performance reports about their business profile on Google. Note - If you have a quota of 0 after enabling the API, please request for GBP API access.", "discoveryRestUrl": "https://businessprofileperformance.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/my-business/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/my-business/", - "preferred": true + "id": "businessprofileperformance:v1", + "kind": "discovery#directoryItem", + "name": "businessprofileperformance", + "preferred": true, + "title": "Business Profile Performance API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "calendar:v3", - "name": "calendar", - "version": "v3", - "title": "Google Calendar API", "description": "The Google Calendar API lets you manage your calendars and events.", "discoveryRestUrl": "https://calendar-json.googleapis.com/$discovery/rest?version=v3", + "documentationLink": "http://code.google.com/apis/calendar/v3/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "http://code.google.com/apis/calendar/v3/", - "preferred": true + "id": "calendar:v3", + "kind": "discovery#directoryItem", + "name": "calendar", + "preferred": true, + "title": "Google Calendar API", + "version": "v3" }, { - "kind": "discovery#directoryItem", - "id": "certificatemanager:v1", - "name": "certificatemanager", - "version": "v1", - "title": "Certificate Manager API", "description": "", "discoveryRestUrl": "https://certificatemanager.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/certificate-manager", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/certificate-manager", - "preferred": true + "id": "certificatemanager:v1", + "kind": "discovery#directoryItem", + "name": "certificatemanager", + "preferred": true, + "title": "Certificate Manager API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "chat:v1", - "name": "chat", - "version": "v1", - "title": "Google Chat API", "description": "The Google Chat API lets you build Chat apps to integrate your services with Google Chat and manage Chat resources such as spaces, members, and messages.", "discoveryRestUrl": "https://chat.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/hangouts/chat", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/hangouts/chat", - "preferred": true + "id": "chat:v1", + "kind": "discovery#directoryItem", + "name": "chat", + "preferred": true, + "title": "Google Chat API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "checks:v1alpha", - "name": "checks", - "version": "v1alpha", - "title": "Checks API", "description": "The Checks API contains powerful and easy-to-use privacy and compliance APIs that interact with the Checks product and its underlying technology.", "discoveryRestUrl": "https://checks.googleapis.com/$discovery/rest?version=v1alpha", + "documentationLink": "https://developers.google.com/checks", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/checks", - "preferred": true + "id": "checks:v1alpha", + "kind": "discovery#directoryItem", + "name": "checks", + "preferred": true, + "title": "Checks API", + "version": "v1alpha" }, { - "kind": "discovery#directoryItem", - "id": "chromemanagement:v1", - "name": "chromemanagement", - "version": "v1", - "title": "Chrome Management API", "description": "The Chrome Management API is a suite of services that allows Chrome administrators to view, manage and gain insights on their Chrome OS and Chrome Browser devices.", "discoveryRestUrl": "https://chromemanagement.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "http://developers.google.com/chrome/management/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "http://developers.google.com/chrome/management/", - "preferred": true + "id": "chromemanagement:v1", + "kind": "discovery#directoryItem", + "name": "chromemanagement", + "preferred": true, + "title": "Chrome Management API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "chromepolicy:v1", - "name": "chromepolicy", - "version": "v1", - "title": "Chrome Policy API", "description": "The Chrome Policy API is a suite of services that allows Chrome administrators to control the policies applied to their managed Chrome OS devices and Chrome browsers.", "discoveryRestUrl": "https://chromepolicy.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "http://developers.google.com/chrome/policy", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "http://developers.google.com/chrome/policy", - "preferred": true + "id": "chromepolicy:v1", + "kind": "discovery#directoryItem", + "name": "chromepolicy", + "preferred": true, + "title": "Chrome Policy API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "chromeuxreport:v1", - "name": "chromeuxreport", - "version": "v1", - "title": "Chrome UX Report API", "description": "The Chrome UX Report API lets you view real user experience data for millions of websites.", "discoveryRestUrl": "https://chromeuxreport.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/web/tools/chrome-user-experience-report/api/reference", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/web/tools/chrome-user-experience-report/api/reference", - "preferred": true + "id": "chromeuxreport:v1", + "kind": "discovery#directoryItem", + "name": "chromeuxreport", + "preferred": true, + "title": "Chrome UX Report API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "civicinfo:v2", - "name": "civicinfo", - "version": "v2", - "title": "Google Civic Information API", "description": "Provides polling places, early vote locations, contest data, election officials, and government representatives for U.S. residential addresses.", "discoveryRestUrl": "https://civicinfo.googleapis.com/$discovery/rest?version=v2", + "documentationLink": "https://developers.google.com/civic-information/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/civic-information/", - "preferred": true + "id": "civicinfo:v2", + "kind": "discovery#directoryItem", + "name": "civicinfo", + "preferred": true, + "title": "Google Civic Information API", + "version": "v2" }, { - "kind": "discovery#directoryItem", - "id": "classroom:v1", - "name": "classroom", - "version": "v1", - "title": "Google Classroom API", "description": "Manages classes, rosters, and invitations in Google Classroom.", "discoveryRestUrl": "https://classroom.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/classroom", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/classroom", - "preferred": true + "id": "classroom:v1", + "kind": "discovery#directoryItem", + "name": "classroom", + "preferred": true, + "title": "Google Classroom API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "cloudasset:v1p1beta1", - "name": "cloudasset", - "version": "v1p1beta1", - "title": "Cloud Asset API", "description": "The Cloud Asset API manages the history and inventory of Google Cloud resources.", "discoveryRestUrl": "https://cloudasset.googleapis.com/$discovery/rest?version=v1p1beta1", + "documentationLink": "https://cloud.google.com/asset-inventory/docs/quickstart", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/asset-inventory/docs/quickstart", - "preferred": false - }, - { + "id": "cloudasset:v1p1beta1", "kind": "discovery#directoryItem", - "id": "cloudasset:v1p5beta1", "name": "cloudasset", - "version": "v1p5beta1", + "preferred": false, "title": "Cloud Asset API", + "version": "v1p1beta1" + }, + { "description": "The Cloud Asset API manages the history and inventory of Google Cloud resources.", "discoveryRestUrl": "https://cloudasset.googleapis.com/$discovery/rest?version=v1p5beta1", + "documentationLink": "https://cloud.google.com/asset-inventory/docs/quickstart", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/asset-inventory/docs/quickstart", - "preferred": false - }, - { + "id": "cloudasset:v1p5beta1", "kind": "discovery#directoryItem", - "id": "cloudasset:v1p7beta1", "name": "cloudasset", - "version": "v1p7beta1", + "preferred": false, "title": "Cloud Asset API", + "version": "v1p5beta1" + }, + { "description": "The Cloud Asset API manages the history and inventory of Google Cloud resources.", "discoveryRestUrl": "https://cloudasset.googleapis.com/$discovery/rest?version=v1p7beta1", + "documentationLink": "https://cloud.google.com/asset-inventory/docs/quickstart", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/asset-inventory/docs/quickstart", - "preferred": false - }, - { + "id": "cloudasset:v1p7beta1", "kind": "discovery#directoryItem", - "id": "cloudasset:v1beta1", "name": "cloudasset", - "version": "v1beta1", + "preferred": false, "title": "Cloud Asset API", + "version": "v1p7beta1" + }, + { "description": "The Cloud Asset API manages the history and inventory of Google Cloud resources.", "discoveryRestUrl": "https://cloudasset.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://cloud.google.com/asset-inventory/docs/quickstart", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/asset-inventory/docs/quickstart", - "preferred": false - }, - { + "id": "cloudasset:v1beta1", "kind": "discovery#directoryItem", - "id": "cloudasset:v1", "name": "cloudasset", - "version": "v1", + "preferred": false, "title": "Cloud Asset API", + "version": "v1beta1" + }, + { "description": "The Cloud Asset API manages the history and inventory of Google Cloud resources.", "discoveryRestUrl": "https://cloudasset.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/asset-inventory/docs/quickstart", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/asset-inventory/docs/quickstart", - "preferred": true + "id": "cloudasset:v1", + "kind": "discovery#directoryItem", + "name": "cloudasset", + "preferred": true, + "title": "Cloud Asset API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "cloudbilling:v1beta", - "name": "cloudbilling", - "version": "v1beta", - "title": "Cloud Billing API", "description": "Allows developers to manage billing for their Google Cloud Platform projects programmatically.", "discoveryRestUrl": "https://cloudbilling.googleapis.com/$discovery/rest?version=v1beta", + "documentationLink": "https://cloud.google.com/billing/docs/apis", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/billing/docs/apis", - "preferred": false - }, - { + "id": "cloudbilling:v1beta", "kind": "discovery#directoryItem", - "id": "cloudbilling:v1", "name": "cloudbilling", - "version": "v1", + "preferred": false, "title": "Cloud Billing API", + "version": "v1beta" + }, + { "description": "Allows developers to manage billing for their Google Cloud Platform projects programmatically.", "discoveryRestUrl": "https://cloudbilling.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/billing/docs/apis", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/billing/docs/apis", - "preferred": true + "id": "cloudbilling:v1", + "kind": "discovery#directoryItem", + "name": "cloudbilling", + "preferred": true, + "title": "Cloud Billing API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "cloudbuild:v1", - "name": "cloudbuild", - "version": "v1", - "title": "Cloud Build API", "description": "Creates and manages builds on Google Cloud Platform.", "discoveryRestUrl": "https://cloudbuild.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/cloud-build/docs/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/cloud-build/docs/", - "preferred": false - }, - { + "id": "cloudbuild:v1", "kind": "discovery#directoryItem", - "id": "cloudbuild:v2", "name": "cloudbuild", - "version": "v2", + "preferred": false, "title": "Cloud Build API", + "version": "v1" + }, + { "description": "Creates and manages builds on Google Cloud Platform.", "discoveryRestUrl": "https://cloudbuild.googleapis.com/$discovery/rest?version=v2", + "documentationLink": "https://cloud.google.com/cloud-build/docs/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/cloud-build/docs/", - "preferred": true + "id": "cloudbuild:v2", + "kind": "discovery#directoryItem", + "name": "cloudbuild", + "preferred": true, + "title": "Cloud Build API", + "version": "v2" }, { - "kind": "discovery#directoryItem", - "id": "cloudchannel:v1", - "name": "cloudchannel", - "version": "v1", - "title": "Cloud Channel API", "description": "The Cloud Channel API enables Google Cloud partners to have a single unified resale platform and APIs across all of Google Cloud including GCP, Workspace, Maps and Chrome.", "discoveryRestUrl": "https://cloudchannel.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/channel", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/channel", - "preferred": true + "id": "cloudchannel:v1", + "kind": "discovery#directoryItem", + "name": "cloudchannel", + "preferred": true, + "title": "Cloud Channel API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "cloudcontrolspartner:v1beta", - "name": "cloudcontrolspartner", - "version": "v1beta", - "title": "Cloud Controls Partner API", "description": "Provides insights about your customers and their Assured Workloads based on your Sovereign Controls by Partners offering.", "discoveryRestUrl": "https://cloudcontrolspartner.googleapis.com/$discovery/rest?version=v1beta", + "documentationLink": "https://cloud.google.com/sovereign-controls-by-partners/docs/sovereign-partners/reference/rest", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/sovereign-controls-by-partners/docs/sovereign-partners/reference/rest", - "preferred": false - }, - { + "id": "cloudcontrolspartner:v1beta", "kind": "discovery#directoryItem", - "id": "cloudcontrolspartner:v1", "name": "cloudcontrolspartner", - "version": "v1", + "preferred": false, "title": "Cloud Controls Partner API", + "version": "v1beta" + }, + { "description": "Provides insights about your customers and their Assured Workloads based on your Sovereign Controls by Partners offering.", "discoveryRestUrl": "https://cloudcontrolspartner.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/sovereign-controls-by-partners/docs/sovereign-partners/reference/rest", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/sovereign-controls-by-partners/docs/sovereign-partners/reference/rest", - "preferred": true + "id": "cloudcontrolspartner:v1", + "kind": "discovery#directoryItem", + "name": "cloudcontrolspartner", + "preferred": true, + "title": "Cloud Controls Partner API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "clouddeploy:v1", - "name": "clouddeploy", - "version": "v1", - "title": "Cloud Deploy API", "description": "", "discoveryRestUrl": "https://clouddeploy.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/deploy/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/deploy/", - "preferred": true + "id": "clouddeploy:v1", + "kind": "discovery#directoryItem", + "name": "clouddeploy", + "preferred": true, + "title": "Cloud Deploy API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "clouderrorreporting:v1beta1", - "name": "clouderrorreporting", - "version": "v1beta1", - "title": "Error Reporting API", "description": "Groups and counts similar errors from cloud services and applications, reports new errors, and provides access to error groups and their associated errors.", "discoveryRestUrl": "https://clouderrorreporting.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://cloud.google.com/error-reporting/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/error-reporting/", - "preferred": true + "id": "clouderrorreporting:v1beta1", + "kind": "discovery#directoryItem", + "name": "clouderrorreporting", + "preferred": true, + "title": "Error Reporting API", + "version": "v1beta1" }, { - "kind": "discovery#directoryItem", - "id": "cloudfunctions:v2alpha", - "name": "cloudfunctions", - "version": "v2alpha", - "title": "Cloud Functions API", "description": "Manages lightweight user-provided functions executed in response to events.", "discoveryRestUrl": "https://cloudfunctions.googleapis.com/$discovery/rest?version=v2alpha", + "documentationLink": "https://cloud.google.com/functions", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/functions", - "preferred": false - }, - { + "id": "cloudfunctions:v2alpha", "kind": "discovery#directoryItem", - "id": "cloudfunctions:v2beta", "name": "cloudfunctions", - "version": "v2beta", + "preferred": false, "title": "Cloud Functions API", + "version": "v2alpha" + }, + { "description": "Manages lightweight user-provided functions executed in response to events.", "discoveryRestUrl": "https://cloudfunctions.googleapis.com/$discovery/rest?version=v2beta", + "documentationLink": "https://cloud.google.com/functions", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/functions", - "preferred": false - }, - { + "id": "cloudfunctions:v2beta", "kind": "discovery#directoryItem", - "id": "cloudfunctions:v1", "name": "cloudfunctions", - "version": "v1", + "preferred": false, "title": "Cloud Functions API", + "version": "v2beta" + }, + { "description": "Manages lightweight user-provided functions executed in response to events.", "discoveryRestUrl": "https://cloudfunctions.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/functions", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/functions", - "preferred": false - }, - { + "id": "cloudfunctions:v1", "kind": "discovery#directoryItem", - "id": "cloudfunctions:v2", "name": "cloudfunctions", - "version": "v2", + "preferred": false, "title": "Cloud Functions API", + "version": "v1" + }, + { "description": "Manages lightweight user-provided functions executed in response to events.", "discoveryRestUrl": "https://cloudfunctions.googleapis.com/$discovery/rest?version=v2", + "documentationLink": "https://cloud.google.com/functions", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/functions", - "preferred": true + "id": "cloudfunctions:v2", + "kind": "discovery#directoryItem", + "name": "cloudfunctions", + "preferred": true, + "title": "Cloud Functions API", + "version": "v2" }, { - "kind": "discovery#directoryItem", - "id": "cloudidentity:v1beta1", - "name": "cloudidentity", - "version": "v1beta1", - "title": "Cloud Identity API", "description": "API for provisioning and managing identity resources.", "discoveryRestUrl": "https://cloudidentity.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://cloud.google.com/identity/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/identity/", - "preferred": false - }, - { + "id": "cloudidentity:v1beta1", "kind": "discovery#directoryItem", - "id": "cloudidentity:v1", "name": "cloudidentity", - "version": "v1", + "preferred": false, "title": "Cloud Identity API", + "version": "v1beta1" + }, + { "description": "API for provisioning and managing identity resources.", "discoveryRestUrl": "https://cloudidentity.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/identity/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/identity/", - "preferred": true + "id": "cloudidentity:v1", + "kind": "discovery#directoryItem", + "name": "cloudidentity", + "preferred": true, + "title": "Cloud Identity API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "cloudkms:v1", - "name": "cloudkms", - "version": "v1", - "title": "Cloud Key Management Service (KMS) API", "description": "Manages keys and performs cryptographic operations in a central cloud service, for direct use by other cloud resources and applications.", "discoveryRestUrl": "https://cloudkms.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/kms/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/kms/", - "preferred": true + "id": "cloudkms:v1", + "kind": "discovery#directoryItem", + "name": "cloudkms", + "preferred": true, + "title": "Cloud Key Management Service (KMS) API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "cloudprofiler:v2", - "name": "cloudprofiler", - "version": "v2", - "title": "Cloud Profiler API", "description": "Manages continuous profiling information.", "discoveryRestUrl": "https://cloudprofiler.googleapis.com/$discovery/rest?version=v2", + "documentationLink": "https://cloud.google.com/profiler/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/profiler/", - "preferred": true + "id": "cloudprofiler:v2", + "kind": "discovery#directoryItem", + "name": "cloudprofiler", + "preferred": true, + "title": "Cloud Profiler API", + "version": "v2" }, { - "kind": "discovery#directoryItem", - "id": "cloudresourcemanager:v1beta1", - "name": "cloudresourcemanager", - "version": "v1beta1", - "title": "Cloud Resource Manager API", "description": "Creates, reads, and updates metadata for Google Cloud Platform resource containers.", "discoveryRestUrl": "https://cloudresourcemanager.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://cloud.google.com/resource-manager", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/resource-manager", - "preferred": false - }, - { + "id": "cloudresourcemanager:v1beta1", "kind": "discovery#directoryItem", - "id": "cloudresourcemanager:v2beta1", "name": "cloudresourcemanager", - "version": "v2beta1", + "preferred": false, "title": "Cloud Resource Manager API", + "version": "v1beta1" + }, + { "description": "Creates, reads, and updates metadata for Google Cloud Platform resource containers.", "discoveryRestUrl": "https://cloudresourcemanager.googleapis.com/$discovery/rest?version=v2beta1", + "documentationLink": "https://cloud.google.com/resource-manager", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/resource-manager", - "preferred": false - }, - { + "id": "cloudresourcemanager:v2beta1", "kind": "discovery#directoryItem", - "id": "cloudresourcemanager:v1", "name": "cloudresourcemanager", - "version": "v1", + "preferred": false, "title": "Cloud Resource Manager API", + "version": "v2beta1" + }, + { "description": "Creates, reads, and updates metadata for Google Cloud Platform resource containers.", "discoveryRestUrl": "https://cloudresourcemanager.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/resource-manager", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/resource-manager", - "preferred": false - }, - { + "id": "cloudresourcemanager:v1", "kind": "discovery#directoryItem", - "id": "cloudresourcemanager:v2", "name": "cloudresourcemanager", - "version": "v2", + "preferred": false, "title": "Cloud Resource Manager API", + "version": "v1" + }, + { "description": "Creates, reads, and updates metadata for Google Cloud Platform resource containers.", "discoveryRestUrl": "https://cloudresourcemanager.googleapis.com/$discovery/rest?version=v2", + "documentationLink": "https://cloud.google.com/resource-manager", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/resource-manager", - "preferred": false - }, - { + "id": "cloudresourcemanager:v2", "kind": "discovery#directoryItem", - "id": "cloudresourcemanager:v3", "name": "cloudresourcemanager", - "version": "v3", + "preferred": false, "title": "Cloud Resource Manager API", + "version": "v2" + }, + { "description": "Creates, reads, and updates metadata for Google Cloud Platform resource containers.", "discoveryRestUrl": "https://cloudresourcemanager.googleapis.com/$discovery/rest?version=v3", + "documentationLink": "https://cloud.google.com/resource-manager", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/resource-manager", - "preferred": true + "id": "cloudresourcemanager:v3", + "kind": "discovery#directoryItem", + "name": "cloudresourcemanager", + "preferred": true, + "title": "Cloud Resource Manager API", + "version": "v3" }, { - "kind": "discovery#directoryItem", - "id": "cloudscheduler:v1beta1", - "name": "cloudscheduler", - "version": "v1beta1", - "title": "Cloud Scheduler API", "description": "Creates and manages jobs run on a regular recurring schedule.", "discoveryRestUrl": "https://cloudscheduler.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://cloud.google.com/scheduler/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/scheduler/", - "preferred": false - }, - { + "id": "cloudscheduler:v1beta1", "kind": "discovery#directoryItem", - "id": "cloudscheduler:v1", "name": "cloudscheduler", - "version": "v1", + "preferred": false, "title": "Cloud Scheduler API", + "version": "v1beta1" + }, + { "description": "Creates and manages jobs run on a regular recurring schedule.", "discoveryRestUrl": "https://cloudscheduler.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/scheduler/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/scheduler/", - "preferred": true + "id": "cloudscheduler:v1", + "kind": "discovery#directoryItem", + "name": "cloudscheduler", + "preferred": true, + "title": "Cloud Scheduler API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "cloudsearch:v1", - "name": "cloudsearch", - "version": "v1", - "title": "Cloud Search API", "description": "Cloud Search provides cloud-based search capabilities over Google Workspace data. The Cloud Search API allows indexing of non-Google Workspace data into Cloud Search.", "discoveryRestUrl": "https://cloudsearch.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/cloud-search/docs/guides/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/cloud-search/docs/guides/", - "preferred": true + "id": "cloudsearch:v1", + "kind": "discovery#directoryItem", + "name": "cloudsearch", + "preferred": true, + "title": "Cloud Search API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "cloudshell:v1", - "name": "cloudshell", - "version": "v1", - "title": "Cloud Shell API", "description": "Allows users to start, configure, and connect to interactive shell sessions running in the cloud.", "discoveryRestUrl": "https://cloudshell.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/shell/docs/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/shell/docs/", - "preferred": true + "id": "cloudshell:v1", + "kind": "discovery#directoryItem", + "name": "cloudshell", + "preferred": true, + "title": "Cloud Shell API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "cloudsupport:v2beta", - "name": "cloudsupport", - "version": "v2beta", - "title": "Google Cloud Support API", "description": "Manages Google Cloud technical support cases for Customer Care support offerings.", "discoveryRestUrl": "https://cloudsupport.googleapis.com/$discovery/rest?version=v2beta", + "documentationLink": "https://cloud.google.com/support/docs/apis", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/support/docs/apis", - "preferred": false - }, - { + "id": "cloudsupport:v2beta", "kind": "discovery#directoryItem", - "id": "cloudsupport:v2", "name": "cloudsupport", - "version": "v2", + "preferred": false, "title": "Google Cloud Support API", + "version": "v2beta" + }, + { "description": "Manages Google Cloud technical support cases for Customer Care support offerings.", "discoveryRestUrl": "https://cloudsupport.googleapis.com/$discovery/rest?version=v2", + "documentationLink": "https://cloud.google.com/support/docs/apis", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/support/docs/apis", - "preferred": true + "id": "cloudsupport:v2", + "kind": "discovery#directoryItem", + "name": "cloudsupport", + "preferred": true, + "title": "Google Cloud Support API", + "version": "v2" }, { - "kind": "discovery#directoryItem", - "id": "cloudtasks:v2beta2", - "name": "cloudtasks", - "version": "v2beta2", - "title": "Cloud Tasks API", "description": "Manages the execution of large numbers of distributed requests.", "discoveryRestUrl": "https://cloudtasks.googleapis.com/$discovery/rest?version=v2beta2", + "documentationLink": "https://cloud.google.com/tasks/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/tasks/", - "preferred": false - }, - { + "id": "cloudtasks:v2beta2", "kind": "discovery#directoryItem", - "id": "cloudtasks:v2beta3", "name": "cloudtasks", - "version": "v2beta3", + "preferred": false, "title": "Cloud Tasks API", + "version": "v2beta2" + }, + { "description": "Manages the execution of large numbers of distributed requests.", "discoveryRestUrl": "https://cloudtasks.googleapis.com/$discovery/rest?version=v2beta3", + "documentationLink": "https://cloud.google.com/tasks/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/tasks/", - "preferred": false - }, - { + "id": "cloudtasks:v2beta3", "kind": "discovery#directoryItem", - "id": "cloudtasks:v2", "name": "cloudtasks", - "version": "v2", + "preferred": false, "title": "Cloud Tasks API", + "version": "v2beta3" + }, + { "description": "Manages the execution of large numbers of distributed requests.", "discoveryRestUrl": "https://cloudtasks.googleapis.com/$discovery/rest?version=v2", + "documentationLink": "https://cloud.google.com/tasks/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/tasks/", - "preferred": true + "id": "cloudtasks:v2", + "kind": "discovery#directoryItem", + "name": "cloudtasks", + "preferred": true, + "title": "Cloud Tasks API", + "version": "v2" }, { - "kind": "discovery#directoryItem", - "id": "cloudtrace:v2beta1", - "name": "cloudtrace", - "version": "v2beta1", - "title": "Cloud Trace API", "description": "Sends application trace data to Cloud Trace for viewing. Trace data is collected for all App Engine applications by default. Trace data from other applications can be provided using this API. This library is used to interact with the Cloud Trace API directly. If you are looking to instrument your application for Cloud Trace, we recommend using OpenTelemetry.", "discoveryRestUrl": "https://cloudtrace.googleapis.com/$discovery/rest?version=v2beta1", + "documentationLink": "https://cloud.google.com/trace", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/trace", - "preferred": false - }, - { + "id": "cloudtrace:v2beta1", "kind": "discovery#directoryItem", - "id": "cloudtrace:v1", "name": "cloudtrace", - "version": "v1", + "preferred": false, "title": "Cloud Trace API", + "version": "v2beta1" + }, + { "description": "Sends application trace data to Cloud Trace for viewing. Trace data is collected for all App Engine applications by default. Trace data from other applications can be provided using this API. This library is used to interact with the Cloud Trace API directly. If you are looking to instrument your application for Cloud Trace, we recommend using OpenTelemetry.", "discoveryRestUrl": "https://cloudtrace.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/trace", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/trace", - "preferred": false - }, - { + "id": "cloudtrace:v1", "kind": "discovery#directoryItem", - "id": "cloudtrace:v2", "name": "cloudtrace", - "version": "v2", + "preferred": false, "title": "Cloud Trace API", + "version": "v1" + }, + { "description": "Sends application trace data to Cloud Trace for viewing. Trace data is collected for all App Engine applications by default. Trace data from other applications can be provided using this API. This library is used to interact with the Cloud Trace API directly. If you are looking to instrument your application for Cloud Trace, we recommend using OpenTelemetry.", "discoveryRestUrl": "https://cloudtrace.googleapis.com/$discovery/rest?version=v2", + "documentationLink": "https://cloud.google.com/trace", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/trace", - "preferred": true + "id": "cloudtrace:v2", + "kind": "discovery#directoryItem", + "name": "cloudtrace", + "preferred": true, + "title": "Cloud Trace API", + "version": "v2" }, { - "kind": "discovery#directoryItem", - "id": "composer:v1beta1", - "name": "composer", - "version": "v1beta1", - "title": "Cloud Composer API", "description": "Manages Apache Airflow environments on Google Cloud Platform.", "discoveryRestUrl": "https://composer.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://cloud.google.com/composer/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/composer/", - "preferred": false - }, - { + "id": "composer:v1beta1", "kind": "discovery#directoryItem", - "id": "composer:v1", "name": "composer", - "version": "v1", + "preferred": false, "title": "Cloud Composer API", + "version": "v1beta1" + }, + { "description": "Manages Apache Airflow environments on Google Cloud Platform.", "discoveryRestUrl": "https://composer.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/composer/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/composer/", - "preferred": true + "id": "composer:v1", + "kind": "discovery#directoryItem", + "name": "composer", + "preferred": true, + "title": "Cloud Composer API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "compute:alpha", - "name": "compute", - "version": "alpha", - "title": "Compute Engine API", "description": "Creates and runs virtual machines on Google Cloud Platform.", - "discoveryRestUrl": "https://www.googleapis.com/discovery/v1/apis/compute/alpha/rest", "discoveryLink": "./apis/compute/alpha/rest", + "discoveryRestUrl": "https://www.googleapis.com/discovery/v1/apis/compute/alpha/rest", + "documentationLink": "https://developers.google.com/compute/docs/reference/latest/", "icons": { "x16": "https://www.google.com/images/icons/product/compute_engine-16.png", "x32": "https://www.google.com/images/icons/product/compute_engine-32.png" }, - "documentationLink": "https://developers.google.com/compute/docs/reference/latest/", - "preferred": false - }, - { + "id": "compute:alpha", "kind": "discovery#directoryItem", - "id": "compute:beta", "name": "compute", - "version": "beta", + "preferred": false, "title": "Compute Engine API", + "version": "alpha" + }, + { "description": "Creates and runs virtual machines on Google Cloud Platform.", - "discoveryRestUrl": "https://www.googleapis.com/discovery/v1/apis/compute/beta/rest", "discoveryLink": "./apis/compute/beta/rest", + "discoveryRestUrl": "https://www.googleapis.com/discovery/v1/apis/compute/beta/rest", + "documentationLink": "https://developers.google.com/compute/docs/reference/latest/", "icons": { "x16": "https://www.google.com/images/icons/product/compute_engine-16.png", "x32": "https://www.google.com/images/icons/product/compute_engine-32.png" }, - "documentationLink": "https://developers.google.com/compute/docs/reference/latest/", - "preferred": false - }, - { + "id": "compute:beta", "kind": "discovery#directoryItem", - "id": "compute:v1", "name": "compute", - "version": "v1", + "preferred": false, "title": "Compute Engine API", + "version": "beta" + }, + { "description": "Creates and runs virtual machines on Google Cloud Platform.", - "discoveryRestUrl": "https://www.googleapis.com/discovery/v1/apis/compute/v1/rest", "discoveryLink": "./apis/compute/v1/rest", + "discoveryRestUrl": "https://www.googleapis.com/discovery/v1/apis/compute/v1/rest", + "documentationLink": "https://developers.google.com/compute/docs/reference/latest/", "icons": { "x16": "https://www.google.com/images/icons/product/compute_engine-16.png", "x32": "https://www.google.com/images/icons/product/compute_engine-32.png" }, - "documentationLink": "https://developers.google.com/compute/docs/reference/latest/", - "preferred": true + "id": "compute:v1", + "kind": "discovery#directoryItem", + "name": "compute", + "preferred": true, + "title": "Compute Engine API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "config:v1", - "name": "config", - "version": "v1", - "title": "Infrastructure Manager API", "description": "Creates and manages Google Cloud Platform resources and infrastructure.", "discoveryRestUrl": "https://config.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/infrastructure-manager/docs", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/infrastructure-manager/docs", - "preferred": true + "id": "config:v1", + "kind": "discovery#directoryItem", + "name": "config", + "preferred": true, + "title": "Infrastructure Manager API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "connectors:v1", - "name": "connectors", - "version": "v1", - "title": "Connectors API", "description": "Enables users to create and manage connections to Google Cloud services and third-party business applications using the Connectors interface.", "discoveryRestUrl": "https://connectors.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/apigee/docs/api-platform/connectors/about-connectors", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/apigee/docs/api-platform/connectors/about-connectors", - "preferred": false - }, - { + "id": "connectors:v1", "kind": "discovery#directoryItem", - "id": "connectors:v2", "name": "connectors", - "version": "v2", + "preferred": false, "title": "Connectors API", + "version": "v1" + }, + { "description": "Enables users to create and manage connections to Google Cloud services and third-party business applications using the Connectors interface.", "discoveryRestUrl": "https://connectors.googleapis.com/$discovery/rest?version=v2", + "documentationLink": "https://cloud.google.com/apigee/docs/api-platform/connectors/about-connectors", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/apigee/docs/api-platform/connectors/about-connectors", - "preferred": true + "id": "connectors:v2", + "kind": "discovery#directoryItem", + "name": "connectors", + "preferred": true, + "title": "Connectors API", + "version": "v2" }, { - "kind": "discovery#directoryItem", - "id": "contactcenteraiplatform:v1alpha1", - "name": "contactcenteraiplatform", - "version": "v1alpha1", - "title": "Contact Center AI Platform API", "description": "", "discoveryRestUrl": "https://contactcenteraiplatform.googleapis.com/$discovery/rest?version=v1alpha1", + "documentationLink": "https://cloud.google.com/solutions/contact-center-ai-platform", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/solutions/contact-center-ai-platform", - "preferred": true + "id": "contactcenteraiplatform:v1alpha1", + "kind": "discovery#directoryItem", + "name": "contactcenteraiplatform", + "preferred": true, + "title": "Contact Center AI Platform API", + "version": "v1alpha1" }, { - "kind": "discovery#directoryItem", - "id": "contactcenterinsights:v1", - "name": "contactcenterinsights", - "version": "v1", - "title": "Contact Center AI Insights API", "description": "", "discoveryRestUrl": "https://contactcenterinsights.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/contact-center/insights/docs", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/contact-center/insights/docs", - "preferred": true + "id": "contactcenterinsights:v1", + "kind": "discovery#directoryItem", + "name": "contactcenterinsights", + "preferred": true, + "title": "Contact Center AI Insights API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "container:v1beta1", - "name": "container", - "version": "v1beta1", - "title": "Kubernetes Engine API", "description": "Builds and manages container-based applications, powered by the open source Kubernetes technology.", "discoveryRestUrl": "https://container.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://cloud.google.com/container-engine/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/container-engine/", - "preferred": false - }, - { + "id": "container:v1beta1", "kind": "discovery#directoryItem", - "id": "container:v1", "name": "container", - "version": "v1", + "preferred": false, "title": "Kubernetes Engine API", + "version": "v1beta1" + }, + { "description": "Builds and manages container-based applications, powered by the open source Kubernetes technology.", "discoveryRestUrl": "https://container.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/container-engine/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/container-engine/", - "preferred": true + "id": "container:v1", + "kind": "discovery#directoryItem", + "name": "container", + "preferred": true, + "title": "Kubernetes Engine API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "containeranalysis:v1alpha1", - "name": "containeranalysis", - "version": "v1alpha1", - "title": "Container Analysis API", "description": "This API is a prerequisite for leveraging Artifact Analysis scanning capabilities in both Artifact Registry and with Advanced Vulnerability Insights (runtime scanning) in GKE. In addition, the Container Analysis API is an implementation of the Grafeas API, which enables storing, querying, and retrieval of critical metadata about all of your software artifacts.", "discoveryRestUrl": "https://containeranalysis.googleapis.com/$discovery/rest?version=v1alpha1", + "documentationLink": "https://cloud.google.com/container-analysis/api/reference/rest/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/container-analysis/api/reference/rest/", - "preferred": false - }, - { + "id": "containeranalysis:v1alpha1", "kind": "discovery#directoryItem", - "id": "containeranalysis:v1beta1", "name": "containeranalysis", - "version": "v1beta1", + "preferred": false, "title": "Container Analysis API", + "version": "v1alpha1" + }, + { "description": "This API is a prerequisite for leveraging Artifact Analysis scanning capabilities in both Artifact Registry and with Advanced Vulnerability Insights (runtime scanning) in GKE. In addition, the Container Analysis API is an implementation of the Grafeas API, which enables storing, querying, and retrieval of critical metadata about all of your software artifacts.", "discoveryRestUrl": "https://containeranalysis.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://cloud.google.com/container-analysis/api/reference/rest/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/container-analysis/api/reference/rest/", - "preferred": false - }, - { + "id": "containeranalysis:v1beta1", "kind": "discovery#directoryItem", - "id": "containeranalysis:v1", "name": "containeranalysis", - "version": "v1", + "preferred": false, "title": "Container Analysis API", + "version": "v1beta1" + }, + { "description": "This API is a prerequisite for leveraging Artifact Analysis scanning capabilities in both Artifact Registry and with Advanced Vulnerability Insights (runtime scanning) in GKE. In addition, the Container Analysis API is an implementation of the Grafeas API, which enables storing, querying, and retrieval of critical metadata about all of your software artifacts.", "discoveryRestUrl": "https://containeranalysis.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/container-analysis/api/reference/rest/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/container-analysis/api/reference/rest/", - "preferred": true + "id": "containeranalysis:v1", + "kind": "discovery#directoryItem", + "name": "containeranalysis", + "preferred": true, + "title": "Container Analysis API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "content:v2.1", - "name": "content", - "version": "v2.1", - "title": "Content API for Shopping", "description": "Manage your product listings and accounts for Google Shopping", "discoveryRestUrl": "https://shoppingcontent.googleapis.com/$discovery/rest?version=v2.1", + "documentationLink": "https://developers.google.com/shopping-content/v2/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/shopping-content/v2/", - "preferred": true + "id": "content:v2.1", + "kind": "discovery#directoryItem", + "name": "content", + "preferred": true, + "title": "Content API for Shopping", + "version": "v2.1" }, { - "kind": "discovery#directoryItem", - "id": "contentwarehouse:v1", - "name": "contentwarehouse", - "version": "v1", - "title": "Document AI Warehouse API", "description": "", "discoveryRestUrl": "https://contentwarehouse.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/document-warehouse", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/document-warehouse", - "preferred": true + "id": "contentwarehouse:v1", + "kind": "discovery#directoryItem", + "name": "contentwarehouse", + "preferred": true, + "title": "Document AI Warehouse API", + "version": "v1" }, { + "description": "Programmatically manage your Comparison Shopping Service (CSS) account data at scale.", + "discoveryRestUrl": "https://css.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/comparison-shopping-services/api/overview", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "id": "css:v1", "kind": "discovery#directoryItem", - "id": "customsearch:v1", - "name": "customsearch", - "version": "v1", - "title": "Custom Search API", + "name": "css", + "preferred": true, + "title": "CSS API", + "version": "v1" + }, + { "description": "Searches over a website or collection of websites", "discoveryRestUrl": "https://customsearch.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/custom-search/v1/introduction", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/custom-search/v1/introduction", - "preferred": true + "id": "customsearch:v1", + "kind": "discovery#directoryItem", + "name": "customsearch", + "preferred": true, + "title": "Custom Search API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "datacatalog:v1beta1", - "name": "datacatalog", - "version": "v1beta1", - "title": "Google Cloud Data Catalog API", "description": "A fully managed and highly scalable data discovery and metadata management service.", "discoveryRestUrl": "https://datacatalog.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://cloud.google.com/data-catalog/docs/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/data-catalog/docs/", - "preferred": false - }, - { + "id": "datacatalog:v1beta1", "kind": "discovery#directoryItem", - "id": "datacatalog:v1", "name": "datacatalog", - "version": "v1", + "preferred": false, "title": "Google Cloud Data Catalog API", + "version": "v1beta1" + }, + { "description": "A fully managed and highly scalable data discovery and metadata management service.", "discoveryRestUrl": "https://datacatalog.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/data-catalog/docs/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/data-catalog/docs/", - "preferred": true + "id": "datacatalog:v1", + "kind": "discovery#directoryItem", + "name": "datacatalog", + "preferred": true, + "title": "Google Cloud Data Catalog API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "dataflow:v1b3", - "name": "dataflow", - "version": "v1b3", - "title": "Dataflow API", "description": "Manages Google Cloud Dataflow projects on Google Cloud Platform.", "discoveryRestUrl": "https://dataflow.googleapis.com/$discovery/rest?version=v1b3", + "documentationLink": "https://cloud.google.com/dataflow", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/dataflow", - "preferred": true + "id": "dataflow:v1b3", + "kind": "discovery#directoryItem", + "name": "dataflow", + "preferred": true, + "title": "Dataflow API", + "version": "v1b3" }, { - "kind": "discovery#directoryItem", - "id": "dataform:v1beta1", - "name": "dataform", - "version": "v1beta1", - "title": "Dataform API", "description": "Service to develop, version control, and operationalize SQL pipelines in BigQuery.", "discoveryRestUrl": "https://dataform.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://cloud.google.com/dataform/docs", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/dataform/docs", - "preferred": true + "id": "dataform:v1beta1", + "kind": "discovery#directoryItem", + "name": "dataform", + "preferred": true, + "title": "Dataform API", + "version": "v1beta1" }, { - "kind": "discovery#directoryItem", - "id": "datafusion:v1beta1", - "name": "datafusion", - "version": "v1beta1", - "title": "Cloud Data Fusion API", "description": "Cloud Data Fusion is a fully-managed, cloud native, enterprise data integration service for quickly building and managing data pipelines. It provides a graphical interface to increase time efficiency and reduce complexity, and allows business users, developers, and data scientists to easily and reliably build scalable data integration solutions to cleanse, prepare, blend, transfer and transform data without having to wrestle with infrastructure.", "discoveryRestUrl": "https://datafusion.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://cloud.google.com/data-fusion/docs", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/data-fusion/docs", - "preferred": false - }, - { + "id": "datafusion:v1beta1", "kind": "discovery#directoryItem", - "id": "datafusion:v1", "name": "datafusion", - "version": "v1", + "preferred": false, "title": "Cloud Data Fusion API", + "version": "v1beta1" + }, + { "description": "Cloud Data Fusion is a fully-managed, cloud native, enterprise data integration service for quickly building and managing data pipelines. It provides a graphical interface to increase time efficiency and reduce complexity, and allows business users, developers, and data scientists to easily and reliably build scalable data integration solutions to cleanse, prepare, blend, transfer and transform data without having to wrestle with infrastructure.", "discoveryRestUrl": "https://datafusion.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/data-fusion/docs", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/data-fusion/docs", - "preferred": true + "id": "datafusion:v1", + "kind": "discovery#directoryItem", + "name": "datafusion", + "preferred": true, + "title": "Cloud Data Fusion API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "datalabeling:v1beta1", - "name": "datalabeling", - "version": "v1beta1", - "title": "Data Labeling API", "description": "Public API for Google Cloud AI Data Labeling Service.", "discoveryRestUrl": "https://datalabeling.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://cloud.google.com/data-labeling/docs/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/data-labeling/docs/", - "preferred": true + "id": "datalabeling:v1beta1", + "kind": "discovery#directoryItem", + "name": "datalabeling", + "preferred": true, + "title": "Data Labeling API", + "version": "v1beta1" }, { - "kind": "discovery#directoryItem", - "id": "datalineage:v1", - "name": "datalineage", - "version": "v1", - "title": "Data Lineage API", "description": "", "discoveryRestUrl": "https://datalineage.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/data-catalog", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/data-catalog", - "preferred": true + "id": "datalineage:v1", + "kind": "discovery#directoryItem", + "name": "datalineage", + "preferred": true, + "title": "Data Lineage API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "datamigration:v1beta1", - "name": "datamigration", - "version": "v1beta1", - "title": "Database Migration API", "description": "Manage Cloud Database Migration Service resources on Google Cloud Platform.", "discoveryRestUrl": "https://datamigration.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://cloud.google.com/database-migration/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/database-migration/", - "preferred": false - }, - { + "id": "datamigration:v1beta1", "kind": "discovery#directoryItem", - "id": "datamigration:v1", "name": "datamigration", - "version": "v1", + "preferred": false, "title": "Database Migration API", + "version": "v1beta1" + }, + { "description": "Manage Cloud Database Migration Service resources on Google Cloud Platform.", "discoveryRestUrl": "https://datamigration.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/database-migration/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/database-migration/", - "preferred": true + "id": "datamigration:v1", + "kind": "discovery#directoryItem", + "name": "datamigration", + "preferred": true, + "title": "Database Migration API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "datapipelines:v1", - "name": "datapipelines", - "version": "v1", - "title": "Data pipelines API", "description": "Data Pipelines provides an interface for creating, updating, and managing recurring Data Analytics jobs.", "discoveryRestUrl": "https://datapipelines.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/dataflow/docs/guides/data-pipelines", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/dataflow/docs/guides/data-pipelines", - "preferred": true + "id": "datapipelines:v1", + "kind": "discovery#directoryItem", + "name": "datapipelines", + "preferred": true, + "title": "Data pipelines API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "dataplex:v1", - "name": "dataplex", - "version": "v1", - "title": "Cloud Dataplex API", "description": "Dataplex API is used to manage the lifecycle of data lakes.", "discoveryRestUrl": "https://dataplex.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/dataplex/docs", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/dataplex/docs", - "preferred": true + "id": "dataplex:v1", + "kind": "discovery#directoryItem", + "name": "dataplex", + "preferred": true, + "title": "Cloud Dataplex API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "dataportability:v1beta", - "name": "dataportability", - "version": "v1beta", - "title": "Data Portability API", "description": "The Data Portability API lets you build applications that request authorization from a user to move a copy of data from Google services into your application. This enables data portability and facilitates switching services.", "discoveryRestUrl": "https://dataportability.googleapis.com/$discovery/rest?version=v1beta", + "documentationLink": "https://developers.google.com/data-portability", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/data-portability", - "preferred": false - }, - { + "id": "dataportability:v1beta", "kind": "discovery#directoryItem", - "id": "dataportability:v1", "name": "dataportability", - "version": "v1", + "preferred": false, "title": "Data Portability API", + "version": "v1beta" + }, + { "description": "The Data Portability API lets you build applications that request authorization from a user to move a copy of data from Google services into your application. This enables data portability and facilitates switching services.", "discoveryRestUrl": "https://dataportability.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/data-portability", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/data-portability", - "preferred": true + "id": "dataportability:v1", + "kind": "discovery#directoryItem", + "name": "dataportability", + "preferred": true, + "title": "Data Portability API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "dataproc:v1", - "name": "dataproc", - "version": "v1", - "title": "Cloud Dataproc API", "description": "Manages Hadoop-based clusters and jobs on Google Cloud Platform.", "discoveryRestUrl": "https://dataproc.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/dataproc/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/dataproc/", - "preferred": true + "id": "dataproc:v1", + "kind": "discovery#directoryItem", + "name": "dataproc", + "preferred": true, + "title": "Cloud Dataproc API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "datastore:v1beta1", - "name": "datastore", - "version": "v1beta1", - "title": "Cloud Datastore API", "description": "Accesses the schemaless NoSQL database to provide fully managed, robust, scalable storage for your application.", "discoveryRestUrl": "https://datastore.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://cloud.google.com/datastore/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/datastore/", - "preferred": false - }, - { + "id": "datastore:v1beta1", "kind": "discovery#directoryItem", - "id": "datastore:v1beta3", "name": "datastore", - "version": "v1beta3", + "preferred": false, "title": "Cloud Datastore API", + "version": "v1beta1" + }, + { "description": "Accesses the schemaless NoSQL database to provide fully managed, robust, scalable storage for your application.", "discoveryRestUrl": "https://datastore.googleapis.com/$discovery/rest?version=v1beta3", + "documentationLink": "https://cloud.google.com/datastore/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/datastore/", - "preferred": false - }, - { + "id": "datastore:v1beta3", "kind": "discovery#directoryItem", - "id": "datastore:v1", "name": "datastore", - "version": "v1", + "preferred": false, "title": "Cloud Datastore API", + "version": "v1beta3" + }, + { "description": "Accesses the schemaless NoSQL database to provide fully managed, robust, scalable storage for your application.", "discoveryRestUrl": "https://datastore.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/datastore/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/datastore/", - "preferred": true + "id": "datastore:v1", + "kind": "discovery#directoryItem", + "name": "datastore", + "preferred": true, + "title": "Cloud Datastore API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "datastream:v1alpha1", - "name": "datastream", - "version": "v1alpha1", - "title": "Datastream API", "description": "", "discoveryRestUrl": "https://datastream.googleapis.com/$discovery/rest?version=v1alpha1", + "documentationLink": "https://cloud.google.com/datastream/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/datastream/", - "preferred": false - }, - { + "id": "datastream:v1alpha1", "kind": "discovery#directoryItem", - "id": "datastream:v1", "name": "datastream", - "version": "v1", + "preferred": false, "title": "Datastream API", + "version": "v1alpha1" + }, + { "description": "", "discoveryRestUrl": "https://datastream.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/datastream/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/datastream/", - "preferred": true + "id": "datastream:v1", + "kind": "discovery#directoryItem", + "name": "datastream", + "preferred": true, + "title": "Datastream API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "deploymentmanager:alpha", - "name": "deploymentmanager", - "version": "alpha", - "title": "Cloud Deployment Manager V2 API", "description": "The Google Cloud Deployment Manager v2 API provides services for configuring, deploying, and viewing Google Cloud services and APIs via templates which specify deployments of Cloud resources.", "discoveryRestUrl": "https://deploymentmanager.googleapis.com/$discovery/rest?version=alpha", + "documentationLink": "https://cloud.google.com/deployment-manager", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/deployment-manager", - "preferred": false - }, - { + "id": "deploymentmanager:alpha", "kind": "discovery#directoryItem", - "id": "deploymentmanager:v2beta", "name": "deploymentmanager", - "version": "v2beta", + "preferred": false, "title": "Cloud Deployment Manager V2 API", + "version": "alpha" + }, + { "description": "The Google Cloud Deployment Manager v2 API provides services for configuring, deploying, and viewing Google Cloud services and APIs via templates which specify deployments of Cloud resources.", "discoveryRestUrl": "https://deploymentmanager.googleapis.com/$discovery/rest?version=v2beta", + "documentationLink": "https://cloud.google.com/deployment-manager", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/deployment-manager", - "preferred": false - }, - { + "id": "deploymentmanager:v2beta", "kind": "discovery#directoryItem", - "id": "deploymentmanager:v2", "name": "deploymentmanager", - "version": "v2", + "preferred": false, "title": "Cloud Deployment Manager V2 API", + "version": "v2beta" + }, + { "description": "The Google Cloud Deployment Manager v2 API provides services for configuring, deploying, and viewing Google Cloud services and APIs via templates which specify deployments of Cloud resources.", "discoveryRestUrl": "https://deploymentmanager.googleapis.com/$discovery/rest?version=v2", + "documentationLink": "https://cloud.google.com/deployment-manager", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/deployment-manager", - "preferred": true + "id": "deploymentmanager:v2", + "kind": "discovery#directoryItem", + "name": "deploymentmanager", + "preferred": true, + "title": "Cloud Deployment Manager V2 API", + "version": "v2" }, { - "kind": "discovery#directoryItem", - "id": "developerconnect:v1", - "name": "developerconnect", - "version": "v1", - "title": "Developer Connect API", "description": "Connect third-party source code management to Google", "discoveryRestUrl": "https://developerconnect.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "http://cloud.google.com/developer-connect/docs/overview", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "http://cloud.google.com/developer-connect/docs/overview", - "preferred": true + "id": "developerconnect:v1", + "kind": "discovery#directoryItem", + "name": "developerconnect", + "preferred": true, + "title": "Developer Connect API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "dfareporting:v3.5", - "name": "dfareporting", - "version": "v3.5", - "title": "Campaign Manager 360 API", "description": "Build applications to efficiently manage large or complex trafficking, reporting, and attribution workflows for Campaign Manager 360.", "discoveryRestUrl": "https://dfareporting.googleapis.com/$discovery/rest?version=v3.5", + "documentationLink": "https://developers.google.com/doubleclick-advertisers/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/doubleclick-advertisers/", - "preferred": false - }, - { + "id": "dfareporting:v3.5", "kind": "discovery#directoryItem", - "id": "dfareporting:v4", "name": "dfareporting", - "version": "v4", + "preferred": false, "title": "Campaign Manager 360 API", + "version": "v3.5" + }, + { "description": "Build applications to efficiently manage large or complex trafficking, reporting, and attribution workflows for Campaign Manager 360.", "discoveryRestUrl": "https://dfareporting.googleapis.com/$discovery/rest?version=v4", + "documentationLink": "https://developers.google.com/doubleclick-advertisers/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/doubleclick-advertisers/", - "preferred": true + "id": "dfareporting:v4", + "kind": "discovery#directoryItem", + "name": "dfareporting", + "preferred": true, + "title": "Campaign Manager 360 API", + "version": "v4" }, { - "kind": "discovery#directoryItem", - "id": "dialogflow:v2beta1", - "name": "dialogflow", - "version": "v2beta1", - "title": "Dialogflow API", "description": "Builds conversational interfaces (for example, chatbots, and voice-powered apps and devices).", "discoveryRestUrl": "https://dialogflow.googleapis.com/$discovery/rest?version=v2beta1", + "documentationLink": "https://cloud.google.com/dialogflow/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/dialogflow/", - "preferred": false - }, - { + "id": "dialogflow:v2beta1", "kind": "discovery#directoryItem", - "id": "dialogflow:v3beta1", "name": "dialogflow", - "version": "v3beta1", + "preferred": false, "title": "Dialogflow API", + "version": "v2beta1" + }, + { "description": "Builds conversational interfaces (for example, chatbots, and voice-powered apps and devices).", "discoveryRestUrl": "https://dialogflow.googleapis.com/$discovery/rest?version=v3beta1", + "documentationLink": "https://cloud.google.com/dialogflow/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/dialogflow/", - "preferred": false - }, - { + "id": "dialogflow:v3beta1", "kind": "discovery#directoryItem", - "id": "dialogflow:v2", "name": "dialogflow", - "version": "v2", + "preferred": false, "title": "Dialogflow API", + "version": "v3beta1" + }, + { "description": "Builds conversational interfaces (for example, chatbots, and voice-powered apps and devices).", "discoveryRestUrl": "https://dialogflow.googleapis.com/$discovery/rest?version=v2", + "documentationLink": "https://cloud.google.com/dialogflow/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/dialogflow/", - "preferred": false - }, - { + "id": "dialogflow:v2", "kind": "discovery#directoryItem", - "id": "dialogflow:v3", "name": "dialogflow", - "version": "v3", + "preferred": false, "title": "Dialogflow API", + "version": "v2" + }, + { "description": "Builds conversational interfaces (for example, chatbots, and voice-powered apps and devices).", "discoveryRestUrl": "https://dialogflow.googleapis.com/$discovery/rest?version=v3", + "documentationLink": "https://cloud.google.com/dialogflow/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/dialogflow/", - "preferred": true + "id": "dialogflow:v3", + "kind": "discovery#directoryItem", + "name": "dialogflow", + "preferred": true, + "title": "Dialogflow API", + "version": "v3" }, { - "kind": "discovery#directoryItem", - "id": "digitalassetlinks:v1", - "name": "digitalassetlinks", - "version": "v1", - "title": "Digital Asset Links API", "description": "Discovers relationships between online assets such as websites or mobile apps.", "discoveryRestUrl": "https://digitalassetlinks.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/digital-asset-links/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/digital-asset-links/", - "preferred": true + "id": "digitalassetlinks:v1", + "kind": "discovery#directoryItem", + "name": "digitalassetlinks", + "preferred": true, + "title": "Digital Asset Links API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "discovery:v1", - "name": "discovery", - "version": "v1", - "title": "API Discovery Service", "description": "Google API Discovery Service allows service consumers to list the discovery metadata of all public APIs managed by the API Platform.", "discoveryRestUrl": "https://discovery.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/discovery", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/discovery", - "preferred": true + "id": "discovery:v1", + "kind": "discovery#directoryItem", + "name": "discovery", + "preferred": true, + "title": "API Discovery Service", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "discoveryengine:v1alpha", - "name": "discoveryengine", - "version": "v1alpha", - "title": "Discovery Engine API", "description": "Discovery Engine API.", "discoveryRestUrl": "https://discoveryengine.googleapis.com/$discovery/rest?version=v1alpha", + "documentationLink": "https://cloud.google.com/discovery-engine/docs", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/discovery-engine/docs", - "preferred": false - }, - { + "id": "discoveryengine:v1alpha", "kind": "discovery#directoryItem", - "id": "discoveryengine:v1beta", "name": "discoveryengine", - "version": "v1beta", + "preferred": false, "title": "Discovery Engine API", + "version": "v1alpha" + }, + { "description": "Discovery Engine API.", "discoveryRestUrl": "https://discoveryengine.googleapis.com/$discovery/rest?version=v1beta", + "documentationLink": "https://cloud.google.com/discovery-engine/docs", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/discovery-engine/docs", - "preferred": false - }, - { + "id": "discoveryengine:v1beta", "kind": "discovery#directoryItem", - "id": "discoveryengine:v1", "name": "discoveryengine", - "version": "v1", + "preferred": false, "title": "Discovery Engine API", + "version": "v1beta" + }, + { "description": "Discovery Engine API.", "discoveryRestUrl": "https://discoveryengine.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/discovery-engine/docs", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/discovery-engine/docs", - "preferred": true + "id": "discoveryengine:v1", + "kind": "discovery#directoryItem", + "name": "discoveryengine", + "preferred": true, + "title": "Discovery Engine API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "displayvideo:v2", - "name": "displayvideo", - "version": "v2", - "title": "Display & Video 360 API", "description": "Display & Video 360 API allows users to automate complex Display & Video 360 workflows, such as creating insertion orders and setting targeting options for individual line items.", "discoveryRestUrl": "https://displayvideo.googleapis.com/$discovery/rest?version=v2", + "documentationLink": "https://developers.google.com/display-video/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/display-video/", - "preferred": false - }, - { + "id": "displayvideo:v2", "kind": "discovery#directoryItem", - "id": "displayvideo:v3", "name": "displayvideo", - "version": "v3", + "preferred": false, "title": "Display & Video 360 API", + "version": "v2" + }, + { "description": "Display & Video 360 API allows users to automate complex Display & Video 360 workflows, such as creating insertion orders and setting targeting options for individual line items.", "discoveryRestUrl": "https://displayvideo.googleapis.com/$discovery/rest?version=v3", + "documentationLink": "https://developers.google.com/display-video/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/display-video/", - "preferred": true + "id": "displayvideo:v3", + "kind": "discovery#directoryItem", + "name": "displayvideo", + "preferred": true, + "title": "Display & Video 360 API", + "version": "v3" }, { - "kind": "discovery#directoryItem", - "id": "dlp:v2", - "name": "dlp", - "version": "v2", - "title": "Sensitive Data Protection (DLP)", "description": "Discover and protect your sensitive data. A fully managed service designed to help you discover, classify, and protect your valuable data assets with ease.", "discoveryRestUrl": "https://dlp.googleapis.com/$discovery/rest?version=v2", + "documentationLink": "https://cloud.google.com/sensitive-data-protection/docs/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/sensitive-data-protection/docs/", - "preferred": true + "id": "dlp:v2", + "kind": "discovery#directoryItem", + "name": "dlp", + "preferred": true, + "title": "Sensitive Data Protection (DLP)", + "version": "v2" }, { - "kind": "discovery#directoryItem", - "id": "dns:v1beta2", - "name": "dns", - "version": "v1beta2", - "title": "Cloud DNS API", "description": "", "discoveryRestUrl": "https://dns.googleapis.com/$discovery/rest?version=v1beta2", + "documentationLink": "https://cloud.google.com/dns/docs", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/dns/docs", - "preferred": false - }, - { + "id": "dns:v1beta2", "kind": "discovery#directoryItem", - "id": "dns:v1", "name": "dns", - "version": "v1", + "preferred": false, "title": "Cloud DNS API", + "version": "v1beta2" + }, + { "description": "", "discoveryRestUrl": "https://dns.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/dns/docs", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/dns/docs", - "preferred": true + "id": "dns:v1", + "kind": "discovery#directoryItem", + "name": "dns", + "preferred": true, + "title": "Cloud DNS API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "docs:v1", - "name": "docs", - "version": "v1", - "title": "Google Docs API", "description": "Reads and writes Google Docs documents.", "discoveryRestUrl": "https://docs.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/docs/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/docs/", - "preferred": true + "id": "docs:v1", + "kind": "discovery#directoryItem", + "name": "docs", + "preferred": true, + "title": "Google Docs API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "documentai:v1beta2", - "name": "documentai", - "version": "v1beta2", - "title": "Cloud Document AI API", "description": "Service to parse structured information from unstructured or semi-structured documents using state-of-the-art Google AI such as natural language, computer vision, translation, and AutoML.", "discoveryRestUrl": "https://documentai.googleapis.com/$discovery/rest?version=v1beta2", + "documentationLink": "https://cloud.google.com/document-ai/docs/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/document-ai/docs/", - "preferred": false - }, - { + "id": "documentai:v1beta2", "kind": "discovery#directoryItem", - "id": "documentai:v1beta3", "name": "documentai", - "version": "v1beta3", + "preferred": false, "title": "Cloud Document AI API", + "version": "v1beta2" + }, + { "description": "Service to parse structured information from unstructured or semi-structured documents using state-of-the-art Google AI such as natural language, computer vision, translation, and AutoML.", "discoveryRestUrl": "https://documentai.googleapis.com/$discovery/rest?version=v1beta3", + "documentationLink": "https://cloud.google.com/document-ai/docs/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/document-ai/docs/", - "preferred": false - }, - { + "id": "documentai:v1beta3", "kind": "discovery#directoryItem", - "id": "documentai:v1", "name": "documentai", - "version": "v1", + "preferred": false, "title": "Cloud Document AI API", + "version": "v1beta3" + }, + { "description": "Service to parse structured information from unstructured or semi-structured documents using state-of-the-art Google AI such as natural language, computer vision, translation, and AutoML.", "discoveryRestUrl": "https://documentai.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/document-ai/docs/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/document-ai/docs/", - "preferred": true + "id": "documentai:v1", + "kind": "discovery#directoryItem", + "name": "documentai", + "preferred": true, + "title": "Cloud Document AI API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "domains:v1alpha2", - "name": "domains", - "version": "v1alpha2", - "title": "Cloud Domains API", "description": "Enables management and configuration of domain names.", "discoveryRestUrl": "https://domains.googleapis.com/$discovery/rest?version=v1alpha2", + "documentationLink": "https://cloud.google.com/domains/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/domains/", - "preferred": false - }, - { + "id": "domains:v1alpha2", "kind": "discovery#directoryItem", - "id": "domains:v1beta1", "name": "domains", - "version": "v1beta1", + "preferred": false, "title": "Cloud Domains API", + "version": "v1alpha2" + }, + { "description": "Enables management and configuration of domain names.", "discoveryRestUrl": "https://domains.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://cloud.google.com/domains/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/domains/", - "preferred": false - }, - { + "id": "domains:v1beta1", "kind": "discovery#directoryItem", - "id": "domains:v1", "name": "domains", - "version": "v1", + "preferred": false, "title": "Cloud Domains API", + "version": "v1beta1" + }, + { "description": "Enables management and configuration of domain names.", "discoveryRestUrl": "https://domains.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/domains/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/domains/", - "preferred": true + "id": "domains:v1", + "kind": "discovery#directoryItem", + "name": "domains", + "preferred": true, + "title": "Cloud Domains API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "domainsrdap:v1", - "name": "domainsrdap", - "version": "v1", - "title": "Domains RDAP API", "description": "Read-only public API that lets users search for information about domain names.", "discoveryRestUrl": "https://domainsrdap.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/domains/rdap/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/domains/rdap/", - "preferred": true + "id": "domainsrdap:v1", + "kind": "discovery#directoryItem", + "name": "domainsrdap", + "preferred": true, + "title": "Domains RDAP API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "doubleclickbidmanager:v2", - "name": "doubleclickbidmanager", - "version": "v2", - "title": "DoubleClick Bid Manager API", "description": "DoubleClick Bid Manager API allows users to manage and create campaigns and reports.", "discoveryRestUrl": "https://doubleclickbidmanager.googleapis.com/$discovery/rest?version=v2", + "documentationLink": "https://developers.google.com/bid-manager/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/bid-manager/", - "preferred": true + "id": "doubleclickbidmanager:v2", + "kind": "discovery#directoryItem", + "name": "doubleclickbidmanager", + "preferred": true, + "title": "DoubleClick Bid Manager API", + "version": "v2" }, { - "kind": "discovery#directoryItem", - "id": "doubleclicksearch:v2", - "name": "doubleclicksearch", - "version": "v2", - "title": "Search Ads 360 API", "description": "The Search Ads 360 API allows developers to automate uploading conversions and downloading reports from Search Ads 360.", "discoveryRestUrl": "https://doubleclicksearch.googleapis.com/$discovery/rest?version=v2", + "documentationLink": "https://developers.google.com/search-ads", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/search-ads", - "preferred": true + "id": "doubleclicksearch:v2", + "kind": "discovery#directoryItem", + "name": "doubleclicksearch", + "preferred": true, + "title": "Search Ads 360 API", + "version": "v2" }, { - "kind": "discovery#directoryItem", - "id": "drive:v2", - "name": "drive", - "version": "v2", - "title": "Drive API", "description": "Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.", - "discoveryRestUrl": "https://www.googleapis.com/discovery/v1/apis/drive/v2/rest", "discoveryLink": "./apis/drive/v2/rest", + "discoveryRestUrl": "https://www.googleapis.com/discovery/v1/apis/drive/v2/rest", + "documentationLink": "https://developers.google.com/drive/", "icons": { "x16": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png", "x32": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_32.png" }, - "documentationLink": "https://developers.google.com/drive/", - "preferred": false - }, - { + "id": "drive:v2", "kind": "discovery#directoryItem", - "id": "drive:v3", "name": "drive", - "version": "v3", + "preferred": false, "title": "Drive API", + "version": "v2" + }, + { "description": "Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.", - "discoveryRestUrl": "https://www.googleapis.com/discovery/v1/apis/drive/v3/rest", "discoveryLink": "./apis/drive/v3/rest", + "discoveryRestUrl": "https://www.googleapis.com/discovery/v1/apis/drive/v3/rest", + "documentationLink": "https://developers.google.com/drive/", "icons": { "x16": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png", "x32": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_32.png" }, - "documentationLink": "https://developers.google.com/drive/", - "preferred": true + "id": "drive:v3", + "kind": "discovery#directoryItem", + "name": "drive", + "preferred": true, + "title": "Drive API", + "version": "v3" }, { - "kind": "discovery#directoryItem", - "id": "driveactivity:v2", - "name": "driveactivity", - "version": "v2", - "title": "Drive Activity API", "description": "Provides a historical view of activity in Google Drive.", "discoveryRestUrl": "https://driveactivity.googleapis.com/$discovery/rest?version=v2", + "documentationLink": "https://developers.google.com/drive/activity/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/drive/activity/", - "preferred": true + "id": "driveactivity:v2", + "kind": "discovery#directoryItem", + "name": "driveactivity", + "preferred": true, + "title": "Drive Activity API", + "version": "v2" }, { - "kind": "discovery#directoryItem", - "id": "drivelabels:v2beta", - "name": "drivelabels", - "version": "v2beta", - "title": "Drive Labels API", "description": "An API for managing Drive Labels", "discoveryRestUrl": "https://drivelabels.googleapis.com/$discovery/rest?version=v2beta", + "documentationLink": "https://developers.google.com/drive/labels", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/drive/labels", - "preferred": false - }, - { + "id": "drivelabels:v2beta", "kind": "discovery#directoryItem", - "id": "drivelabels:v2", "name": "drivelabels", - "version": "v2", + "preferred": false, "title": "Drive Labels API", + "version": "v2beta" + }, + { "description": "An API for managing Drive Labels", "discoveryRestUrl": "https://drivelabels.googleapis.com/$discovery/rest?version=v2", + "documentationLink": "https://developers.google.com/drive/labels", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/drive/labels", - "preferred": true + "id": "drivelabels:v2", + "kind": "discovery#directoryItem", + "name": "drivelabels", + "preferred": true, + "title": "Drive Labels API", + "version": "v2" }, { - "kind": "discovery#directoryItem", - "id": "essentialcontacts:v1", - "name": "essentialcontacts", - "version": "v1", - "title": "Essential Contacts API", "description": "", "discoveryRestUrl": "https://essentialcontacts.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/essentialcontacts/docs/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/essentialcontacts/docs/", - "preferred": true + "id": "essentialcontacts:v1", + "kind": "discovery#directoryItem", + "name": "essentialcontacts", + "preferred": true, + "title": "Essential Contacts API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "eventarc:v1", - "name": "eventarc", - "version": "v1", - "title": "Eventarc API", "description": "Build event-driven applications on Google Cloud Platform.", "discoveryRestUrl": "https://eventarc.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/eventarc", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/eventarc", - "preferred": true + "id": "eventarc:v1", + "kind": "discovery#directoryItem", + "name": "eventarc", + "preferred": true, + "title": "Eventarc API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "factchecktools:v1alpha1", - "name": "factchecktools", - "version": "v1alpha1", - "title": "Fact Check Tools API", "description": "", "discoveryRestUrl": "https://factchecktools.googleapis.com/$discovery/rest?version=v1alpha1", + "documentationLink": "https://developers.google.com/fact-check/tools/api/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/fact-check/tools/api/", - "preferred": true + "id": "factchecktools:v1alpha1", + "kind": "discovery#directoryItem", + "name": "factchecktools", + "preferred": true, + "title": "Fact Check Tools API", + "version": "v1alpha1" }, { - "kind": "discovery#directoryItem", - "id": "fcm:v1", - "name": "fcm", - "version": "v1", - "title": "Firebase Cloud Messaging API", "description": "FCM send API that provides a cross-platform messaging solution to reliably deliver messages at no cost.", "discoveryRestUrl": "https://fcm.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://firebase.google.com/docs/cloud-messaging", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://firebase.google.com/docs/cloud-messaging", - "preferred": true + "id": "fcm:v1", + "kind": "discovery#directoryItem", + "name": "fcm", + "preferred": true, + "title": "Firebase Cloud Messaging API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "fcmdata:v1beta1", - "name": "fcmdata", - "version": "v1beta1", - "title": "Firebase Cloud Messaging Data API", "description": "Provides additional information about Firebase Cloud Messaging (FCM) message sends and deliveries.", "discoveryRestUrl": "https://fcmdata.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://firebase.google.com/docs/cloud-messaging", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://firebase.google.com/docs/cloud-messaging", - "preferred": true + "id": "fcmdata:v1beta1", + "kind": "discovery#directoryItem", + "name": "fcmdata", + "preferred": true, + "title": "Firebase Cloud Messaging Data API", + "version": "v1beta1" }, { - "kind": "discovery#directoryItem", - "id": "file:v1beta1", - "name": "file", - "version": "v1beta1", - "title": "Cloud Filestore API", "description": "The Cloud Filestore API is used for creating and managing cloud file servers.", "discoveryRestUrl": "https://file.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://cloud.google.com/filestore/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/filestore/", - "preferred": false - }, - { + "id": "file:v1beta1", "kind": "discovery#directoryItem", - "id": "file:v1", "name": "file", - "version": "v1", + "preferred": false, "title": "Cloud Filestore API", + "version": "v1beta1" + }, + { "description": "The Cloud Filestore API is used for creating and managing cloud file servers.", "discoveryRestUrl": "https://file.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/filestore/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/filestore/", - "preferred": true + "id": "file:v1", + "kind": "discovery#directoryItem", + "name": "file", + "preferred": true, + "title": "Cloud Filestore API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "firebase:v1beta1", - "name": "firebase", - "version": "v1beta1", - "title": "Firebase Management API", "description": "The Firebase Management API enables programmatic setup and management of Firebase projects, including a project's Firebase resources and Firebase apps.", "discoveryRestUrl": "https://firebase.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://firebase.google.com", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://firebase.google.com", - "preferred": true + "id": "firebase:v1beta1", + "kind": "discovery#directoryItem", + "name": "firebase", + "preferred": true, + "title": "Firebase Management API", + "version": "v1beta1" }, { - "kind": "discovery#directoryItem", - "id": "firebaseappcheck:v1beta", - "name": "firebaseappcheck", - "version": "v1beta", - "title": "Firebase App Check API", "description": "Firebase App Check works alongside other Firebase services to help protect your backend resources from abuse, such as billing fraud or phishing.", "discoveryRestUrl": "https://firebaseappcheck.googleapis.com/$discovery/rest?version=v1beta", + "documentationLink": "https://firebase.google.com/docs/app-check", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://firebase.google.com/docs/app-check", - "preferred": false - }, - { + "id": "firebaseappcheck:v1beta", "kind": "discovery#directoryItem", - "id": "firebaseappcheck:v1", "name": "firebaseappcheck", - "version": "v1", + "preferred": false, "title": "Firebase App Check API", + "version": "v1beta" + }, + { "description": "Firebase App Check works alongside other Firebase services to help protect your backend resources from abuse, such as billing fraud or phishing.", "discoveryRestUrl": "https://firebaseappcheck.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://firebase.google.com/docs/app-check", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://firebase.google.com/docs/app-check", - "preferred": true + "id": "firebaseappcheck:v1", + "kind": "discovery#directoryItem", + "name": "firebaseappcheck", + "preferred": true, + "title": "Firebase App Check API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "firebaseappdistribution:v1alpha", - "name": "firebaseappdistribution", - "version": "v1alpha", - "title": "Firebase App Distribution API", "description": "", "discoveryRestUrl": "https://firebaseappdistribution.googleapis.com/$discovery/rest?version=v1alpha", + "documentationLink": "https://firebase.google.com/products/app-distribution", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://firebase.google.com/products/app-distribution", - "preferred": false - }, - { + "id": "firebaseappdistribution:v1alpha", "kind": "discovery#directoryItem", - "id": "firebaseappdistribution:v1", "name": "firebaseappdistribution", - "version": "v1", + "preferred": false, "title": "Firebase App Distribution API", + "version": "v1alpha" + }, + { "description": "", "discoveryRestUrl": "https://firebaseappdistribution.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://firebase.google.com/products/app-distribution", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://firebase.google.com/products/app-distribution", - "preferred": true + "id": "firebaseappdistribution:v1", + "kind": "discovery#directoryItem", + "name": "firebaseappdistribution", + "preferred": true, + "title": "Firebase App Distribution API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "firebasedatabase:v1beta", - "name": "firebasedatabase", - "version": "v1beta", - "title": "Firebase Realtime Database API", "description": "The Firebase Realtime Database API enables programmatic provisioning and management of Realtime Database instances.", "discoveryRestUrl": "https://firebasedatabase.googleapis.com/$discovery/rest?version=v1beta", + "documentationLink": "https://firebase.google.com/docs/reference/rest/database/database-management/rest/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://firebase.google.com/docs/reference/rest/database/database-management/rest/", - "preferred": true + "id": "firebasedatabase:v1beta", + "kind": "discovery#directoryItem", + "name": "firebasedatabase", + "preferred": true, + "title": "Firebase Realtime Database API", + "version": "v1beta" }, { - "kind": "discovery#directoryItem", - "id": "firebasedynamiclinks:v1", - "name": "firebasedynamiclinks", - "version": "v1", - "title": "Firebase Dynamic Links API", "description": "Programmatically creates and manages Firebase Dynamic Links.", "discoveryRestUrl": "https://firebasedynamiclinks.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://firebase.google.com/docs/dynamic-links/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://firebase.google.com/docs/dynamic-links/", - "preferred": true + "id": "firebasedynamiclinks:v1", + "kind": "discovery#directoryItem", + "name": "firebasedynamiclinks", + "preferred": true, + "title": "Firebase Dynamic Links API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "firebasehosting:v1beta1", - "name": "firebasehosting", - "version": "v1beta1", - "title": "Firebase Hosting API", "description": "The Firebase Hosting REST API enables programmatic and customizable management and deployments to your Firebase-hosted sites. Use this REST API to create and manage channels and sites as well as to deploy new or updated hosting configurations and content files.", "discoveryRestUrl": "https://firebasehosting.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://firebase.google.com/docs/hosting/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://firebase.google.com/docs/hosting/", - "preferred": false - }, - { + "id": "firebasehosting:v1beta1", "kind": "discovery#directoryItem", - "id": "firebasehosting:v1", "name": "firebasehosting", - "version": "v1", + "preferred": false, "title": "Firebase Hosting API", + "version": "v1beta1" + }, + { "description": "The Firebase Hosting REST API enables programmatic and customizable management and deployments to your Firebase-hosted sites. Use this REST API to create and manage channels and sites as well as to deploy new or updated hosting configurations and content files.", "discoveryRestUrl": "https://firebasehosting.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://firebase.google.com/docs/hosting/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://firebase.google.com/docs/hosting/", - "preferred": true + "id": "firebasehosting:v1", + "kind": "discovery#directoryItem", + "name": "firebasehosting", + "preferred": true, + "title": "Firebase Hosting API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "firebaseml:v1beta2", - "name": "firebaseml", - "version": "v1beta2", - "title": "Firebase ML API", "description": "Access custom machine learning models hosted via Firebase ML.", "discoveryRestUrl": "https://firebaseml.googleapis.com/$discovery/rest?version=v1beta2", + "documentationLink": "https://firebase.google.com", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://firebase.google.com", - "preferred": false - }, - { + "id": "firebaseml:v1beta2", "kind": "discovery#directoryItem", - "id": "firebaseml:v2beta", "name": "firebaseml", - "version": "v2beta", + "preferred": false, "title": "Firebase ML API", + "version": "v1beta2" + }, + { "description": "Access custom machine learning models hosted via Firebase ML.", "discoveryRestUrl": "https://firebaseml.googleapis.com/$discovery/rest?version=v2beta", + "documentationLink": "https://firebase.google.com", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://firebase.google.com", - "preferred": false - }, - { + "id": "firebaseml:v2beta", "kind": "discovery#directoryItem", - "id": "firebaseml:v1", "name": "firebaseml", - "version": "v1", + "preferred": false, "title": "Firebase ML API", + "version": "v2beta" + }, + { "description": "Access custom machine learning models hosted via Firebase ML.", "discoveryRestUrl": "https://firebaseml.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://firebase.google.com", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://firebase.google.com", - "preferred": true + "id": "firebaseml:v1", + "kind": "discovery#directoryItem", + "name": "firebaseml", + "preferred": true, + "title": "Firebase ML API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "firebaserules:v1", - "name": "firebaserules", - "version": "v1", - "title": "Firebase Rules API", "description": "Creates and manages rules that determine when a Firebase Rules-enabled service should permit a request.", "discoveryRestUrl": "https://firebaserules.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://firebase.google.com/docs/storage/security", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://firebase.google.com/docs/storage/security", - "preferred": true + "id": "firebaserules:v1", + "kind": "discovery#directoryItem", + "name": "firebaserules", + "preferred": true, + "title": "Firebase Rules API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "firebasestorage:v1beta", - "name": "firebasestorage", - "version": "v1beta", - "title": "Cloud Storage for Firebase API", "description": "The Cloud Storage for Firebase API enables programmatic management of Cloud Storage buckets for use in Firebase projects", "discoveryRestUrl": "https://firebasestorage.googleapis.com/$discovery/rest?version=v1beta", + "documentationLink": "https://firebase.google.com/docs/storage", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://firebase.google.com/docs/storage", - "preferred": true + "id": "firebasestorage:v1beta", + "kind": "discovery#directoryItem", + "name": "firebasestorage", + "preferred": true, + "title": "Cloud Storage for Firebase API", + "version": "v1beta" }, { - "kind": "discovery#directoryItem", - "id": "firestore:v1beta1", - "name": "firestore", - "version": "v1beta1", - "title": "Cloud Firestore API", "description": "Accesses the NoSQL document database built for automatic scaling, high performance, and ease of application development.", "discoveryRestUrl": "https://firestore.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://cloud.google.com/firestore", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/firestore", - "preferred": false - }, - { + "id": "firestore:v1beta1", "kind": "discovery#directoryItem", - "id": "firestore:v1beta2", "name": "firestore", - "version": "v1beta2", + "preferred": false, "title": "Cloud Firestore API", + "version": "v1beta1" + }, + { "description": "Accesses the NoSQL document database built for automatic scaling, high performance, and ease of application development.", "discoveryRestUrl": "https://firestore.googleapis.com/$discovery/rest?version=v1beta2", + "documentationLink": "https://cloud.google.com/firestore", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/firestore", - "preferred": false - }, - { + "id": "firestore:v1beta2", "kind": "discovery#directoryItem", - "id": "firestore:v1", "name": "firestore", - "version": "v1", + "preferred": false, "title": "Cloud Firestore API", + "version": "v1beta2" + }, + { "description": "Accesses the NoSQL document database built for automatic scaling, high performance, and ease of application development.", "discoveryRestUrl": "https://firestore.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/firestore", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/firestore", - "preferred": true + "id": "firestore:v1", + "kind": "discovery#directoryItem", + "name": "firestore", + "preferred": true, + "title": "Cloud Firestore API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "fitness:v1", - "name": "fitness", - "version": "v1", - "title": "Fitness API", "description": "The Fitness API for managing users' fitness tracking data.", "discoveryRestUrl": "https://fitness.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/fit/rest/v1/get-started", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/fit/rest/v1/get-started", - "preferred": true + "id": "fitness:v1", + "kind": "discovery#directoryItem", + "name": "fitness", + "preferred": true, + "title": "Fitness API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "forms:v1", - "name": "forms", - "version": "v1", - "title": "Google Forms API", "description": "Reads and writes Google Forms and responses.", "discoveryRestUrl": "https://forms.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/forms/api", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/forms/api", - "preferred": true + "id": "forms:v1", + "kind": "discovery#directoryItem", + "name": "forms", + "preferred": true, + "title": "Google Forms API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "games:v1", - "name": "games", - "version": "v1", - "title": "Google Play Game Services", "description": "The Google Play games service allows developers to enhance games with social leaderboards, achievements, game state, sign-in with Google, and more.", "discoveryRestUrl": "https://games.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/games/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/games/", - "preferred": true + "id": "games:v1", + "kind": "discovery#directoryItem", + "name": "games", + "preferred": true, + "title": "Google Play Game Services", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "gamesConfiguration:v1configuration", - "name": "gamesConfiguration", - "version": "v1configuration", - "title": "Google Play Game Services Publishing API", "description": "The Google Play Game Services Publishing API allows developers to configure their games in Game Services.", "discoveryRestUrl": "https://gamesconfiguration.googleapis.com/$discovery/rest?version=v1configuration", + "documentationLink": "https://developers.google.com/games/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/games/", - "preferred": true + "id": "gamesConfiguration:v1configuration", + "kind": "discovery#directoryItem", + "name": "gamesConfiguration", + "preferred": true, + "title": "Google Play Game Services Publishing API", + "version": "v1configuration" }, { - "kind": "discovery#directoryItem", - "id": "gamesManagement:v1management", - "name": "gamesManagement", - "version": "v1management", - "title": "Google Play Game Management", "description": "The Google Play Game Management API allows developers to manage resources from the Google Play Game service.", "discoveryRestUrl": "https://gamesmanagement.googleapis.com/$discovery/rest?version=v1management", + "documentationLink": "https://developers.google.com/games/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/games/", - "preferred": true + "id": "gamesManagement:v1management", + "kind": "discovery#directoryItem", + "name": "gamesManagement", + "preferred": true, + "title": "Google Play Game Management", + "version": "v1management" }, { - "kind": "discovery#directoryItem", - "id": "gkebackup:v1", - "name": "gkebackup", - "version": "v1", - "title": "Backup for GKE API", "description": "Backup for GKE is a managed Kubernetes workload backup and restore service for GKE clusters.", "discoveryRestUrl": "https://gkebackup.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke", - "preferred": true + "id": "gkebackup:v1", + "kind": "discovery#directoryItem", + "name": "gkebackup", + "preferred": true, + "title": "Backup for GKE API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "gkehub:v1alpha", - "name": "gkehub", - "version": "v1alpha", - "title": "GKE Hub API", "description": "", "discoveryRestUrl": "https://gkehub.googleapis.com/$discovery/rest?version=v1alpha", + "documentationLink": "https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster", - "preferred": false - }, - { + "id": "gkehub:v1alpha", "kind": "discovery#directoryItem", - "id": "gkehub:v2alpha", "name": "gkehub", - "version": "v2alpha", + "preferred": false, "title": "GKE Hub API", + "version": "v1alpha" + }, + { "description": "", "discoveryRestUrl": "https://gkehub.googleapis.com/$discovery/rest?version=v2alpha", + "documentationLink": "https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster", - "preferred": false - }, - { + "id": "gkehub:v2alpha", "kind": "discovery#directoryItem", - "id": "gkehub:v1beta", "name": "gkehub", - "version": "v1beta", + "preferred": false, "title": "GKE Hub API", + "version": "v2alpha" + }, + { "description": "", "discoveryRestUrl": "https://gkehub.googleapis.com/$discovery/rest?version=v1beta", + "documentationLink": "https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster", - "preferred": false - }, - { + "id": "gkehub:v1beta", "kind": "discovery#directoryItem", - "id": "gkehub:v1beta1", "name": "gkehub", - "version": "v1beta1", + "preferred": false, "title": "GKE Hub API", + "version": "v1beta" + }, + { "description": "", "discoveryRestUrl": "https://gkehub.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster", - "preferred": false - }, - { + "id": "gkehub:v1beta1", "kind": "discovery#directoryItem", - "id": "gkehub:v1", "name": "gkehub", - "version": "v1", + "preferred": false, "title": "GKE Hub API", + "version": "v1beta1" + }, + { "description": "", "discoveryRestUrl": "https://gkehub.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster", - "preferred": true + "id": "gkehub:v1", + "kind": "discovery#directoryItem", + "name": "gkehub", + "preferred": true, + "title": "GKE Hub API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "gkeonprem:v1", - "name": "gkeonprem", - "version": "v1", - "title": "GDC Virtual API", "description": "", "discoveryRestUrl": "https://gkeonprem.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/anthos/clusters/docs/on-prem/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/anthos/clusters/docs/on-prem/", - "preferred": true + "id": "gkeonprem:v1", + "kind": "discovery#directoryItem", + "name": "gkeonprem", + "preferred": true, + "title": "GDC Virtual API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "gmail:v1", - "name": "gmail", - "version": "v1", - "title": "Gmail API", "description": "The Gmail API lets you view and manage Gmail mailbox data like threads, messages, and labels.", "discoveryRestUrl": "https://gmail.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/gmail/api/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/gmail/api/", - "preferred": true + "id": "gmail:v1", + "kind": "discovery#directoryItem", + "name": "gmail", + "preferred": true, + "title": "Gmail API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "gmailpostmastertools:v1beta1", - "name": "gmailpostmastertools", - "version": "v1beta1", - "title": "Gmail Postmaster Tools API", "description": "The Postmaster Tools API is a RESTful API that provides programmatic access to email traffic metrics (like spam reports, delivery errors etc) otherwise available through the Gmail Postmaster Tools UI currently.", "discoveryRestUrl": "https://gmailpostmastertools.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://developers.google.com/gmail/postmaster", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/gmail/postmaster", - "preferred": false - }, - { + "id": "gmailpostmastertools:v1beta1", "kind": "discovery#directoryItem", - "id": "gmailpostmastertools:v1", "name": "gmailpostmastertools", - "version": "v1", + "preferred": false, "title": "Gmail Postmaster Tools API", + "version": "v1beta1" + }, + { "description": "The Postmaster Tools API is a RESTful API that provides programmatic access to email traffic metrics (like spam reports, delivery errors etc) otherwise available through the Gmail Postmaster Tools UI currently.", "discoveryRestUrl": "https://gmailpostmastertools.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/gmail/postmaster", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/gmail/postmaster", - "preferred": true - }, - { + "id": "gmailpostmastertools:v1", "kind": "discovery#directoryItem", - "id": "groupsmigration:v1", - "name": "groupsmigration", - "version": "v1", - "title": "Groups Migration API", + "name": "gmailpostmastertools", + "preferred": true, + "title": "Gmail Postmaster Tools API", + "version": "v1" + }, + { "description": "The Groups Migration API allows domain administrators to archive emails into Google groups.", "discoveryRestUrl": "https://groupsmigration.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/google-apps/groups-migration/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/google-apps/groups-migration/", - "preferred": true + "id": "groupsmigration:v1", + "kind": "discovery#directoryItem", + "name": "groupsmigration", + "preferred": true, + "title": "Groups Migration API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "groupssettings:v1", - "name": "groupssettings", - "version": "v1", - "title": "Groups Settings API", "description": "The Groups Settings API allows domain administrators to view and manage access levels and advanced settings for a group.", "discoveryRestUrl": "https://groupssettings.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/admin-sdk/groups-settings", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/admin-sdk/groups-settings", - "preferred": true + "id": "groupssettings:v1", + "kind": "discovery#directoryItem", + "name": "groupssettings", + "preferred": true, + "title": "Groups Settings API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "healthcare:v1beta1", - "name": "healthcare", - "version": "v1beta1", - "title": "Cloud Healthcare API", "description": "Manage, store, and access healthcare data in Google Cloud Platform.", "discoveryRestUrl": "https://healthcare.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://cloud.google.com/healthcare", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/healthcare", - "preferred": false - }, - { + "id": "healthcare:v1beta1", "kind": "discovery#directoryItem", - "id": "healthcare:v1", "name": "healthcare", - "version": "v1", + "preferred": false, "title": "Cloud Healthcare API", + "version": "v1beta1" + }, + { "description": "Manage, store, and access healthcare data in Google Cloud Platform.", "discoveryRestUrl": "https://healthcare.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/healthcare", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/healthcare", - "preferred": true + "id": "healthcare:v1", + "kind": "discovery#directoryItem", + "name": "healthcare", + "preferred": true, + "title": "Cloud Healthcare API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "homegraph:v1", - "name": "homegraph", - "version": "v1", - "title": "HomeGraph API", "description": "", "discoveryRestUrl": "https://homegraph.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.home.google.com/cloud-to-cloud/get-started", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.home.google.com/cloud-to-cloud/get-started", - "preferred": true + "id": "homegraph:v1", + "kind": "discovery#directoryItem", + "name": "homegraph", + "preferred": true, + "title": "HomeGraph API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "iam:v2beta", - "name": "iam", - "version": "v2beta", - "title": "Identity and Access Management (IAM) API", "description": "Manages identity and access control for Google Cloud resources, including the creation of service accounts, which you can use to authenticate to Google and make API calls. Enabling this API also enables the IAM Service Account Credentials API (iamcredentials.googleapis.com). However, disabling this API doesn't disable the IAM Service Account Credentials API.", "discoveryRestUrl": "https://iam.googleapis.com/$discovery/rest?version=v2beta", + "documentationLink": "https://cloud.google.com/iam/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/iam/", - "preferred": false - }, - { + "id": "iam:v2beta", "kind": "discovery#directoryItem", - "id": "iam:v1", "name": "iam", - "version": "v1", + "preferred": false, "title": "Identity and Access Management (IAM) API", + "version": "v2beta" + }, + { "description": "Manages identity and access control for Google Cloud resources, including the creation of service accounts, which you can use to authenticate to Google and make API calls. Enabling this API also enables the IAM Service Account Credentials API (iamcredentials.googleapis.com). However, disabling this API doesn't disable the IAM Service Account Credentials API.", "discoveryRestUrl": "https://iam.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/iam/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/iam/", - "preferred": false - }, - { + "id": "iam:v1", "kind": "discovery#directoryItem", - "id": "iam:v2", "name": "iam", - "version": "v2", + "preferred": false, "title": "Identity and Access Management (IAM) API", + "version": "v1" + }, + { "description": "Manages identity and access control for Google Cloud resources, including the creation of service accounts, which you can use to authenticate to Google and make API calls. Enabling this API also enables the IAM Service Account Credentials API (iamcredentials.googleapis.com). However, disabling this API doesn't disable the IAM Service Account Credentials API.", "discoveryRestUrl": "https://iam.googleapis.com/$discovery/rest?version=v2", + "documentationLink": "https://cloud.google.com/iam/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/iam/", - "preferred": true + "id": "iam:v2", + "kind": "discovery#directoryItem", + "name": "iam", + "preferred": true, + "title": "Identity and Access Management (IAM) API", + "version": "v2" }, { - "kind": "discovery#directoryItem", - "id": "iamcredentials:v1", - "name": "iamcredentials", - "version": "v1", - "title": "IAM Service Account Credentials API", "description": "Creates short-lived credentials for impersonating IAM service accounts. Disabling this API also disables the IAM API (iam.googleapis.com). However, enabling this API doesn't enable the IAM API.", "discoveryRestUrl": "https://iamcredentials.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/iam/docs/creating-short-lived-service-account-credentials", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/iam/docs/creating-short-lived-service-account-credentials", - "preferred": true + "id": "iamcredentials:v1", + "kind": "discovery#directoryItem", + "name": "iamcredentials", + "preferred": true, + "title": "IAM Service Account Credentials API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "iap:v1beta1", - "name": "iap", - "version": "v1beta1", - "title": "Cloud Identity-Aware Proxy API", "description": "Controls access to cloud applications running on Google Cloud Platform.", "discoveryRestUrl": "https://iap.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://cloud.google.com/iap", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/iap", - "preferred": false - }, - { + "id": "iap:v1beta1", "kind": "discovery#directoryItem", - "id": "iap:v1", "name": "iap", - "version": "v1", + "preferred": false, "title": "Cloud Identity-Aware Proxy API", + "version": "v1beta1" + }, + { "description": "Controls access to cloud applications running on Google Cloud Platform.", "discoveryRestUrl": "https://iap.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/iap", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/iap", - "preferred": true + "id": "iap:v1", + "kind": "discovery#directoryItem", + "name": "iap", + "preferred": true, + "title": "Cloud Identity-Aware Proxy API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "identitytoolkit:v1", - "name": "identitytoolkit", - "version": "v1", - "title": "Identity Toolkit API", "description": "The Google Identity Toolkit API lets you use open standards to verify a user's identity.", "discoveryRestUrl": "https://identitytoolkit.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/identity-platform", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/identity-platform", - "preferred": false - }, - { + "id": "identitytoolkit:v1", "kind": "discovery#directoryItem", - "id": "identitytoolkit:v2", "name": "identitytoolkit", - "version": "v2", + "preferred": false, "title": "Identity Toolkit API", + "version": "v1" + }, + { "description": "The Google Identity Toolkit API lets you use open standards to verify a user's identity.", "discoveryRestUrl": "https://identitytoolkit.googleapis.com/$discovery/rest?version=v2", + "documentationLink": "https://cloud.google.com/identity-platform", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/identity-platform", - "preferred": false - }, - { + "id": "identitytoolkit:v2", "kind": "discovery#directoryItem", - "id": "identitytoolkit:v3", "name": "identitytoolkit", - "version": "v3", + "preferred": false, "title": "Identity Toolkit API", + "version": "v2" + }, + { "description": "The Google Identity Toolkit API lets you use open standards to verify a user's identity.", "discoveryRestUrl": "https://identitytoolkit.googleapis.com/$discovery/rest?version=v3", + "documentationLink": "https://cloud.google.com/identity-platform", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/identity-platform", - "preferred": true + "id": "identitytoolkit:v3", + "kind": "discovery#directoryItem", + "name": "identitytoolkit", + "preferred": true, + "title": "Identity Toolkit API", + "version": "v3" }, { - "kind": "discovery#directoryItem", - "id": "ids:v1", - "name": "ids", - "version": "v1", - "title": "Cloud IDS API", "description": "Cloud IDS (Cloud Intrusion Detection System) detects malware, spyware, command-and-control attacks, and other network-based threats. Its security efficacy is industry leading, built with Palo Alto Networks technologies. When you use this product, your organization name and consumption levels will be shared with Palo Alto Networks.", "discoveryRestUrl": "https://ids.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/", - "preferred": true + "id": "ids:v1", + "kind": "discovery#directoryItem", + "name": "ids", + "preferred": true, + "title": "Cloud IDS API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "indexing:v3", - "name": "indexing", - "version": "v3", - "title": "Web Search Indexing API", "description": "Notifies Google Web Search when your web pages change.", "discoveryRestUrl": "https://indexing.googleapis.com/$discovery/rest?version=v3", + "documentationLink": "https://developers.google.com/search/apis/indexing-api/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/search/apis/indexing-api/", - "preferred": true + "id": "indexing:v3", + "kind": "discovery#directoryItem", + "name": "indexing", + "preferred": true, + "title": "Web Search Indexing API", + "version": "v3" }, { - "kind": "discovery#directoryItem", - "id": "integrations:v1", - "name": "integrations", - "version": "v1", - "title": "Application Integration API", "description": "", "discoveryRestUrl": "https://integrations.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/application-integration", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/application-integration", - "preferred": true + "id": "integrations:v1", + "kind": "discovery#directoryItem", + "name": "integrations", + "preferred": true, + "title": "Application Integration API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "jobs:v3p1beta1", - "name": "jobs", - "version": "v3p1beta1", - "title": "Cloud Talent Solution API", "description": "Cloud Talent Solution provides the capability to create, read, update, and delete job postings, as well as search jobs based on keywords and filters.", "discoveryRestUrl": "https://jobs.googleapis.com/$discovery/rest?version=v3p1beta1", + "documentationLink": "https://cloud.google.com/talent-solution/job-search/docs/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/talent-solution/job-search/docs/", - "preferred": false - }, - { + "id": "jobs:v3p1beta1", "kind": "discovery#directoryItem", - "id": "jobs:v3", "name": "jobs", - "version": "v3", + "preferred": false, "title": "Cloud Talent Solution API", + "version": "v3p1beta1" + }, + { "description": "Cloud Talent Solution provides the capability to create, read, update, and delete job postings, as well as search jobs based on keywords and filters.", "discoveryRestUrl": "https://jobs.googleapis.com/$discovery/rest?version=v3", + "documentationLink": "https://cloud.google.com/talent-solution/job-search/docs/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/talent-solution/job-search/docs/", - "preferred": false - }, - { + "id": "jobs:v3", "kind": "discovery#directoryItem", - "id": "jobs:v4", "name": "jobs", - "version": "v4", + "preferred": false, "title": "Cloud Talent Solution API", + "version": "v3" + }, + { "description": "Cloud Talent Solution provides the capability to create, read, update, and delete job postings, as well as search jobs based on keywords and filters.", "discoveryRestUrl": "https://jobs.googleapis.com/$discovery/rest?version=v4", + "documentationLink": "https://cloud.google.com/talent-solution/job-search/docs/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/talent-solution/job-search/docs/", - "preferred": true + "id": "jobs:v4", + "kind": "discovery#directoryItem", + "name": "jobs", + "preferred": true, + "title": "Cloud Talent Solution API", + "version": "v4" }, { - "kind": "discovery#directoryItem", - "id": "keep:v1", - "name": "keep", - "version": "v1", - "title": "Google Keep API", "description": "The Google Keep API is used in an enterprise environment to manage Google Keep content and resolve issues identified by cloud security software.", "discoveryRestUrl": "https://keep.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/keep/api", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/keep/api", - "preferred": true + "id": "keep:v1", + "kind": "discovery#directoryItem", + "name": "keep", + "preferred": true, + "title": "Google Keep API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "kgsearch:v1", - "name": "kgsearch", - "version": "v1", - "title": "Knowledge Graph Search API", "description": "Searches the Google Knowledge Graph for entities.", "discoveryRestUrl": "https://kgsearch.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/knowledge-graph/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/knowledge-graph/", - "preferred": true + "id": "kgsearch:v1", + "kind": "discovery#directoryItem", + "name": "kgsearch", + "preferred": true, + "title": "Knowledge Graph Search API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "kmsinventory:v1", - "name": "kmsinventory", - "version": "v1", - "title": "KMS Inventory API", "description": "", "discoveryRestUrl": "https://kmsinventory.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/kms/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/kms/", - "preferred": true + "id": "kmsinventory:v1", + "kind": "discovery#directoryItem", + "name": "kmsinventory", + "preferred": true, + "title": "KMS Inventory API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "language:v1beta2", - "name": "language", - "version": "v1beta2", - "title": "Cloud Natural Language API", "description": "Provides natural language understanding technologies, such as sentiment analysis, entity recognition, entity sentiment analysis, and other text annotations, to developers.", "discoveryRestUrl": "https://language.googleapis.com/$discovery/rest?version=v1beta2", + "documentationLink": "https://cloud.google.com/natural-language/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/natural-language/", - "preferred": false - }, - { + "id": "language:v1beta2", "kind": "discovery#directoryItem", - "id": "language:v1", "name": "language", - "version": "v1", + "preferred": false, "title": "Cloud Natural Language API", + "version": "v1beta2" + }, + { "description": "Provides natural language understanding technologies, such as sentiment analysis, entity recognition, entity sentiment analysis, and other text annotations, to developers.", "discoveryRestUrl": "https://language.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/natural-language/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/natural-language/", - "preferred": false - }, - { + "id": "language:v1", "kind": "discovery#directoryItem", - "id": "language:v2", "name": "language", - "version": "v2", + "preferred": false, "title": "Cloud Natural Language API", + "version": "v1" + }, + { "description": "Provides natural language understanding technologies, such as sentiment analysis, entity recognition, entity sentiment analysis, and other text annotations, to developers.", "discoveryRestUrl": "https://language.googleapis.com/$discovery/rest?version=v2", + "documentationLink": "https://cloud.google.com/natural-language/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/natural-language/", - "preferred": true + "id": "language:v2", + "kind": "discovery#directoryItem", + "name": "language", + "preferred": true, + "title": "Cloud Natural Language API", + "version": "v2" }, { - "kind": "discovery#directoryItem", - "id": "libraryagent:v1", - "name": "libraryagent", - "version": "v1", - "title": "Library Agent API", "description": "A simple Google Example Library API.", "discoveryRestUrl": "https://libraryagent.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/docs/quota", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/docs/quota", - "preferred": true + "id": "libraryagent:v1", + "kind": "discovery#directoryItem", + "name": "libraryagent", + "preferred": true, + "title": "Library Agent API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "licensing:v1", - "name": "licensing", - "version": "v1", - "title": "Enterprise License Manager API", "description": "The Google Enterprise License Manager API lets you manage Google Workspace and related licenses for all users of a customer that you manage.", "discoveryRestUrl": "https://licensing.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/admin-sdk/licensing/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/admin-sdk/licensing/", - "preferred": true + "id": "licensing:v1", + "kind": "discovery#directoryItem", + "name": "licensing", + "preferred": true, + "title": "Enterprise License Manager API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "lifesciences:v2beta", - "name": "lifesciences", - "version": "v2beta", - "title": "Cloud Life Sciences API", "description": "Cloud Life Sciences is a suite of services and tools for managing, processing, and transforming life sciences data.", "discoveryRestUrl": "https://lifesciences.googleapis.com/$discovery/rest?version=v2beta", + "documentationLink": "https://cloud.google.com/life-sciences", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/life-sciences", - "preferred": true + "id": "lifesciences:v2beta", + "kind": "discovery#directoryItem", + "name": "lifesciences", + "preferred": true, + "title": "Cloud Life Sciences API", + "version": "v2beta" }, { - "kind": "discovery#directoryItem", - "id": "localservices:v1", - "name": "localservices", - "version": "v1", - "title": "Local Services API", "description": "", "discoveryRestUrl": "https://localservices.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://ads.google.com/local-services-ads/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://ads.google.com/local-services-ads/", - "preferred": true + "id": "localservices:v1", + "kind": "discovery#directoryItem", + "name": "localservices", + "preferred": true, + "title": "Local Services API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "logging:v2", - "name": "logging", - "version": "v2", - "title": "Cloud Logging API", "description": "Writes log entries and manages your Cloud Logging configuration.", "discoveryRestUrl": "https://logging.googleapis.com/$discovery/rest?version=v2", + "documentationLink": "https://cloud.google.com/logging/docs/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/logging/docs/", - "preferred": true + "id": "logging:v2", + "kind": "discovery#directoryItem", + "name": "logging", + "preferred": true, + "title": "Cloud Logging API", + "version": "v2" }, { - "kind": "discovery#directoryItem", - "id": "looker:v1", - "name": "looker", - "version": "v1", - "title": "Looker (Google Cloud core) API", "description": "", "discoveryRestUrl": "https://looker.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/looker/docs/reference/rest/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/looker/docs/reference/rest/", - "preferred": true + "id": "looker:v1", + "kind": "discovery#directoryItem", + "name": "looker", + "preferred": true, + "title": "Looker (Google Cloud core) API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "managedidentities:v1alpha1", - "name": "managedidentities", - "version": "v1alpha1", - "title": "Managed Service for Microsoft Active Directory API", "description": "The Managed Service for Microsoft Active Directory API is used for managing a highly available, hardened service running Microsoft Active Directory (AD).", "discoveryRestUrl": "https://managedidentities.googleapis.com/$discovery/rest?version=v1alpha1", + "documentationLink": "https://cloud.google.com/managed-microsoft-ad/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/managed-microsoft-ad/", - "preferred": false - }, - { + "id": "managedidentities:v1alpha1", "kind": "discovery#directoryItem", - "id": "managedidentities:v1beta1", "name": "managedidentities", - "version": "v1beta1", + "preferred": false, "title": "Managed Service for Microsoft Active Directory API", + "version": "v1alpha1" + }, + { "description": "The Managed Service for Microsoft Active Directory API is used for managing a highly available, hardened service running Microsoft Active Directory (AD).", "discoveryRestUrl": "https://managedidentities.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://cloud.google.com/managed-microsoft-ad/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/managed-microsoft-ad/", - "preferred": false - }, - { + "id": "managedidentities:v1beta1", "kind": "discovery#directoryItem", - "id": "managedidentities:v1", "name": "managedidentities", - "version": "v1", + "preferred": false, "title": "Managed Service for Microsoft Active Directory API", + "version": "v1beta1" + }, + { "description": "The Managed Service for Microsoft Active Directory API is used for managing a highly available, hardened service running Microsoft Active Directory (AD).", "discoveryRestUrl": "https://managedidentities.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/managed-microsoft-ad/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/managed-microsoft-ad/", - "preferred": true + "id": "managedidentities:v1", + "kind": "discovery#directoryItem", + "name": "managedidentities", + "preferred": true, + "title": "Managed Service for Microsoft Active Directory API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "manufacturers:v1", - "name": "manufacturers", - "version": "v1", - "title": "Manufacturer Center API", "description": "Public API for managing Manufacturer Center related data.", "discoveryRestUrl": "https://manufacturers.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/manufacturers/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/manufacturers/", - "preferred": true + "id": "manufacturers:v1", + "kind": "discovery#directoryItem", + "name": "manufacturers", + "preferred": true, + "title": "Manufacturer Center API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "marketingplatformadmin:v1alpha", - "name": "marketingplatformadmin", - "version": "v1alpha", - "title": "Google Marketing Platform Admin API", "description": "The Google Marketing Platform Admin API allows for programmatic access to the Google Marketing Platform configuration data. You can use the Google Marketing Platform Admin API to manage links between your Google Marketing Platform organization and Google Analytics accounts, and to set the service level of your GA4 properties.", "discoveryRestUrl": "https://marketingplatformadmin.googleapis.com/$discovery/rest?version=v1alpha", + "documentationLink": "https://developers.google.com/analytics/devguides/config/gmp/v1", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/analytics/devguides/config/gmp/v1", - "preferred": true + "id": "marketingplatformadmin:v1alpha", + "kind": "discovery#directoryItem", + "name": "marketingplatformadmin", + "preferred": true, + "title": "Google Marketing Platform Admin API", + "version": "v1alpha" }, { - "kind": "discovery#directoryItem", - "id": "meet:v2", - "name": "meet", - "version": "v2", - "title": "Google Meet API", "description": "Create and manage meetings in Google Meet.", "discoveryRestUrl": "https://meet.googleapis.com/$discovery/rest?version=v2", + "documentationLink": "https://developers.google.com/meet/api", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/meet/api", - "preferred": true + "id": "meet:v2", + "kind": "discovery#directoryItem", + "name": "meet", + "preferred": true, + "title": "Google Meet API", + "version": "v2" }, { - "kind": "discovery#directoryItem", - "id": "memcache:v1beta2", - "name": "memcache", - "version": "v1beta2", - "title": "Cloud Memorystore for Memcached API", "description": "Google Cloud Memorystore for Memcached API is used for creating and managing Memcached instances in GCP.", "discoveryRestUrl": "https://memcache.googleapis.com/$discovery/rest?version=v1beta2", + "documentationLink": "https://cloud.google.com/memorystore/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/memorystore/", - "preferred": false - }, - { + "id": "memcache:v1beta2", "kind": "discovery#directoryItem", - "id": "memcache:v1", "name": "memcache", - "version": "v1", + "preferred": false, "title": "Cloud Memorystore for Memcached API", + "version": "v1beta2" + }, + { "description": "Google Cloud Memorystore for Memcached API is used for creating and managing Memcached instances in GCP.", "discoveryRestUrl": "https://memcache.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/memorystore/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/memorystore/", - "preferred": true + "id": "memcache:v1", + "kind": "discovery#directoryItem", + "name": "memcache", + "preferred": true, + "title": "Cloud Memorystore for Memcached API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "merchantapi:accounts_v1beta", - "name": "merchantapi", - "version": "accounts_v1beta", - "title": "Merchant API", "description": "Programmatically manage your Merchant Center Accounts.", "discoveryRestUrl": "https://merchantapi.googleapis.com/$discovery/rest?version=accounts_v1beta", + "documentationLink": "https://developers.devsite.corp.google.com/merchant/api", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.devsite.corp.google.com/merchant/api", - "preferred": false - }, - { + "id": "merchantapi:accounts_v1beta", "kind": "discovery#directoryItem", - "id": "merchantapi:conversions_v1beta", "name": "merchantapi", - "version": "conversions_v1beta", + "preferred": false, "title": "Merchant API", + "version": "accounts_v1beta" + }, + { "description": "Programmatically manage your Merchant Center Accounts.", "discoveryRestUrl": "https://merchantapi.googleapis.com/$discovery/rest?version=conversions_v1beta", + "documentationLink": "https://developers.devsite.corp.google.com/merchant/api", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.devsite.corp.google.com/merchant/api", - "preferred": false - }, - { + "id": "merchantapi:conversions_v1beta", "kind": "discovery#directoryItem", - "id": "merchantapi:datasources_v1beta", "name": "merchantapi", - "version": "datasources_v1beta", + "preferred": false, "title": "Merchant API", + "version": "conversions_v1beta" + }, + { "description": "Programmatically manage your Merchant Center Accounts.", "discoveryRestUrl": "https://merchantapi.googleapis.com/$discovery/rest?version=datasources_v1beta", + "documentationLink": "https://developers.devsite.corp.google.com/merchant/api", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.devsite.corp.google.com/merchant/api", - "preferred": false - }, - { + "id": "merchantapi:datasources_v1beta", "kind": "discovery#directoryItem", - "id": "merchantapi:inventories_v1beta", "name": "merchantapi", - "version": "inventories_v1beta", + "preferred": false, "title": "Merchant API", + "version": "datasources_v1beta" + }, + { "description": "Programmatically manage your Merchant Center Accounts.", "discoveryRestUrl": "https://merchantapi.googleapis.com/$discovery/rest?version=inventories_v1beta", + "documentationLink": "https://developers.devsite.corp.google.com/merchant/api", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.devsite.corp.google.com/merchant/api", - "preferred": false - }, - { + "id": "merchantapi:inventories_v1beta", "kind": "discovery#directoryItem", - "id": "merchantapi:lfp_v1beta", "name": "merchantapi", - "version": "lfp_v1beta", + "preferred": false, "title": "Merchant API", + "version": "inventories_v1beta" + }, + { "description": "Programmatically manage your Merchant Center Accounts.", "discoveryRestUrl": "https://merchantapi.googleapis.com/$discovery/rest?version=lfp_v1beta", + "documentationLink": "https://developers.devsite.corp.google.com/merchant/api", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.devsite.corp.google.com/merchant/api", - "preferred": false - }, - { + "id": "merchantapi:lfp_v1beta", "kind": "discovery#directoryItem", - "id": "merchantapi:notifications_v1beta", "name": "merchantapi", - "version": "notifications_v1beta", + "preferred": false, "title": "Merchant API", + "version": "lfp_v1beta" + }, + { "description": "Programmatically manage your Merchant Center Accounts.", "discoveryRestUrl": "https://merchantapi.googleapis.com/$discovery/rest?version=notifications_v1beta", + "documentationLink": "https://developers.devsite.corp.google.com/merchant/api", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.devsite.corp.google.com/merchant/api", - "preferred": false - }, - { + "id": "merchantapi:notifications_v1beta", "kind": "discovery#directoryItem", - "id": "merchantapi:products_v1beta", "name": "merchantapi", - "version": "products_v1beta", + "preferred": false, "title": "Merchant API", + "version": "notifications_v1beta" + }, + { "description": "Programmatically manage your Merchant Center Accounts.", "discoveryRestUrl": "https://merchantapi.googleapis.com/$discovery/rest?version=products_v1beta", + "documentationLink": "https://developers.devsite.corp.google.com/merchant/api", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.devsite.corp.google.com/merchant/api", - "preferred": false - }, - { + "id": "merchantapi:products_v1beta", "kind": "discovery#directoryItem", - "id": "merchantapi:promotions_v1beta", "name": "merchantapi", - "version": "promotions_v1beta", + "preferred": false, "title": "Merchant API", + "version": "products_v1beta" + }, + { "description": "Programmatically manage your Merchant Center Accounts.", "discoveryRestUrl": "https://merchantapi.googleapis.com/$discovery/rest?version=promotions_v1beta", + "documentationLink": "https://developers.devsite.corp.google.com/merchant/api", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.devsite.corp.google.com/merchant/api", - "preferred": false - }, - { + "id": "merchantapi:promotions_v1beta", "kind": "discovery#directoryItem", - "id": "merchantapi:quota_v1beta", "name": "merchantapi", - "version": "quota_v1beta", + "preferred": false, "title": "Merchant API", + "version": "promotions_v1beta" + }, + { "description": "Programmatically manage your Merchant Center Accounts.", "discoveryRestUrl": "https://merchantapi.googleapis.com/$discovery/rest?version=quota_v1beta", + "documentationLink": "https://developers.devsite.corp.google.com/merchant/api", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.devsite.corp.google.com/merchant/api", - "preferred": false - }, - { + "id": "merchantapi:quota_v1beta", "kind": "discovery#directoryItem", - "id": "merchantapi:reports_v1beta", "name": "merchantapi", - "version": "reports_v1beta", + "preferred": false, "title": "Merchant API", + "version": "quota_v1beta" + }, + { "description": "Programmatically manage your Merchant Center Accounts.", "discoveryRestUrl": "https://merchantapi.googleapis.com/$discovery/rest?version=reports_v1beta", + "documentationLink": "https://developers.devsite.corp.google.com/merchant/api", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.devsite.corp.google.com/merchant/api", - "preferred": true + "id": "merchantapi:reports_v1beta", + "kind": "discovery#directoryItem", + "name": "merchantapi", + "preferred": true, + "title": "Merchant API", + "version": "reports_v1beta" }, { - "kind": "discovery#directoryItem", - "id": "metastore:v1alpha", - "name": "metastore", - "version": "v1alpha", - "title": "Dataproc Metastore API", "description": "The Dataproc Metastore API is used to manage the lifecycle and configuration of metastore services.", "discoveryRestUrl": "https://metastore.googleapis.com/$discovery/rest?version=v1alpha", + "documentationLink": "https://cloud.google.com/dataproc-metastore/docs", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/dataproc-metastore/docs", - "preferred": false - }, - { + "id": "metastore:v1alpha", "kind": "discovery#directoryItem", - "id": "metastore:v1beta", "name": "metastore", - "version": "v1beta", + "preferred": false, "title": "Dataproc Metastore API", + "version": "v1alpha" + }, + { "description": "The Dataproc Metastore API is used to manage the lifecycle and configuration of metastore services.", "discoveryRestUrl": "https://metastore.googleapis.com/$discovery/rest?version=v1beta", + "documentationLink": "https://cloud.google.com/dataproc-metastore/docs", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/dataproc-metastore/docs", - "preferred": false - }, - { + "id": "metastore:v1beta", "kind": "discovery#directoryItem", - "id": "metastore:v1", "name": "metastore", - "version": "v1", + "preferred": false, "title": "Dataproc Metastore API", + "version": "v1beta" + }, + { "description": "The Dataproc Metastore API is used to manage the lifecycle and configuration of metastore services.", "discoveryRestUrl": "https://metastore.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/dataproc-metastore/docs", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/dataproc-metastore/docs", - "preferred": true + "id": "metastore:v1", + "kind": "discovery#directoryItem", + "name": "metastore", + "preferred": true, + "title": "Dataproc Metastore API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "migrationcenter:v1alpha1", - "name": "migrationcenter", - "version": "v1alpha1", - "title": "Migration Center API", "description": "A unified platform that helps you accelerate your end-to-end cloud journey from your current on-premises or cloud environments to Google Cloud.", "discoveryRestUrl": "https://migrationcenter.googleapis.com/$discovery/rest?version=v1alpha1", + "documentationLink": "https://cloud.google.com/migration-center", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/migration-center", - "preferred": false - }, - { + "id": "migrationcenter:v1alpha1", "kind": "discovery#directoryItem", - "id": "migrationcenter:v1", "name": "migrationcenter", - "version": "v1", + "preferred": false, "title": "Migration Center API", + "version": "v1alpha1" + }, + { "description": "A unified platform that helps you accelerate your end-to-end cloud journey from your current on-premises or cloud environments to Google Cloud.", "discoveryRestUrl": "https://migrationcenter.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/migration-center", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/migration-center", - "preferred": true + "id": "migrationcenter:v1", + "kind": "discovery#directoryItem", + "name": "migrationcenter", + "preferred": true, + "title": "Migration Center API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "ml:v1", - "name": "ml", - "version": "v1", - "title": "AI Platform Training & Prediction API", "description": "An API to enable creating and using machine learning models.", "discoveryRestUrl": "https://ml.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/ml/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/ml/", - "preferred": true + "id": "ml:v1", + "kind": "discovery#directoryItem", + "name": "ml", + "preferred": true, + "title": "AI Platform Training & Prediction API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "monitoring:v1", - "name": "monitoring", - "version": "v1", - "title": "Cloud Monitoring API", "description": "Manages your Cloud Monitoring data and configurations.", "discoveryRestUrl": "https://monitoring.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/monitoring/api/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/monitoring/api/", - "preferred": false - }, - { + "id": "monitoring:v1", "kind": "discovery#directoryItem", - "id": "monitoring:v3", "name": "monitoring", - "version": "v3", + "preferred": false, "title": "Cloud Monitoring API", + "version": "v1" + }, + { "description": "Manages your Cloud Monitoring data and configurations.", "discoveryRestUrl": "https://monitoring.googleapis.com/$discovery/rest?version=v3", + "documentationLink": "https://cloud.google.com/monitoring/api/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/monitoring/api/", - "preferred": true + "id": "monitoring:v3", + "kind": "discovery#directoryItem", + "name": "monitoring", + "preferred": true, + "title": "Cloud Monitoring API", + "version": "v3" }, { - "kind": "discovery#directoryItem", - "id": "mybusinessaccountmanagement:v1", - "name": "mybusinessaccountmanagement", - "version": "v1", - "title": "My Business Account Management API", "description": "The My Business Account Management API provides an interface for managing access to a location on Google. Note - If you have a quota of 0 after enabling the API, please request for GBP API access.", "discoveryRestUrl": "https://mybusinessaccountmanagement.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/my-business/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/my-business/", - "preferred": true + "id": "mybusinessaccountmanagement:v1", + "kind": "discovery#directoryItem", + "name": "mybusinessaccountmanagement", + "preferred": true, + "title": "My Business Account Management API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "mybusinessbusinessinformation:v1", - "name": "mybusinessbusinessinformation", - "version": "v1", - "title": "My Business Business Information API", "description": "The My Business Business Information API provides an interface for managing business information. Note - If you have a quota of 0 after enabling the API, please request for GBP API access.", "discoveryRestUrl": "https://mybusinessbusinessinformation.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/my-business/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/my-business/", - "preferred": true + "id": "mybusinessbusinessinformation:v1", + "kind": "discovery#directoryItem", + "name": "mybusinessbusinessinformation", + "preferred": true, + "title": "My Business Business Information API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "mybusinesslodging:v1", - "name": "mybusinesslodging", - "version": "v1", - "title": "My Business Lodging API", "description": "The My Business Lodging API enables managing lodging business information on Google. Note - If you have a quota of 0 after enabling the API, please request for GBP API access.", "discoveryRestUrl": "https://mybusinesslodging.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/my-business/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/my-business/", - "preferred": true + "id": "mybusinesslodging:v1", + "kind": "discovery#directoryItem", + "name": "mybusinesslodging", + "preferred": true, + "title": "My Business Lodging API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "mybusinessnotifications:v1", - "name": "mybusinessnotifications", - "version": "v1", - "title": "My Business Notifications API", "description": "The My Business Notification Settings API enables managing notification settings for business accounts. Note - If you have a quota of 0 after enabling the API, please request for GBP API access.", "discoveryRestUrl": "https://mybusinessnotifications.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/my-business/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/my-business/", - "preferred": true + "id": "mybusinessnotifications:v1", + "kind": "discovery#directoryItem", + "name": "mybusinessnotifications", + "preferred": true, + "title": "My Business Notifications API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "mybusinessplaceactions:v1", - "name": "mybusinessplaceactions", - "version": "v1", - "title": "My Business Place Actions API", "description": "The My Business Place Actions API provides an interface for managing place action links of a location on Google. Note - If you have a quota of 0 after enabling the API, please request for GBP API access.", "discoveryRestUrl": "https://mybusinessplaceactions.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/my-business/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/my-business/", - "preferred": true + "id": "mybusinessplaceactions:v1", + "kind": "discovery#directoryItem", + "name": "mybusinessplaceactions", + "preferred": true, + "title": "My Business Place Actions API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "mybusinessqanda:v1", - "name": "mybusinessqanda", - "version": "v1", - "title": "My Business Q&A API", "description": "The My Business Q&A API allows questions and answers to be posted for specific listings. Note - If you have a quota of 0 after enabling the API, please request for GBP API access.", "discoveryRestUrl": "https://mybusinessqanda.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/my-business/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/my-business/", - "preferred": true + "id": "mybusinessqanda:v1", + "kind": "discovery#directoryItem", + "name": "mybusinessqanda", + "preferred": true, + "title": "My Business Q&A API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "mybusinessverifications:v1", - "name": "mybusinessverifications", - "version": "v1", - "title": "My Business Verifications API", "description": "The My Business Verifications API provides an interface for taking verifications related actions for locations.", "discoveryRestUrl": "https://mybusinessverifications.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/my-business/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/my-business/", - "preferred": true + "id": "mybusinessverifications:v1", + "kind": "discovery#directoryItem", + "name": "mybusinessverifications", + "preferred": true, + "title": "My Business Verifications API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "networkconnectivity:v1alpha1", - "name": "networkconnectivity", - "version": "v1alpha1", - "title": "Network Connectivity API", "description": "This API enables connectivity with and between Google Cloud resources.", "discoveryRestUrl": "https://networkconnectivity.googleapis.com/$discovery/rest?version=v1alpha1", + "documentationLink": "https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest", - "preferred": false - }, - { + "id": "networkconnectivity:v1alpha1", "kind": "discovery#directoryItem", - "id": "networkconnectivity:v1", "name": "networkconnectivity", - "version": "v1", + "preferred": false, "title": "Network Connectivity API", + "version": "v1alpha1" + }, + { "description": "This API enables connectivity with and between Google Cloud resources.", "discoveryRestUrl": "https://networkconnectivity.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest", - "preferred": true + "id": "networkconnectivity:v1", + "kind": "discovery#directoryItem", + "name": "networkconnectivity", + "preferred": true, + "title": "Network Connectivity API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "networkmanagement:v1beta1", - "name": "networkmanagement", - "version": "v1beta1", - "title": "Network Management API", "description": "The Network Management API provides a collection of network performance monitoring and diagnostic capabilities.", "discoveryRestUrl": "https://networkmanagement.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://cloud.google.com/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/", - "preferred": false - }, - { + "id": "networkmanagement:v1beta1", "kind": "discovery#directoryItem", - "id": "networkmanagement:v1", "name": "networkmanagement", - "version": "v1", + "preferred": false, "title": "Network Management API", + "version": "v1beta1" + }, + { "description": "The Network Management API provides a collection of network performance monitoring and diagnostic capabilities.", "discoveryRestUrl": "https://networkmanagement.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/", - "preferred": true + "id": "networkmanagement:v1", + "kind": "discovery#directoryItem", + "name": "networkmanagement", + "preferred": true, + "title": "Network Management API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "networksecurity:v1beta1", - "name": "networksecurity", - "version": "v1beta1", - "title": "Network Security API", "description": "", "discoveryRestUrl": "https://networksecurity.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://cloud.google.com/networking", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/networking", - "preferred": false - }, - { + "id": "networksecurity:v1beta1", "kind": "discovery#directoryItem", - "id": "networksecurity:v1", "name": "networksecurity", - "version": "v1", + "preferred": false, "title": "Network Security API", + "version": "v1beta1" + }, + { "description": "", "discoveryRestUrl": "https://networksecurity.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/networking", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/networking", - "preferred": true + "id": "networksecurity:v1", + "kind": "discovery#directoryItem", + "name": "networksecurity", + "preferred": true, + "title": "Network Security API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "networkservices:v1beta1", - "name": "networkservices", - "version": "v1beta1", - "title": "Network Services API", "description": "", "discoveryRestUrl": "https://networkservices.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://cloud.google.com/networking", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/networking", - "preferred": false - }, - { + "id": "networkservices:v1beta1", "kind": "discovery#directoryItem", - "id": "networkservices:v1", "name": "networkservices", - "version": "v1", + "preferred": false, "title": "Network Services API", + "version": "v1beta1" + }, + { "description": "", "discoveryRestUrl": "https://networkservices.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/networking", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/networking", - "preferred": true + "id": "networkservices:v1", + "kind": "discovery#directoryItem", + "name": "networkservices", + "preferred": true, + "title": "Network Services API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "notebooks:v1", - "name": "notebooks", - "version": "v1", - "title": "Notebooks API", "description": "Notebooks API is used to manage notebook resources in Google Cloud.", "discoveryRestUrl": "https://notebooks.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/notebooks/docs/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/notebooks/docs/", - "preferred": false - }, - { + "id": "notebooks:v1", "kind": "discovery#directoryItem", - "id": "notebooks:v2", "name": "notebooks", - "version": "v2", + "preferred": false, "title": "Notebooks API", + "version": "v1" + }, + { "description": "Notebooks API is used to manage notebook resources in Google Cloud.", "discoveryRestUrl": "https://notebooks.googleapis.com/$discovery/rest?version=v2", + "documentationLink": "https://cloud.google.com/notebooks/docs/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/notebooks/docs/", - "preferred": true + "id": "notebooks:v2", + "kind": "discovery#directoryItem", + "name": "notebooks", + "preferred": true, + "title": "Notebooks API", + "version": "v2" }, { - "kind": "discovery#directoryItem", - "id": "oauth2:v2", - "name": "oauth2", - "version": "v2", - "title": "Google OAuth2 API", "description": "[Deprecated] Obtains end-user authorization grants for use with other Google APIs.", - "discoveryRestUrl": "https://www.googleapis.com/discovery/v1/apis/oauth2/v2/rest", "discoveryLink": "./apis/oauth2/v2/rest", + "discoveryRestUrl": "https://www.googleapis.com/discovery/v1/apis/oauth2/v2/rest", + "documentationLink": "https://developers.google.com/accounts/docs/OAuth2", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/accounts/docs/OAuth2", - "preferred": true + "id": "oauth2:v2", + "kind": "discovery#directoryItem", + "name": "oauth2", + "preferred": true, + "title": "Google OAuth2 API", + "version": "v2" }, { - "kind": "discovery#directoryItem", - "id": "ondemandscanning:v1beta1", - "name": "ondemandscanning", - "version": "v1beta1", - "title": "On-Demand Scanning API", "description": "A service to scan container images for vulnerabilities.", "discoveryRestUrl": "https://ondemandscanning.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://cloud.google.com/container-analysis/docs/on-demand-scanning/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/container-analysis/docs/on-demand-scanning/", - "preferred": false - }, - { + "id": "ondemandscanning:v1beta1", "kind": "discovery#directoryItem", - "id": "ondemandscanning:v1", "name": "ondemandscanning", - "version": "v1", + "preferred": false, "title": "On-Demand Scanning API", + "version": "v1beta1" + }, + { "description": "A service to scan container images for vulnerabilities.", "discoveryRestUrl": "https://ondemandscanning.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/container-analysis/docs/on-demand-scanning/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/container-analysis/docs/on-demand-scanning/", - "preferred": true + "id": "ondemandscanning:v1", + "kind": "discovery#directoryItem", + "name": "ondemandscanning", + "preferred": true, + "title": "On-Demand Scanning API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "orgpolicy:v2", - "name": "orgpolicy", - "version": "v2", - "title": "Organization Policy API", "description": "The Organization Policy API allows users to configure governance rules on their Google Cloud resources across the resource hierarchy.", "discoveryRestUrl": "https://orgpolicy.googleapis.com/$discovery/rest?version=v2", + "documentationLink": "https://cloud.google.com/orgpolicy/docs/reference/rest/index.html", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/orgpolicy/docs/reference/rest/index.html", - "preferred": true + "id": "orgpolicy:v2", + "kind": "discovery#directoryItem", + "name": "orgpolicy", + "preferred": true, + "title": "Organization Policy API", + "version": "v2" }, { - "kind": "discovery#directoryItem", - "id": "osconfig:v1alpha", - "name": "osconfig", - "version": "v1alpha", - "title": "OS Config API", "description": "OS management tools that can be used for patch management, patch compliance, and configuration management on VM instances.", "discoveryRestUrl": "https://osconfig.googleapis.com/$discovery/rest?version=v1alpha", + "documentationLink": "https://cloud.google.com/compute/docs/osconfig/rest", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/compute/docs/osconfig/rest", - "preferred": false - }, - { + "id": "osconfig:v1alpha", "kind": "discovery#directoryItem", - "id": "osconfig:v1beta", "name": "osconfig", - "version": "v1beta", + "preferred": false, "title": "OS Config API", + "version": "v1alpha" + }, + { "description": "OS management tools that can be used for patch management, patch compliance, and configuration management on VM instances.", "discoveryRestUrl": "https://osconfig.googleapis.com/$discovery/rest?version=v1beta", + "documentationLink": "https://cloud.google.com/compute/docs/osconfig/rest", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/compute/docs/osconfig/rest", - "preferred": false - }, - { + "id": "osconfig:v1beta", "kind": "discovery#directoryItem", - "id": "osconfig:v1", "name": "osconfig", - "version": "v1", + "preferred": false, "title": "OS Config API", + "version": "v1beta" + }, + { "description": "OS management tools that can be used for patch management, patch compliance, and configuration management on VM instances.", "discoveryRestUrl": "https://osconfig.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/compute/docs/osconfig/rest", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/compute/docs/osconfig/rest", - "preferred": true + "id": "osconfig:v1", + "kind": "discovery#directoryItem", + "name": "osconfig", + "preferred": true, + "title": "OS Config API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "oslogin:v1alpha", - "name": "oslogin", - "version": "v1alpha", - "title": "Cloud OS Login API", "description": "You can use OS Login to manage access to your VM instances using IAM roles.", "discoveryRestUrl": "https://oslogin.googleapis.com/$discovery/rest?version=v1alpha", + "documentationLink": "https://cloud.google.com/compute/docs/oslogin/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/compute/docs/oslogin/", - "preferred": false - }, - { + "id": "oslogin:v1alpha", "kind": "discovery#directoryItem", - "id": "oslogin:v1beta", "name": "oslogin", - "version": "v1beta", + "preferred": false, "title": "Cloud OS Login API", + "version": "v1alpha" + }, + { "description": "You can use OS Login to manage access to your VM instances using IAM roles.", "discoveryRestUrl": "https://oslogin.googleapis.com/$discovery/rest?version=v1beta", + "documentationLink": "https://cloud.google.com/compute/docs/oslogin/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/compute/docs/oslogin/", - "preferred": false - }, - { + "id": "oslogin:v1beta", "kind": "discovery#directoryItem", - "id": "oslogin:v1", "name": "oslogin", - "version": "v1", + "preferred": false, "title": "Cloud OS Login API", + "version": "v1beta" + }, + { "description": "You can use OS Login to manage access to your VM instances using IAM roles.", "discoveryRestUrl": "https://oslogin.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/compute/docs/oslogin/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/compute/docs/oslogin/", - "preferred": true + "id": "oslogin:v1", + "kind": "discovery#directoryItem", + "name": "oslogin", + "preferred": true, + "title": "Cloud OS Login API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "pagespeedonline:v5", - "name": "pagespeedonline", - "version": "v5", - "title": "PageSpeed Insights API", "description": "The PageSpeed Insights API lets you analyze the performance of your website with a simple API. It offers tailored suggestions for how you can optimize your site, and lets you easily integrate PageSpeed Insights analysis into your development tools and workflow.", "discoveryRestUrl": "https://pagespeedonline.googleapis.com/$discovery/rest?version=v5", + "documentationLink": "https://developers.google.com/speed/docs/insights/v5/about", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/speed/docs/insights/v5/about", - "preferred": true + "id": "pagespeedonline:v5", + "kind": "discovery#directoryItem", + "name": "pagespeedonline", + "preferred": true, + "title": "PageSpeed Insights API", + "version": "v5" }, { - "kind": "discovery#directoryItem", - "id": "paymentsresellersubscription:v1", - "name": "paymentsresellersubscription", - "version": "v1", - "title": "Payments Reseller Subscription API", "description": "", "discoveryRestUrl": "https://paymentsresellersubscription.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/payments/reseller/subscription/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/payments/reseller/subscription/", - "preferred": true + "id": "paymentsresellersubscription:v1", + "kind": "discovery#directoryItem", + "name": "paymentsresellersubscription", + "preferred": true, + "title": "Payments Reseller Subscription API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "people:v1", - "name": "people", - "version": "v1", - "title": "People API", "description": "Provides access to information about profiles and contacts.", "discoveryRestUrl": "https://people.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/people/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/people/", - "preferred": true + "id": "people:v1", + "kind": "discovery#directoryItem", + "name": "people", + "preferred": true, + "title": "People API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "places:v1", - "name": "places", - "version": "v1", - "title": "Places API (New)", "description": "", "discoveryRestUrl": "https://places.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://mapsplatform.google.com/maps-products/#places-section", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://mapsplatform.google.com/maps-products/#places-section", - "preferred": true + "id": "places:v1", + "kind": "discovery#directoryItem", + "name": "places", + "preferred": true, + "title": "Places API (New)", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "playcustomapp:v1", - "name": "playcustomapp", - "version": "v1", - "title": "Google Play Custom App Publishing API", "description": "API to create and publish custom Android apps", "discoveryRestUrl": "https://playcustomapp.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/android/work/play/custom-app-api/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/android/work/play/custom-app-api/", - "preferred": true + "id": "playcustomapp:v1", + "kind": "discovery#directoryItem", + "name": "playcustomapp", + "preferred": true, + "title": "Google Play Custom App Publishing API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "playdeveloperreporting:v1alpha1", - "name": "playdeveloperreporting", - "version": "v1alpha1", - "title": "Google Play Developer Reporting API", "description": "", "discoveryRestUrl": "https://playdeveloperreporting.googleapis.com/$discovery/rest?version=v1alpha1", + "documentationLink": "https://developers.google.com/play/developer/reporting", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/play/developer/reporting", - "preferred": false - }, - { + "id": "playdeveloperreporting:v1alpha1", "kind": "discovery#directoryItem", - "id": "playdeveloperreporting:v1beta1", "name": "playdeveloperreporting", - "version": "v1beta1", + "preferred": false, "title": "Google Play Developer Reporting API", + "version": "v1alpha1" + }, + { "description": "", "discoveryRestUrl": "https://playdeveloperreporting.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://developers.google.com/play/developer/reporting", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/play/developer/reporting", - "preferred": true + "id": "playdeveloperreporting:v1beta1", + "kind": "discovery#directoryItem", + "name": "playdeveloperreporting", + "preferred": true, + "title": "Google Play Developer Reporting API", + "version": "v1beta1" }, { - "kind": "discovery#directoryItem", - "id": "playgrouping:v1alpha1", - "name": "playgrouping", - "version": "v1alpha1", - "title": "Google Play Grouping API", "description": "playgrouping.googleapis.com API.", "discoveryRestUrl": "https://playgrouping.googleapis.com/$discovery/rest?version=v1alpha1", + "documentationLink": "https://cloud.google.com/playgrouping/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/playgrouping/", - "preferred": true + "id": "playgrouping:v1alpha1", + "kind": "discovery#directoryItem", + "name": "playgrouping", + "preferred": true, + "title": "Google Play Grouping API", + "version": "v1alpha1" }, { - "kind": "discovery#directoryItem", - "id": "playintegrity:v1", - "name": "playintegrity", - "version": "v1", - "title": "Google Play Integrity API", "description": "The Play Integrity API helps you check that you're interacting with your genuine app on a genuine Android device powered by Google Play services. The Play Integrity API has replaced SafetyNet Attestation and Android Device Verification.", "discoveryRestUrl": "https://playintegrity.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developer.android.com/google/play/integrity", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developer.android.com/google/play/integrity", - "preferred": true + "id": "playintegrity:v1", + "kind": "discovery#directoryItem", + "name": "playintegrity", + "preferred": true, + "title": "Google Play Integrity API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "policyanalyzer:v1beta1", - "name": "policyanalyzer", - "version": "v1beta1", - "title": "Policy Analyzer API", "description": "", "discoveryRestUrl": "https://policyanalyzer.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://www.google.com", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://www.google.com", - "preferred": false - }, - { + "id": "policyanalyzer:v1beta1", "kind": "discovery#directoryItem", - "id": "policyanalyzer:v1", "name": "policyanalyzer", - "version": "v1", + "preferred": false, "title": "Policy Analyzer API", + "version": "v1beta1" + }, + { "description": "", "discoveryRestUrl": "https://policyanalyzer.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://www.google.com", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://www.google.com", - "preferred": true + "id": "policyanalyzer:v1", + "kind": "discovery#directoryItem", + "name": "policyanalyzer", + "preferred": true, + "title": "Policy Analyzer API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "policysimulator:v1alpha", - "name": "policysimulator", - "version": "v1alpha", - "title": "Policy Simulator API", "description": "Policy Simulator is a collection of endpoints for creating, running, and viewing a [Replay][google.cloud.policysimulator.v1.Replay]. A `Replay` is a type of simulation that lets you see how your members' access to resources might change if you changed your IAM policy. During a `Replay`, Policy Simulator re-evaluates, or replays, past access attempts under both the current policy and your proposed policy, and compares those results to determine how your members' access might change under the proposed policy.", "discoveryRestUrl": "https://policysimulator.googleapis.com/$discovery/rest?version=v1alpha", + "documentationLink": "https://cloud.google.com/iam/docs/simulating-access", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/iam/docs/simulating-access", - "preferred": false - }, - { + "id": "policysimulator:v1alpha", "kind": "discovery#directoryItem", - "id": "policysimulator:v1beta", "name": "policysimulator", - "version": "v1beta", + "preferred": false, "title": "Policy Simulator API", + "version": "v1alpha" + }, + { "description": "Policy Simulator is a collection of endpoints for creating, running, and viewing a [Replay][google.cloud.policysimulator.v1.Replay]. A `Replay` is a type of simulation that lets you see how your members' access to resources might change if you changed your IAM policy. During a `Replay`, Policy Simulator re-evaluates, or replays, past access attempts under both the current policy and your proposed policy, and compares those results to determine how your members' access might change under the proposed policy.", "discoveryRestUrl": "https://policysimulator.googleapis.com/$discovery/rest?version=v1beta", + "documentationLink": "https://cloud.google.com/iam/docs/simulating-access", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/iam/docs/simulating-access", - "preferred": false - }, - { + "id": "policysimulator:v1beta", "kind": "discovery#directoryItem", - "id": "policysimulator:v1", "name": "policysimulator", - "version": "v1", + "preferred": false, "title": "Policy Simulator API", + "version": "v1beta" + }, + { "description": "Policy Simulator is a collection of endpoints for creating, running, and viewing a [Replay][google.cloud.policysimulator.v1.Replay]. A `Replay` is a type of simulation that lets you see how your members' access to resources might change if you changed your IAM policy. During a `Replay`, Policy Simulator re-evaluates, or replays, past access attempts under both the current policy and your proposed policy, and compares those results to determine how your members' access might change under the proposed policy.", "discoveryRestUrl": "https://policysimulator.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/iam/docs/simulating-access", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/iam/docs/simulating-access", - "preferred": true + "id": "policysimulator:v1", + "kind": "discovery#directoryItem", + "name": "policysimulator", + "preferred": true, + "title": "Policy Simulator API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "policytroubleshooter:v1beta", - "name": "policytroubleshooter", - "version": "v1beta", - "title": "Policy Troubleshooter API", "description": "", "discoveryRestUrl": "https://policytroubleshooter.googleapis.com/$discovery/rest?version=v1beta", + "documentationLink": "https://cloud.google.com/iam/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/iam/", - "preferred": false - }, - { + "id": "policytroubleshooter:v1beta", "kind": "discovery#directoryItem", - "id": "policytroubleshooter:v1", "name": "policytroubleshooter", - "version": "v1", + "preferred": false, "title": "Policy Troubleshooter API", + "version": "v1beta" + }, + { "description": "", "discoveryRestUrl": "https://policytroubleshooter.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/iam/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/iam/", - "preferred": true + "id": "policytroubleshooter:v1", + "kind": "discovery#directoryItem", + "name": "policytroubleshooter", + "preferred": true, + "title": "Policy Troubleshooter API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "pollen:v1", - "name": "pollen", - "version": "v1", - "title": "Pollen API", "description": "The Pollen API.", "discoveryRestUrl": "https://pollen.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/maps/documentation/pollen", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/maps/documentation/pollen", - "preferred": true + "id": "pollen:v1", + "kind": "discovery#directoryItem", + "name": "pollen", + "preferred": true, + "title": "Pollen API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "poly:v1", - "name": "poly", - "version": "v1", - "title": "Poly API", "description": "The Poly API provides read access to assets hosted on poly.google.com to all, and upload access to poly.google.com for whitelisted accounts.", "discoveryRestUrl": "https://poly.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/poly/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/poly/", - "preferred": true + "id": "poly:v1", + "kind": "discovery#directoryItem", + "name": "poly", + "preferred": true, + "title": "Poly API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "privateca:v1beta1", - "name": "privateca", - "version": "v1beta1", - "title": "Certificate Authority API", "description": "The Certificate Authority Service API is a highly-available, scalable service that enables you to simplify and automate the management of private certificate authorities (CAs) while staying in control of your private keys.", "discoveryRestUrl": "https://privateca.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://cloud.google.com/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/", - "preferred": false - }, - { + "id": "privateca:v1beta1", "kind": "discovery#directoryItem", - "id": "privateca:v1", "name": "privateca", - "version": "v1", + "preferred": false, "title": "Certificate Authority API", + "version": "v1beta1" + }, + { "description": "The Certificate Authority Service API is a highly-available, scalable service that enables you to simplify and automate the management of private certificate authorities (CAs) while staying in control of your private keys.", "discoveryRestUrl": "https://privateca.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/", - "preferred": true + "id": "privateca:v1", + "kind": "discovery#directoryItem", + "name": "privateca", + "preferred": true, + "title": "Certificate Authority API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "prod_tt_sasportal:v1alpha1", - "name": "prod_tt_sasportal", - "version": "v1alpha1", - "title": "SAS Portal API (Testing)", "description": "", "discoveryRestUrl": "https://prod-tt-sasportal.googleapis.com/$discovery/rest?version=v1alpha1", + "documentationLink": "https://developers.google.com/spectrum-access-system/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/spectrum-access-system/", - "preferred": true + "id": "prod_tt_sasportal:v1alpha1", + "kind": "discovery#directoryItem", + "name": "prod_tt_sasportal", + "preferred": true, + "title": "SAS Portal API (Testing)", + "version": "v1alpha1" }, { - "kind": "discovery#directoryItem", - "id": "publicca:v1alpha1", - "name": "publicca", - "version": "v1alpha1", - "title": "Public Certificate Authority API", "description": "The Public Certificate Authority API may be used to create and manage ACME external account binding keys associated with Google Trust Services' publicly trusted certificate authority.", "discoveryRestUrl": "https://publicca.googleapis.com/$discovery/rest?version=v1alpha1", + "documentationLink": "https://cloud.google.com/public-certificate-authority/docs", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/public-certificate-authority/docs", - "preferred": false - }, - { + "id": "publicca:v1alpha1", "kind": "discovery#directoryItem", - "id": "publicca:v1beta1", "name": "publicca", - "version": "v1beta1", + "preferred": false, "title": "Public Certificate Authority API", + "version": "v1alpha1" + }, + { "description": "The Public Certificate Authority API may be used to create and manage ACME external account binding keys associated with Google Trust Services' publicly trusted certificate authority.", "discoveryRestUrl": "https://publicca.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://cloud.google.com/public-certificate-authority/docs", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/public-certificate-authority/docs", - "preferred": false - }, - { + "id": "publicca:v1beta1", "kind": "discovery#directoryItem", - "id": "publicca:v1", "name": "publicca", - "version": "v1", + "preferred": false, "title": "Public Certificate Authority API", + "version": "v1beta1" + }, + { "description": "The Public Certificate Authority API may be used to create and manage ACME external account binding keys associated with Google Trust Services' publicly trusted certificate authority.", "discoveryRestUrl": "https://publicca.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/public-certificate-authority/docs", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/public-certificate-authority/docs", - "preferred": true + "id": "publicca:v1", + "kind": "discovery#directoryItem", + "name": "publicca", + "preferred": true, + "title": "Public Certificate Authority API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "pubsub:v1beta1a", - "name": "pubsub", - "version": "v1beta1a", - "title": "Cloud Pub/Sub API", "description": "Provides reliable, many-to-many, asynchronous messaging between applications.", "discoveryRestUrl": "https://pubsub.googleapis.com/$discovery/rest?version=v1beta1a", + "documentationLink": "https://cloud.google.com/pubsub/docs", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/pubsub/docs", - "preferred": false - }, - { + "id": "pubsub:v1beta1a", "kind": "discovery#directoryItem", - "id": "pubsub:v1beta2", "name": "pubsub", - "version": "v1beta2", + "preferred": false, "title": "Cloud Pub/Sub API", + "version": "v1beta1a" + }, + { "description": "Provides reliable, many-to-many, asynchronous messaging between applications.", "discoveryRestUrl": "https://pubsub.googleapis.com/$discovery/rest?version=v1beta2", + "documentationLink": "https://cloud.google.com/pubsub/docs", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/pubsub/docs", - "preferred": false - }, - { + "id": "pubsub:v1beta2", "kind": "discovery#directoryItem", - "id": "pubsub:v1", "name": "pubsub", - "version": "v1", + "preferred": false, "title": "Cloud Pub/Sub API", + "version": "v1beta2" + }, + { "description": "Provides reliable, many-to-many, asynchronous messaging between applications.", "discoveryRestUrl": "https://pubsub.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/pubsub/docs", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/pubsub/docs", - "preferred": true + "id": "pubsub:v1", + "kind": "discovery#directoryItem", + "name": "pubsub", + "preferred": true, + "title": "Cloud Pub/Sub API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "pubsublite:v1", - "name": "pubsublite", - "version": "v1", - "title": "Pub/Sub Lite API", "description": "", "discoveryRestUrl": "https://pubsublite.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/pubsub/lite/docs", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/pubsub/lite/docs", - "preferred": true + "id": "pubsublite:v1", + "kind": "discovery#directoryItem", + "name": "pubsublite", + "preferred": true, + "title": "Pub/Sub Lite API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "rapidmigrationassessment:v1", - "name": "rapidmigrationassessment", - "version": "v1", - "title": "Rapid Migration Assessment API", "description": "The Rapid Migration Assessment service is our first-party migration assessment and planning tool.", "discoveryRestUrl": "https://rapidmigrationassessment.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/migration-center", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/migration-center", - "preferred": true + "id": "rapidmigrationassessment:v1", + "kind": "discovery#directoryItem", + "name": "rapidmigrationassessment", + "preferred": true, + "title": "Rapid Migration Assessment API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "readerrevenuesubscriptionlinking:v1", - "name": "readerrevenuesubscriptionlinking", - "version": "v1", - "title": "Reader Revenue Subscription Linking API", "description": "readerrevenuesubscriptionlinking.googleapis.com API.", "discoveryRestUrl": "https://readerrevenuesubscriptionlinking.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/news/subscribe/subscription-linking/overview", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/news/subscribe/subscription-linking/overview", - "preferred": true + "id": "readerrevenuesubscriptionlinking:v1", + "kind": "discovery#directoryItem", + "name": "readerrevenuesubscriptionlinking", + "preferred": true, + "title": "Reader Revenue Subscription Linking API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "realtimebidding:v1alpha", - "name": "realtimebidding", - "version": "v1alpha", - "title": "Real-time Bidding API", "description": "Allows external bidders to manage their RTB integration with Google. This includes managing bidder endpoints, QPS quotas, configuring what ad inventory to receive via pretargeting, submitting creatives for verification, and accessing creative metadata such as approval status.", "discoveryRestUrl": "https://realtimebidding.googleapis.com/$discovery/rest?version=v1alpha", + "documentationLink": "https://developers.google.com/authorized-buyers/apis/realtimebidding/reference/rest/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/authorized-buyers/apis/realtimebidding/reference/rest/", - "preferred": false - }, - { + "id": "realtimebidding:v1alpha", "kind": "discovery#directoryItem", - "id": "realtimebidding:v1", "name": "realtimebidding", - "version": "v1", + "preferred": false, "title": "Real-time Bidding API", + "version": "v1alpha" + }, + { "description": "Allows external bidders to manage their RTB integration with Google. This includes managing bidder endpoints, QPS quotas, configuring what ad inventory to receive via pretargeting, submitting creatives for verification, and accessing creative metadata such as approval status.", "discoveryRestUrl": "https://realtimebidding.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/authorized-buyers/apis/realtimebidding/reference/rest/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/authorized-buyers/apis/realtimebidding/reference/rest/", - "preferred": true + "id": "realtimebidding:v1", + "kind": "discovery#directoryItem", + "name": "realtimebidding", + "preferred": true, + "title": "Real-time Bidding API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "recaptchaenterprise:v1", - "name": "recaptchaenterprise", - "version": "v1", - "title": "reCAPTCHA Enterprise API", "description": "Help protect your website from fraudulent activity, spam, and abuse without creating friction.", "discoveryRestUrl": "https://recaptchaenterprise.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/recaptcha-enterprise/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/recaptcha-enterprise/", - "preferred": true + "id": "recaptchaenterprise:v1", + "kind": "discovery#directoryItem", + "name": "recaptchaenterprise", + "preferred": true, + "title": "reCAPTCHA Enterprise API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "recommendationengine:v1beta1", - "name": "recommendationengine", - "version": "v1beta1", - "title": "Recommendations AI (Beta)", "description": "Note that we now highly recommend new customers to use Retail API, which incorporates the GA version of the Recommendations AI funtionalities. To enable Retail API, please visit https://console.cloud.google.com/apis/library/retail.googleapis.com. The Recommendations AI service enables customers to build end-to-end personalized recommendation systems without requiring a high level of expertise in machine learning, recommendation system, or Google Cloud.", "discoveryRestUrl": "https://recommendationengine.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://cloud.google.com/recommendations-ai/docs", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/recommendations-ai/docs", - "preferred": true + "id": "recommendationengine:v1beta1", + "kind": "discovery#directoryItem", + "name": "recommendationengine", + "preferred": true, + "title": "Recommendations AI (Beta)", + "version": "v1beta1" }, { - "kind": "discovery#directoryItem", - "id": "recommender:v1beta1", - "name": "recommender", - "version": "v1beta1", - "title": "Recommender API", "description": "", "discoveryRestUrl": "https://recommender.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://cloud.google.com/recommender/docs/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/recommender/docs/", - "preferred": false - }, - { + "id": "recommender:v1beta1", "kind": "discovery#directoryItem", - "id": "recommender:v1", "name": "recommender", - "version": "v1", + "preferred": false, "title": "Recommender API", + "version": "v1beta1" + }, + { "description": "", "discoveryRestUrl": "https://recommender.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/recommender/docs/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/recommender/docs/", - "preferred": true + "id": "recommender:v1", + "kind": "discovery#directoryItem", + "name": "recommender", + "preferred": true, + "title": "Recommender API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "redis:v1beta1", - "name": "redis", - "version": "v1beta1", - "title": "Google Cloud Memorystore for Redis API", "description": "Creates and manages Redis instances on the Google Cloud Platform.", "discoveryRestUrl": "https://redis.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://cloud.google.com/memorystore/docs/redis/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/memorystore/docs/redis/", - "preferred": false - }, - { + "id": "redis:v1beta1", "kind": "discovery#directoryItem", - "id": "redis:v1", "name": "redis", - "version": "v1", + "preferred": false, "title": "Google Cloud Memorystore for Redis API", + "version": "v1beta1" + }, + { "description": "Creates and manages Redis instances on the Google Cloud Platform.", "discoveryRestUrl": "https://redis.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/memorystore/docs/redis/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/memorystore/docs/redis/", - "preferred": true + "id": "redis:v1", + "kind": "discovery#directoryItem", + "name": "redis", + "preferred": true, + "title": "Google Cloud Memorystore for Redis API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "reseller:v1", - "name": "reseller", - "version": "v1", - "title": "Google Workspace Reseller API", "description": "Perform common functions that are available on the Channel Services console at scale, like placing orders and viewing customer information", "discoveryRestUrl": "https://reseller.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/google-apps/reseller/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/google-apps/reseller/", - "preferred": true + "id": "reseller:v1", + "kind": "discovery#directoryItem", + "name": "reseller", + "preferred": true, + "title": "Google Workspace Reseller API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "resourcesettings:v1", - "name": "resourcesettings", - "version": "v1", - "title": "Resource Settings API", "description": "The Resource Settings API allows users to control and modify the behavior of their GCP resources (e.g., VM, firewall, Project, etc.) across the Cloud Resource Hierarchy.", "discoveryRestUrl": "https://resourcesettings.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/resource-manager/docs/resource-settings/overview", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/resource-manager/docs/resource-settings/overview", - "preferred": true + "id": "resourcesettings:v1", + "kind": "discovery#directoryItem", + "name": "resourcesettings", + "preferred": true, + "title": "Resource Settings API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "retail:v2alpha", - "name": "retail", - "version": "v2alpha", - "title": "Vertex AI Search for Retail API", "description": "Vertex AI Search for Retail API is made up of Retail Search, Browse and Recommendations. These discovery AI solutions help you implement personalized search, browse and recommendations, based on machine learning models, across your websites and mobile applications.", "discoveryRestUrl": "https://retail.googleapis.com/$discovery/rest?version=v2alpha", + "documentationLink": "https://cloud.google.com/recommendations", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/recommendations", - "preferred": false - }, - { + "id": "retail:v2alpha", "kind": "discovery#directoryItem", - "id": "retail:v2beta", "name": "retail", - "version": "v2beta", + "preferred": false, "title": "Vertex AI Search for Retail API", + "version": "v2alpha" + }, + { "description": "Vertex AI Search for Retail API is made up of Retail Search, Browse and Recommendations. These discovery AI solutions help you implement personalized search, browse and recommendations, based on machine learning models, across your websites and mobile applications.", "discoveryRestUrl": "https://retail.googleapis.com/$discovery/rest?version=v2beta", + "documentationLink": "https://cloud.google.com/recommendations", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/recommendations", - "preferred": false - }, - { + "id": "retail:v2beta", "kind": "discovery#directoryItem", - "id": "retail:v2", "name": "retail", - "version": "v2", + "preferred": false, "title": "Vertex AI Search for Retail API", + "version": "v2beta" + }, + { "description": "Vertex AI Search for Retail API is made up of Retail Search, Browse and Recommendations. These discovery AI solutions help you implement personalized search, browse and recommendations, based on machine learning models, across your websites and mobile applications.", "discoveryRestUrl": "https://retail.googleapis.com/$discovery/rest?version=v2", + "documentationLink": "https://cloud.google.com/recommendations", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/recommendations", - "preferred": true + "id": "retail:v2", + "kind": "discovery#directoryItem", + "name": "retail", + "preferred": true, + "title": "Vertex AI Search for Retail API", + "version": "v2" }, { - "kind": "discovery#directoryItem", - "id": "run:v1", - "name": "run", - "version": "v1", - "title": "Cloud Run Admin API", "description": "Deploy and manage user provided container images that scale automatically based on incoming requests. The Cloud Run Admin API v1 follows the Knative Serving API specification, while v2 is aligned with Google Cloud AIP-based API standards, as described in https://google.aip.dev/.", "discoveryRestUrl": "https://run.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/run/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/run/", - "preferred": false - }, - { + "id": "run:v1", "kind": "discovery#directoryItem", - "id": "run:v2", "name": "run", - "version": "v2", + "preferred": false, "title": "Cloud Run Admin API", + "version": "v1" + }, + { "description": "Deploy and manage user provided container images that scale automatically based on incoming requests. The Cloud Run Admin API v1 follows the Knative Serving API specification, while v2 is aligned with Google Cloud AIP-based API standards, as described in https://google.aip.dev/.", "discoveryRestUrl": "https://run.googleapis.com/$discovery/rest?version=v2", + "documentationLink": "https://cloud.google.com/run/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/run/", - "preferred": true + "id": "run:v2", + "kind": "discovery#directoryItem", + "name": "run", + "preferred": true, + "title": "Cloud Run Admin API", + "version": "v2" }, { - "kind": "discovery#directoryItem", - "id": "runtimeconfig:v1beta1", - "name": "runtimeconfig", - "version": "v1beta1", - "title": "Cloud Runtime Configuration API", "description": "The Runtime Configurator allows you to dynamically configure and expose variables through Google Cloud Platform. In addition, you can also set Watchers and Waiters that will watch for changes to your data and return based on certain conditions.", "discoveryRestUrl": "https://runtimeconfig.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://cloud.google.com/deployment-manager/runtime-configurator/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/deployment-manager/runtime-configurator/", - "preferred": false - }, - { + "id": "runtimeconfig:v1beta1", "kind": "discovery#directoryItem", - "id": "runtimeconfig:v1", "name": "runtimeconfig", - "version": "v1", + "preferred": false, "title": "Cloud Runtime Configuration API", + "version": "v1beta1" + }, + { "description": "The Runtime Configurator allows you to dynamically configure and expose variables through Google Cloud Platform. In addition, you can also set Watchers and Waiters that will watch for changes to your data and return based on certain conditions.", "discoveryRestUrl": "https://runtimeconfig.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/deployment-manager/runtime-configurator/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/deployment-manager/runtime-configurator/", - "preferred": true + "id": "runtimeconfig:v1", + "kind": "discovery#directoryItem", + "name": "runtimeconfig", + "preferred": true, + "title": "Cloud Runtime Configuration API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "safebrowsing:v4", - "name": "safebrowsing", - "version": "v4", - "title": "Safe Browsing API", "description": "Enables client applications to check web resources (most commonly URLs) against Google-generated lists of unsafe web resources. The Safe Browsing APIs are for non-commercial use only. If you need to use APIs to detect malicious URLs for commercial purposes – meaning “for sale or revenue-generating purposes” – please refer to the Web Risk API.", "discoveryRestUrl": "https://safebrowsing.googleapis.com/$discovery/rest?version=v4", + "documentationLink": "https://developers.google.com/safe-browsing/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/safe-browsing/", - "preferred": false - }, - { + "id": "safebrowsing:v4", "kind": "discovery#directoryItem", - "id": "safebrowsing:v5", "name": "safebrowsing", - "version": "v5", + "preferred": false, "title": "Safe Browsing API", + "version": "v4" + }, + { "description": "Enables client applications to check web resources (most commonly URLs) against Google-generated lists of unsafe web resources. The Safe Browsing APIs are for non-commercial use only. If you need to use APIs to detect malicious URLs for commercial purposes – meaning “for sale or revenue-generating purposes” – please refer to the Web Risk API.", "discoveryRestUrl": "https://safebrowsing.googleapis.com/$discovery/rest?version=v5", + "documentationLink": "https://developers.google.com/safe-browsing/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/safe-browsing/", - "preferred": true + "id": "safebrowsing:v5", + "kind": "discovery#directoryItem", + "name": "safebrowsing", + "preferred": true, + "title": "Safe Browsing API", + "version": "v5" }, { - "kind": "discovery#directoryItem", - "id": "sasportal:v1alpha1", - "name": "sasportal", - "version": "v1alpha1", - "title": "SAS Portal API", "description": "", "discoveryRestUrl": "https://sasportal.googleapis.com/$discovery/rest?version=v1alpha1", + "documentationLink": "https://developers.google.com/spectrum-access-system/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/spectrum-access-system/", - "preferred": true + "id": "sasportal:v1alpha1", + "kind": "discovery#directoryItem", + "name": "sasportal", + "preferred": true, + "title": "SAS Portal API", + "version": "v1alpha1" }, { - "kind": "discovery#directoryItem", - "id": "script:v1", - "name": "script", - "version": "v1", - "title": "Apps Script API", "description": "Manages and executes Google Apps Script projects.", "discoveryRestUrl": "https://script.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/apps-script/api/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/apps-script/api/", - "preferred": true + "id": "script:v1", + "kind": "discovery#directoryItem", + "name": "script", + "preferred": true, + "title": "Apps Script API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "searchads360:v0", - "name": "searchads360", - "version": "v0", - "title": "Search Ads 360 Reporting API", "description": "The Search Ads 360 API allows developers to automate downloading reports from Search Ads 360.", "discoveryRestUrl": "https://searchads360.googleapis.com/$discovery/rest?version=v0", + "documentationLink": "https://developers.google.com/search-ads/reporting", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/search-ads/reporting", - "preferred": true + "id": "searchads360:v0", + "kind": "discovery#directoryItem", + "name": "searchads360", + "preferred": true, + "title": "Search Ads 360 Reporting API", + "version": "v0" }, { - "kind": "discovery#directoryItem", - "id": "searchconsole:v1", - "name": "searchconsole", - "version": "v1", - "title": "Google Search Console API", "description": "The Search Console API provides access to both Search Console data (verified users only) and to public information on an URL basis (anyone)", "discoveryRestUrl": "https://searchconsole.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/webmaster-tools/about", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/webmaster-tools/search-console-api/", - "preferred": true + "id": "searchconsole:v1", + "kind": "discovery#directoryItem", + "name": "searchconsole", + "preferred": true, + "title": "Google Search Console API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "secretmanager:v1beta1", - "name": "secretmanager", - "version": "v1beta1", - "title": "Secret Manager API", "description": "Stores sensitive data such as API keys, passwords, and certificates. Provides convenience while improving security.", "discoveryRestUrl": "https://secretmanager.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://cloud.google.com/secret-manager/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", - "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" - }, - "documentationLink": "https://cloud.google.com/secret-manager/", - "preferred": false - }, - { + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "id": "secretmanager:v1beta1", "kind": "discovery#directoryItem", - "id": "secretmanager:v1beta2", "name": "secretmanager", - "version": "v1beta2", + "preferred": false, "title": "Secret Manager API", + "version": "v1beta1" + }, + { "description": "Stores sensitive data such as API keys, passwords, and certificates. Provides convenience while improving security.", "discoveryRestUrl": "https://secretmanager.googleapis.com/$discovery/rest?version=v1beta2", + "documentationLink": "https://cloud.google.com/secret-manager/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/secret-manager/", - "preferred": false - }, - { + "id": "secretmanager:v1beta2", "kind": "discovery#directoryItem", - "id": "secretmanager:v1", "name": "secretmanager", - "version": "v1", + "preferred": false, "title": "Secret Manager API", + "version": "v1beta2" + }, + { "description": "Stores sensitive data such as API keys, passwords, and certificates. Provides convenience while improving security.", "discoveryRestUrl": "https://secretmanager.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/secret-manager/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/secret-manager/", - "preferred": true + "id": "secretmanager:v1", + "kind": "discovery#directoryItem", + "name": "secretmanager", + "preferred": true, + "title": "Secret Manager API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "securitycenter:v1beta1", - "name": "securitycenter", - "version": "v1beta1", - "title": "Security Command Center API", "description": "Security Command Center API provides access to temporal views of assets and findings within an organization.", "discoveryRestUrl": "https://securitycenter.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://cloud.google.com/security-command-center", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/security-command-center", - "preferred": false - }, - { + "id": "securitycenter:v1beta1", "kind": "discovery#directoryItem", - "id": "securitycenter:v1beta2", "name": "securitycenter", - "version": "v1beta2", + "preferred": false, "title": "Security Command Center API", + "version": "v1beta1" + }, + { "description": "Security Command Center API provides access to temporal views of assets and findings within an organization.", "discoveryRestUrl": "https://securitycenter.googleapis.com/$discovery/rest?version=v1beta2", + "documentationLink": "https://cloud.google.com/security-command-center", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/security-command-center", - "preferred": false - }, - { + "id": "securitycenter:v1beta2", "kind": "discovery#directoryItem", - "id": "securitycenter:v1", "name": "securitycenter", - "version": "v1", + "preferred": false, "title": "Security Command Center API", + "version": "v1beta2" + }, + { "description": "Security Command Center API provides access to temporal views of assets and findings within an organization.", "discoveryRestUrl": "https://securitycenter.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/security-command-center", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/security-command-center", - "preferred": true + "id": "securitycenter:v1", + "kind": "discovery#directoryItem", + "name": "securitycenter", + "preferred": true, + "title": "Security Command Center API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "serviceconsumermanagement:v1beta1", - "name": "serviceconsumermanagement", - "version": "v1beta1", - "title": "Service Consumer Management API", "description": "Manages the service consumers of a Service Infrastructure service.", "discoveryRestUrl": "https://serviceconsumermanagement.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://cloud.google.com/service-consumer-management/docs/overview", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/service-consumer-management/docs/overview", - "preferred": false - }, - { + "id": "serviceconsumermanagement:v1beta1", "kind": "discovery#directoryItem", - "id": "serviceconsumermanagement:v1", "name": "serviceconsumermanagement", - "version": "v1", + "preferred": false, "title": "Service Consumer Management API", + "version": "v1beta1" + }, + { "description": "Manages the service consumers of a Service Infrastructure service.", "discoveryRestUrl": "https://serviceconsumermanagement.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/service-consumer-management/docs/overview", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/service-consumer-management/docs/overview", - "preferred": true + "id": "serviceconsumermanagement:v1", + "kind": "discovery#directoryItem", + "name": "serviceconsumermanagement", + "preferred": true, + "title": "Service Consumer Management API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "servicecontrol:v1", - "name": "servicecontrol", - "version": "v1", - "title": "Service Control API", "description": "Provides admission control and telemetry reporting for services integrated with Service Infrastructure.", "discoveryRestUrl": "https://servicecontrol.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/service-control/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/service-control/", - "preferred": false - }, - { + "id": "servicecontrol:v1", "kind": "discovery#directoryItem", - "id": "servicecontrol:v2", "name": "servicecontrol", - "version": "v2", + "preferred": false, "title": "Service Control API", + "version": "v1" + }, + { "description": "Provides admission control and telemetry reporting for services integrated with Service Infrastructure.", "discoveryRestUrl": "https://servicecontrol.googleapis.com/$discovery/rest?version=v2", + "documentationLink": "https://cloud.google.com/service-control/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/service-control/", - "preferred": true + "id": "servicecontrol:v2", + "kind": "discovery#directoryItem", + "name": "servicecontrol", + "preferred": true, + "title": "Service Control API", + "version": "v2" }, { - "kind": "discovery#directoryItem", - "id": "servicedirectory:v1beta1", - "name": "servicedirectory", - "version": "v1beta1", - "title": "Service Directory API", "description": "Service Directory is a platform for discovering, publishing, and connecting services.", "discoveryRestUrl": "https://servicedirectory.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://cloud.google.com/service-directory", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/service-directory", - "preferred": false - }, - { + "id": "servicedirectory:v1beta1", "kind": "discovery#directoryItem", - "id": "servicedirectory:v1", "name": "servicedirectory", - "version": "v1", + "preferred": false, "title": "Service Directory API", + "version": "v1beta1" + }, + { "description": "Service Directory is a platform for discovering, publishing, and connecting services.", "discoveryRestUrl": "https://servicedirectory.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/service-directory", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/service-directory", - "preferred": true + "id": "servicedirectory:v1", + "kind": "discovery#directoryItem", + "name": "servicedirectory", + "preferred": true, + "title": "Service Directory API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "servicemanagement:v1", - "name": "servicemanagement", - "version": "v1", - "title": "Service Management API", "description": "Google Service Management allows service producers to publish their services on Google Cloud Platform so that they can be discovered and used by service consumers.", "discoveryRestUrl": "https://servicemanagement.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/service-management/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/service-management/", - "preferred": true + "id": "servicemanagement:v1", + "kind": "discovery#directoryItem", + "name": "servicemanagement", + "preferred": true, + "title": "Service Management API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "servicenetworking:v1beta", - "name": "servicenetworking", - "version": "v1beta", - "title": "Service Networking API", "description": "Provides automatic management of network configurations necessary for certain services.", "discoveryRestUrl": "https://servicenetworking.googleapis.com/$discovery/rest?version=v1beta", + "documentationLink": "https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started", - "preferred": false - }, - { + "id": "servicenetworking:v1beta", "kind": "discovery#directoryItem", - "id": "servicenetworking:v1", "name": "servicenetworking", - "version": "v1", + "preferred": false, "title": "Service Networking API", + "version": "v1beta" + }, + { "description": "Provides automatic management of network configurations necessary for certain services.", "discoveryRestUrl": "https://servicenetworking.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started", - "preferred": true + "id": "servicenetworking:v1", + "kind": "discovery#directoryItem", + "name": "servicenetworking", + "preferred": true, + "title": "Service Networking API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "serviceusage:v1beta1", - "name": "serviceusage", - "version": "v1beta1", - "title": "Service Usage API", "description": "Enables services that service consumers want to use on Google Cloud Platform, lists the available or enabled services, or disables services that service consumers no longer use.", "discoveryRestUrl": "https://serviceusage.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://cloud.google.com/service-usage/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/service-usage/", - "preferred": false - }, - { + "id": "serviceusage:v1beta1", "kind": "discovery#directoryItem", - "id": "serviceusage:v1", "name": "serviceusage", - "version": "v1", + "preferred": false, "title": "Service Usage API", + "version": "v1beta1" + }, + { "description": "Enables services that service consumers want to use on Google Cloud Platform, lists the available or enabled services, or disables services that service consumers no longer use.", "discoveryRestUrl": "https://serviceusage.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/service-usage/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/service-usage/", - "preferred": true + "id": "serviceusage:v1", + "kind": "discovery#directoryItem", + "name": "serviceusage", + "preferred": true, + "title": "Service Usage API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "sheets:v4", - "name": "sheets", - "version": "v4", - "title": "Google Sheets API", "description": "Reads and writes Google Sheets.", "discoveryRestUrl": "https://sheets.googleapis.com/$discovery/rest?version=v4", + "documentationLink": "https://developers.google.com/sheets/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/sheets/", - "preferred": true + "id": "sheets:v4", + "kind": "discovery#directoryItem", + "name": "sheets", + "preferred": true, + "title": "Google Sheets API", + "version": "v4" }, { - "kind": "discovery#directoryItem", - "id": "siteVerification:v1", - "name": "siteVerification", - "version": "v1", - "title": "Site Verification API", "description": "The Google Site Verification API lets applications automate the process of managing ownership records for websites and domains.", "discoveryRestUrl": "https://siteverification.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://code.google.com/apis/siteverification/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://code.google.com/apis/siteverification/", - "preferred": true + "id": "siteVerification:v1", + "kind": "discovery#directoryItem", + "name": "siteVerification", + "preferred": true, + "title": "Site Verification API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "slides:v1", - "name": "slides", - "version": "v1", - "title": "Google Slides API", "description": "Reads and writes Google Slides presentations.", "discoveryRestUrl": "https://slides.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/slides/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/slides/", - "preferred": true + "id": "slides:v1", + "kind": "discovery#directoryItem", + "name": "slides", + "preferred": true, + "title": "Google Slides API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "smartdevicemanagement:v1", - "name": "smartdevicemanagement", - "version": "v1", - "title": "Smart Device Management API", "description": "Allow select enterprise partners to access, control, and manage Google and Nest devices programmatically.", "discoveryRestUrl": "https://smartdevicemanagement.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/nest/device-access", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/nest/device-access", - "preferred": true + "id": "smartdevicemanagement:v1", + "kind": "discovery#directoryItem", + "name": "smartdevicemanagement", + "preferred": true, + "title": "Smart Device Management API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "solar:v1", - "name": "solar", - "version": "v1", - "title": "Solar API", "description": "Solar API.", "discoveryRestUrl": "https://solar.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/maps/documentation/solar", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/maps/documentation/solar", - "preferred": true + "id": "solar:v1", + "kind": "discovery#directoryItem", + "name": "solar", + "preferred": true, + "title": "Solar API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "spanner:v1", - "name": "spanner", - "version": "v1", - "title": "Cloud Spanner API", "description": "Cloud Spanner is a managed, mission-critical, globally consistent and scalable relational database service.", "discoveryRestUrl": "https://spanner.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/spanner/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/spanner/", - "preferred": true + "id": "spanner:v1", + "kind": "discovery#directoryItem", + "name": "spanner", + "preferred": true, + "title": "Cloud Spanner API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "speech:v1p1beta1", - "name": "speech", - "version": "v1p1beta1", - "title": "Cloud Speech-to-Text API", "description": "Converts audio to text by applying powerful neural network models.", "discoveryRestUrl": "https://speech.googleapis.com/$discovery/rest?version=v1p1beta1", + "documentationLink": "https://cloud.google.com/speech-to-text/docs/quickstart-protocol", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/speech-to-text/docs/quickstart-protocol", - "preferred": false - }, - { + "id": "speech:v1p1beta1", "kind": "discovery#directoryItem", - "id": "speech:v1", "name": "speech", - "version": "v1", + "preferred": false, "title": "Cloud Speech-to-Text API", + "version": "v1p1beta1" + }, + { "description": "Converts audio to text by applying powerful neural network models.", "discoveryRestUrl": "https://speech.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/speech-to-text/docs/quickstart-protocol", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/speech-to-text/docs/quickstart-protocol", - "preferred": true + "id": "speech:v1", + "kind": "discovery#directoryItem", + "name": "speech", + "preferred": true, + "title": "Cloud Speech-to-Text API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "sqladmin:v1beta4", - "name": "sqladmin", - "version": "v1beta4", - "title": "Cloud SQL Admin API", "description": "API for Cloud SQL database instance management", "discoveryRestUrl": "https://sqladmin.googleapis.com/$discovery/rest?version=v1beta4", + "documentationLink": "https://developers.google.com/cloud-sql/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/cloud-sql/", - "preferred": false - }, - { + "id": "sqladmin:v1beta4", "kind": "discovery#directoryItem", - "id": "sqladmin:v1", "name": "sqladmin", - "version": "v1", + "preferred": false, "title": "Cloud SQL Admin API", + "version": "v1beta4" + }, + { "description": "API for Cloud SQL database instance management", "discoveryRestUrl": "https://sqladmin.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/cloud-sql/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/cloud-sql/", - "preferred": true + "id": "sqladmin:v1", + "kind": "discovery#directoryItem", + "name": "sqladmin", + "preferred": true, + "title": "Cloud SQL Admin API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "storage:v1", - "name": "storage", - "version": "v1", - "title": "Cloud Storage API", "description": "Lets you store and retrieve potentially-large, immutable data objects.", "discoveryRestUrl": "https://storage.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/storage/docs/apis", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/storage/docs/apis", - "preferred": true - }, - { + "id": "storage:v1", "kind": "discovery#directoryItem", - "id": "storagetransfer:v1", - "name": "storagetransfer", - "version": "v1", - "title": "Storage Transfer API", + "name": "storage", + "preferred": true, + "title": "Cloud Storage API", + "version": "v1" + }, + { "description": "Transfers data from external data sources to a Google Cloud Storage bucket or between Google Cloud Storage buckets.", "discoveryRestUrl": "https://storagetransfer.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/storage-transfer/docs", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/storage-transfer/docs", - "preferred": true + "id": "storagetransfer:v1", + "kind": "discovery#directoryItem", + "name": "storagetransfer", + "preferred": true, + "title": "Storage Transfer API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "streetviewpublish:v1", - "name": "streetviewpublish", - "version": "v1", - "title": "Street View Publish API", "description": "Publishes 360 photos to Google Maps, along with position, orientation, and connectivity metadata. Apps can offer an interface for positioning, connecting, and uploading user-generated Street View images.", "discoveryRestUrl": "https://streetviewpublish.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/streetview/publish/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/streetview/publish/", - "preferred": true + "id": "streetviewpublish:v1", + "kind": "discovery#directoryItem", + "name": "streetviewpublish", + "preferred": true, + "title": "Street View Publish API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "sts:v1beta", - "name": "sts", - "version": "v1beta", - "title": "Security Token Service API", "description": "The Security Token Service exchanges Google or third-party credentials for a short-lived access token to Google Cloud resources.", "discoveryRestUrl": "https://sts.googleapis.com/$discovery/rest?version=v1beta", + "documentationLink": "http://cloud.google.com/iam/docs/workload-identity-federation", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "http://cloud.google.com/iam/docs/workload-identity-federation", - "preferred": false - }, - { + "id": "sts:v1beta", "kind": "discovery#directoryItem", - "id": "sts:v1", "name": "sts", - "version": "v1", + "preferred": false, "title": "Security Token Service API", + "version": "v1beta" + }, + { "description": "The Security Token Service exchanges Google or third-party credentials for a short-lived access token to Google Cloud resources.", "discoveryRestUrl": "https://sts.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "http://cloud.google.com/iam/docs/workload-identity-federation", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "http://cloud.google.com/iam/docs/workload-identity-federation", - "preferred": true + "id": "sts:v1", + "kind": "discovery#directoryItem", + "name": "sts", + "preferred": true, + "title": "Security Token Service API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "tagmanager:v1", - "name": "tagmanager", - "version": "v1", - "title": "Tag Manager API", "description": "This API allows clients to access and modify container and tag configuration.", "discoveryRestUrl": "https://tagmanager.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/tag-manager", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/tag-manager", - "preferred": false - }, - { + "id": "tagmanager:v1", "kind": "discovery#directoryItem", - "id": "tagmanager:v2", "name": "tagmanager", - "version": "v2", + "preferred": false, "title": "Tag Manager API", + "version": "v1" + }, + { "description": "This API allows clients to access and modify container and tag configuration.", "discoveryRestUrl": "https://tagmanager.googleapis.com/$discovery/rest?version=v2", + "documentationLink": "https://developers.google.com/tag-manager", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/tag-manager", - "preferred": true + "id": "tagmanager:v2", + "kind": "discovery#directoryItem", + "name": "tagmanager", + "preferred": true, + "title": "Tag Manager API", + "version": "v2" }, { - "kind": "discovery#directoryItem", - "id": "tasks:v1", - "name": "tasks", - "version": "v1", - "title": "Google Tasks API", "description": "The Google Tasks API lets you manage your tasks and task lists.", "discoveryRestUrl": "https://tasks.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/tasks/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/tasks/", - "preferred": true + "id": "tasks:v1", + "kind": "discovery#directoryItem", + "name": "tasks", + "preferred": true, + "title": "Google Tasks API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "testing:v1", - "name": "testing", - "version": "v1", - "title": "Cloud Testing API", "description": "Allows developers to run automated tests for their mobile applications on Google infrastructure.", "discoveryRestUrl": "https://testing.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://firebase.google.com/docs/test-lab/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://firebase.google.com/docs/test-lab/", - "preferred": true + "id": "testing:v1", + "kind": "discovery#directoryItem", + "name": "testing", + "preferred": true, + "title": "Cloud Testing API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "texttospeech:v1beta1", - "name": "texttospeech", - "version": "v1beta1", - "title": "Cloud Text-to-Speech API", "description": "Synthesizes natural-sounding speech by applying powerful neural network models.", "discoveryRestUrl": "https://texttospeech.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://cloud.google.com/text-to-speech/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/text-to-speech/", - "preferred": false - }, - { + "id": "texttospeech:v1beta1", "kind": "discovery#directoryItem", - "id": "texttospeech:v1", "name": "texttospeech", - "version": "v1", + "preferred": false, "title": "Cloud Text-to-Speech API", + "version": "v1beta1" + }, + { "description": "Synthesizes natural-sounding speech by applying powerful neural network models.", "discoveryRestUrl": "https://texttospeech.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/text-to-speech/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/text-to-speech/", - "preferred": true + "id": "texttospeech:v1", + "kind": "discovery#directoryItem", + "name": "texttospeech", + "preferred": true, + "title": "Cloud Text-to-Speech API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "toolresults:v1beta3", - "name": "toolresults", - "version": "v1beta3", - "title": "Cloud Tool Results API", "description": "API to publish and access results from developer tools.", "discoveryRestUrl": "https://toolresults.googleapis.com/$discovery/rest?version=v1beta3", + "documentationLink": "https://firebase.google.com/docs/test-lab/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://firebase.google.com/docs/test-lab/", - "preferred": true + "id": "toolresults:v1beta3", + "kind": "discovery#directoryItem", + "name": "toolresults", + "preferred": true, + "title": "Cloud Tool Results API", + "version": "v1beta3" }, { - "kind": "discovery#directoryItem", - "id": "tpu:v1alpha1", - "name": "tpu", - "version": "v1alpha1", - "title": "Cloud TPU API", "description": "TPU API provides customers with access to Google TPU technology.", "discoveryRestUrl": "https://tpu.googleapis.com/$discovery/rest?version=v1alpha1", + "documentationLink": "https://cloud.google.com/tpu/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/tpu/", - "preferred": false - }, - { + "id": "tpu:v1alpha1", "kind": "discovery#directoryItem", - "id": "tpu:v2alpha1", "name": "tpu", - "version": "v2alpha1", + "preferred": false, "title": "Cloud TPU API", + "version": "v1alpha1" + }, + { "description": "TPU API provides customers with access to Google TPU technology.", "discoveryRestUrl": "https://tpu.googleapis.com/$discovery/rest?version=v2alpha1", + "documentationLink": "https://cloud.google.com/tpu/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/tpu/", - "preferred": false - }, - { + "id": "tpu:v2alpha1", "kind": "discovery#directoryItem", - "id": "tpu:v1", "name": "tpu", - "version": "v1", + "preferred": false, "title": "Cloud TPU API", + "version": "v2alpha1" + }, + { "description": "TPU API provides customers with access to Google TPU technology.", "discoveryRestUrl": "https://tpu.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/tpu/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/tpu/", - "preferred": false - }, - { + "id": "tpu:v1", "kind": "discovery#directoryItem", - "id": "tpu:v2", "name": "tpu", - "version": "v2", + "preferred": false, "title": "Cloud TPU API", + "version": "v1" + }, + { "description": "TPU API provides customers with access to Google TPU technology.", "discoveryRestUrl": "https://tpu.googleapis.com/$discovery/rest?version=v2", + "documentationLink": "https://cloud.google.com/tpu/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/tpu/", - "preferred": true + "id": "tpu:v2", + "kind": "discovery#directoryItem", + "name": "tpu", + "preferred": true, + "title": "Cloud TPU API", + "version": "v2" }, { - "kind": "discovery#directoryItem", - "id": "trafficdirector:v2", - "name": "trafficdirector", - "version": "v2", - "title": "Traffic Director API", "description": "", "discoveryRestUrl": "https://trafficdirector.googleapis.com/$discovery/rest?version=v2", + "documentationLink": "https://cloud.google.com/traffic-director", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/traffic-director", - "preferred": false - }, - { + "id": "trafficdirector:v2", "kind": "discovery#directoryItem", - "id": "trafficdirector:v3", "name": "trafficdirector", - "version": "v3", + "preferred": false, "title": "Traffic Director API", + "version": "v2" + }, + { "description": "", "discoveryRestUrl": "https://trafficdirector.googleapis.com/$discovery/rest?version=v3", + "documentationLink": "https://cloud.google.com/traffic-director", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/traffic-director", - "preferred": true + "id": "trafficdirector:v3", + "kind": "discovery#directoryItem", + "name": "trafficdirector", + "preferred": true, + "title": "Traffic Director API", + "version": "v3" }, { - "kind": "discovery#directoryItem", - "id": "transcoder:v1", - "name": "transcoder", - "version": "v1", - "title": "Transcoder API", "description": "This API converts video files into formats suitable for consumer distribution. For more information, see the Transcoder API overview .", "discoveryRestUrl": "https://transcoder.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/transcoder/docs/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/transcoder/docs/", - "preferred": true + "id": "transcoder:v1", + "kind": "discovery#directoryItem", + "name": "transcoder", + "preferred": true, + "title": "Transcoder API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "translate:v3beta1", - "name": "translate", - "version": "v3beta1", - "title": "Cloud Translation API", "description": "Integrates text translation into your website or application.", "discoveryRestUrl": "https://translation.googleapis.com/$discovery/rest?version=v3beta1", + "documentationLink": "https://cloud.google.com/translate/docs/quickstarts", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/translate/docs/quickstarts", - "preferred": false - }, - { + "id": "translate:v3beta1", "kind": "discovery#directoryItem", - "id": "translate:v2", "name": "translate", - "version": "v2", + "preferred": false, "title": "Cloud Translation API", + "version": "v3beta1" + }, + { "description": "Integrates text translation into your website or application.", "discoveryRestUrl": "https://translation.googleapis.com/$discovery/rest?version=v2", + "documentationLink": "https://cloud.google.com/translate/docs/quickstarts", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/translate/docs/quickstarts", - "preferred": false - }, - { + "id": "translate:v2", "kind": "discovery#directoryItem", - "id": "translate:v3", "name": "translate", - "version": "v3", + "preferred": false, "title": "Cloud Translation API", + "version": "v2" + }, + { "description": "Integrates text translation into your website or application.", "discoveryRestUrl": "https://translation.googleapis.com/$discovery/rest?version=v3", + "documentationLink": "https://cloud.google.com/translate/docs/quickstarts", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/translate/docs/quickstarts", - "preferred": true + "id": "translate:v3", + "kind": "discovery#directoryItem", + "name": "translate", + "preferred": true, + "title": "Cloud Translation API", + "version": "v3" }, { - "kind": "discovery#directoryItem", - "id": "travelimpactmodel:v1", - "name": "travelimpactmodel", - "version": "v1", - "title": "Travel Impact Model API", "description": "Travel Impact Model API lets you query travel carbon emission estimates.", "discoveryRestUrl": "https://travelimpactmodel.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/travel/impact-model", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/travel/impact-model", - "preferred": true + "id": "travelimpactmodel:v1", + "kind": "discovery#directoryItem", + "name": "travelimpactmodel", + "preferred": true, + "title": "Travel Impact Model API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "vault:v1", - "name": "vault", - "version": "v1", - "title": "Google Vault API", "description": "Retention and eDiscovery for Google Workspace. To work with Vault resources, the account must have the [required Vault privileges](https://support.google.com/vault/answer/2799699) and access to the matter. To access a matter, the account must have created the matter, have the matter shared with them, or have the **View All Matters** privilege. For example, to download an export, an account needs the **Manage Exports** privilege and the matter shared with them.", "discoveryRestUrl": "https://vault.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/vault", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/vault", - "preferred": true + "id": "vault:v1", + "kind": "discovery#directoryItem", + "name": "vault", + "preferred": true, + "title": "Google Vault API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "verifiedaccess:v1", - "name": "verifiedaccess", - "version": "v1", - "title": "Chrome Verified Access API", "description": "API for Verified Access chrome extension to provide credential verification for chrome devices connecting to an enterprise network", "discoveryRestUrl": "https://verifiedaccess.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/chrome/verified-access", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/chrome/verified-access", - "preferred": false - }, - { + "id": "verifiedaccess:v1", "kind": "discovery#directoryItem", - "id": "verifiedaccess:v2", "name": "verifiedaccess", - "version": "v2", + "preferred": false, "title": "Chrome Verified Access API", + "version": "v1" + }, + { "description": "API for Verified Access chrome extension to provide credential verification for chrome devices connecting to an enterprise network", "discoveryRestUrl": "https://verifiedaccess.googleapis.com/$discovery/rest?version=v2", + "documentationLink": "https://developers.google.com/chrome/verified-access", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/chrome/verified-access", - "preferred": true + "id": "verifiedaccess:v2", + "kind": "discovery#directoryItem", + "name": "verifiedaccess", + "preferred": true, + "title": "Chrome Verified Access API", + "version": "v2" }, { - "kind": "discovery#directoryItem", - "id": "versionhistory:v1", - "name": "versionhistory", - "version": "v1", - "title": "versionhistory.googleapis.com API", "description": "Version History API - Prod", "discoveryRestUrl": "https://versionhistory.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.chrome.com/versionhistory", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.chrome.com/versionhistory", - "preferred": true + "id": "versionhistory:v1", + "kind": "discovery#directoryItem", + "name": "versionhistory", + "preferred": true, + "title": "versionhistory.googleapis.com API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "videointelligence:v1p1beta1", - "name": "videointelligence", - "version": "v1p1beta1", - "title": "Cloud Video Intelligence API", "description": "Detects objects, explicit content, and scene changes in videos. It also specifies the region for annotation and transcribes speech to text. Supports both asynchronous API and streaming API.", "discoveryRestUrl": "https://videointelligence.googleapis.com/$discovery/rest?version=v1p1beta1", + "documentationLink": "https://cloud.google.com/video-intelligence/docs/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/video-intelligence/docs/", - "preferred": false - }, - { + "id": "videointelligence:v1p1beta1", "kind": "discovery#directoryItem", - "id": "videointelligence:v1p2beta1", "name": "videointelligence", - "version": "v1p2beta1", + "preferred": false, "title": "Cloud Video Intelligence API", + "version": "v1p1beta1" + }, + { "description": "Detects objects, explicit content, and scene changes in videos. It also specifies the region for annotation and transcribes speech to text. Supports both asynchronous API and streaming API.", "discoveryRestUrl": "https://videointelligence.googleapis.com/$discovery/rest?version=v1p2beta1", + "documentationLink": "https://cloud.google.com/video-intelligence/docs/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/video-intelligence/docs/", - "preferred": false - }, - { + "id": "videointelligence:v1p2beta1", "kind": "discovery#directoryItem", - "id": "videointelligence:v1p3beta1", "name": "videointelligence", - "version": "v1p3beta1", + "preferred": false, "title": "Cloud Video Intelligence API", + "version": "v1p2beta1" + }, + { "description": "Detects objects, explicit content, and scene changes in videos. It also specifies the region for annotation and transcribes speech to text. Supports both asynchronous API and streaming API.", "discoveryRestUrl": "https://videointelligence.googleapis.com/$discovery/rest?version=v1p3beta1", + "documentationLink": "https://cloud.google.com/video-intelligence/docs/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/video-intelligence/docs/", - "preferred": false - }, - { + "id": "videointelligence:v1p3beta1", "kind": "discovery#directoryItem", - "id": "videointelligence:v1beta2", "name": "videointelligence", - "version": "v1beta2", + "preferred": false, "title": "Cloud Video Intelligence API", + "version": "v1p3beta1" + }, + { "description": "Detects objects, explicit content, and scene changes in videos. It also specifies the region for annotation and transcribes speech to text. Supports both asynchronous API and streaming API.", "discoveryRestUrl": "https://videointelligence.googleapis.com/$discovery/rest?version=v1beta2", + "documentationLink": "https://cloud.google.com/video-intelligence/docs/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/video-intelligence/docs/", - "preferred": false - }, - { + "id": "videointelligence:v1beta2", "kind": "discovery#directoryItem", - "id": "videointelligence:v1", "name": "videointelligence", - "version": "v1", + "preferred": false, "title": "Cloud Video Intelligence API", + "version": "v1beta2" + }, + { "description": "Detects objects, explicit content, and scene changes in videos. It also specifies the region for annotation and transcribes speech to text. Supports both asynchronous API and streaming API.", "discoveryRestUrl": "https://videointelligence.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/video-intelligence/docs/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/video-intelligence/docs/", - "preferred": true + "id": "videointelligence:v1", + "kind": "discovery#directoryItem", + "name": "videointelligence", + "preferred": true, + "title": "Cloud Video Intelligence API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "vision:v1p1beta1", - "name": "vision", - "version": "v1p1beta1", - "title": "Cloud Vision API", "description": "Integrates Google Vision features, including image labeling, face, logo, and landmark detection, optical character recognition (OCR), and detection of explicit content, into applications.", "discoveryRestUrl": "https://vision.googleapis.com/$discovery/rest?version=v1p1beta1", + "documentationLink": "https://cloud.google.com/vision/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/vision/", - "preferred": false - }, - { + "id": "vision:v1p1beta1", "kind": "discovery#directoryItem", - "id": "vision:v1p2beta1", "name": "vision", - "version": "v1p2beta1", + "preferred": false, "title": "Cloud Vision API", + "version": "v1p1beta1" + }, + { "description": "Integrates Google Vision features, including image labeling, face, logo, and landmark detection, optical character recognition (OCR), and detection of explicit content, into applications.", "discoveryRestUrl": "https://vision.googleapis.com/$discovery/rest?version=v1p2beta1", + "documentationLink": "https://cloud.google.com/vision/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/vision/", - "preferred": false - }, - { + "id": "vision:v1p2beta1", "kind": "discovery#directoryItem", - "id": "vision:v1", "name": "vision", - "version": "v1", + "preferred": false, "title": "Cloud Vision API", + "version": "v1p2beta1" + }, + { "description": "Integrates Google Vision features, including image labeling, face, logo, and landmark detection, optical character recognition (OCR), and detection of explicit content, into applications.", "discoveryRestUrl": "https://vision.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/vision/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/vision/", - "preferred": true + "id": "vision:v1", + "kind": "discovery#directoryItem", + "name": "vision", + "preferred": true, + "title": "Cloud Vision API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "vmmigration:v1alpha1", - "name": "vmmigration", - "version": "v1alpha1", - "title": "VM Migration API", "description": "Use the Migrate to Virtual Machines API to programmatically migrate workloads.", "discoveryRestUrl": "https://vmmigration.googleapis.com/$discovery/rest?version=v1alpha1", + "documentationLink": "https://cloud.google.com/migrate/virtual-machines", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/migrate/virtual-machines", - "preferred": false - }, - { + "id": "vmmigration:v1alpha1", "kind": "discovery#directoryItem", - "id": "vmmigration:v1", "name": "vmmigration", - "version": "v1", + "preferred": false, "title": "VM Migration API", + "version": "v1alpha1" + }, + { "description": "Use the Migrate to Virtual Machines API to programmatically migrate workloads.", "discoveryRestUrl": "https://vmmigration.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/migrate/virtual-machines", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/migrate/virtual-machines", - "preferred": true + "id": "vmmigration:v1", + "kind": "discovery#directoryItem", + "name": "vmmigration", + "preferred": true, + "title": "VM Migration API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "vmwareengine:v1", - "name": "vmwareengine", - "version": "v1", - "title": "VMware Engine API", "description": "The Google VMware Engine API lets you programmatically manage VMware environments.", "discoveryRestUrl": "https://vmwareengine.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/solutions/vmware-as-a-service", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/solutions/vmware-as-a-service", - "preferred": true + "id": "vmwareengine:v1", + "kind": "discovery#directoryItem", + "name": "vmwareengine", + "preferred": true, + "title": "VMware Engine API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "vpcaccess:v1beta1", - "name": "vpcaccess", - "version": "v1beta1", - "title": "Serverless VPC Access API", "description": "API for managing VPC access connectors.", "discoveryRestUrl": "https://vpcaccess.googleapis.com/$discovery/rest?version=v1beta1", + "documentationLink": "https://cloud.google.com/vpc/docs/configure-serverless-vpc-access", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/vpc/docs/configure-serverless-vpc-access", - "preferred": false - }, - { + "id": "vpcaccess:v1beta1", "kind": "discovery#directoryItem", - "id": "vpcaccess:v1", "name": "vpcaccess", - "version": "v1", + "preferred": false, "title": "Serverless VPC Access API", + "version": "v1beta1" + }, + { "description": "API for managing VPC access connectors.", "discoveryRestUrl": "https://vpcaccess.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/vpc/docs/configure-serverless-vpc-access", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/vpc/docs/configure-serverless-vpc-access", - "preferred": true + "id": "vpcaccess:v1", + "kind": "discovery#directoryItem", + "name": "vpcaccess", + "preferred": true, + "title": "Serverless VPC Access API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "walletobjects:v1", - "name": "walletobjects", - "version": "v1", - "title": "Google Wallet API", "description": "API for issuers to save and manage Google Wallet Objects.", "discoveryRestUrl": "https://walletobjects.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/pay/passes", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/pay/passes", - "preferred": true + "id": "walletobjects:v1", + "kind": "discovery#directoryItem", + "name": "walletobjects", + "preferred": true, + "title": "Google Wallet API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "webfonts:v1", - "name": "webfonts", - "version": "v1", - "title": "Web Fonts Developer API", "description": "The Google Web Fonts Developer API lets you retrieve information about web fonts served by Google.", "discoveryRestUrl": "https://webfonts.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/fonts/docs/developer_api", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/fonts/docs/developer_api", - "preferred": true + "id": "webfonts:v1", + "kind": "discovery#directoryItem", + "name": "webfonts", + "preferred": true, + "title": "Web Fonts Developer API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "webrisk:v1", - "name": "webrisk", - "version": "v1", - "title": "Web Risk API", "description": "", "discoveryRestUrl": "https://webrisk.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/web-risk/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/web-risk/", - "preferred": true + "id": "webrisk:v1", + "kind": "discovery#directoryItem", + "name": "webrisk", + "preferred": true, + "title": "Web Risk API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "websecurityscanner:v1alpha", - "name": "websecurityscanner", - "version": "v1alpha", - "title": "Web Security Scanner API", "description": "Scans your Compute and App Engine apps for common web vulnerabilities.", "discoveryRestUrl": "https://websecurityscanner.googleapis.com/$discovery/rest?version=v1alpha", + "documentationLink": "https://cloud.google.com/security-command-center/docs/concepts-web-security-scanner-overview/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/security-command-center/docs/concepts-web-security-scanner-overview/", - "preferred": false - }, - { + "id": "websecurityscanner:v1alpha", "kind": "discovery#directoryItem", - "id": "websecurityscanner:v1beta", "name": "websecurityscanner", - "version": "v1beta", + "preferred": false, "title": "Web Security Scanner API", + "version": "v1alpha" + }, + { "description": "Scans your Compute and App Engine apps for common web vulnerabilities.", "discoveryRestUrl": "https://websecurityscanner.googleapis.com/$discovery/rest?version=v1beta", + "documentationLink": "https://cloud.google.com/security-command-center/docs/concepts-web-security-scanner-overview/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/security-command-center/docs/concepts-web-security-scanner-overview/", - "preferred": false - }, - { + "id": "websecurityscanner:v1beta", "kind": "discovery#directoryItem", - "id": "websecurityscanner:v1", "name": "websecurityscanner", - "version": "v1", + "preferred": false, "title": "Web Security Scanner API", + "version": "v1beta" + }, + { "description": "Scans your Compute and App Engine apps for common web vulnerabilities.", "discoveryRestUrl": "https://websecurityscanner.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/security-command-center/docs/concepts-web-security-scanner-overview/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/security-command-center/docs/concepts-web-security-scanner-overview/", - "preferred": true + "id": "websecurityscanner:v1", + "kind": "discovery#directoryItem", + "name": "websecurityscanner", + "preferred": true, + "title": "Web Security Scanner API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "workflowexecutions:v1beta", - "name": "workflowexecutions", - "version": "v1beta", - "title": "Workflow Executions API", "description": "Execute workflows created with Workflows API.", "discoveryRestUrl": "https://workflowexecutions.googleapis.com/$discovery/rest?version=v1beta", + "documentationLink": "https://cloud.google.com/workflows", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/workflows", - "preferred": false - }, - { + "id": "workflowexecutions:v1beta", "kind": "discovery#directoryItem", - "id": "workflowexecutions:v1", "name": "workflowexecutions", - "version": "v1", + "preferred": false, "title": "Workflow Executions API", + "version": "v1beta" + }, + { "description": "Execute workflows created with Workflows API.", "discoveryRestUrl": "https://workflowexecutions.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/workflows", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/workflows", - "preferred": true + "id": "workflowexecutions:v1", + "kind": "discovery#directoryItem", + "name": "workflowexecutions", + "preferred": true, + "title": "Workflow Executions API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "workflows:v1beta", - "name": "workflows", - "version": "v1beta", - "title": "Workflows API", "description": "Manage workflow definitions. To execute workflows and manage executions, see the Workflows Executions API.", "discoveryRestUrl": "https://workflows.googleapis.com/$discovery/rest?version=v1beta", + "documentationLink": "https://cloud.google.com/workflows", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/workflows", - "preferred": false - }, - { + "id": "workflows:v1beta", "kind": "discovery#directoryItem", - "id": "workflows:v1", "name": "workflows", - "version": "v1", + "preferred": false, "title": "Workflows API", + "version": "v1beta" + }, + { "description": "Manage workflow definitions. To execute workflows and manage executions, see the Workflows Executions API.", "discoveryRestUrl": "https://workflows.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/workflows", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/workflows", - "preferred": true + "id": "workflows:v1", + "kind": "discovery#directoryItem", + "name": "workflows", + "preferred": true, + "title": "Workflows API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "workloadmanager:v1", - "name": "workloadmanager", - "version": "v1", - "title": "Workload Manager API", "description": "Workload Manager is a service that provides tooling for enterprise workloads to automate the deployment and validation of your workloads against best practices and recommendations.", "discoveryRestUrl": "https://workloadmanager.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/workload-manager/docs", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/workload-manager/docs", - "preferred": true + "id": "workloadmanager:v1", + "kind": "discovery#directoryItem", + "name": "workloadmanager", + "preferred": true, + "title": "Workload Manager API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "workspaceevents:v1", - "name": "workspaceevents", - "version": "v1", - "title": "Google Workspace Events API", "description": "The Google Workspace Events API lets you subscribe to events and manage change notifications across Google Workspace applications.", "discoveryRestUrl": "https://workspaceevents.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/workspace/events", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/workspace/events", - "preferred": true + "id": "workspaceevents:v1", + "kind": "discovery#directoryItem", + "name": "workspaceevents", + "preferred": true, + "title": "Google Workspace Events API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "workstations:v1beta", - "name": "workstations", - "version": "v1beta", - "title": "Cloud Workstations API", "description": "Allows administrators to create managed developer environments in the cloud.", "discoveryRestUrl": "https://workstations.googleapis.com/$discovery/rest?version=v1beta", + "documentationLink": "https://cloud.google.com/workstations", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/workstations", - "preferred": false - }, - { + "id": "workstations:v1beta", "kind": "discovery#directoryItem", - "id": "workstations:v1", "name": "workstations", - "version": "v1", + "preferred": false, "title": "Cloud Workstations API", + "version": "v1beta" + }, + { "description": "Allows administrators to create managed developer environments in the cloud.", "discoveryRestUrl": "https://workstations.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://cloud.google.com/workstations", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://cloud.google.com/workstations", - "preferred": true + "id": "workstations:v1", + "kind": "discovery#directoryItem", + "name": "workstations", + "preferred": true, + "title": "Cloud Workstations API", + "version": "v1" }, { - "kind": "discovery#directoryItem", - "id": "youtube:v3", - "name": "youtube", - "version": "v3", - "title": "YouTube Data API v3", "description": "The YouTube Data API v3 is an API that provides access to YouTube data, such as videos, playlists, and channels.", "discoveryRestUrl": "https://youtube.googleapis.com/$discovery/rest?version=v3", + "documentationLink": "https://developers.google.com/youtube/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/youtube/", - "preferred": true + "id": "youtube:v3", + "kind": "discovery#directoryItem", + "name": "youtube", + "preferred": true, + "title": "YouTube Data API v3", + "version": "v3" }, { - "kind": "discovery#directoryItem", - "id": "youtubeAnalytics:v2", - "name": "youtubeAnalytics", - "version": "v2", - "title": "YouTube Analytics API", "description": "Retrieves your YouTube Analytics data.", "discoveryRestUrl": "https://youtubeanalytics.googleapis.com/$discovery/rest?version=v2", + "documentationLink": "https://developers.google.com/youtube/analytics", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/youtube/analytics", - "preferred": true + "id": "youtubeAnalytics:v2", + "kind": "discovery#directoryItem", + "name": "youtubeAnalytics", + "preferred": true, + "title": "YouTube Analytics API", + "version": "v2" }, { - "kind": "discovery#directoryItem", - "id": "youtubereporting:v1", - "name": "youtubereporting", - "version": "v1", - "title": "YouTube Reporting API", "description": "Schedules reporting jobs containing your YouTube Analytics data and downloads the resulting bulk data reports in the form of CSV files.", "discoveryRestUrl": "https://youtubereporting.googleapis.com/$discovery/rest?version=v1", + "documentationLink": "https://developers.google.com/youtube/reporting/v1/reports/", "icons": { "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" }, - "documentationLink": "https://developers.google.com/youtube/reporting/v1/reports/", - "preferred": true + "id": "youtubereporting:v1", + "kind": "discovery#directoryItem", + "name": "youtubereporting", + "preferred": true, + "title": "YouTube Reporting API", + "version": "v1" } - ] + ], + "kind": "discovery#directoryList" } \ No newline at end of file diff --git a/discovery/indexing-v3.json b/discovery/indexing-v3.json index 61f6c40328..39d2035186 100644 --- a/discovery/indexing-v3.json +++ b/discovery/indexing-v3.json @@ -149,7 +149,7 @@ } } }, - "revision": "20231003", + "revision": "20230927", "rootUrl": "https://indexing.googleapis.com/", "schemas": { "PublishUrlNotificationResponse": { diff --git a/discovery/integrations-v1.json b/discovery/integrations-v1.json index 0474e03293..5e5c5a96f3 100644 --- a/discovery/integrations-v1.json +++ b/discovery/integrations-v1.json @@ -3790,6 +3790,46 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "download": { + "description": "Downloads a template. Retrieves the `Template` and returns the response as a string.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/templates/{templatesId}:download", + "httpMethod": "GET", + "id": "integrations.projects.locations.templates.download", + "parameterOrder": [ + "name" + ], + "parameters": { + "fileFormat": { + "description": "Required. File format for download request.", + "enum": [ + "FILE_FORMAT_UNSPECIFIED", + "JSON", + "YAML" + ], + "enumDescriptions": [ + "Unspecified file format", + "JSON File Format", + "YAML File Format" + ], + "location": "query", + "type": "string" + }, + "name": { + "description": "Required. The template to download. Format: projects/{project}/locations/{location}/template/{template_id}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/templates/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:download", + "response": { + "$ref": "GoogleCloudIntegrationsV1alphaDownloadTemplateResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "get": { "description": "Get a template in the specified project.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/templates/{templatesId}", @@ -4037,6 +4077,34 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "upload": { + "description": "Uploads a template. The content can be a previously downloaded template. Performs the same function as CreateTemplate, but accepts input in a string format, which holds the complete representation of the Template content.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/templates:upload", + "httpMethod": "POST", + "id": "integrations.projects.locations.templates.upload", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The template to upload. Format: projects/{project}/locations/{location}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/templates:upload", + "request": { + "$ref": "GoogleCloudIntegrationsV1alphaUploadTemplateRequest" + }, + "response": { + "$ref": "GoogleCloudIntegrationsV1alphaUploadTemplateResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "use": { "description": "Use the template to create integration. This api would keep track of usage_count and last_used_time. PERMISSION_DENIED would be thrown if template is not accessible by client.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/templates/{templatesId}:use", @@ -4072,7 +4140,7 @@ } } }, - "revision": "20240622", + "revision": "20240707", "rootUrl": "https://integrations.googleapis.com/", "schemas": { "CrmlogErrorCode": { @@ -5277,6 +5345,10 @@ "description": "Represents external traffic type and id.", "id": "EnterpriseCrmEventbusProtoExternalTraffic", "properties": { + "enableInternalIp": { + "description": "Indicates the client enables internal IP feature, this is applicable for internal clients only.", + "type": "boolean" + }, "gcpProjectId": { "description": "User’s GCP project id the traffic is referring to.", "type": "string" @@ -10114,6 +10186,10 @@ "description": "Description of what the client is used for", "type": "string" }, + "enableInternalIp": { + "description": "Optional. Indicates the client enables internal IP feature, this is applicable for internal clients only.", + "type": "boolean" + }, "enableVariableMasking": { "description": "Optional. True if variable masking feature should be turned on for this region", "type": "boolean" @@ -10469,6 +10545,17 @@ }, "type": "object" }, + "GoogleCloudIntegrationsV1alphaDownloadTemplateResponse": { + "description": "Response for DownloadTemplate.", + "id": "GoogleCloudIntegrationsV1alphaDownloadTemplateResponse", + "properties": { + "content": { + "description": "String representation of the template.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsResponse": { "description": "Response containing all provisioned regions for Connector Platform.", "id": "GoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsResponse", @@ -11013,16 +11100,20 @@ "description": "Request to Import template", "id": "GoogleCloudIntegrationsV1alphaImportTemplateRequest", "properties": { - "configParameters": { - "description": "Optional. Config parameters which would be used to configure template bundles.", - "items": { - "$ref": "GoogleCloudIntegrationsV1alphaIntegrationConfigParameter" - }, - "type": "array" - }, "integration": { "description": "Required. Name of the integration where template needs to be imported.", "type": "string" + }, + "integrationRegion": { + "description": "Required. The region of the Integration to be created.", + "type": "string" + }, + "subIntegrations": { + "additionalProperties": { + "$ref": "GoogleCloudIntegrationsV1alphaUseTemplateRequestIntegrationDetails" + }, + "description": "Optional. Sub Integration which would be created via templates.", + "type": "object" } }, "type": "object" @@ -11516,16 +11607,13 @@ "description": "Define the template of IntegrationVersion.", "id": "GoogleCloudIntegrationsV1alphaIntegrationVersionTemplate", "properties": { - "configParameters": { - "description": "Required. Config parameters which are required for the integration template. These config parameters would be requested by users while creating integration.", - "items": { - "$ref": "GoogleCloudIntegrationsV1alphaIntegrationConfigParameter" - }, - "type": "array" - }, "integrationVersion": { "$ref": "GoogleCloudIntegrationsV1alphaIntegrationVersion", "description": "Required. Templatized version of integration." + }, + "key": { + "description": "Required. Unique Key of the IntegrationVersion.", + "type": "string" } }, "type": "object" @@ -12970,7 +13058,7 @@ "enum": [ "CATEGORY_UNSPECIFIED", "AI_MACHINE_LEARNING", - "BUSINESS_INTELLIGENCE_", + "BUSINESS_INTELLIGENCE", "COLLABORATION", "CUSTOMER_SERVICE", "DATABASES", @@ -13383,23 +13471,74 @@ }, "type": "object" }, + "GoogleCloudIntegrationsV1alphaUploadTemplateRequest": { + "description": "Request for UploadTemplate.", + "id": "GoogleCloudIntegrationsV1alphaUploadTemplateRequest", + "properties": { + "content": { + "description": "Required. The textproto of the template.", + "type": "string" + }, + "fileFormat": { + "description": "Required. File format for upload request.", + "enum": [ + "FILE_FORMAT_UNSPECIFIED", + "JSON", + "YAML" + ], + "enumDescriptions": [ + "Unspecified file format", + "JSON File Format", + "YAML File Format" + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudIntegrationsV1alphaUploadTemplateResponse": { + "description": "Response for UploadTemplate.", + "id": "GoogleCloudIntegrationsV1alphaUploadTemplateResponse", + "properties": { + "template": { + "$ref": "GoogleCloudIntegrationsV1alphaTemplate", + "description": "The uploaded Template" + } + }, + "type": "object" + }, "GoogleCloudIntegrationsV1alphaUseTemplateRequest": { "description": "Request to Use template", "id": "GoogleCloudIntegrationsV1alphaUseTemplateRequest", "properties": { - "configParameters": { - "description": "Optional. Config parameters which would be used to configure template bundles.", - "items": { - "$ref": "GoogleCloudIntegrationsV1alphaIntegrationConfigParameter" - }, - "type": "array" + "integrationDetails": { + "$ref": "GoogleCloudIntegrationsV1alphaUseTemplateRequestIntegrationDetails", + "description": "Required. Integration details which would be created via templates." }, + "integrationRegion": { + "description": "Required. The region of the Integration to be created.", + "type": "string" + }, + "subIntegrations": { + "additionalProperties": { + "$ref": "GoogleCloudIntegrationsV1alphaUseTemplateRequestIntegrationDetails" + }, + "description": "Optional. Sub Integration which would be created via templates.", + "type": "object" + } + }, + "type": "object" + }, + "GoogleCloudIntegrationsV1alphaUseTemplateRequestIntegrationDetails": { + "description": "Sub Integration which would be created via templates.", + "id": "GoogleCloudIntegrationsV1alphaUseTemplateRequestIntegrationDetails", + "properties": { "integration": { - "description": "Required. Name of the integration which would be created via templates.", + "description": "Required. Name of the sub integration which would be created via templates.", "type": "string" }, "integrationDescription": { - "description": "Optional. Description of the integration which would be created via templates.", + "description": "Optional. Description of the sub integration which would be created via templates.", "type": "string" } }, diff --git a/discovery/jobs-v3.json b/discovery/jobs-v3.json index b1050eea18..07ec3f87a9 100644 --- a/discovery/jobs-v3.json +++ b/discovery/jobs-v3.json @@ -652,7 +652,7 @@ } } }, - "revision": "20240620", + "revision": "20240614", "rootUrl": "https://jobs.googleapis.com/", "schemas": { "ApplicationInfo": { diff --git a/discovery/jobs-v3p1beta1.json b/discovery/jobs-v3p1beta1.json index 93441883da..1b393d267c 100644 --- a/discovery/jobs-v3p1beta1.json +++ b/discovery/jobs-v3p1beta1.json @@ -682,7 +682,7 @@ } } }, - "revision": "20240620", + "revision": "20240614", "rootUrl": "https://jobs.googleapis.com/", "schemas": { "ApplicationInfo": { diff --git a/discovery/jobs-v4.json b/discovery/jobs-v4.json index ba63a6f2a9..08df01af74 100644 --- a/discovery/jobs-v4.json +++ b/discovery/jobs-v4.json @@ -903,7 +903,7 @@ } } }, - "revision": "20240620", + "revision": "20240614", "rootUrl": "https://jobs.googleapis.com/", "schemas": { "ApplicationInfo": { diff --git a/discovery/keep-v1.json b/discovery/keep-v1.json new file mode 100644 index 0000000000..05a86882c5 --- /dev/null +++ b/discovery/keep-v1.json @@ -0,0 +1,623 @@ +{ + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/keep": { + "description": "See, edit, create and permanently delete all your Google Keep data" + }, + "https://www.googleapis.com/auth/keep.readonly": { + "description": "View all your Google Keep data" + } + } + } + }, + "basePath": "", + "baseUrl": "https://keep.googleapis.com/", + "batchPath": "batch", + "canonicalName": "Keep", + "description": "The Google Keep API is used in an enterprise environment to manage Google Keep content and resolve issues identified by cloud security software.", + "discoveryVersion": "v1", + "documentationLink": "https://developers.google.com/keep/api", + "fullyEncodeReservedExpansion": true, + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "id": "keep:v1", + "kind": "discovery#restDescription", + "mtlsRootUrl": "https://keep.mtls.googleapis.com/", + "name": "keep", + "ownerDomain": "google.com", + "ownerName": "Google", + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "enum": [ + "1", + "2" + ], + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, + "alt": { + "default": "json", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "type": "string" + }, + "callback": { + "description": "JSONP", + "location": "query", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" + }, + "quotaUser": { + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", + "location": "query", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "location": "query", + "type": "string" + } + }, + "protocol": "rest", + "resources": { + "media": { + "methods": { + "download": { + "description": "Gets an attachment. To download attachment media via REST requires the alt=media query parameter. Returns a 400 bad request error if attachment media is not available in the requested MIME type.", + "flatPath": "v1/notes/{notesId}/attachments/{attachmentsId}", + "httpMethod": "GET", + "id": "keep.media.download", + "parameterOrder": [ + "name" + ], + "parameters": { + "mimeType": { + "description": "The IANA MIME type format requested. The requested MIME type must be one specified in the attachment.mime_type. Required when downloading attachment media and ignored otherwise.", + "location": "query", + "type": "string" + }, + "name": { + "description": "Required. The name of the attachment.", + "location": "path", + "pattern": "^notes/[^/]+/attachments/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Attachment" + }, + "scopes": [ + "https://www.googleapis.com/auth/keep", + "https://www.googleapis.com/auth/keep.readonly" + ], + "supportsMediaDownload": true, + "useMediaDownloadService": true + } + } + }, + "notes": { + "methods": { + "create": { + "description": "Creates a new note.", + "flatPath": "v1/notes", + "httpMethod": "POST", + "id": "keep.notes.create", + "parameterOrder": [], + "parameters": {}, + "path": "v1/notes", + "request": { + "$ref": "Note" + }, + "response": { + "$ref": "Note" + }, + "scopes": [ + "https://www.googleapis.com/auth/keep" + ] + }, + "delete": { + "description": "Deletes a note. Caller must have the `OWNER` role on the note to delete. Deleting a note removes the resource immediately and cannot be undone. Any collaborators will lose access to the note.", + "flatPath": "v1/notes/{notesId}", + "httpMethod": "DELETE", + "id": "keep.notes.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the note to delete.", + "location": "path", + "pattern": "^notes/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/keep" + ] + }, + "get": { + "description": "Gets a note.", + "flatPath": "v1/notes/{notesId}", + "httpMethod": "GET", + "id": "keep.notes.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the resource.", + "location": "path", + "pattern": "^notes/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Note" + }, + "scopes": [ + "https://www.googleapis.com/auth/keep", + "https://www.googleapis.com/auth/keep.readonly" + ] + }, + "list": { + "description": "Lists notes. Every list call returns a page of results with `page_size` as the upper bound of returned items. A `page_size` of zero allows the server to choose the upper bound. The ListNotesResponse contains at most `page_size` entries. If there are more things left to list, it provides a `next_page_token` value. (Page tokens are opaque values.) To get the next page of results, copy the result's `next_page_token` into the next request's `page_token`. Repeat until the `next_page_token` returned with a page of results is empty. ListNotes return consistent results in the face of concurrent changes, or signals that it cannot with an ABORTED error.", + "flatPath": "v1/notes", + "httpMethod": "GET", + "id": "keep.notes.list", + "parameterOrder": [], + "parameters": { + "filter": { + "description": "Filter for list results. If no filter is supplied, the `trashed` filter is applied by default. Valid fields to filter by are: `create_time`, `update_time`, `trash_time`, and `trashed`. Filter syntax follows the [Google AIP filtering spec](https://aip.dev/160).", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "The maximum number of results to return.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The previous page's `next_page_token` field.", + "location": "query", + "type": "string" + } + }, + "path": "v1/notes", + "response": { + "$ref": "ListNotesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/keep", + "https://www.googleapis.com/auth/keep.readonly" + ] + } + }, + "resources": { + "permissions": { + "methods": { + "batchCreate": { + "description": "Creates one or more permissions on the note. Only permissions with the `WRITER` role may be created. If adding any permission fails, then the entire request fails and no changes are made.", + "flatPath": "v1/notes/{notesId}/permissions:batchCreate", + "httpMethod": "POST", + "id": "keep.notes.permissions.batchCreate", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "The parent resource shared by all Permissions being created. Format: `notes/{note}` If this is set, the parent field in the CreatePermission messages must either be empty or match this field.", + "location": "path", + "pattern": "^notes/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/permissions:batchCreate", + "request": { + "$ref": "BatchCreatePermissionsRequest" + }, + "response": { + "$ref": "BatchCreatePermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/keep" + ] + }, + "batchDelete": { + "description": "Deletes one or more permissions on the note. The specified entities will immediately lose access. A permission with the `OWNER` role can't be removed. If removing a permission fails, then the entire request fails and no changes are made. Returns a 400 bad request error if a specified permission does not exist on the note.", + "flatPath": "v1/notes/{notesId}/permissions:batchDelete", + "httpMethod": "POST", + "id": "keep.notes.permissions.batchDelete", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "The parent resource shared by all permissions being deleted. Format: `notes/{note}` If this is set, the parent of all of the permissions specified in the DeletePermissionRequest messages must match this field.", + "location": "path", + "pattern": "^notes/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/permissions:batchDelete", + "request": { + "$ref": "BatchDeletePermissionsRequest" + }, + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/keep" + ] + } + } + } + } + } + }, + "revision": "20220322", + "rootUrl": "https://keep.googleapis.com/", + "schemas": { + "Attachment": { + "description": "An attachment to a note.", + "id": "Attachment", + "properties": { + "mimeType": { + "description": "The MIME types (IANA media types) in which the attachment is available.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "The resource name;", + "type": "string" + } + }, + "type": "object" + }, + "BatchCreatePermissionsRequest": { + "description": "The request to add one or more permissions on the note. Currently, only the `WRITER` role may be specified. If adding a permission fails, then the entire request fails and no changes are made.", + "id": "BatchCreatePermissionsRequest", + "properties": { + "requests": { + "description": "The request message specifying the resources to create.", + "items": { + "$ref": "CreatePermissionRequest" + }, + "type": "array" + } + }, + "type": "object" + }, + "BatchCreatePermissionsResponse": { + "description": "The response for creating permissions on a note.", + "id": "BatchCreatePermissionsResponse", + "properties": { + "permissions": { + "description": "Permissions created.", + "items": { + "$ref": "Permission" + }, + "type": "array" + } + }, + "type": "object" + }, + "BatchDeletePermissionsRequest": { + "description": "The request to remove one or more permissions from a note. A permission with the `OWNER` role can't be removed. If removing a permission fails, then the entire request fails and no changes are made. Returns a 400 bad request error if a specified permission does not exist on the note.", + "id": "BatchDeletePermissionsRequest", + "properties": { + "names": { + "description": "Required. The names of the permissions to delete. Format: `notes/{note}/permissions/{permission}`", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "CreatePermissionRequest": { + "description": "The request to add a single permission on the note.", + "id": "CreatePermissionRequest", + "properties": { + "parent": { + "description": "Required. The parent note where this permission will be created. Format: `notes/{note}`", + "type": "string" + }, + "permission": { + "$ref": "Permission", + "description": "Required. The permission to create. One of Permission.email, User.email or Group.email must be supplied." + } + }, + "type": "object" + }, + "Empty": { + "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", + "id": "Empty", + "properties": {}, + "type": "object" + }, + "Family": { + "description": "Describes a single Google Family.", + "id": "Family", + "properties": {}, + "type": "object" + }, + "Group": { + "description": "Describes a single Group.", + "id": "Group", + "properties": { + "email": { + "description": "The group email.", + "type": "string" + } + }, + "type": "object" + }, + "ListContent": { + "description": "The list of items for a single list note.", + "id": "ListContent", + "properties": { + "listItems": { + "description": "The items in the list. The number of items must be less than 1,000.", + "items": { + "$ref": "ListItem" + }, + "type": "array" + } + }, + "type": "object" + }, + "ListItem": { + "description": "A single list item in a note's list.", + "id": "ListItem", + "properties": { + "checked": { + "description": "Whether this item has been checked off or not.", + "type": "boolean" + }, + "childListItems": { + "description": "If set, list of list items nested under this list item. Only one level of nesting is allowed.", + "items": { + "$ref": "ListItem" + }, + "type": "array" + }, + "text": { + "$ref": "TextContent", + "description": "The text of this item. Length must be less than 1,000 characters." + } + }, + "type": "object" + }, + "ListNotesResponse": { + "description": "The response when listing a page of notes.", + "id": "ListNotesResponse", + "properties": { + "nextPageToken": { + "description": "Next page's `page_token` field.", + "type": "string" + }, + "notes": { + "description": "A page of notes.", + "items": { + "$ref": "Note" + }, + "type": "array" + } + }, + "type": "object" + }, + "Note": { + "description": "A single note.", + "id": "Note", + "properties": { + "attachments": { + "description": "Output only. The attachments attached to this note.", + "items": { + "$ref": "Attachment" + }, + "readOnly": true, + "type": "array" + }, + "body": { + "$ref": "Section", + "description": "The body of the note." + }, + "createTime": { + "description": "Output only. When this note was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "name": { + "description": "Output only. The resource name of this note. See general note on identifiers in KeepService.", + "readOnly": true, + "type": "string" + }, + "permissions": { + "description": "Output only. The list of permissions set on the note. Contains at least one entry for the note owner.", + "items": { + "$ref": "Permission" + }, + "readOnly": true, + "type": "array" + }, + "title": { + "description": "The title of the note. Length must be less than 1,000 characters.", + "type": "string" + }, + "trashTime": { + "description": "Output only. When this note was trashed. If `trashed`, the note is eventually deleted. If the note is not trashed, this field is not set (and the trashed field is `false`).", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "trashed": { + "description": "Output only. `true` if this note has been trashed. If trashed, the note is eventually deleted.", + "readOnly": true, + "type": "boolean" + }, + "updateTime": { + "description": "Output only. When this note was last modified.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "Permission": { + "description": "A single permission on the note. Associates a `member` with a `role`.", + "id": "Permission", + "properties": { + "deleted": { + "description": "Output only. Whether this member has been deleted. If the member is recovered, this value is set to false and the recovered member retains the role on the note.", + "readOnly": true, + "type": "boolean" + }, + "email": { + "description": "The email associated with the member. If set on create, the `email` field in the `User` or `Group` message must either be empty or match this field. On read, may be unset if the member does not have an associated email.", + "type": "string" + }, + "family": { + "$ref": "Family", + "description": "Output only. The Google Family to which this role applies.", + "readOnly": true + }, + "group": { + "$ref": "Group", + "description": "Output only. The group to which this role applies.", + "readOnly": true + }, + "name": { + "description": "Output only. The resource name.", + "readOnly": true, + "type": "string" + }, + "role": { + "description": "The role granted by this permission. The role determines the entity’s ability to read, write, and share notes.", + "enum": [ + "ROLE_UNSPECIFIED", + "OWNER", + "WRITER" + ], + "enumDescriptions": [ + "An undefined role.", + "A role granting full access. This role cannot be added or removed. Defined by the creator of the note.", + "A role granting the ability to contribute content and modify note permissions." + ], + "type": "string" + }, + "user": { + "$ref": "User", + "description": "Output only. The user to whom this role applies.", + "readOnly": true + } + }, + "type": "object" + }, + "Section": { + "description": "The content of the note.", + "id": "Section", + "properties": { + "list": { + "$ref": "ListContent", + "description": "Used if this section's content is a list." + }, + "text": { + "$ref": "TextContent", + "description": "Used if this section's content is a block of text. The length of the text content must be less than 20,000 characters." + } + }, + "type": "object" + }, + "TextContent": { + "description": "The block of text for a single text section or list item.", + "id": "TextContent", + "properties": { + "text": { + "description": "The text of the note. The limits on this vary with the specific field using this type.", + "type": "string" + } + }, + "type": "object" + }, + "User": { + "description": "Describes a single user.", + "id": "User", + "properties": { + "email": { + "description": "The user's email.", + "type": "string" + } + }, + "type": "object" + } + }, + "servicePath": "", + "title": "Google Keep API", + "version": "v1", + "version_module": true +} \ No newline at end of file diff --git a/discovery/kgsearch-v1.json b/discovery/kgsearch-v1.json index 2a32007722..43622bcf26 100644 --- a/discovery/kgsearch-v1.json +++ b/discovery/kgsearch-v1.json @@ -151,7 +151,7 @@ } } }, - "revision": "20200912", + "revision": "20200809", "rootUrl": "https://kgsearch.googleapis.com/", "schemas": { "SearchResponse": { diff --git a/discovery/language-v1.json b/discovery/language-v1.json index 297e094461..ab4eef7f5f 100644 --- a/discovery/language-v1.json +++ b/discovery/language-v1.json @@ -246,7 +246,7 @@ } } }, - "revision": "20240310", + "revision": "20240303", "rootUrl": "https://language.googleapis.com/", "schemas": { "AnalyzeEntitiesRequest": { diff --git a/discovery/language-v1beta2.json b/discovery/language-v1beta2.json index 4cc5240900..7613d81b91 100644 --- a/discovery/language-v1beta2.json +++ b/discovery/language-v1beta2.json @@ -246,7 +246,7 @@ } } }, - "revision": "20240225", + "revision": "20240303", "rootUrl": "https://language.googleapis.com/", "schemas": { "AnalyzeEntitiesRequest": { diff --git a/discovery/language-v2.json b/discovery/language-v2.json index 0e1a289197..5c37503927 100644 --- a/discovery/language-v2.json +++ b/discovery/language-v2.json @@ -208,7 +208,7 @@ } } }, - "revision": "20240310", + "revision": "20240303", "rootUrl": "https://language.googleapis.com/", "schemas": { "AnalyzeEntitiesRequest": { diff --git a/discovery/libraryagent-v1.json b/discovery/libraryagent-v1.json index bd143fbe4f..028739859c 100644 --- a/discovery/libraryagent-v1.json +++ b/discovery/libraryagent-v1.json @@ -279,7 +279,7 @@ } } }, - "revision": "20210830", + "revision": "20210806", "rootUrl": "https://libraryagent.googleapis.com/", "schemas": { "GoogleExampleLibraryagentV1Book": { diff --git a/discovery/licensing-v1.json b/discovery/licensing-v1.json index bf7fa2898a..34b7f69f2a 100644 --- a/discovery/licensing-v1.json +++ b/discovery/licensing-v1.json @@ -400,7 +400,7 @@ } } }, - "revision": "20220502", + "revision": "20220430", "rootUrl": "https://licensing.googleapis.com/", "schemas": { "Empty": { diff --git a/discovery/localservices-v1.json b/discovery/localservices-v1.json index e0d7bd4fac..9ddf4f9eb4 100644 --- a/discovery/localservices-v1.json +++ b/discovery/localservices-v1.json @@ -250,7 +250,7 @@ } } }, - "revision": "20240221", + "revision": "20240218", "rootUrl": "https://localservices.googleapis.com/", "schemas": { "GoogleAdsHomeservicesLocalservicesV1AccountReport": { diff --git a/discovery/logging-v2.json b/discovery/logging-v2.json index 5db00b4cf9..db686bdb9b 100644 --- a/discovery/logging-v2.json +++ b/discovery/logging-v2.json @@ -29,84 +29,84 @@ "documentationLink": "https://cloud.google.com/logging/docs/", "endpoints": [ { + "description": "Regional Endpoint", "endpointUrl": "https://logging.europe-west3.rep.googleapis.com/", - "location": "europe-west3", - "description": "Regional Endpoint" + "location": "europe-west3" }, { + "description": "Regional Endpoint", "endpointUrl": "https://logging.europe-west8.rep.googleapis.com/", - "location": "europe-west8", - "description": "Regional Endpoint" + "location": "europe-west8" }, { + "description": "Regional Endpoint", "endpointUrl": "https://logging.europe-west9.rep.googleapis.com/", - "location": "europe-west9", - "description": "Regional Endpoint" + "location": "europe-west9" }, { + "description": "Regional Endpoint", "endpointUrl": "https://logging.me-central2.rep.googleapis.com/", - "location": "me-central2", - "description": "Regional Endpoint" + "location": "me-central2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://logging.us-central1.rep.googleapis.com/", - "location": "us-central1", - "description": "Regional Endpoint" + "location": "us-central1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://logging.us-central2.rep.googleapis.com/", - "location": "us-central2", - "description": "Regional Endpoint" + "location": "us-central2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://logging.us-east1.rep.googleapis.com/", - "location": "us-east1", - "description": "Regional Endpoint" + "location": "us-east1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://logging.us-east4.rep.googleapis.com/", - "location": "us-east4", - "description": "Regional Endpoint" + "location": "us-east4" }, { + "description": "Regional Endpoint", "endpointUrl": "https://logging.us-east5.rep.googleapis.com/", - "location": "us-east5", - "description": "Regional Endpoint" + "location": "us-east5" }, { + "description": "Regional Endpoint", "endpointUrl": "https://logging.us-east7.rep.googleapis.com/", - "location": "us-east7", - "description": "Regional Endpoint" + "location": "us-east7" }, { + "description": "Regional Endpoint", "endpointUrl": "https://logging.us-south1.rep.googleapis.com/", - "location": "us-south1", - "description": "Regional Endpoint" + "location": "us-south1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://logging.us-west1.rep.googleapis.com/", - "location": "us-west1", - "description": "Regional Endpoint" + "location": "us-west1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://logging.us-west2.rep.googleapis.com/", - "location": "us-west2", - "description": "Regional Endpoint" + "location": "us-west2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://logging.us-west3.rep.googleapis.com/", - "location": "us-west3", - "description": "Regional Endpoint" + "location": "us-west3" }, { + "description": "Regional Endpoint", "endpointUrl": "https://logging.us-west4.rep.googleapis.com/", - "location": "us-west4", - "description": "Regional Endpoint" + "location": "us-west4" }, { + "description": "Regional Endpoint", "endpointUrl": "https://logging.us-west8.rep.googleapis.com/", - "location": "us-west8", - "description": "Regional Endpoint" + "location": "us-west8" } ], "fullyEncodeReservedExpansion": true, @@ -1362,6 +1362,11 @@ "parent" ], "parameters": { + "filter": { + "description": "Optional. Specifies the type (\"Logging\" or \"OpsAnalytics\") and the visibility (PRIVATE or SHARED) of the saved queries to list. If provided, the filter must contain either the type function or a visibility token, or both. If both are chosen, they can be placed in any order, but they must be joined by the AND operator or the empty character.The two supported type function calls are: type(\"Logging\") type(\"OpsAnalytics\")The two supported visibility tokens are: visibility = PRIVATE visibility = SHAREDFor example:type(\"Logging\") AND visibility = PRIVATE visibility=SHARED type(\"OpsAnalytics\") type(\"OpsAnalytics)\" visibility = PRIVATE visibility = SHARED", + "location": "query", + "type": "string" + }, "pageSize": { "description": "Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", "format": "int32", @@ -2053,7 +2058,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name for the settings to update. \"organizations/[ORGANIZATION_ID]/settings\" For example:\"organizations/12345/settings\"", + "description": "Required. The resource name for the settings to update. \"organizations/[ORGANIZATION_ID]/settings\" \"folders/[FOLDER_ID]/settings\" For example:\"organizations/12345/settings\"", "location": "path", "pattern": "^folders/[^/]+$", "required": true, @@ -3274,6 +3279,11 @@ "parent" ], "parameters": { + "filter": { + "description": "Optional. Specifies the type (\"Logging\" or \"OpsAnalytics\") and the visibility (PRIVATE or SHARED) of the saved queries to list. If provided, the filter must contain either the type function or a visibility token, or both. If both are chosen, they can be placed in any order, but they must be joined by the AND operator or the empty character.The two supported type function calls are: type(\"Logging\") type(\"OpsAnalytics\")The two supported visibility tokens are: visibility = PRIVATE visibility = SHAREDFor example:type(\"Logging\") AND visibility = PRIVATE visibility=SHARED type(\"OpsAnalytics\") type(\"OpsAnalytics)\" visibility = PRIVATE visibility = SHARED", + "location": "query", + "type": "string" + }, "pageSize": { "description": "Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", "format": "int32", @@ -4700,7 +4710,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name for the settings to update. \"organizations/[ORGANIZATION_ID]/settings\" For example:\"organizations/12345/settings\"", + "description": "Required. The resource name for the settings to update. \"organizations/[ORGANIZATION_ID]/settings\" \"folders/[FOLDER_ID]/settings\" For example:\"organizations/12345/settings\"", "location": "path", "pattern": "^organizations/[^/]+$", "required": true, @@ -5921,6 +5931,11 @@ "parent" ], "parameters": { + "filter": { + "description": "Optional. Specifies the type (\"Logging\" or \"OpsAnalytics\") and the visibility (PRIVATE or SHARED) of the saved queries to list. If provided, the filter must contain either the type function or a visibility token, or both. If both are chosen, they can be placed in any order, but they must be joined by the AND operator or the empty character.The two supported type function calls are: type(\"Logging\") type(\"OpsAnalytics\")The two supported visibility tokens are: visibility = PRIVATE visibility = SHAREDFor example:type(\"Logging\") AND visibility = PRIVATE visibility=SHARED type(\"OpsAnalytics\") type(\"OpsAnalytics)\" visibility = PRIVATE visibility = SHARED", + "location": "query", + "type": "string" + }, "pageSize": { "description": "Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", "format": "int32", @@ -7552,6 +7567,11 @@ "parent" ], "parameters": { + "filter": { + "description": "Optional. Specifies the type (\"Logging\" or \"OpsAnalytics\") and the visibility (PRIVATE or SHARED) of the saved queries to list. If provided, the filter must contain either the type function or a visibility token, or both. If both are chosen, they can be placed in any order, but they must be joined by the AND operator or the empty character.The two supported type function calls are: type(\"Logging\") type(\"OpsAnalytics\")The two supported visibility tokens are: visibility = PRIVATE visibility = SHAREDFor example:type(\"Logging\") AND visibility = PRIVATE visibility=SHARED type(\"OpsAnalytics\") type(\"OpsAnalytics)\" visibility = PRIVATE visibility = SHARED", + "location": "query", + "type": "string" + }, "pageSize": { "description": "Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.", "format": "int32", @@ -8376,7 +8396,7 @@ ], "parameters": { "name": { - "description": "Required. The resource name for the settings to update. \"organizations/[ORGANIZATION_ID]/settings\" For example:\"organizations/12345/settings\"", + "description": "Required. The resource name for the settings to update. \"organizations/[ORGANIZATION_ID]/settings\" \"folders/[FOLDER_ID]/settings\" For example:\"organizations/12345/settings\"", "location": "path", "pattern": "^[^/]+/[^/]+$", "required": true, @@ -8404,7 +8424,7 @@ } } }, - "revision": "20240620", + "revision": "20240705", "rootUrl": "https://logging.googleapis.com/", "schemas": { "AuditConfig": { diff --git a/discovery/manufacturers-v1.json b/discovery/manufacturers-v1.json index 45adff4ccc..d9a107b519 100644 --- a/discovery/manufacturers-v1.json +++ b/discovery/manufacturers-v1.json @@ -416,7 +416,7 @@ } } }, - "revision": "20231113", + "revision": "20231109", "rootUrl": "https://manufacturers.googleapis.com/", "schemas": { "Attributes": { diff --git a/discovery/marketingplatformadmin-v1alpha.json b/discovery/marketingplatformadmin-v1alpha.json index 3c35ab7b34..ce57768e7c 100644 --- a/discovery/marketingplatformadmin-v1alpha.json +++ b/discovery/marketingplatformadmin-v1alpha.json @@ -263,7 +263,7 @@ } } }, - "revision": "20240530", + "revision": "20240529", "rootUrl": "https://marketingplatformadmin.googleapis.com/", "schemas": { "AnalyticsAccountLink": { diff --git a/discovery/meet-v2.json b/discovery/meet-v2.json index 54ef93fb5a..38e0e5d5cd 100644 --- a/discovery/meet-v2.json +++ b/discovery/meet-v2.json @@ -633,7 +633,7 @@ } } }, - "revision": "20240627", + "revision": "20240626", "rootUrl": "https://meet.googleapis.com/", "schemas": { "ActiveConference": { diff --git a/discovery/memcache-v1.json b/discovery/memcache-v1.json index b9e0eca5a2..b9c07175fe 100644 --- a/discovery/memcache-v1.json +++ b/discovery/memcache-v1.json @@ -584,7 +584,7 @@ } } }, - "revision": "20240614", + "revision": "20240604", "rootUrl": "https://memcache.googleapis.com/", "schemas": { "ApplyParametersRequest": { diff --git a/discovery/memcache-v1beta2.json b/discovery/memcache-v1beta2.json index 00e8f9962a..29b0a1bde7 100644 --- a/discovery/memcache-v1beta2.json +++ b/discovery/memcache-v1beta2.json @@ -612,7 +612,7 @@ } } }, - "revision": "20240614", + "revision": "20240604", "rootUrl": "https://memcache.googleapis.com/", "schemas": { "ApplyParametersRequest": { diff --git a/discovery/merchantapi-accounts_v1beta.json b/discovery/merchantapi-accounts_v1beta.json index 301647be78..42f1ce8ecf 100644 --- a/discovery/merchantapi-accounts_v1beta.json +++ b/discovery/merchantapi-accounts_v1beta.json @@ -175,106 +175,6 @@ "https://www.googleapis.com/auth/content" ] }, - "getBusinessIdentity": { - "description": "Retrieves the business identity of an account.", - "flatPath": "accounts/v1beta/accounts/{accountsId}/businessIdentity", - "httpMethod": "GET", - "id": "merchantapi.accounts.getBusinessIdentity", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The resource name of the business identity. Format: `accounts/{account}/businessIdentity`", - "location": "path", - "pattern": "^accounts/[^/]+/businessIdentity$", - "required": true, - "type": "string" - } - }, - "path": "accounts/v1beta/{+name}", - "response": { - "$ref": "BusinessIdentity" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "getBusinessInfo": { - "description": "Retrieves the business info of an account.", - "flatPath": "accounts/v1beta/accounts/{accountsId}/businessInfo", - "httpMethod": "GET", - "id": "merchantapi.accounts.getBusinessInfo", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The resource name of the business info. Format: `accounts/{account}/businessInfo`", - "location": "path", - "pattern": "^accounts/[^/]+/businessInfo$", - "required": true, - "type": "string" - } - }, - "path": "accounts/v1beta/{+name}", - "response": { - "$ref": "BusinessInfo" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "getHomepage": { - "description": "Retrieves a store's homepage.", - "flatPath": "accounts/v1beta/accounts/{accountsId}/homepage", - "httpMethod": "GET", - "id": "merchantapi.accounts.getHomepage", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name of the homepage to retrieve. Format: `accounts/{account}/homepage`", - "location": "path", - "pattern": "^accounts/[^/]+/homepage$", - "required": true, - "type": "string" - } - }, - "path": "accounts/v1beta/{+name}", - "response": { - "$ref": "Homepage" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "getShippingSettings": { - "description": "Retrieve shipping setting information.", - "flatPath": "accounts/v1beta/accounts/{accountsId}/shippingSettings", - "httpMethod": "GET", - "id": "merchantapi.accounts.getShippingSettings", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name of the shipping setting to retrieve. Format: `accounts/{account}/shippingsetting`", - "location": "path", - "pattern": "^accounts/[^/]+/shippingSettings$", - "required": true, - "type": "string" - } - }, - "path": "accounts/v1beta/{+name}", - "response": { - "$ref": "ShippingSettings" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, "list": { "description": "Lists accounts accessible to the calling user and matching the constraints of the request such as page size or filters. This is not just listing the sub-accounts of an MCA, but all accounts the calling user has access to including other MCAs, linked accounts, standalone accounts and so on.", "flatPath": "accounts/v1beta/accounts", @@ -376,108 +276,6 @@ "scopes": [ "https://www.googleapis.com/auth/content" ] - }, - "updateBusinessIdentity": { - "description": "Updates the business identity of an account. Executing this method requires admin access.", - "flatPath": "accounts/v1beta/accounts/{accountsId}/businessIdentity", - "httpMethod": "PATCH", - "id": "merchantapi.accounts.updateBusinessIdentity", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Identifier. The resource name of the business identity. Format: `accounts/{account}/businessIdentity`", - "location": "path", - "pattern": "^accounts/[^/]+/businessIdentity$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "Required. List of fields being updated.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "accounts/v1beta/{+name}", - "request": { - "$ref": "BusinessIdentity" - }, - "response": { - "$ref": "BusinessIdentity" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "updateBusinessInfo": { - "description": "Updates the business info of an account. Executing this method requires admin access.", - "flatPath": "accounts/v1beta/accounts/{accountsId}/businessInfo", - "httpMethod": "PATCH", - "id": "merchantapi.accounts.updateBusinessInfo", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Identifier. The resource name of the business info. Format: `accounts/{account}/businessInfo`", - "location": "path", - "pattern": "^accounts/[^/]+/businessInfo$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "Required. List of fields being updated.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "accounts/v1beta/{+name}", - "request": { - "$ref": "BusinessInfo" - }, - "response": { - "$ref": "BusinessInfo" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "updateHomepage": { - "description": "Updates a store's homepage. Executing this method requires admin access.", - "flatPath": "accounts/v1beta/accounts/{accountsId}/homepage", - "httpMethod": "PATCH", - "id": "merchantapi.accounts.updateHomepage", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Identifier. The resource name of the store's homepage. Format: `accounts/{account}/homepage`", - "location": "path", - "pattern": "^accounts/[^/]+/homepage$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "Required. List of fields being updated.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "accounts/v1beta/{+name}", - "request": { - "$ref": "Homepage" - }, - "response": { - "$ref": "Homepage" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] } }, "resources": { @@ -580,6 +378,195 @@ } } }, + "businessIdentity": { + "methods": { + "getBusinessIdentity": { + "description": "Retrieves the business identity of an account.", + "flatPath": "accounts/v1beta/accounts/{accountsId}/businessIdentity", + "httpMethod": "GET", + "id": "merchantapi.accounts.businessIdentity.getBusinessIdentity", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name of the business identity. Format: `accounts/{account}/businessIdentity`", + "location": "path", + "pattern": "^accounts/[^/]+/businessIdentity$", + "required": true, + "type": "string" + } + }, + "path": "accounts/v1beta/{+name}", + "response": { + "$ref": "BusinessIdentity" + }, + "scopes": [ + "https://www.googleapis.com/auth/content" + ] + }, + "updateBusinessIdentity": { + "description": "Updates the business identity of an account. Executing this method requires admin access.", + "flatPath": "accounts/v1beta/accounts/{accountsId}/businessIdentity", + "httpMethod": "PATCH", + "id": "merchantapi.accounts.businessIdentity.updateBusinessIdentity", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Identifier. The resource name of the business identity. Format: `accounts/{account}/businessIdentity`", + "location": "path", + "pattern": "^accounts/[^/]+/businessIdentity$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. List of fields being updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "accounts/v1beta/{+name}", + "request": { + "$ref": "BusinessIdentity" + }, + "response": { + "$ref": "BusinessIdentity" + }, + "scopes": [ + "https://www.googleapis.com/auth/content" + ] + } + } + }, + "businessInfo": { + "methods": { + "getBusinessInfo": { + "description": "Retrieves the business info of an account.", + "flatPath": "accounts/v1beta/accounts/{accountsId}/businessInfo", + "httpMethod": "GET", + "id": "merchantapi.accounts.businessInfo.getBusinessInfo", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name of the business info. Format: `accounts/{account}/businessInfo`", + "location": "path", + "pattern": "^accounts/[^/]+/businessInfo$", + "required": true, + "type": "string" + } + }, + "path": "accounts/v1beta/{+name}", + "response": { + "$ref": "BusinessInfo" + }, + "scopes": [ + "https://www.googleapis.com/auth/content" + ] + }, + "updateBusinessInfo": { + "description": "Updates the business info of an account. Executing this method requires admin access.", + "flatPath": "accounts/v1beta/accounts/{accountsId}/businessInfo", + "httpMethod": "PATCH", + "id": "merchantapi.accounts.businessInfo.updateBusinessInfo", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Identifier. The resource name of the business info. Format: `accounts/{account}/businessInfo`", + "location": "path", + "pattern": "^accounts/[^/]+/businessInfo$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. List of fields being updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "accounts/v1beta/{+name}", + "request": { + "$ref": "BusinessInfo" + }, + "response": { + "$ref": "BusinessInfo" + }, + "scopes": [ + "https://www.googleapis.com/auth/content" + ] + } + } + }, + "emailpreferences": { + "methods": { + "getEmailPreferences": { + "description": "Returns the email preferences for a Merchant Center account user. Use the name=accounts/*/users/me/emailPreferences alias to get preferences for the authenticated user.", + "flatPath": "accounts/v1beta/accounts/{accountsId}/users/{usersId}/emailPreferences", + "httpMethod": "GET", + "id": "merchantapi.accounts.emailpreferences.getEmailPreferences", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the `EmailPreferences` resource. Format: `accounts/{account}/users/{email}/emailPreferences`", + "location": "path", + "pattern": "^accounts/[^/]+/users/[^/]+/emailPreferences$", + "required": true, + "type": "string" + } + }, + "path": "accounts/v1beta/{+name}", + "response": { + "$ref": "EmailPreferences" + }, + "scopes": [ + "https://www.googleapis.com/auth/content" + ] + }, + "updateEmailPreferences": { + "description": "Updates the email preferences for a Merchant Center account user. MCA users should specify the MCA account rather than a sub-account of the MCA. Preferences which are not explicitly selected in the update mask will not be updated. It is invalid for updates to specify an UNCONFIRMED opt-in status value. Use the name=accounts/*/users/me/emailPreferences alias to update preferences for the authenticated user.", + "flatPath": "accounts/v1beta/accounts/{accountsId}/users/{usersId}/emailPreferences", + "httpMethod": "PATCH", + "id": "merchantapi.accounts.emailpreferences.updateEmailPreferences", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Identifier. The name of the EmailPreferences. The endpoint is only supported for the authenticated user.", + "location": "path", + "pattern": "^accounts/[^/]+/users/[^/]+/emailPreferences$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. List of fields being updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "accounts/v1beta/{+name}", + "request": { + "$ref": "EmailPreferences" + }, + "response": { + "$ref": "EmailPreferences" + }, + "scopes": [ + "https://www.googleapis.com/auth/content" + ] + } + } + }, "homepage": { "methods": { "claim": { @@ -610,6 +597,31 @@ "https://www.googleapis.com/auth/content" ] }, + "getHomepage": { + "description": "Retrieves a store's homepage.", + "flatPath": "accounts/v1beta/accounts/{accountsId}/homepage", + "httpMethod": "GET", + "id": "merchantapi.accounts.homepage.getHomepage", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the homepage to retrieve. Format: `accounts/{account}/homepage`", + "location": "path", + "pattern": "^accounts/[^/]+/homepage$", + "required": true, + "type": "string" + } + }, + "path": "accounts/v1beta/{+name}", + "response": { + "$ref": "Homepage" + }, + "scopes": [ + "https://www.googleapis.com/auth/content" + ] + }, "unclaim": { "description": "Unclaims a store's homepage. Executing this method requires admin access.", "flatPath": "accounts/v1beta/accounts/{accountsId}/homepage:unclaim", @@ -637,6 +649,40 @@ "scopes": [ "https://www.googleapis.com/auth/content" ] + }, + "updateHomepage": { + "description": "Updates a store's homepage. Executing this method requires admin access.", + "flatPath": "accounts/v1beta/accounts/{accountsId}/homepage", + "httpMethod": "PATCH", + "id": "merchantapi.accounts.homepage.updateHomepage", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Identifier. The resource name of the store's homepage. Format: `accounts/{account}/homepage`", + "location": "path", + "pattern": "^accounts/[^/]+/homepage$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. List of fields being updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "accounts/v1beta/{+name}", + "request": { + "$ref": "Homepage" + }, + "response": { + "$ref": "Homepage" + }, + "scopes": [ + "https://www.googleapis.com/auth/content" + ] } } }, @@ -1040,6 +1086,31 @@ }, "shippingSettings": { "methods": { + "getShippingSettings": { + "description": "Retrieve shipping setting information.", + "flatPath": "accounts/v1beta/accounts/{accountsId}/shippingSettings", + "httpMethod": "GET", + "id": "merchantapi.accounts.shippingSettings.getShippingSettings", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the shipping setting to retrieve. Format: `accounts/{account}/shippingsetting`", + "location": "path", + "pattern": "^accounts/[^/]+/shippingSettings$", + "required": true, + "type": "string" + } + }, + "path": "accounts/v1beta/{+name}", + "response": { + "$ref": "ShippingSettings" + }, + "scopes": [ + "https://www.googleapis.com/auth/content" + ] + }, "insert": { "description": "Replace the shipping setting of a merchant with the request shipping setting. Executing this method requires admin access.", "flatPath": "accounts/v1beta/accounts/{accountsId}/shippingSettings:insert", @@ -1209,31 +1280,6 @@ "https://www.googleapis.com/auth/content" ] }, - "getEmailPreferences": { - "description": "Returns the email preferences for a Merchant Center account user. Use the name=accounts/*/users/me/emailPreferences alias to get preferences for the authenticated user.", - "flatPath": "accounts/v1beta/accounts/{accountsId}/users/{usersId}/emailPreferences", - "httpMethod": "GET", - "id": "merchantapi.accounts.users.getEmailPreferences", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The name of the `EmailPreferences` resource. Format: `accounts/{account}/users/{email}/emailPreferences`", - "location": "path", - "pattern": "^accounts/[^/]+/users/[^/]+/emailPreferences$", - "required": true, - "type": "string" - } - }, - "path": "accounts/v1beta/{+name}", - "response": { - "$ref": "EmailPreferences" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, "list": { "description": "Lists all users of a Merchant Center account.", "flatPath": "accounts/v1beta/accounts/{accountsId}/users", @@ -1303,40 +1349,6 @@ "scopes": [ "https://www.googleapis.com/auth/content" ] - }, - "updateEmailPreferences": { - "description": "Updates the email preferences for a Merchant Center account user. MCA users should specify the MCA account rather than a sub-account of the MCA. Preferences which are not explicitly selected in the update mask will not be updated. It is invalid for updates to specify an UNCONFIRMED opt-in status value. Use the name=accounts/*/users/me/emailPreferences alias to update preferences for the authenticated user.", - "flatPath": "accounts/v1beta/accounts/{accountsId}/users/{usersId}/emailPreferences", - "httpMethod": "PATCH", - "id": "merchantapi.accounts.users.updateEmailPreferences", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Identifier. The name of the EmailPreferences. The endpoint is only supported for the authenticated user.", - "location": "path", - "pattern": "^accounts/[^/]+/users/[^/]+/emailPreferences$", - "required": true, - "type": "string" - }, - "updateMask": { - "description": "Required. List of fields being updated.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "accounts/v1beta/{+name}", - "request": { - "$ref": "EmailPreferences" - }, - "response": { - "$ref": "EmailPreferences" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] } } } @@ -1441,7 +1453,7 @@ } } }, - "revision": "20240614", + "revision": "20240709", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "AcceptTermsOfService": { diff --git a/discovery/merchantapi-conversions_v1beta.json b/discovery/merchantapi-conversions_v1beta.json index 2dff235702..2d43c322b6 100644 --- a/discovery/merchantapi-conversions_v1beta.json +++ b/discovery/merchantapi-conversions_v1beta.json @@ -295,7 +295,7 @@ } } }, - "revision": "20240614", + "revision": "20240611", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "AttributionSettings": { diff --git a/discovery/merchantapi-datasources_v1beta.json b/discovery/merchantapi-datasources_v1beta.json index 67ffa2e009..fa3975af92 100644 --- a/discovery/merchantapi-datasources_v1beta.json +++ b/discovery/merchantapi-datasources_v1beta.json @@ -290,7 +290,7 @@ } } }, - "revision": "20240614", + "revision": "20240611", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "DataSource": { diff --git a/discovery/merchantapi-inventories_v1beta.json b/discovery/merchantapi-inventories_v1beta.json index d13195bbb3..be57bfcd68 100644 --- a/discovery/merchantapi-inventories_v1beta.json +++ b/discovery/merchantapi-inventories_v1beta.json @@ -300,7 +300,7 @@ } } }, - "revision": "20240614", + "revision": "20240611", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "CustomAttribute": { diff --git a/discovery/merchantapi-lfp_v1beta.json b/discovery/merchantapi-lfp_v1beta.json index df2cf049fd..464f44264f 100644 --- a/discovery/merchantapi-lfp_v1beta.json +++ b/discovery/merchantapi-lfp_v1beta.json @@ -298,7 +298,7 @@ } } }, - "revision": "20240614", + "revision": "20240611", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "Empty": { diff --git a/discovery/merchantapi-notifications_v1beta.json b/discovery/merchantapi-notifications_v1beta.json index cd06cfe680..3bf9447d18 100644 --- a/discovery/merchantapi-notifications_v1beta.json +++ b/discovery/merchantapi-notifications_v1beta.json @@ -262,7 +262,7 @@ } } }, - "revision": "20240614", + "revision": "20240611", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "Empty": { diff --git a/discovery/merchantapi-products_v1beta.json b/discovery/merchantapi-products_v1beta.json index dfb640b9cd..ba3321104e 100644 --- a/discovery/merchantapi-products_v1beta.json +++ b/discovery/merchantapi-products_v1beta.json @@ -242,7 +242,7 @@ } } }, - "revision": "20240614", + "revision": "20240611", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "Attributes": { diff --git a/discovery/merchantapi-promotions_v1beta.json b/discovery/merchantapi-promotions_v1beta.json index 2c4f8ba4f2..ee9be54de1 100644 --- a/discovery/merchantapi-promotions_v1beta.json +++ b/discovery/merchantapi-promotions_v1beta.json @@ -203,7 +203,7 @@ } } }, - "revision": "20240614", + "revision": "20240611", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "Attributes": { diff --git a/discovery/merchantapi-quota_v1beta.json b/discovery/merchantapi-quota_v1beta.json index 6834ed1986..d89eee9b32 100644 --- a/discovery/merchantapi-quota_v1beta.json +++ b/discovery/merchantapi-quota_v1beta.json @@ -150,7 +150,7 @@ } } }, - "revision": "20240614", + "revision": "20240611", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "ListQuotaGroupsResponse": { diff --git a/discovery/merchantapi-reports_v1beta.json b/discovery/merchantapi-reports_v1beta.json index 550f0702ed..9224209f66 100644 --- a/discovery/merchantapi-reports_v1beta.json +++ b/discovery/merchantapi-reports_v1beta.json @@ -142,7 +142,7 @@ } } }, - "revision": "20240614", + "revision": "20240611", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "BestSellersBrandView": { diff --git a/discovery/metastore-v1.json b/discovery/metastore-v1.json index c36e218787..56363ceb62 100644 --- a/discovery/metastore-v1.json +++ b/discovery/metastore-v1.json @@ -1684,7 +1684,7 @@ } } }, - "revision": "20240627", + "revision": "20240709", "rootUrl": "https://metastore.googleapis.com/", "schemas": { "AlterMetadataResourceLocationRequest": { @@ -2060,6 +2060,31 @@ }, "type": "object" }, + "CustomRegionMetadata": { + "description": "Metadata about a custom region. This is only populated if the region is a custom region. For single/multi regions, it will be empty.", + "id": "CustomRegionMetadata", + "properties": { + "optionalReadOnlyRegions": { + "description": "The read-only regions for this custom region.", + "items": { + "type": "string" + }, + "type": "array" + }, + "requiredReadWriteRegions": { + "description": "The read-write regions for this custom region.", + "items": { + "type": "string" + }, + "type": "array" + }, + "witnessRegion": { + "description": "The Spanner witness region for this custom region.", + "type": "string" + } + }, + "type": "object" + }, "DataCatalogConfig": { "description": "Specifies how metastore metadata should be integrated with the Data Catalog service.", "id": "DataCatalogConfig", @@ -2608,6 +2633,13 @@ "description": "Metadata about the service in a location.", "id": "LocationMetadata", "properties": { + "customRegionMetadata": { + "description": "Possible configurations supported if the current region is a custom region.", + "items": { + "$ref": "CustomRegionMetadata" + }, + "type": "array" + }, "multiRegionMetadata": { "$ref": "MultiRegionMetadata", "description": "The multi-region metadata if the current region is a multi-region." @@ -3363,6 +3395,7 @@ "UPDATING", "DELETING", "ERROR", + "AUTOSCALING", "MIGRATING" ], "enumDescriptions": [ @@ -3374,6 +3407,7 @@ "The metastore service is being updated. It remains usable but cannot accept additional update requests or be deleted at this time.", "The metastore service is undergoing deletion. It cannot be used.", "The metastore service has encountered an error and cannot be used. The metastore service should be deleted.", + "The Dataproc Metastore service 2 is being scaled up or down.", "The metastore service is processing a managed migration." ], "readOnly": true, diff --git a/discovery/metastore-v1alpha.json b/discovery/metastore-v1alpha.json index ed1b090fc8..4382f0af6d 100644 --- a/discovery/metastore-v1alpha.json +++ b/discovery/metastore-v1alpha.json @@ -1796,7 +1796,7 @@ } } }, - "revision": "20240613", + "revision": "20240709", "rootUrl": "https://metastore.googleapis.com/", "schemas": { "AlterMetadataResourceLocationRequest": { @@ -2196,6 +2196,52 @@ }, "type": "object" }, + "CustomRegionConfig": { + "description": "Custom configuration used to specify regions that the metastore service runs in. Currently only supported in the us multi-region.", + "id": "CustomRegionConfig", + "properties": { + "readOnlyRegions": { + "description": "Optional. The list of read-only regions where the metastore service runs in. These regions should be part (or subset) of the multi-region.", + "items": { + "type": "string" + }, + "type": "array" + }, + "readWriteRegions": { + "description": "Required. The list of read-write regions where the metastore service runs in. These regions should be part (or subset) of the multi-region.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "CustomRegionMetadata": { + "description": "Metadata about a custom region. This is only populated if the region is a custom region. For single/multi regions, it will be empty.", + "id": "CustomRegionMetadata", + "properties": { + "optionalReadOnlyRegions": { + "description": "The read-only regions for this custom region.", + "items": { + "type": "string" + }, + "type": "array" + }, + "requiredReadWriteRegions": { + "description": "The read-write regions for this custom region.", + "items": { + "type": "string" + }, + "type": "array" + }, + "witnessRegion": { + "description": "The Spanner witness region for this custom region.", + "type": "string" + } + }, + "type": "object" + }, "DataCatalogConfig": { "description": "Specifies how metastore metadata should be integrated with the Data Catalog service.", "id": "DataCatalogConfig", @@ -2769,6 +2815,13 @@ "description": "Metadata about the service in a location.", "id": "LocationMetadata", "properties": { + "customRegionMetadata": { + "description": "Possible configurations supported if the current region is a custom region.", + "items": { + "$ref": "CustomRegionMetadata" + }, + "type": "array" + }, "multiRegionMetadata": { "$ref": "MultiRegionMetadata", "description": "The multi-region metadata if the current region is a multi-region." @@ -3071,6 +3124,25 @@ "properties": {}, "type": "object" }, + "MultiRegionConfig": { + "description": "The multi-region config for the Dataproc Metastore service.", + "id": "MultiRegionConfig", + "properties": { + "certificates": { + "deprecated": true, + "description": "Output only. The list of root CA certificates that a gRPC client uses to connect to a multi-regional Dataproc Metastore service.", + "items": { + "$ref": "RootCACertificate" + }, + "readOnly": true, + "type": "array" + }, + "customRegionConfig": { + "$ref": "CustomRegionConfig" + } + }, + "type": "object" + }, "MultiRegionMetadata": { "description": "The metadata for the multi-region that includes the constituent regions. The metadata is only populated if the region is multi-region. For single region or custom dual region, it will be empty.", "id": "MultiRegionMetadata", @@ -3357,6 +3429,25 @@ }, "type": "object" }, + "RootCACertificate": { + "deprecated": true, + "description": "A gRPC client must install all root CA certificates to connect to a multi-regional Dataproc Metastore service and achieve failover.", + "id": "RootCACertificate", + "properties": { + "certificate": { + "deprecated": true, + "description": "The root CA certificate in PEM format. The maximum length is 65536 bytes.", + "type": "string" + }, + "expirationTime": { + "deprecated": true, + "description": "The certificate expiration time in timestamp format.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, "ScalingConfig": { "description": "Represents the scaling configuration of a metastore service.", "id": "ScalingConfig", @@ -3504,6 +3595,10 @@ "description": "Output only. The metadata management activities of the metastore service.", "readOnly": true }, + "multiRegionConfig": { + "$ref": "MultiRegionConfig", + "description": "Optional. Specifies the multi-region configuration information for the Hive metastore service." + }, "name": { "description": "Immutable. The relative resource name of the metastore service, in the following format:projects/{project_number}/locations/{location_id}/services/{service_id}.", "type": "string" @@ -3554,6 +3649,7 @@ "UPDATING", "DELETING", "ERROR", + "AUTOSCALING", "MIGRATING" ], "enumDescriptions": [ @@ -3565,6 +3661,7 @@ "The metastore service is being updated. It remains usable but cannot accept additional update requests or be deleted at this time.", "The metastore service is undergoing deletion. It cannot be used.", "The metastore service has encountered an error and cannot be used. The metastore service should be deleted.", + "The Dataproc Metastore service 2 is being scaled up or down.", "The metastore service is processing a managed migration." ], "readOnly": true, diff --git a/discovery/metastore-v1beta.json b/discovery/metastore-v1beta.json index 3613a8d5db..17d8b8078a 100644 --- a/discovery/metastore-v1beta.json +++ b/discovery/metastore-v1beta.json @@ -1796,7 +1796,7 @@ } } }, - "revision": "20240613", + "revision": "20240709", "rootUrl": "https://metastore.googleapis.com/", "schemas": { "AlterMetadataResourceLocationRequest": { @@ -2196,6 +2196,52 @@ }, "type": "object" }, + "CustomRegionConfig": { + "description": "Custom configuration used to specify regions that the metastore service runs in. Currently only supported in the us multi-region.", + "id": "CustomRegionConfig", + "properties": { + "readOnlyRegions": { + "description": "Optional. The list of read-only regions where the metastore service runs in. These regions should be part (or subset) of the multi-region.", + "items": { + "type": "string" + }, + "type": "array" + }, + "readWriteRegions": { + "description": "Required. The list of read-write regions where the metastore service runs in. These regions should be part (or subset) of the multi-region.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "CustomRegionMetadata": { + "description": "Metadata about a custom region. This is only populated if the region is a custom region. For single/multi regions, it will be empty.", + "id": "CustomRegionMetadata", + "properties": { + "optionalReadOnlyRegions": { + "description": "The read-only regions for this custom region.", + "items": { + "type": "string" + }, + "type": "array" + }, + "requiredReadWriteRegions": { + "description": "The read-write regions for this custom region.", + "items": { + "type": "string" + }, + "type": "array" + }, + "witnessRegion": { + "description": "The Spanner witness region for this custom region.", + "type": "string" + } + }, + "type": "object" + }, "DataCatalogConfig": { "description": "Specifies how metastore metadata should be integrated with the Data Catalog service.", "id": "DataCatalogConfig", @@ -2769,6 +2815,13 @@ "description": "Metadata about the service in a location.", "id": "LocationMetadata", "properties": { + "customRegionMetadata": { + "description": "Possible configurations supported if the current region is a custom region.", + "items": { + "$ref": "CustomRegionMetadata" + }, + "type": "array" + }, "multiRegionMetadata": { "$ref": "MultiRegionMetadata", "description": "The multi-region metadata if the current region is a multi-region." @@ -3071,6 +3124,25 @@ "properties": {}, "type": "object" }, + "MultiRegionConfig": { + "description": "The multi-region config for the Dataproc Metastore service.", + "id": "MultiRegionConfig", + "properties": { + "certificates": { + "deprecated": true, + "description": "Output only. The list of root CA certificates that a gRPC client uses to connect to a multi-regional Dataproc Metastore service.", + "items": { + "$ref": "RootCACertificate" + }, + "readOnly": true, + "type": "array" + }, + "customRegionConfig": { + "$ref": "CustomRegionConfig" + } + }, + "type": "object" + }, "MultiRegionMetadata": { "description": "The metadata for the multi-region that includes the constituent regions. The metadata is only populated if the region is multi-region. For single region or custom dual region, it will be empty.", "id": "MultiRegionMetadata", @@ -3357,6 +3429,25 @@ }, "type": "object" }, + "RootCACertificate": { + "deprecated": true, + "description": "A gRPC client must install all root CA certificates to connect to a multi-regional Dataproc Metastore service and achieve failover.", + "id": "RootCACertificate", + "properties": { + "certificate": { + "deprecated": true, + "description": "The root CA certificate in PEM format. The maximum length is 65536 bytes.", + "type": "string" + }, + "expirationTime": { + "deprecated": true, + "description": "The certificate expiration time in timestamp format.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, "ScalingConfig": { "description": "Represents the scaling configuration of a metastore service.", "id": "ScalingConfig", @@ -3504,6 +3595,10 @@ "description": "Output only. The metadata management activities of the metastore service.", "readOnly": true }, + "multiRegionConfig": { + "$ref": "MultiRegionConfig", + "description": "Optional. Specifies the multi-region configuration information for the Hive metastore service." + }, "name": { "description": "Immutable. The relative resource name of the metastore service, in the following format:projects/{project_number}/locations/{location_id}/services/{service_id}.", "type": "string" @@ -3554,6 +3649,7 @@ "UPDATING", "DELETING", "ERROR", + "AUTOSCALING", "MIGRATING" ], "enumDescriptions": [ @@ -3565,6 +3661,7 @@ "The metastore service is being updated. It remains usable but cannot accept additional update requests or be deleted at this time.", "The metastore service is undergoing deletion. It cannot be used.", "The metastore service has encountered an error and cannot be used. The metastore service should be deleted.", + "The Dataproc Metastore service 2 is being scaled up or down.", "The metastore service is processing a managed migration." ], "readOnly": true, diff --git a/discovery/migrationcenter-v1alpha1.json b/discovery/migrationcenter-v1alpha1.json index f3faaf86a3..d32b336f8b 100644 --- a/discovery/migrationcenter-v1alpha1.json +++ b/discovery/migrationcenter-v1alpha1.json @@ -2473,7 +2473,7 @@ } } }, - "revision": "20240620", + "revision": "20240704", "rootUrl": "https://migrationcenter.googleapis.com/", "schemas": { "AddAssetsToGroupRequest": { @@ -3443,7 +3443,7 @@ "enumDescriptions": [ "Unspecified (default value).", "Default Google Cloud licensing plan. Licensing is charged per usage. This a good value to start with.", - "Bring-your-own-license (BYOL) plan. User provides the OS license." + "Bring-your-own-license (BYOL) plan. User provides the license." ], "type": "string" }, @@ -6255,7 +6255,7 @@ "type": "string" }, "licenseType": { - "description": "Optional. License type of the OS image.", + "description": "Optional. License type for premium images (RHEL, RHEL for SAP, SLES, SLES for SAP, Windows Server).", "enum": [ "LICENSE_TYPE_UNSPECIFIED", "LICENSE_TYPE_DEFAULT", @@ -6264,7 +6264,7 @@ "enumDescriptions": [ "Unspecified (default value).", "Default Google Cloud licensing plan. Licensing is charged per usage. This a good value to start with.", - "Bring-your-own-license (BYOL) plan. User provides the OS license." + "Bring-your-own-license (BYOL) plan. User provides the license." ], "type": "string" } @@ -8296,7 +8296,9 @@ "COMMITMENT_1_YEAR_MONTHLY_PAYMENTS", "COMMITMENT_3_YEAR_MONTHLY_PAYMENTS", "COMMITMENT_1_YEAR_UPFRONT_PAYMENT", - "COMMITMENT_3_YEAR_UPFRONT_PAYMENT" + "COMMITMENT_3_YEAR_UPFRONT_PAYMENT", + "COMMITMENT_FLEXIBLE_3_YEAR_MONTHLY_PAYMENTS", + "COMMITMENT_FLEXIBLE_3_YEAR_UPFRONT_PAYMENT" ], "enumDescriptions": [ "Unspecified commitment plan.", @@ -8304,7 +8306,9 @@ "1 year commitment (monthly payments).", "3 year commitment (monthly payments).", "1 year commitment (upfront payment).", - "3 years commitment (upfront payment)." + "3 years commitment (upfront payment).", + "3-year flexible commitment (monthly payments). While not supported in the v1 API, this value is converted to UNSPECIFIED in conversions to the v1 API.", + "3-year flexible commitment (upfront payment). While not supported in the v1 API, this value is converted to UNSPECIFIED in conversions to the v1 API." ], "type": "string" }, diff --git a/discovery/monitoring-v1.json b/discovery/monitoring-v1.json index 454cbb34e7..e7ed4f64f1 100644 --- a/discovery/monitoring-v1.json +++ b/discovery/monitoring-v1.json @@ -753,7 +753,7 @@ } } }, - "revision": "20240623", + "revision": "20240707", "rootUrl": "https://monitoring.googleapis.com/", "schemas": { "Aggregation": { @@ -1356,7 +1356,9 @@ "CLOUD_SQL_FAILOVER", "CLOUD_SQL_START_STOP", "CLOUD_SQL_STORAGE", - "UPTIME_CHECK_FAILURE" + "UPTIME_CHECK_FAILURE", + "CLOUD_ALERTING_ALERT", + "SERVICE_HEALTH_INCIDENT" ], "enumDescriptions": [ "No event type specified.", @@ -1378,7 +1380,9 @@ "Failover of a Cloud SQL instance.", "Start/stop of a Cloud SQL instance.", "Storage event for a Cloud SQL instance.", - "Failure of a Cloud Monitoring uptime check." + "Failure of a Cloud Monitoring uptime check.", + "Alerts from Cloud Alerting", + "Incidents from Service Health" ], "type": "string" }, diff --git a/discovery/monitoring-v3.json b/discovery/monitoring-v3.json index c081b81b42..0913d178cb 100644 --- a/discovery/monitoring-v3.json +++ b/discovery/monitoring-v3.json @@ -1562,7 +1562,7 @@ ], "parameters": { "name": { - "description": "The full REST resource name for this channel. The format is: projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID] The [CHANNEL_ID] is automatically assigned by the server on creation.", + "description": "Identifier. The full REST resource name for this channel. The format is: projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID] The [CHANNEL_ID] is automatically assigned by the server on creation.", "location": "path", "pattern": "^projects/[^/]+/notificationChannels/[^/]+$", "required": true, @@ -2714,7 +2714,7 @@ } } }, - "revision": "20240616", + "revision": "20240630", "rootUrl": "https://monitoring.googleapis.com/", "schemas": { "Aggregation": { @@ -4905,7 +4905,7 @@ "type": "array" }, "name": { - "description": "The full REST resource name for this channel. The format is: projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID] The [CHANNEL_ID] is automatically assigned by the server on creation.", + "description": "Identifier. The full REST resource name for this channel. The format is: projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID] The [CHANNEL_ID] is automatically assigned by the server on creation.", "type": "string" }, "type": { diff --git a/discovery/mybusinessaccountmanagement-v1.json b/discovery/mybusinessaccountmanagement-v1.json index 66000174dd..3b981617e9 100644 --- a/discovery/mybusinessaccountmanagement-v1.json +++ b/discovery/mybusinessaccountmanagement-v1.json @@ -530,7 +530,7 @@ } } }, - "revision": "20230201", + "revision": "20230115", "rootUrl": "https://mybusinessaccountmanagement.googleapis.com/", "schemas": { "AcceptInvitationRequest": { diff --git a/discovery/mybusinessbusinessinformation-v1.json b/discovery/mybusinessbusinessinformation-v1.json index f0241b43c4..86d7442c33 100644 --- a/discovery/mybusinessbusinessinformation-v1.json +++ b/discovery/mybusinessbusinessinformation-v1.json @@ -612,7 +612,7 @@ } } }, - "revision": "20231212", + "revision": "20231127", "rootUrl": "https://mybusinessbusinessinformation.googleapis.com/", "schemas": { "AdWordsLocationExtensions": { diff --git a/discovery/mybusinessnotifications-v1.json b/discovery/mybusinessnotifications-v1.json index 461acedd3f..3efa6ae6f9 100644 --- a/discovery/mybusinessnotifications-v1.json +++ b/discovery/mybusinessnotifications-v1.json @@ -154,7 +154,7 @@ } } }, - "revision": "20230705", + "revision": "20230702", "rootUrl": "https://mybusinessnotifications.googleapis.com/", "schemas": { "NotificationSetting": { diff --git a/discovery/mybusinessplaceactions-v1.json b/discovery/mybusinessplaceactions-v1.json index 3793dbf34b..4987bf8a39 100644 --- a/discovery/mybusinessplaceactions-v1.json +++ b/discovery/mybusinessplaceactions-v1.json @@ -281,7 +281,7 @@ } } }, - "revision": "20221213", + "revision": "20221124", "rootUrl": "https://mybusinessplaceactions.googleapis.com/", "schemas": { "Empty": { diff --git a/discovery/mybusinessqanda-v1.json b/discovery/mybusinessqanda-v1.json index c54be2577e..2186b9d9e5 100644 --- a/discovery/mybusinessqanda-v1.json +++ b/discovery/mybusinessqanda-v1.json @@ -323,7 +323,7 @@ } } }, - "revision": "20221213", + "revision": "20221124", "rootUrl": "https://mybusinessqanda.googleapis.com/", "schemas": { "Answer": { diff --git a/discovery/mybusinessverifications-v1.json b/discovery/mybusinessverifications-v1.json index 56d3ff23bf..65a2521f5e 100644 --- a/discovery/mybusinessverifications-v1.json +++ b/discovery/mybusinessverifications-v1.json @@ -237,7 +237,7 @@ } } }, - "revision": "20230920", + "revision": "20230914", "rootUrl": "https://mybusinessverifications.googleapis.com/", "schemas": { "AddressVerificationData": { diff --git a/discovery/networkconnectivity-v1alpha1.json b/discovery/networkconnectivity-v1alpha1.json index a5c9dbe1ab..09ab19558a 100644 --- a/discovery/networkconnectivity-v1alpha1.json +++ b/discovery/networkconnectivity-v1alpha1.json @@ -1116,7 +1116,7 @@ } } }, - "revision": "20240424", + "revision": "20240423", "rootUrl": "https://networkconnectivity.googleapis.com/", "schemas": { "AuditConfig": { diff --git a/discovery/networksecurity-v1.json b/discovery/networksecurity-v1.json index ad58709553..dee8892363 100644 --- a/discovery/networksecurity-v1.json +++ b/discovery/networksecurity-v1.json @@ -3162,7 +3162,7 @@ } } }, - "revision": "20240505", + "revision": "20240626", "rootUrl": "https://networksecurity.googleapis.com/", "schemas": { "AddAddressGroupItemsRequest": { @@ -4262,14 +4262,14 @@ "id": "MTLSPolicy", "properties": { "clientValidationCa": { - "description": "Required if the policy is to be used with Traffic Director. For external HTTPS load balancers it must be empty. Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.", + "description": "Required if the policy is to be used with Traffic Director. For Application Load Balancers it must be empty. Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.", "items": { "$ref": "ValidationCA" }, "type": "array" }, "clientValidationMode": { - "description": "When the client presents an invalid certificate or no certificate to the load balancer, the `client_validation_mode` specifies how the client connection is handled. Required if the policy is to be used with the external HTTPS load balancing. For Traffic Director it must be empty.", + "description": "When the client presents an invalid certificate or no certificate to the load balancer, the `client_validation_mode` specifies how the client connection is handled. Required if the policy is to be used with the Application Load Balancers. For Traffic Director it must be empty.", "enum": [ "CLIENT_VALIDATION_MODE_UNSPECIFIED", "ALLOW_INVALID_OR_MISSING_CLIENT_CERT", @@ -4283,7 +4283,7 @@ "type": "string" }, "clientValidationTrustConfig": { - "description": "Reference to the TrustConfig from certificatemanager.googleapis.com namespace. If specified, the chain validation will be performed against certificates configured in the given TrustConfig. Allowed only if the policy is to be used with external HTTPS load balancers.", + "description": "Reference to the TrustConfig from certificatemanager.googleapis.com namespace. If specified, the chain validation will be performed against certificates configured in the given TrustConfig. Allowed only if the policy is to be used with Application Load Balancers.", "type": "string" } }, @@ -4408,7 +4408,7 @@ "type": "object" }, "SecurityProfile": { - "description": "SecurityProfile is a resource that defines the behavior for one of many ProfileTypes. Next ID: 10", + "description": "SecurityProfile is a resource that defines the behavior for one of many ProfileTypes. Next ID: 11", "id": "SecurityProfile", "properties": { "createTime": { @@ -4463,7 +4463,7 @@ "type": "object" }, "SecurityProfileGroup": { - "description": "SecurityProfileGroup is a resource that defines the behavior for various ProfileTypes. Next ID: 9", + "description": "SecurityProfileGroup is a resource that defines the behavior for various ProfileTypes. Next ID: 10", "id": "SecurityProfileGroup", "properties": { "createTime": { @@ -4506,11 +4506,11 @@ "type": "object" }, "ServerTlsPolicy": { - "description": "ServerTlsPolicy is a resource that specifies how a server should authenticate incoming requests. This resource itself does not affect configuration unless it is attached to a target HTTPS proxy or endpoint config selector resource. ServerTlsPolicy in the form accepted by external HTTPS load balancers can be attached only to TargetHttpsProxy with an `EXTERNAL` or `EXTERNAL_MANAGED` load balancing scheme. Traffic Director compatible ServerTlsPolicies can be attached to EndpointPolicy and TargetHttpsProxy with Traffic Director `INTERNAL_SELF_MANAGED` load balancing scheme.", + "description": "ServerTlsPolicy is a resource that specifies how a server should authenticate incoming requests. This resource itself does not affect configuration unless it is attached to a target HTTPS proxy or endpoint config selector resource. ServerTlsPolicy in the form accepted by Application Load Balancers can be attached only to TargetHttpsProxy with an `EXTERNAL`, `EXTERNAL_MANAGED` or `INTERNAL_MANAGED` load balancing scheme. Traffic Director compatible ServerTlsPolicies can be attached to EndpointPolicy and TargetHttpsProxy with Traffic Director `INTERNAL_SELF_MANAGED` load balancing scheme.", "id": "ServerTlsPolicy", "properties": { "allowOpen": { - "description": "This field applies only for Traffic Director policies. It is must be set to false for external HTTPS load balancer policies. Determines if server allows plaintext connections. If set to true, server allows plain text connections. By default, it is set to false. This setting is not exclusive of other encryption modes. For example, if `allow_open` and `mtls_policy` are set, server allows both plain text and mTLS connections. See documentation of other encryption modes to confirm compatibility. Consider using it if you wish to upgrade in place your deployment to TLS while having mixed TLS and non-TLS traffic reaching port :80.", + "description": "This field applies only for Traffic Director policies. It is must be set to false for Application Load Balancer policies. Determines if server allows plaintext connections. If set to true, server allows plain text connections. By default, it is set to false. This setting is not exclusive of other encryption modes. For example, if `allow_open` and `mtls_policy` are set, server allows both plain text and mTLS connections. See documentation of other encryption modes to confirm compatibility. Consider using it if you wish to upgrade in place your deployment to TLS while having mixed TLS and non-TLS traffic reaching port :80.", "type": "boolean" }, "createTime": { @@ -4532,7 +4532,7 @@ }, "mtlsPolicy": { "$ref": "MTLSPolicy", - "description": "This field is required if the policy is used with external HTTPS load balancers. This field can be empty for Traffic Director. Defines a mechanism to provision peer validation certificates for peer to peer authentication (Mutual TLS - mTLS). If not specified, client certificate will not be requested. The connection is treated as TLS and not mTLS. If `allow_open` and `mtls_policy` are set, server allows both plain text and mTLS connections." + "description": "This field is required if the policy is used with Application Load Balancers. This field can be empty for Traffic Director. Defines a mechanism to provision peer validation certificates for peer to peer authentication (Mutual TLS - mTLS). If not specified, client certificate will not be requested. The connection is treated as TLS and not mTLS. If `allow_open` and `mtls_policy` are set, server allows both plain text and mTLS connections." }, "name": { "description": "Required. Name of the ServerTlsPolicy resource. It matches the pattern `projects/*/locations/{location}/serverTlsPolicies/{server_tls_policy}`", @@ -4540,7 +4540,7 @@ }, "serverCertificate": { "$ref": "GoogleCloudNetworksecurityV1CertificateProvider", - "description": "Optional if policy is to be used with Traffic Director. For external HTTPS load balancer must be empty. Defines a mechanism to provision server identity (public and private keys). Cannot be combined with `allow_open` as a permissive mode that allows both plain text and TLS is not supported." + "description": "Optional if policy is to be used with Traffic Director. For Application Load Balancers must be empty. Defines a mechanism to provision server identity (public and private keys). Cannot be combined with `allow_open` as a permissive mode that allows both plain text and TLS is not supported." }, "updateTime": { "description": "Output only. The timestamp when the resource was updated.", diff --git a/discovery/networksecurity-v1beta1.json b/discovery/networksecurity-v1beta1.json index 232b1ecdda..dd546e6cae 100644 --- a/discovery/networksecurity-v1beta1.json +++ b/discovery/networksecurity-v1beta1.json @@ -3162,7 +3162,7 @@ } } }, - "revision": "20240510", + "revision": "20240626", "rootUrl": "https://networksecurity.googleapis.com/", "schemas": { "AddAddressGroupItemsRequest": { @@ -4279,14 +4279,14 @@ "id": "MTLSPolicy", "properties": { "clientValidationCa": { - "description": "Required if the policy is to be used with Traffic Director. For external HTTPS load balancers it must be empty. Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.", + "description": "Required if the policy is to be used with Traffic Director. For Application Load Balancers it must be empty. Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.", "items": { "$ref": "ValidationCA" }, "type": "array" }, "clientValidationMode": { - "description": "When the client presents an invalid certificate or no certificate to the load balancer, the `client_validation_mode` specifies how the client connection is handled. Required if the policy is to be used with the external HTTPS load balancing. For Traffic Director it must be empty.", + "description": "When the client presents an invalid certificate or no certificate to the load balancer, the `client_validation_mode` specifies how the client connection is handled. Required if the policy is to be used with the Application Load Balancers. For Traffic Director it must be empty.", "enum": [ "CLIENT_VALIDATION_MODE_UNSPECIFIED", "ALLOW_INVALID_OR_MISSING_CLIENT_CERT", @@ -4300,7 +4300,7 @@ "type": "string" }, "clientValidationTrustConfig": { - "description": "Reference to the TrustConfig from certificatemanager.googleapis.com namespace. If specified, the chain validation will be performed against certificates configured in the given TrustConfig. Allowed only if the policy is to be used with external HTTPS load balancers.", + "description": "Reference to the TrustConfig from certificatemanager.googleapis.com namespace. If specified, the chain validation will be performed against certificates configured in the given TrustConfig. Allowed only if the policy is to be used with Application Load Balancers.", "type": "string" } }, @@ -4425,7 +4425,7 @@ "type": "object" }, "SecurityProfile": { - "description": "SecurityProfile is a resource that defines the behavior for one of many ProfileTypes. Next ID: 10", + "description": "SecurityProfile is a resource that defines the behavior for one of many ProfileTypes. Next ID: 11", "id": "SecurityProfile", "properties": { "createTime": { @@ -4480,7 +4480,7 @@ "type": "object" }, "SecurityProfileGroup": { - "description": "SecurityProfileGroup is a resource that defines the behavior for various ProfileTypes. Next ID: 9", + "description": "SecurityProfileGroup is a resource that defines the behavior for various ProfileTypes. Next ID: 10", "id": "SecurityProfileGroup", "properties": { "createTime": { @@ -4523,11 +4523,11 @@ "type": "object" }, "ServerTlsPolicy": { - "description": "ServerTlsPolicy is a resource that specifies how a server should authenticate incoming requests. This resource itself does not affect configuration unless it is attached to a target HTTPS proxy or endpoint config selector resource. ServerTlsPolicy in the form accepted by external HTTPS load balancers can be attached only to TargetHttpsProxy with an `EXTERNAL` or `EXTERNAL_MANAGED` load balancing scheme. Traffic Director compatible ServerTlsPolicies can be attached to EndpointPolicy and TargetHttpsProxy with Traffic Director `INTERNAL_SELF_MANAGED` load balancing scheme.", + "description": "ServerTlsPolicy is a resource that specifies how a server should authenticate incoming requests. This resource itself does not affect configuration unless it is attached to a target HTTPS proxy or endpoint config selector resource. ServerTlsPolicy in the form accepted by Application Load Balancers can be attached only to TargetHttpsProxy with an `EXTERNAL`, `EXTERNAL_MANAGED` or `INTERNAL_MANAGED` load balancing scheme. Traffic Director compatible ServerTlsPolicies can be attached to EndpointPolicy and TargetHttpsProxy with Traffic Director `INTERNAL_SELF_MANAGED` load balancing scheme.", "id": "ServerTlsPolicy", "properties": { "allowOpen": { - "description": "This field applies only for Traffic Director policies. It is must be set to false for external HTTPS load balancer policies. Determines if server allows plaintext connections. If set to true, server allows plain text connections. By default, it is set to false. This setting is not exclusive of other encryption modes. For example, if `allow_open` and `mtls_policy` are set, server allows both plain text and mTLS connections. See documentation of other encryption modes to confirm compatibility. Consider using it if you wish to upgrade in place your deployment to TLS while having mixed TLS and non-TLS traffic reaching port :80.", + "description": "This field applies only for Traffic Director policies. It is must be set to false for Application Load Balancer policies. Determines if server allows plaintext connections. If set to true, server allows plain text connections. By default, it is set to false. This setting is not exclusive of other encryption modes. For example, if `allow_open` and `mtls_policy` are set, server allows both plain text and mTLS connections. See documentation of other encryption modes to confirm compatibility. Consider using it if you wish to upgrade in place your deployment to TLS while having mixed TLS and non-TLS traffic reaching port :80.", "type": "boolean" }, "createTime": { @@ -4549,7 +4549,7 @@ }, "mtlsPolicy": { "$ref": "MTLSPolicy", - "description": "This field is required if the policy is used with external HTTPS load balancers. This field can be empty for Traffic Director. Defines a mechanism to provision peer validation certificates for peer to peer authentication (Mutual TLS - mTLS). If not specified, client certificate will not be requested. The connection is treated as TLS and not mTLS. If `allow_open` and `mtls_policy` are set, server allows both plain text and mTLS connections." + "description": "This field is required if the policy is used with Application Load Balancers. This field can be empty for Traffic Director. Defines a mechanism to provision peer validation certificates for peer to peer authentication (Mutual TLS - mTLS). If not specified, client certificate will not be requested. The connection is treated as TLS and not mTLS. If `allow_open` and `mtls_policy` are set, server allows both plain text and mTLS connections." }, "name": { "description": "Required. Name of the ServerTlsPolicy resource. It matches the pattern `projects/*/locations/{location}/serverTlsPolicies/{server_tls_policy}`", @@ -4557,7 +4557,7 @@ }, "serverCertificate": { "$ref": "GoogleCloudNetworksecurityV1beta1CertificateProvider", - "description": "Optional if policy is to be used with Traffic Director. For external HTTPS load balancer must be empty. Defines a mechanism to provision server identity (public and private keys). Cannot be combined with `allow_open` as a permissive mode that allows both plain text and TLS is not supported." + "description": "Optional if policy is to be used with Traffic Director. For Application Load Balancers must be empty. Defines a mechanism to provision server identity (public and private keys). Cannot be combined with `allow_open` as a permissive mode that allows both plain text and TLS is not supported." }, "updateTime": { "description": "Output only. The timestamp when the resource was updated.", diff --git a/discovery/networkservices-v1.json b/discovery/networkservices-v1.json index 33a8cf1910..7cadeb5687 100644 --- a/discovery/networkservices-v1.json +++ b/discovery/networkservices-v1.json @@ -535,37 +535,6 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, - "getIamPolicy": { - "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpointPolicies/{endpointPoliciesId}:getIamPolicy", - "httpMethod": "GET", - "id": "networkservices.projects.locations.endpointPolicies.getIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "options.requestedPolicyVersion": { - "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "location": "query", - "type": "integer" - }, - "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/endpointPolicies/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:getIamPolicy", - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, "list": { "description": "Lists EndpointPolicies in a given project and location.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpointPolicies", @@ -635,62 +604,6 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] - }, - "setIamPolicy": { - "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpointPolicies/{endpointPoliciesId}:setIamPolicy", - "httpMethod": "POST", - "id": "networkservices.projects.locations.endpointPolicies.setIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/endpointPolicies/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/endpointPolicies/{endpointPoliciesId}:testIamPermissions", - "httpMethod": "POST", - "id": "networkservices.projects.locations.endpointPolicies.testIamPermissions", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/endpointPolicies/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] } } }, @@ -779,37 +692,6 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, - "getIamPolicy": { - "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gateways/{gatewaysId}:getIamPolicy", - "httpMethod": "GET", - "id": "networkservices.projects.locations.gateways.getIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "options.requestedPolicyVersion": { - "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "location": "query", - "type": "integer" - }, - "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/gateways/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:getIamPolicy", - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, "list": { "description": "Lists Gateways in a given project and location.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gateways", @@ -879,62 +761,6 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] - }, - "setIamPolicy": { - "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gateways/{gatewaysId}:setIamPolicy", - "httpMethod": "POST", - "id": "networkservices.projects.locations.gateways.setIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/gateways/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/gateways/{gatewaysId}:testIamPermissions", - "httpMethod": "POST", - "id": "networkservices.projects.locations.gateways.testIamPermissions", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/gateways/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] } } }, @@ -1701,37 +1527,6 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, - "getIamPolicy": { - "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/meshes/{meshesId}:getIamPolicy", - "httpMethod": "GET", - "id": "networkservices.projects.locations.meshes.getIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "options.requestedPolicyVersion": { - "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "location": "query", - "type": "integer" - }, - "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/meshes/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:getIamPolicy", - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, "list": { "description": "Lists Meshes in a given project and location.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/meshes", @@ -1801,62 +1596,6 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] - }, - "setIamPolicy": { - "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/meshes/{meshesId}:setIamPolicy", - "httpMethod": "POST", - "id": "networkservices.projects.locations.meshes.setIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/meshes/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/meshes/{meshesId}:testIamPermissions", - "httpMethod": "POST", - "id": "networkservices.projects.locations.meshes.testIamPermissions", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/meshes/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] } } }, @@ -2068,37 +1807,6 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, - "getIamPolicy": { - "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceBindings/{serviceBindingsId}:getIamPolicy", - "httpMethod": "GET", - "id": "networkservices.projects.locations.serviceBindings.getIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "options.requestedPolicyVersion": { - "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "location": "query", - "type": "integer" - }, - "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/serviceBindings/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:getIamPolicy", - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, "list": { "description": "Lists ServiceBinding in a given project and location.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceBindings", @@ -2134,62 +1842,6 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] - }, - "setIamPolicy": { - "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceBindings/{serviceBindingsId}:setIamPolicy", - "httpMethod": "POST", - "id": "networkservices.projects.locations.serviceBindings.setIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/serviceBindings/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/serviceBindings/{serviceBindingsId}:testIamPermissions", - "httpMethod": "POST", - "id": "networkservices.projects.locations.serviceBindings.testIamPermissions", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/serviceBindings/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] } } }, @@ -2725,7 +2377,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the TlsRoute resource. It matches pattern `projects/*/locations/global/tlsRoutes/tls_route_name>`.", + "description": "Identifier. Name of the TlsRoute resource. It matches pattern `projects/*/locations/global/tlsRoutes/tls_route_name>`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/tlsRoutes/[^/]+$", "required": true, @@ -2756,7 +2408,7 @@ } } }, - "revision": "20240620", + "revision": "20240707", "rootUrl": "https://networkservices.googleapis.com/", "schemas": { "AuditConfig": { @@ -5021,7 +4673,7 @@ "type": "array" }, "name": { - "description": "Required. Name of the TlsRoute resource. It matches pattern `projects/*/locations/global/tlsRoutes/tls_route_name>`.", + "description": "Identifier. Name of the TlsRoute resource. It matches pattern `projects/*/locations/global/tlsRoutes/tls_route_name>`.", "type": "string" }, "rules": { diff --git a/discovery/networkservices-v1beta1.json b/discovery/networkservices-v1beta1.json index c2664bf126..07adb5fd8a 100644 --- a/discovery/networkservices-v1beta1.json +++ b/discovery/networkservices-v1beta1.json @@ -262,37 +262,6 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, - "getIamPolicy": { - "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/endpointPolicies/{endpointPoliciesId}:getIamPolicy", - "httpMethod": "GET", - "id": "networkservices.projects.locations.endpointPolicies.getIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "options.requestedPolicyVersion": { - "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "location": "query", - "type": "integer" - }, - "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/endpointPolicies/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+resource}:getIamPolicy", - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, "list": { "description": "Lists EndpointPolicies in a given project and location.", "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/endpointPolicies", @@ -362,62 +331,6 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] - }, - "setIamPolicy": { - "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/endpointPolicies/{endpointPoliciesId}:setIamPolicy", - "httpMethod": "POST", - "id": "networkservices.projects.locations.endpointPolicies.setIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/endpointPolicies/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+resource}:setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/endpointPolicies/{endpointPoliciesId}:testIamPermissions", - "httpMethod": "POST", - "id": "networkservices.projects.locations.endpointPolicies.testIamPermissions", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/endpointPolicies/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] } } }, @@ -506,37 +419,6 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, - "getIamPolicy": { - "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/gateways/{gatewaysId}:getIamPolicy", - "httpMethod": "GET", - "id": "networkservices.projects.locations.gateways.getIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "options.requestedPolicyVersion": { - "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "location": "query", - "type": "integer" - }, - "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/gateways/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+resource}:getIamPolicy", - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, "list": { "description": "Lists Gateways in a given project and location.", "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/gateways", @@ -606,62 +488,6 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] - }, - "setIamPolicy": { - "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/gateways/{gatewaysId}:setIamPolicy", - "httpMethod": "POST", - "id": "networkservices.projects.locations.gateways.setIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/gateways/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+resource}:setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/gateways/{gatewaysId}:testIamPermissions", - "httpMethod": "POST", - "id": "networkservices.projects.locations.gateways.testIamPermissions", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/gateways/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] } } }, @@ -1428,37 +1254,6 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, - "getIamPolicy": { - "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/meshes/{meshesId}:getIamPolicy", - "httpMethod": "GET", - "id": "networkservices.projects.locations.meshes.getIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "options.requestedPolicyVersion": { - "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "location": "query", - "type": "integer" - }, - "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/meshes/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+resource}:getIamPolicy", - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, "list": { "description": "Lists Meshes in a given project and location.", "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/meshes", @@ -1528,62 +1323,6 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] - }, - "setIamPolicy": { - "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/meshes/{meshesId}:setIamPolicy", - "httpMethod": "POST", - "id": "networkservices.projects.locations.meshes.setIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/meshes/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+resource}:setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/meshes/{meshesId}:testIamPermissions", - "httpMethod": "POST", - "id": "networkservices.projects.locations.meshes.testIamPermissions", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/meshes/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] } } }, @@ -1795,37 +1534,6 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, - "getIamPolicy": { - "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/serviceBindings/{serviceBindingsId}:getIamPolicy", - "httpMethod": "GET", - "id": "networkservices.projects.locations.serviceBindings.getIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "options.requestedPolicyVersion": { - "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", - "format": "int32", - "location": "query", - "type": "integer" - }, - "resource": { - "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/serviceBindings/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+resource}:getIamPolicy", - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, "list": { "description": "Lists ServiceBinding in a given project and location.", "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/serviceBindings", @@ -1861,62 +1569,6 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] - }, - "setIamPolicy": { - "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/serviceBindings/{serviceBindingsId}:setIamPolicy", - "httpMethod": "POST", - "id": "networkservices.projects.locations.serviceBindings.setIamPolicy", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/serviceBindings/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+resource}:setIamPolicy", - "request": { - "$ref": "SetIamPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", - "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/serviceBindings/{serviceBindingsId}:testIamPermissions", - "httpMethod": "POST", - "id": "networkservices.projects.locations.serviceBindings.testIamPermissions", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/serviceBindings/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1beta1/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] } } }, @@ -2452,7 +2104,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the TlsRoute resource. It matches pattern `projects/*/locations/global/tlsRoutes/tls_route_name>`.", + "description": "Identifier. Name of the TlsRoute resource. It matches pattern `projects/*/locations/global/tlsRoutes/tls_route_name>`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/tlsRoutes/[^/]+$", "required": true, @@ -2483,7 +2135,7 @@ } } }, - "revision": "20240613", + "revision": "20240707", "rootUrl": "https://networkservices.googleapis.com/", "schemas": { "AuditConfig": { @@ -4748,7 +4400,7 @@ "type": "array" }, "name": { - "description": "Required. Name of the TlsRoute resource. It matches pattern `projects/*/locations/global/tlsRoutes/tls_route_name>`.", + "description": "Identifier. Name of the TlsRoute resource. It matches pattern `projects/*/locations/global/tlsRoutes/tls_route_name>`.", "type": "string" }, "rules": { diff --git a/discovery/ondemandscanning-v1.json b/discovery/ondemandscanning-v1.json index 54485be337..6ad0641051 100644 --- a/discovery/ondemandscanning-v1.json +++ b/discovery/ondemandscanning-v1.json @@ -339,7 +339,7 @@ } } }, - "revision": "20240624", + "revision": "20240709", "rootUrl": "https://ondemandscanning.googleapis.com/", "schemas": { "AliasContext": { @@ -1110,10 +1110,6 @@ "sbomStatus": { "$ref": "SBOMStatus", "description": "The status of an SBOM generation." - }, - "vulnerabilityAttestation": { - "$ref": "VulnerabilityAttestation", - "description": "The status of an vulnerability attestation generation." } }, "type": "object" @@ -2846,36 +2842,6 @@ }, "type": "object" }, - "VulnerabilityAttestation": { - "description": "The status of an vulnerability attestation generation.", - "id": "VulnerabilityAttestation", - "properties": { - "error": { - "description": "If failure, the error reason for why the attestation generation failed.", - "type": "string" - }, - "lastAttemptTime": { - "description": "The last time we attempted to generate an attestation.", - "format": "google-datetime", - "type": "string" - }, - "state": { - "description": "The success/failure state of the latest attestation attempt.", - "enum": [ - "VULNERABILITY_ATTESTATION_STATE_UNSPECIFIED", - "SUCCESS", - "FAILURE" - ], - "enumDescriptions": [ - "Default unknown state.", - "Attestation was successfully generated and stored.", - "Attestation was unsuccessfully generated and stored." - ], - "type": "string" - } - }, - "type": "object" - }, "VulnerabilityOccurrence": { "description": "An occurrence of a severity vulnerability on a resource.", "id": "VulnerabilityOccurrence", diff --git a/discovery/ondemandscanning-v1beta1.json b/discovery/ondemandscanning-v1beta1.json index e7d20882ec..8a5477b1b2 100644 --- a/discovery/ondemandscanning-v1beta1.json +++ b/discovery/ondemandscanning-v1beta1.json @@ -339,7 +339,7 @@ } } }, - "revision": "20240624", + "revision": "20240709", "rootUrl": "https://ondemandscanning.googleapis.com/", "schemas": { "AliasContext": { @@ -1105,10 +1105,6 @@ "sbomStatus": { "$ref": "SBOMStatus", "description": "The status of an SBOM generation." - }, - "vulnerabilityAttestation": { - "$ref": "VulnerabilityAttestation", - "description": "The status of an vulnerability attestation generation." } }, "type": "object" @@ -2841,36 +2837,6 @@ }, "type": "object" }, - "VulnerabilityAttestation": { - "description": "The status of an vulnerability attestation generation.", - "id": "VulnerabilityAttestation", - "properties": { - "error": { - "description": "If failure, the error reason for why the attestation generation failed.", - "type": "string" - }, - "lastAttemptTime": { - "description": "The last time we attempted to generate an attestation.", - "format": "google-datetime", - "type": "string" - }, - "state": { - "description": "The success/failure state of the latest attestation attempt.", - "enum": [ - "VULNERABILITY_ATTESTATION_STATE_UNSPECIFIED", - "SUCCESS", - "FAILURE" - ], - "enumDescriptions": [ - "Default unknown state.", - "Attestation was successfully generated and stored.", - "Attestation was unsuccessfully generated and stored." - ], - "type": "string" - } - }, - "type": "object" - }, "VulnerabilityOccurrence": { "description": "An occurrence of a severity vulnerability on a resource.", "id": "VulnerabilityOccurrence", diff --git a/discovery/playdeveloperreporting-v1alpha1.json b/discovery/playdeveloperreporting-v1alpha1.json index 3124e77c6a..8e06b5a97b 100644 --- a/discovery/playdeveloperreporting-v1alpha1.json +++ b/discovery/playdeveloperreporting-v1alpha1.json @@ -947,7 +947,7 @@ } } }, - "revision": "20240312", + "revision": "20240716", "rootUrl": "https://playdeveloperreporting.googleapis.com/", "schemas": { "GooglePlayDeveloperReportingV1alpha1Anomaly": { @@ -1558,14 +1558,14 @@ "id": "GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetRequest", "properties": { "dimensions": { - "description": "Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): identifier of the device's form factor, e.g., PHONE. * `reportType` (string): the type of error. The value should correspond to one of the possible values in ErrorType. * `isUserPerceived` (string): denotes whether error is user perceived or not, USER_PERCEIVED or NOT_USER_PERCEIVED. * `issueId` (string): the id an error was assigned to. The value should correspond to the `{issue}` component of the issue name. * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", + "description": "Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): identifier of the device's form factor, e.g., PHONE. * `reportType` (string): the type of error. The value should correspond to one of the possible values in ErrorType. * `issueId` (string): the id an error was assigned to. The value should correspond to the `{issue}` component of the issue name. * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", "items": { "type": "string" }, "type": "array" }, "filter": { - "description": "Filters to apply to data. The filtering expression follows [AIP-160](https://google.aip.dev/160) standard and supports filtering by equality of all breakdown dimensions.", + "description": "Filters to apply to data. The filtering expression follows [AIP-160](https://google.aip.dev/160) standard and supports filtering by equality of all breakdown dimensions and: * `isUserPerceived` (string): denotes whether error is user perceived or not, USER_PERCEIVED or NOT_USER_PERCEIVED.", "type": "string" }, "metrics": { diff --git a/discovery/playdeveloperreporting-v1beta1.json b/discovery/playdeveloperreporting-v1beta1.json index 86ad107a53..ff863bc1b4 100644 --- a/discovery/playdeveloperreporting-v1beta1.json +++ b/discovery/playdeveloperreporting-v1beta1.json @@ -947,7 +947,7 @@ } } }, - "revision": "20240312", + "revision": "20240716", "rootUrl": "https://playdeveloperreporting.googleapis.com/", "schemas": { "GooglePlayDeveloperReportingV1beta1Anomaly": { @@ -1558,14 +1558,14 @@ "id": "GooglePlayDeveloperReportingV1beta1QueryErrorCountMetricSetRequest", "properties": { "dimensions": { - "description": "Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): identifier of the device's form factor, e.g., PHONE. * `reportType` (string): the type of error. The value should correspond to one of the possible values in ErrorType. * `isUserPerceived` (string): denotes whether error is user perceived or not, USER_PERCEIVED or NOT_USER_PERCEIVED. * `issueId` (string): the id an error was assigned to. The value should correspond to the `{issue}` component of the issue name. * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", + "description": "Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): identifier of the device's form factor, e.g., PHONE. * `reportType` (string): the type of error. The value should correspond to one of the possible values in ErrorType. * `issueId` (string): the id an error was assigned to. The value should correspond to the `{issue}` component of the issue name. * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., \"Exynos 2100\". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., \"Kryo 240\". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., \"4198400\". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., \"196610\". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi.", "items": { "type": "string" }, "type": "array" }, "filter": { - "description": "Filters to apply to data. The filtering expression follows [AIP-160](https://google.aip.dev/160) standard and supports filtering by equality of all breakdown dimensions.", + "description": "Filters to apply to data. The filtering expression follows [AIP-160](https://google.aip.dev/160) standard and supports filtering by equality of all breakdown dimensions and: * `isUserPerceived` (string): denotes whether error is user perceived or not, USER_PERCEIVED or NOT_USER_PERCEIVED.", "type": "string" }, "metrics": { diff --git a/discovery/playintegrity-v1.json b/discovery/playintegrity-v1.json index 87c0268890..0eb6563c99 100644 --- a/discovery/playintegrity-v1.json +++ b/discovery/playintegrity-v1.json @@ -105,6 +105,38 @@ }, "protocol": "rest", "resources": { + "deviceRecall": { + "methods": { + "write": { + "description": "Writes recall bits for the device where Play Integrity API token is obtained. The endpoint is available to select Play partners in an early access program (EAP).", + "flatPath": "v1/{v1Id}/deviceRecall:write", + "httpMethod": "POST", + "id": "playintegrity.deviceRecall.write", + "parameterOrder": [ + "packageName" + ], + "parameters": { + "packageName": { + "description": "Required. Package name of the app the attached integrity token belongs to.", + "location": "path", + "pattern": "^[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+packageName}/deviceRecall:write", + "request": { + "$ref": "WriteDeviceRecallRequest" + }, + "response": { + "$ref": "WriteDeviceRecallResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/playintegrity" + ] + } + } + }, "v1": { "methods": { "decodeIntegrityToken": { @@ -138,7 +170,7 @@ } } }, - "revision": "20240508", + "revision": "20240716", "rootUrl": "https://playintegrity.googleapis.com/", "schemas": { "AccountActivity": { @@ -491,6 +523,46 @@ } }, "type": "object" + }, + "Values": { + "description": "Contains the recall bits values.", + "id": "Values", + "properties": { + "bitFirst": { + "description": "Required. First recall bit value.", + "type": "boolean" + }, + "bitSecond": { + "description": "Required. Second recall bit value.", + "type": "boolean" + }, + "bitThird": { + "description": "Required. Third recall bit value.", + "type": "boolean" + } + }, + "type": "object" + }, + "WriteDeviceRecallRequest": { + "description": "Request to write device recall bits.", + "id": "WriteDeviceRecallRequest", + "properties": { + "integrityToken": { + "description": "Required. Integrity token obtained from calling Play Integrity API. Note that the integrity token contains the existing device recall bits. The write will only succeed if those bits in the integrity token are up to date.", + "type": "string" + }, + "newValues": { + "$ref": "Values", + "description": "Required. The new values for the device recall bits to be written." + } + }, + "type": "object" + }, + "WriteDeviceRecallResponse": { + "description": "Response for the Write Device Recall action. Currently empty.", + "id": "WriteDeviceRecallResponse", + "properties": {}, + "type": "object" } }, "servicePath": "", diff --git a/discovery/pubsub-v1.json b/discovery/pubsub-v1.json index 30116a81a4..5be6f4874e 100644 --- a/discovery/pubsub-v1.json +++ b/discovery/pubsub-v1.json @@ -20,19 +20,19 @@ "documentationLink": "https://cloud.google.com/pubsub/docs", "endpoints": [ { + "description": "Regional Endpoint", "endpointUrl": "https://pubsub.me-central2.rep.googleapis.com/", - "location": "me-central2", - "description": "Regional Endpoint" + "location": "me-central2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://pubsub.europe-west3.rep.googleapis.com/", - "location": "europe-west3", - "description": "Regional Endpoint" + "location": "europe-west3" }, { + "description": "Regional Endpoint", "endpointUrl": "https://pubsub.europe-west9.rep.googleapis.com/", - "location": "europe-west9", - "description": "Regional Endpoint" + "location": "europe-west9" } ], "icons": { @@ -1583,7 +1583,7 @@ } } }, - "revision": "20240618", + "revision": "20240702", "rootUrl": "https://pubsub.googleapis.com/", "schemas": { "AcknowledgeRequest": { @@ -1782,6 +1782,11 @@ "format": "google-duration", "type": "string" }, + "maxMessages": { + "description": "Optional. The maximum number of messages that can be written to a Cloud Storage file before a new file is created. Min 1000 messages.", + "format": "int64", + "type": "string" + }, "serviceAccountEmail": { "description": "Optional. The service account to use to write to Cloud Storage. The subscription creator or updater that specifies this field must have `iam.serviceAccounts.actAs` permission on the service account. If not specified, the Pub/Sub [service agent](https://cloud.google.com/iam/docs/service-agents), service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.", "type": "string" diff --git a/discovery/pubsub-v1beta1a.json b/discovery/pubsub-v1beta1a.json index 6b85cbeeec..c2fe565e64 100644 --- a/discovery/pubsub-v1beta1a.json +++ b/discovery/pubsub-v1beta1a.json @@ -20,19 +20,19 @@ "documentationLink": "https://cloud.google.com/pubsub/docs", "endpoints": [ { + "description": "Regional Endpoint", "endpointUrl": "https://pubsub.me-central2.rep.googleapis.com/", - "location": "me-central2", - "description": "Regional Endpoint" + "location": "me-central2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://pubsub.europe-west3.rep.googleapis.com/", - "location": "europe-west3", - "description": "Regional Endpoint" + "location": "europe-west3" }, { + "description": "Regional Endpoint", "endpointUrl": "https://pubsub.europe-west9.rep.googleapis.com/", - "location": "europe-west9", - "description": "Regional Endpoint" + "location": "europe-west9" } ], "icons": { @@ -474,7 +474,7 @@ } } }, - "revision": "20240227", + "revision": "20240220", "rootUrl": "https://pubsub.googleapis.com/", "schemas": { "AcknowledgeRequest": { diff --git a/discovery/pubsub-v1beta2.json b/discovery/pubsub-v1beta2.json index 67d3b67d94..932b5d7d67 100644 --- a/discovery/pubsub-v1beta2.json +++ b/discovery/pubsub-v1beta2.json @@ -20,19 +20,19 @@ "documentationLink": "https://cloud.google.com/pubsub/docs", "endpoints": [ { + "description": "Regional Endpoint", "endpointUrl": "https://pubsub.me-central2.rep.googleapis.com/", - "location": "me-central2", - "description": "Regional Endpoint" + "location": "me-central2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://pubsub.europe-west3.rep.googleapis.com/", - "location": "europe-west3", - "description": "Regional Endpoint" + "location": "europe-west3" }, { + "description": "Regional Endpoint", "endpointUrl": "https://pubsub.europe-west9.rep.googleapis.com/", - "location": "europe-west9", - "description": "Regional Endpoint" + "location": "europe-west9" } ], "icons": { @@ -741,7 +741,7 @@ } } }, - "revision": "20240227", + "revision": "20240220", "rootUrl": "https://pubsub.googleapis.com/", "schemas": { "AcknowledgeRequest": { diff --git a/discovery/retail-v2.json b/discovery/retail-v2.json index f8bc69d5f2..09c6f2dbf7 100644 --- a/discovery/retail-v2.json +++ b/discovery/retail-v2.json @@ -2092,7 +2092,7 @@ } } }, - "revision": "20240614", + "revision": "20240711", "rootUrl": "https://retail.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -2637,14 +2637,6 @@ "mergedFacetKey": { "description": "The merged facet key should be a valid facet key that is different than the facet key of the current catalog attribute. We refer this is merged facet key as the child of the current catalog attribute. This merged facet key can't be a parent of another facet key (i.e. no directed path of length 2). This merged facet key needs to be either a textual custom attribute or a numerical custom attribute.", "type": "string" - }, - "mergedFacetValues": { - "deprecated": true, - "description": "Each instance is a list of facet values that map into the same (possibly different) merged facet value. For the current attribute config, each facet value should map to at most one merged facet value.", - "items": { - "$ref": "GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacetValue" - }, - "type": "array" } }, "type": "object" @@ -2752,7 +2744,7 @@ }, "GoogleCloudRetailV2CompleteQueryResponseRecentSearchResult": { "deprecated": true, - "description": "Recent search of this user.", + "description": "Deprecated: Recent search of this user.", "id": "GoogleCloudRetailV2CompleteQueryResponseRecentSearchResult", "properties": { "recentSearch": { diff --git a/discovery/retail-v2alpha.json b/discovery/retail-v2alpha.json index 12c8b7f9a9..3041fbd4bd 100644 --- a/discovery/retail-v2alpha.json +++ b/discovery/retail-v2alpha.json @@ -2557,7 +2557,7 @@ } } }, - "revision": "20240614", + "revision": "20240702", "rootUrl": "https://retail.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -3610,16 +3610,6 @@ "readOnly": true, "type": "array" }, - "productCounts": { - "additionalProperties": { - "format": "int64", - "type": "string" - }, - "deprecated": true, - "description": "Output only. The number of products in different groups that this branch has. The key is a group representing a set of products, and the value is the number of products in that group. Note: keys in this map may change over time. Possible keys: * \"primary-in-stock\", products have Product.Type.PRIMARY type and Product.Availability.IN_STOCK availability. * \"primary-out-of-stock\", products have Product.Type.PRIMARY type and Product.Availability.OUT_OF_STOCK availability. * \"primary-preorder\", products have Product.Type.PRIMARY type and Product.Availability.PREORDER availability. * \"primary-backorder\", products have Product.Type.PRIMARY type and Product.Availability.BACKORDER availability. * \"variant-in-stock\", products have Product.Type.VARIANT type and Product.Availability.IN_STOCK availability. * \"variant-out-of-stock\", products have Product.Type.VARIANT type and Product.Availability.OUT_OF_STOCK availability. * \"variant-preorder\", products have Product.Type.VARIANT type and Product.Availability.PREORDER availability. * \"variant-backorder\", products have Product.Type.VARIANT type and Product.Availability.BACKORDER availability. * \"price-discounted\", products have [Product.price_info.price] < [Product.price_info.original_price]. This field is not populated in BranchView.BASIC view.", - "readOnly": true, - "type": "object" - }, "qualityMetrics": { "description": "Output only. The quality metrics measured among products of this branch. See QualityMetric.requirement_key for supported metrics. Metrics could be missing if failed to retrieve. This field is not populated in BranchView.BASIC view.", "items": { @@ -3902,14 +3892,6 @@ "mergedFacetKey": { "description": "The merged facet key should be a valid facet key that is different than the facet key of the current catalog attribute. We refer this is merged facet key as the child of the current catalog attribute. This merged facet key can't be a parent of another facet key (i.e. no directed path of length 2). This merged facet key needs to be either a textual custom attribute or a numerical custom attribute.", "type": "string" - }, - "mergedFacetValues": { - "deprecated": true, - "description": "Each instance is a list of facet values that map into the same (possibly different) merged facet value. For the current attribute config, each facet value should map to at most one merged facet value.", - "items": { - "$ref": "GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacetValue" - }, - "type": "array" } }, "type": "object" @@ -4050,7 +4032,7 @@ }, "GoogleCloudRetailV2alphaCompleteQueryResponseRecentSearchResult": { "deprecated": true, - "description": "Recent search of this user.", + "description": "Deprecated: Recent search of this user.", "id": "GoogleCloudRetailV2alphaCompleteQueryResponseRecentSearchResult", "properties": { "recentSearch": { diff --git a/discovery/retail-v2beta.json b/discovery/retail-v2beta.json index 97f75ae690..8d6b1dd315 100644 --- a/discovery/retail-v2beta.json +++ b/discovery/retail-v2beta.json @@ -2120,7 +2120,7 @@ } } }, - "revision": "20240614", + "revision": "20240702", "rootUrl": "https://retail.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -4113,14 +4113,6 @@ "mergedFacetKey": { "description": "The merged facet key should be a valid facet key that is different than the facet key of the current catalog attribute. We refer this is merged facet key as the child of the current catalog attribute. This merged facet key can't be a parent of another facet key (i.e. no directed path of length 2). This merged facet key needs to be either a textual custom attribute or a numerical custom attribute.", "type": "string" - }, - "mergedFacetValues": { - "deprecated": true, - "description": "Each instance is a list of facet values that map into the same (possibly different) merged facet value. For the current attribute config, each facet value should map to at most one merged facet value.", - "items": { - "$ref": "GoogleCloudRetailV2betaCatalogAttributeFacetConfigMergedFacetValue" - }, - "type": "array" } }, "type": "object" @@ -4228,7 +4220,7 @@ }, "GoogleCloudRetailV2betaCompleteQueryResponseRecentSearchResult": { "deprecated": true, - "description": "Recent search of this user.", + "description": "Deprecated: Recent search of this user.", "id": "GoogleCloudRetailV2betaCompleteQueryResponseRecentSearchResult", "properties": { "recentSearch": { diff --git a/discovery/run-v1.json b/discovery/run-v1.json index 1c29b457a7..16b5ab8114 100644 --- a/discovery/run-v1.json +++ b/discovery/run-v1.json @@ -17,204 +17,204 @@ "documentationLink": "https://cloud.google.com/run/", "endpoints": [ { + "description": "Locational Endpoint", "endpointUrl": "https://africa-south1-run.googleapis.com/", - "location": "africa-south1", - "description": "Locational Endpoint" + "location": "africa-south1" }, { + "description": "Locational Endpoint", "endpointUrl": "https://asia-east1-run.googleapis.com/", - "location": "asia-east1", - "description": "Locational Endpoint" + "location": "asia-east1" }, { + "description": "Locational Endpoint", "endpointUrl": "https://asia-east2-run.googleapis.com/", - "location": "asia-east2", - "description": "Locational Endpoint" + "location": "asia-east2" }, { + "description": "Locational Endpoint", "endpointUrl": "https://asia-northeast1-run.googleapis.com/", - "location": "asia-northeast1", - "description": "Locational Endpoint" + "location": "asia-northeast1" }, { + "description": "Locational Endpoint", "endpointUrl": "https://asia-northeast2-run.googleapis.com/", - "location": "asia-northeast2", - "description": "Locational Endpoint" + "location": "asia-northeast2" }, { + "description": "Locational Endpoint", "endpointUrl": "https://asia-northeast3-run.googleapis.com/", - "location": "asia-northeast3", - "description": "Locational Endpoint" + "location": "asia-northeast3" }, { + "description": "Locational Endpoint", "endpointUrl": "https://asia-south1-run.googleapis.com/", - "location": "asia-south1", - "description": "Locational Endpoint" + "location": "asia-south1" }, { + "description": "Locational Endpoint", "endpointUrl": "https://asia-south2-run.googleapis.com/", - "location": "asia-south2", - "description": "Locational Endpoint" + "location": "asia-south2" }, { + "description": "Locational Endpoint", "endpointUrl": "https://asia-southeast1-run.googleapis.com/", - "location": "asia-southeast1", - "description": "Locational Endpoint" + "location": "asia-southeast1" }, { + "description": "Locational Endpoint", "endpointUrl": "https://asia-southeast2-run.googleapis.com/", - "location": "asia-southeast2", - "description": "Locational Endpoint" + "location": "asia-southeast2" }, { + "description": "Locational Endpoint", "endpointUrl": "https://australia-southeast1-run.googleapis.com/", - "location": "australia-southeast1", - "description": "Locational Endpoint" + "location": "australia-southeast1" }, { + "description": "Locational Endpoint", "endpointUrl": "https://australia-southeast2-run.googleapis.com/", - "location": "australia-southeast2", - "description": "Locational Endpoint" + "location": "australia-southeast2" }, { + "description": "Locational Endpoint", "endpointUrl": "https://europe-central2-run.googleapis.com/", - "location": "europe-central2", - "description": "Locational Endpoint" + "location": "europe-central2" }, { + "description": "Locational Endpoint", "endpointUrl": "https://europe-north1-run.googleapis.com/", - "location": "europe-north1", - "description": "Locational Endpoint" + "location": "europe-north1" }, { + "description": "Locational Endpoint", "endpointUrl": "https://europe-southwest1-run.googleapis.com/", - "location": "europe-southwest1", - "description": "Locational Endpoint" + "location": "europe-southwest1" }, { + "description": "Locational Endpoint", "endpointUrl": "https://europe-west1-run.googleapis.com/", - "location": "europe-west1", - "description": "Locational Endpoint" + "location": "europe-west1" }, { + "description": "Locational Endpoint", "endpointUrl": "https://europe-west10-run.googleapis.com/", - "location": "europe-west10", - "description": "Locational Endpoint" + "location": "europe-west10" }, { + "description": "Locational Endpoint", "endpointUrl": "https://europe-west12-run.googleapis.com/", - "location": "europe-west12", - "description": "Locational Endpoint" + "location": "europe-west12" }, { + "description": "Locational Endpoint", "endpointUrl": "https://europe-west2-run.googleapis.com/", - "location": "europe-west2", - "description": "Locational Endpoint" + "location": "europe-west2" }, { + "description": "Locational Endpoint", "endpointUrl": "https://europe-west3-run.googleapis.com/", - "location": "europe-west3", - "description": "Locational Endpoint" + "location": "europe-west3" }, { + "description": "Locational Endpoint", "endpointUrl": "https://europe-west4-run.googleapis.com/", - "location": "europe-west4", - "description": "Locational Endpoint" + "location": "europe-west4" }, { + "description": "Locational Endpoint", "endpointUrl": "https://europe-west6-run.googleapis.com/", - "location": "europe-west6", - "description": "Locational Endpoint" + "location": "europe-west6" }, { + "description": "Locational Endpoint", "endpointUrl": "https://europe-west8-run.googleapis.com/", - "location": "europe-west8", - "description": "Locational Endpoint" + "location": "europe-west8" }, { + "description": "Locational Endpoint", "endpointUrl": "https://europe-west9-run.googleapis.com/", - "location": "europe-west9", - "description": "Locational Endpoint" + "location": "europe-west9" }, { + "description": "Locational Endpoint", "endpointUrl": "https://me-central1-run.googleapis.com/", - "location": "me-central1", - "description": "Locational Endpoint" + "location": "me-central1" }, { + "description": "Locational Endpoint", "endpointUrl": "https://me-central2-run.googleapis.com/", - "location": "me-central2", - "description": "Locational Endpoint" + "location": "me-central2" }, { + "description": "Locational Endpoint", "endpointUrl": "https://me-west1-run.googleapis.com/", - "location": "me-west1", - "description": "Locational Endpoint" + "location": "me-west1" }, { + "description": "Locational Endpoint", "endpointUrl": "https://northamerica-northeast1-run.googleapis.com/", - "location": "northamerica-northeast1", - "description": "Locational Endpoint" + "location": "northamerica-northeast1" }, { + "description": "Locational Endpoint", "endpointUrl": "https://northamerica-northeast2-run.googleapis.com/", - "location": "northamerica-northeast2", - "description": "Locational Endpoint" + "location": "northamerica-northeast2" }, { + "description": "Locational Endpoint", "endpointUrl": "https://southamerica-east1-run.googleapis.com/", - "location": "southamerica-east1", - "description": "Locational Endpoint" + "location": "southamerica-east1" }, { + "description": "Locational Endpoint", "endpointUrl": "https://southamerica-west1-run.googleapis.com/", - "location": "southamerica-west1", - "description": "Locational Endpoint" + "location": "southamerica-west1" }, { + "description": "Locational Endpoint", "endpointUrl": "https://us-central1-run.googleapis.com/", - "location": "us-central1", - "description": "Locational Endpoint" + "location": "us-central1" }, { + "description": "Locational Endpoint", "endpointUrl": "https://us-east1-run.googleapis.com/", - "location": "us-east1", - "description": "Locational Endpoint" + "location": "us-east1" }, { + "description": "Locational Endpoint", "endpointUrl": "https://us-east4-run.googleapis.com/", - "location": "us-east4", - "description": "Locational Endpoint" + "location": "us-east4" }, { + "description": "Locational Endpoint", "endpointUrl": "https://us-east5-run.googleapis.com/", - "location": "us-east5", - "description": "Locational Endpoint" + "location": "us-east5" }, { + "description": "Locational Endpoint", "endpointUrl": "https://us-south1-run.googleapis.com/", - "location": "us-south1", - "description": "Locational Endpoint" + "location": "us-south1" }, { + "description": "Locational Endpoint", "endpointUrl": "https://us-west1-run.googleapis.com/", - "location": "us-west1", - "description": "Locational Endpoint" + "location": "us-west1" }, { + "description": "Locational Endpoint", "endpointUrl": "https://us-west2-run.googleapis.com/", - "location": "us-west2", - "description": "Locational Endpoint" + "location": "us-west2" }, { + "description": "Locational Endpoint", "endpointUrl": "https://us-west3-run.googleapis.com/", - "location": "us-west3", - "description": "Locational Endpoint" + "location": "us-west3" }, { + "description": "Locational Endpoint", "endpointUrl": "https://us-west4-run.googleapis.com/", - "location": "us-west4", - "description": "Locational Endpoint" + "location": "us-west4" } ], "fullyEncodeReservedExpansion": true, @@ -2614,7 +2614,7 @@ } } }, - "revision": "20240524", + "revision": "20240705", "rootUrl": "https://run.googleapis.com/", "schemas": { "Addressable": { @@ -3229,6 +3229,26 @@ "description": "Reference to an Execution. Use /Executions.GetExecution with the given name to get full execution including the latest status.", "id": "ExecutionReference", "properties": { + "completionStatus": { + "description": "Optional. Status for the execution completion.", + "enum": [ + "COMPLETION_STATUS_UNSPECIFIED", + "EXECUTION_SUCCEEDED", + "EXECUTION_FAILED", + "EXECUTION_RUNNING", + "EXECUTION_PENDING", + "EXECUTION_CANCELLED" + ], + "enumDescriptions": [ + "The default value. This value is used if the state is omitted.", + "Job execution has succeeded.", + "Job execution has failed.", + "Job execution is running normally.", + "Waiting for backing resources to be provisioned.", + "Job execution has been cancelled by the user." + ], + "type": "string" + }, "completionTimestamp": { "description": "Optional. Completion timestamp of the execution.", "format": "google-datetime", @@ -3239,6 +3259,11 @@ "format": "google-datetime", "type": "string" }, + "deletionTimestamp": { + "description": "Optional. The read-only soft deletion timestamp of the execution.", + "format": "google-datetime", + "type": "string" + }, "name": { "description": "Optional. Name of the execution.", "type": "string" @@ -4172,26 +4197,6 @@ }, "type": "object" }, - "GoogleDevtoolsCloudbuildV1GCSLocation": { - "description": "Represents a storage location in Cloud Storage", - "id": "GoogleDevtoolsCloudbuildV1GCSLocation", - "properties": { - "bucket": { - "description": "Cloud Storage bucket. See https://cloud.google.com/storage/docs/naming#requirements", - "type": "string" - }, - "generation": { - "description": "Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.", - "format": "int64", - "type": "string" - }, - "object": { - "description": "Cloud Storage object. See https://cloud.google.com/storage/docs/naming#objectnames", - "type": "string" - } - }, - "type": "object" - }, "GoogleDevtoolsCloudbuildV1GitConfig": { "description": "GitConfig is a configuration for git operations.", "id": "GoogleDevtoolsCloudbuildV1GitConfig", @@ -4255,12 +4260,8 @@ "id": "GoogleDevtoolsCloudbuildV1HttpConfig", "properties": { "proxySecretVersionName": { - "description": "SecretVersion resource of the HTTP proxy URL. The proxy URL should be in format protocol://@]proxyhost[:port].", + "description": "SecretVersion resource of the HTTP proxy URL. The Service Account used in the build (either the default Service Account or user-specified Service Account) should have `secretmanager.versions.access` permissions on this secret. The proxy URL should be in format `protocol://@]proxyhost[:port]`.", "type": "string" - }, - "proxySslCaInfo": { - "$ref": "GoogleDevtoolsCloudbuildV1GCSLocation", - "description": "Optional. Cloud Storage object storing the certificate to use with the HTTP proxy." } }, "type": "object" @@ -5678,7 +5679,7 @@ "type": "integer" }, "containers": { - "description": "Required. Containers holds the single container that defines the unit of execution for this Revision. In the context of a Revision, we disallow a number of fields on this Container, including: name and lifecycle. In Cloud Run, only a single container may be provided.", + "description": "Required. Containers holds the list which define the units of execution for this Revision. In the context of a Revision, we disallow a number of fields on this Container, including: name and lifecycle.", "items": { "$ref": "Container" }, diff --git a/discovery/run-v2.json b/discovery/run-v2.json index 707d6deba9..e487d93450 100644 --- a/discovery/run-v2.json +++ b/discovery/run-v2.json @@ -17,204 +17,204 @@ "documentationLink": "https://cloud.google.com/run/", "endpoints": [ { + "description": "Locational Endpoint", "endpointUrl": "https://africa-south1-run.googleapis.com/", - "location": "africa-south1", - "description": "Locational Endpoint" + "location": "africa-south1" }, { + "description": "Locational Endpoint", "endpointUrl": "https://asia-east1-run.googleapis.com/", - "location": "asia-east1", - "description": "Locational Endpoint" + "location": "asia-east1" }, { + "description": "Locational Endpoint", "endpointUrl": "https://asia-east2-run.googleapis.com/", - "location": "asia-east2", - "description": "Locational Endpoint" + "location": "asia-east2" }, { + "description": "Locational Endpoint", "endpointUrl": "https://asia-northeast1-run.googleapis.com/", - "location": "asia-northeast1", - "description": "Locational Endpoint" + "location": "asia-northeast1" }, { + "description": "Locational Endpoint", "endpointUrl": "https://asia-northeast2-run.googleapis.com/", - "location": "asia-northeast2", - "description": "Locational Endpoint" + "location": "asia-northeast2" }, { + "description": "Locational Endpoint", "endpointUrl": "https://asia-northeast3-run.googleapis.com/", - "location": "asia-northeast3", - "description": "Locational Endpoint" + "location": "asia-northeast3" }, { + "description": "Locational Endpoint", "endpointUrl": "https://asia-south1-run.googleapis.com/", - "location": "asia-south1", - "description": "Locational Endpoint" + "location": "asia-south1" }, { + "description": "Locational Endpoint", "endpointUrl": "https://asia-south2-run.googleapis.com/", - "location": "asia-south2", - "description": "Locational Endpoint" + "location": "asia-south2" }, { + "description": "Locational Endpoint", "endpointUrl": "https://asia-southeast1-run.googleapis.com/", - "location": "asia-southeast1", - "description": "Locational Endpoint" + "location": "asia-southeast1" }, { + "description": "Locational Endpoint", "endpointUrl": "https://asia-southeast2-run.googleapis.com/", - "location": "asia-southeast2", - "description": "Locational Endpoint" + "location": "asia-southeast2" }, { + "description": "Locational Endpoint", "endpointUrl": "https://australia-southeast1-run.googleapis.com/", - "location": "australia-southeast1", - "description": "Locational Endpoint" + "location": "australia-southeast1" }, { + "description": "Locational Endpoint", "endpointUrl": "https://australia-southeast2-run.googleapis.com/", - "location": "australia-southeast2", - "description": "Locational Endpoint" + "location": "australia-southeast2" }, { + "description": "Locational Endpoint", "endpointUrl": "https://europe-central2-run.googleapis.com/", - "location": "europe-central2", - "description": "Locational Endpoint" + "location": "europe-central2" }, { + "description": "Locational Endpoint", "endpointUrl": "https://europe-north1-run.googleapis.com/", - "location": "europe-north1", - "description": "Locational Endpoint" + "location": "europe-north1" }, { + "description": "Locational Endpoint", "endpointUrl": "https://europe-southwest1-run.googleapis.com/", - "location": "europe-southwest1", - "description": "Locational Endpoint" + "location": "europe-southwest1" }, { + "description": "Locational Endpoint", "endpointUrl": "https://europe-west1-run.googleapis.com/", - "location": "europe-west1", - "description": "Locational Endpoint" + "location": "europe-west1" }, { + "description": "Locational Endpoint", "endpointUrl": "https://europe-west10-run.googleapis.com/", - "location": "europe-west10", - "description": "Locational Endpoint" + "location": "europe-west10" }, { + "description": "Locational Endpoint", "endpointUrl": "https://europe-west12-run.googleapis.com/", - "location": "europe-west12", - "description": "Locational Endpoint" + "location": "europe-west12" }, { + "description": "Locational Endpoint", "endpointUrl": "https://europe-west2-run.googleapis.com/", - "location": "europe-west2", - "description": "Locational Endpoint" + "location": "europe-west2" }, { + "description": "Locational Endpoint", "endpointUrl": "https://europe-west3-run.googleapis.com/", - "location": "europe-west3", - "description": "Locational Endpoint" + "location": "europe-west3" }, { + "description": "Locational Endpoint", "endpointUrl": "https://europe-west4-run.googleapis.com/", - "location": "europe-west4", - "description": "Locational Endpoint" + "location": "europe-west4" }, { + "description": "Locational Endpoint", "endpointUrl": "https://europe-west6-run.googleapis.com/", - "location": "europe-west6", - "description": "Locational Endpoint" + "location": "europe-west6" }, { + "description": "Locational Endpoint", "endpointUrl": "https://europe-west8-run.googleapis.com/", - "location": "europe-west8", - "description": "Locational Endpoint" + "location": "europe-west8" }, { + "description": "Locational Endpoint", "endpointUrl": "https://europe-west9-run.googleapis.com/", - "location": "europe-west9", - "description": "Locational Endpoint" + "location": "europe-west9" }, { + "description": "Locational Endpoint", "endpointUrl": "https://me-central1-run.googleapis.com/", - "location": "me-central1", - "description": "Locational Endpoint" + "location": "me-central1" }, { + "description": "Locational Endpoint", "endpointUrl": "https://me-central2-run.googleapis.com/", - "location": "me-central2", - "description": "Locational Endpoint" + "location": "me-central2" }, { + "description": "Locational Endpoint", "endpointUrl": "https://me-west1-run.googleapis.com/", - "location": "me-west1", - "description": "Locational Endpoint" + "location": "me-west1" }, { + "description": "Locational Endpoint", "endpointUrl": "https://northamerica-northeast1-run.googleapis.com/", - "location": "northamerica-northeast1", - "description": "Locational Endpoint" + "location": "northamerica-northeast1" }, { + "description": "Locational Endpoint", "endpointUrl": "https://northamerica-northeast2-run.googleapis.com/", - "location": "northamerica-northeast2", - "description": "Locational Endpoint" + "location": "northamerica-northeast2" }, { + "description": "Locational Endpoint", "endpointUrl": "https://southamerica-east1-run.googleapis.com/", - "location": "southamerica-east1", - "description": "Locational Endpoint" + "location": "southamerica-east1" }, { + "description": "Locational Endpoint", "endpointUrl": "https://southamerica-west1-run.googleapis.com/", - "location": "southamerica-west1", - "description": "Locational Endpoint" + "location": "southamerica-west1" }, { + "description": "Locational Endpoint", "endpointUrl": "https://us-central1-run.googleapis.com/", - "location": "us-central1", - "description": "Locational Endpoint" + "location": "us-central1" }, { + "description": "Locational Endpoint", "endpointUrl": "https://us-east1-run.googleapis.com/", - "location": "us-east1", - "description": "Locational Endpoint" + "location": "us-east1" }, { + "description": "Locational Endpoint", "endpointUrl": "https://us-east4-run.googleapis.com/", - "location": "us-east4", - "description": "Locational Endpoint" + "location": "us-east4" }, { + "description": "Locational Endpoint", "endpointUrl": "https://us-east5-run.googleapis.com/", - "location": "us-east5", - "description": "Locational Endpoint" + "location": "us-east5" }, { + "description": "Locational Endpoint", "endpointUrl": "https://us-south1-run.googleapis.com/", - "location": "us-south1", - "description": "Locational Endpoint" + "location": "us-south1" }, { + "description": "Locational Endpoint", "endpointUrl": "https://us-west1-run.googleapis.com/", - "location": "us-west1", - "description": "Locational Endpoint" + "location": "us-west1" }, { + "description": "Locational Endpoint", "endpointUrl": "https://us-west2-run.googleapis.com/", - "location": "us-west2", - "description": "Locational Endpoint" + "location": "us-west2" }, { + "description": "Locational Endpoint", "endpointUrl": "https://us-west3-run.googleapis.com/", - "location": "us-west3", - "description": "Locational Endpoint" + "location": "us-west3" }, { + "description": "Locational Endpoint", "endpointUrl": "https://us-west4-run.googleapis.com/", - "location": "us-west4", - "description": "Locational Endpoint" + "location": "us-west4" } ], "fullyEncodeReservedExpansion": true, @@ -388,6 +388,31 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] + }, + "exportProjectMetadata": { + "description": "Export generated customer metadata for a given project.", + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}:exportProjectMetadata", + "httpMethod": "GET", + "id": "run.projects.locations.exportProjectMetadata", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the project of which metadata should be exported. Format: `projects/{project_id_or_number}/locations/{location}` for Project in a given location.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+name}:exportProjectMetadata", + "response": { + "$ref": "GoogleCloudRunV2Metadata" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] } }, "resources": { @@ -1469,7 +1494,7 @@ } } }, - "revision": "20240621", + "revision": "20240705", "rootUrl": "https://run.googleapis.com/", "schemas": { "GoogleCloudRunV2BinaryAuthorization": { @@ -2029,6 +2054,26 @@ "description": "Reference to an Execution. Use /Executions.GetExecution with the given name to get full execution including the latest status.", "id": "GoogleCloudRunV2ExecutionReference", "properties": { + "completionStatus": { + "description": "Status for the execution completion.", + "enum": [ + "COMPLETION_STATUS_UNSPECIFIED", + "EXECUTION_SUCCEEDED", + "EXECUTION_FAILED", + "EXECUTION_RUNNING", + "EXECUTION_PENDING", + "EXECUTION_CANCELLED" + ], + "enumDescriptions": [ + "The default value. This value is used if the state is omitted.", + "Job execution has succeeded.", + "Job execution has failed.", + "Job execution is running normally.", + "Waiting for backing resources to be provisioned.", + "Job execution has been cancelled by the user." + ], + "type": "string" + }, "completionTime": { "description": "Creation timestamp of the execution.", "format": "google-datetime", @@ -2039,6 +2084,11 @@ "format": "google-datetime", "type": "string" }, + "deleteTime": { + "description": "The deletion time of the execution. It is only populated as a response to a Delete request.", + "format": "google-datetime", + "type": "string" + }, "name": { "description": "Name of the execution.", "type": "string" @@ -2141,7 +2191,7 @@ "id": "GoogleCloudRunV2GCSVolumeSource", "properties": { "bucket": { - "description": "Cloud Storage Bucket name. TODO (b/344678062) Fix the error validation once dynamic mounting is public.", + "description": "Cloud Storage Bucket name.", "type": "string" }, "readOnly": { @@ -4464,26 +4514,6 @@ }, "type": "object" }, - "GoogleDevtoolsCloudbuildV1GCSLocation": { - "description": "Represents a storage location in Cloud Storage", - "id": "GoogleDevtoolsCloudbuildV1GCSLocation", - "properties": { - "bucket": { - "description": "Cloud Storage bucket. See https://cloud.google.com/storage/docs/naming#requirements", - "type": "string" - }, - "generation": { - "description": "Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.", - "format": "int64", - "type": "string" - }, - "object": { - "description": "Cloud Storage object. See https://cloud.google.com/storage/docs/naming#objectnames", - "type": "string" - } - }, - "type": "object" - }, "GoogleDevtoolsCloudbuildV1GitConfig": { "description": "GitConfig is a configuration for git operations.", "id": "GoogleDevtoolsCloudbuildV1GitConfig", @@ -4547,12 +4577,8 @@ "id": "GoogleDevtoolsCloudbuildV1HttpConfig", "properties": { "proxySecretVersionName": { - "description": "SecretVersion resource of the HTTP proxy URL. The proxy URL should be in format protocol://@]proxyhost[:port].", + "description": "SecretVersion resource of the HTTP proxy URL. The Service Account used in the build (either the default Service Account or user-specified Service Account) should have `secretmanager.versions.access` permissions on this secret. The proxy URL should be in format `protocol://@]proxyhost[:port]`.", "type": "string" - }, - "proxySslCaInfo": { - "$ref": "GoogleDevtoolsCloudbuildV1GCSLocation", - "description": "Optional. Cloud Storage object storing the certificate to use with the HTTP proxy." } }, "type": "object" diff --git a/discovery/searchconsole-v1.json b/discovery/searchconsole-v1.json index 9066b7e97c..def43f3ce8 100644 --- a/discovery/searchconsole-v1.json +++ b/discovery/searchconsole-v1.json @@ -17,7 +17,7 @@ "canonicalName": "Search Console", "description": "The Search Console API provides access to both Search Console data (verified users only) and to public information on an URL basis (anyone)", "discoveryVersion": "v1", - "documentationLink": "https://developers.google.com/webmaster-tools/search-console-api/", + "documentationLink": "https://developers.google.com/webmaster-tools/about", "fullyEncodeReservedExpansion": true, "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", @@ -400,7 +400,7 @@ } } }, - "revision": "20230920", + "revision": "20240716", "rootUrl": "https://searchconsole.googleapis.com/", "schemas": { "AmpInspectionResult": { diff --git a/discovery/secretmanager-v1.json b/discovery/secretmanager-v1.json index 29b97a90a9..0ec562dcd1 100644 --- a/discovery/secretmanager-v1.json +++ b/discovery/secretmanager-v1.json @@ -17,79 +17,79 @@ "documentationLink": "https://cloud.google.com/secret-manager/", "endpoints": [ { + "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.me-central2.rep.googleapis.com/", - "location": "me-central2", - "description": "Regional Endpoint" + "location": "me-central2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.me-west1.rep.googleapis.com/", - "location": "me-west1", - "description": "Regional Endpoint" + "location": "me-west1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.us-central1.rep.googleapis.com/", - "location": "us-central1", - "description": "Regional Endpoint" + "location": "us-central1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.us-east1.rep.googleapis.com/", - "location": "us-east1", - "description": "Regional Endpoint" + "location": "us-east1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.us-central2.rep.googleapis.com/", - "location": "us-central2", - "description": "Regional Endpoint" + "location": "us-central2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.us-west1.rep.googleapis.com/", - "location": "us-west1", - "description": "Regional Endpoint" + "location": "us-west1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.us-west2.rep.googleapis.com/", - "location": "us-west2", - "description": "Regional Endpoint" + "location": "us-west2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.us-west3.rep.googleapis.com/", - "location": "us-west3", - "description": "Regional Endpoint" + "location": "us-west3" }, { + "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.us-west4.rep.googleapis.com/", - "location": "us-west4", - "description": "Regional Endpoint" + "location": "us-west4" }, { + "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.us-east4.rep.googleapis.com/", - "location": "us-east4", - "description": "Regional Endpoint" + "location": "us-east4" }, { + "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.us-east5.rep.googleapis.com/", - "location": "us-east5", - "description": "Regional Endpoint" + "location": "us-east5" }, { + "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.us-south1.rep.googleapis.com/", - "location": "us-south1", - "description": "Regional Endpoint" + "location": "us-south1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.europe-west3.rep.googleapis.com/", - "location": "europe-west3", - "description": "Regional Endpoint" + "location": "europe-west3" }, { + "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.europe-west8.rep.googleapis.com/", - "location": "europe-west8", - "description": "Regional Endpoint" + "location": "europe-west8" }, { + "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.europe-west9.rep.googleapis.com/", - "location": "europe-west9", - "description": "Regional Endpoint" + "location": "europe-west9" } ], "fullyEncodeReservedExpansion": true, diff --git a/discovery/secretmanager-v1beta1.json b/discovery/secretmanager-v1beta1.json index 67d2a1d19e..a70b7bf96f 100644 --- a/discovery/secretmanager-v1beta1.json +++ b/discovery/secretmanager-v1beta1.json @@ -17,79 +17,79 @@ "documentationLink": "https://cloud.google.com/secret-manager/", "endpoints": [ { + "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.me-central2.rep.googleapis.com/", - "location": "me-central2", - "description": "Regional Endpoint" + "location": "me-central2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.me-west1.rep.googleapis.com/", - "location": "me-west1", - "description": "Regional Endpoint" + "location": "me-west1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.us-central1.rep.googleapis.com/", - "location": "us-central1", - "description": "Regional Endpoint" + "location": "us-central1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.us-east1.rep.googleapis.com/", - "location": "us-east1", - "description": "Regional Endpoint" + "location": "us-east1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.us-central2.rep.googleapis.com/", - "location": "us-central2", - "description": "Regional Endpoint" + "location": "us-central2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.us-west1.rep.googleapis.com/", - "location": "us-west1", - "description": "Regional Endpoint" + "location": "us-west1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.us-west2.rep.googleapis.com/", - "location": "us-west2", - "description": "Regional Endpoint" + "location": "us-west2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.us-west3.rep.googleapis.com/", - "location": "us-west3", - "description": "Regional Endpoint" + "location": "us-west3" }, { + "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.us-west4.rep.googleapis.com/", - "location": "us-west4", - "description": "Regional Endpoint" + "location": "us-west4" }, { + "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.us-east4.rep.googleapis.com/", - "location": "us-east4", - "description": "Regional Endpoint" + "location": "us-east4" }, { + "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.us-east5.rep.googleapis.com/", - "location": "us-east5", - "description": "Regional Endpoint" + "location": "us-east5" }, { + "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.us-south1.rep.googleapis.com/", - "location": "us-south1", - "description": "Regional Endpoint" + "location": "us-south1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.europe-west3.rep.googleapis.com/", - "location": "europe-west3", - "description": "Regional Endpoint" + "location": "europe-west3" }, { + "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.europe-west8.rep.googleapis.com/", - "location": "europe-west8", - "description": "Regional Endpoint" + "location": "europe-west8" }, { + "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.europe-west9.rep.googleapis.com/", - "location": "europe-west9", - "description": "Regional Endpoint" + "location": "europe-west9" } ], "fullyEncodeReservedExpansion": true, diff --git a/discovery/secretmanager-v1beta2.json b/discovery/secretmanager-v1beta2.json index 77e7d3847f..00e2ba2429 100644 --- a/discovery/secretmanager-v1beta2.json +++ b/discovery/secretmanager-v1beta2.json @@ -17,79 +17,79 @@ "documentationLink": "https://cloud.google.com/secret-manager/", "endpoints": [ { + "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.me-central2.rep.googleapis.com/", - "location": "me-central2", - "description": "Regional Endpoint" + "location": "me-central2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.me-west1.rep.googleapis.com/", - "location": "me-west1", - "description": "Regional Endpoint" + "location": "me-west1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.us-central1.rep.googleapis.com/", - "location": "us-central1", - "description": "Regional Endpoint" + "location": "us-central1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.us-east1.rep.googleapis.com/", - "location": "us-east1", - "description": "Regional Endpoint" + "location": "us-east1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.us-central2.rep.googleapis.com/", - "location": "us-central2", - "description": "Regional Endpoint" + "location": "us-central2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.us-west1.rep.googleapis.com/", - "location": "us-west1", - "description": "Regional Endpoint" + "location": "us-west1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.us-west2.rep.googleapis.com/", - "location": "us-west2", - "description": "Regional Endpoint" + "location": "us-west2" }, { + "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.us-west3.rep.googleapis.com/", - "location": "us-west3", - "description": "Regional Endpoint" + "location": "us-west3" }, { + "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.us-west4.rep.googleapis.com/", - "location": "us-west4", - "description": "Regional Endpoint" + "location": "us-west4" }, { + "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.us-east4.rep.googleapis.com/", - "location": "us-east4", - "description": "Regional Endpoint" + "location": "us-east4" }, { + "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.us-east5.rep.googleapis.com/", - "location": "us-east5", - "description": "Regional Endpoint" + "location": "us-east5" }, { + "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.us-south1.rep.googleapis.com/", - "location": "us-south1", - "description": "Regional Endpoint" + "location": "us-south1" }, { + "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.europe-west3.rep.googleapis.com/", - "location": "europe-west3", - "description": "Regional Endpoint" + "location": "europe-west3" }, { + "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.europe-west8.rep.googleapis.com/", - "location": "europe-west8", - "description": "Regional Endpoint" + "location": "europe-west8" }, { + "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.europe-west9.rep.googleapis.com/", - "location": "europe-west9", - "description": "Regional Endpoint" + "location": "europe-west9" } ], "fullyEncodeReservedExpansion": true, diff --git a/discovery/securitycenter-v1.json b/discovery/securitycenter-v1.json index 52642277af..84931d4d75 100644 --- a/discovery/securitycenter-v1.json +++ b/discovery/securitycenter-v1.json @@ -120,7 +120,7 @@ ], "parameters": { "parent": { - "description": "Required. The name of the parent to group the assets by. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", + "description": "Required. The name of the parent to group the assets by. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.", "location": "path", "pattern": "^folders/[^/]+$", "required": true, @@ -182,7 +182,7 @@ "type": "string" }, "parent": { - "description": "Required. The name of the parent resource that contains the assets. The value that you can specify on parent depends on the method in which you specify parent. You can specify one of the following values: \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", + "description": "Required. The name of the parent resource that contains the assets. The value that you can specify on parent depends on the method in which you specify parent. You can specify one of the following values: `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.", "location": "path", "pattern": "^folders/[^/]+$", "required": true, @@ -262,7 +262,7 @@ "type": "string" }, "parent": { - "description": "Required. The name of the parent resource of the new BigQuery export. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", + "description": "Required. The name of the parent resource of the new BigQuery export. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.", "location": "path", "pattern": "^folders/[^/]+$", "required": true, @@ -290,7 +290,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the BigQuery export to delete. Its format is organizations/{organization}/bigQueryExports/{export_id}, folders/{folder}/bigQueryExports/{export_id}, or projects/{project}/bigQueryExports/{export_id}", + "description": "Required. The name of the BigQuery export to delete. Its format is `organizations/{organization}/bigQueryExports/{export_id}`, `folders/{folder}/bigQueryExports/{export_id}`, or `projects/{project}/bigQueryExports/{export_id}`", "location": "path", "pattern": "^folders/[^/]+/bigQueryExports/[^/]+$", "required": true, @@ -315,7 +315,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the BigQuery export to retrieve. Its format is organizations/{organization}/bigQueryExports/{export_id}, folders/{folder}/bigQueryExports/{export_id}, or projects/{project}/bigQueryExports/{export_id}", + "description": "Required. Name of the BigQuery export to retrieve. Its format is `organizations/{organization}/bigQueryExports/{export_id}`, `folders/{folder}/bigQueryExports/{export_id}`, or `projects/{project}/bigQueryExports/{export_id}`", "location": "path", "pattern": "^folders/[^/]+/bigQueryExports/[^/]+$", "required": true, @@ -351,7 +351,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent, which owns the collection of BigQuery exports. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", \"projects/[project_id]\".", + "description": "Required. The parent, which owns the collection of BigQuery exports. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`.", "location": "path", "pattern": "^folders/[^/]+$", "required": true, @@ -596,7 +596,7 @@ ], "parameters": { "name": { - "description": "Immutable. The resource name of the Event Threat Detection custom module. Its format is: * \"organizations/{organization}/eventThreatDetectionSettings/customModules/{module}\". * \"folders/{folder}/eventThreatDetectionSettings/customModules/{module}\". * \"projects/{project}/eventThreatDetectionSettings/customModules/{module}\".", + "description": "Immutable. The resource name of the Event Threat Detection custom module. Its format is: * `organizations/{organization}/eventThreatDetectionSettings/customModules/{module}`. * `folders/{folder}/eventThreatDetectionSettings/customModules/{module}`. * `projects/{project}/eventThreatDetectionSettings/customModules/{module}`.", "location": "path", "pattern": "^folders/[^/]+/eventThreatDetectionSettings/customModules/[^/]+$", "required": true, @@ -701,7 +701,7 @@ ], "parameters": { "parent": { - "description": "Required. The parent, at which bulk action needs to be applied. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", \"projects/[project_id]\".", + "description": "Required. The parent, at which bulk action needs to be applied. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`.", "location": "path", "pattern": "^folders/[^/]+$", "required": true, @@ -740,7 +740,7 @@ "type": "string" }, "parent": { - "description": "Required. Resource name of the new mute configs's parent. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", + "description": "Required. Resource name of the new mute configs's parent. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.", "location": "path", "pattern": "^folders/[^/]+/locations/[^/]+$", "required": true, @@ -768,7 +768,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the mute config to delete. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, projects/{project}/muteConfigs/{config_id}, organizations/{organization}/locations/global/muteConfigs/{config_id}, folders/{folder}/locations/global/muteConfigs/{config_id}, or projects/{project}/locations/global/muteConfigs/{config_id}.", + "description": "Required. Name of the mute config to delete. Its format is `organizations/{organization}/muteConfigs/{config_id}`, `folders/{folder}/muteConfigs/{config_id}`, `projects/{project}/muteConfigs/{config_id}`, `organizations/{organization}/locations/global/muteConfigs/{config_id}`, `folders/{folder}/locations/global/muteConfigs/{config_id}`, or `projects/{project}/locations/global/muteConfigs/{config_id}`.", "location": "path", "pattern": "^folders/[^/]+/locations/[^/]+/muteConfigs/[^/]+$", "required": true, @@ -793,7 +793,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the mute config to retrieve. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, projects/{project}/muteConfigs/{config_id}, organizations/{organization}/locations/global/muteConfigs/{config_id}, folders/{folder}/locations/global/muteConfigs/{config_id}, or projects/{project}/locations/global/muteConfigs/{config_id}.", + "description": "Required. Name of the mute config to retrieve. Its format is `organizations/{organization}/muteConfigs/{config_id}`, `folders/{folder}/muteConfigs/{config_id}`, `projects/{project}/muteConfigs/{config_id}`, `organizations/{organization}/locations/global/muteConfigs/{config_id}`, `folders/{folder}/locations/global/muteConfigs/{config_id}`, or `projects/{project}/locations/global/muteConfigs/{config_id}`.", "location": "path", "pattern": "^folders/[^/]+/locations/[^/]+/muteConfigs/[^/]+$", "required": true, @@ -829,7 +829,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent, which owns the collection of mute configs. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", \"projects/[project_id]\".", + "description": "Required. The parent, which owns the collection of mute configs. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`.", "location": "path", "pattern": "^folders/[^/]+/locations/[^/]+/muteConfigs$", "required": true, @@ -854,7 +854,7 @@ ], "parameters": { "name": { - "description": "This field will be ignored if provided on config creation. Format \"organizations/{organization}/muteConfigs/{mute_config}\" \"folders/{folder}/muteConfigs/{mute_config}\" \"projects/{project}/muteConfigs/{mute_config}\" \"organizations/{organization}/locations/global/muteConfigs/{mute_config}\" \"folders/{folder}/locations/global/muteConfigs/{mute_config}\" \"projects/{project}/locations/global/muteConfigs/{mute_config}\"", + "description": "This field will be ignored if provided on config creation. Format `organizations/{organization}/muteConfigs/{mute_config}` `folders/{folder}/muteConfigs/{mute_config}` `projects/{project}/muteConfigs/{mute_config}` `organizations/{organization}/locations/global/muteConfigs/{mute_config}` `folders/{folder}/locations/global/muteConfigs/{mute_config}` `projects/{project}/locations/global/muteConfigs/{mute_config}`", "location": "path", "pattern": "^folders/[^/]+/locations/[^/]+/muteConfigs/[^/]+$", "required": true, @@ -899,7 +899,7 @@ "type": "string" }, "parent": { - "description": "Required. Resource name of the new mute configs's parent. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", + "description": "Required. Resource name of the new mute configs's parent. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.", "location": "path", "pattern": "^folders/[^/]+$", "required": true, @@ -927,7 +927,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the mute config to delete. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, projects/{project}/muteConfigs/{config_id}, organizations/{organization}/locations/global/muteConfigs/{config_id}, folders/{folder}/locations/global/muteConfigs/{config_id}, or projects/{project}/locations/global/muteConfigs/{config_id}.", + "description": "Required. Name of the mute config to delete. Its format is `organizations/{organization}/muteConfigs/{config_id}`, `folders/{folder}/muteConfigs/{config_id}`, `projects/{project}/muteConfigs/{config_id}`, `organizations/{organization}/locations/global/muteConfigs/{config_id}`, `folders/{folder}/locations/global/muteConfigs/{config_id}`, or `projects/{project}/locations/global/muteConfigs/{config_id}`.", "location": "path", "pattern": "^folders/[^/]+/muteConfigs/[^/]+$", "required": true, @@ -952,7 +952,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the mute config to retrieve. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, projects/{project}/muteConfigs/{config_id}, organizations/{organization}/locations/global/muteConfigs/{config_id}, folders/{folder}/locations/global/muteConfigs/{config_id}, or projects/{project}/locations/global/muteConfigs/{config_id}.", + "description": "Required. Name of the mute config to retrieve. Its format is `organizations/{organization}/muteConfigs/{config_id}`, `folders/{folder}/muteConfigs/{config_id}`, `projects/{project}/muteConfigs/{config_id}`, `organizations/{organization}/locations/global/muteConfigs/{config_id}`, `folders/{folder}/locations/global/muteConfigs/{config_id}`, or `projects/{project}/locations/global/muteConfigs/{config_id}`.", "location": "path", "pattern": "^folders/[^/]+/muteConfigs/[^/]+$", "required": true, @@ -988,7 +988,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent, which owns the collection of mute configs. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", \"projects/[project_id]\".", + "description": "Required. The parent, which owns the collection of mute configs. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`.", "location": "path", "pattern": "^folders/[^/]+$", "required": true, @@ -1013,7 +1013,7 @@ ], "parameters": { "name": { - "description": "This field will be ignored if provided on config creation. Format \"organizations/{organization}/muteConfigs/{mute_config}\" \"folders/{folder}/muteConfigs/{mute_config}\" \"projects/{project}/muteConfigs/{mute_config}\" \"organizations/{organization}/locations/global/muteConfigs/{mute_config}\" \"folders/{folder}/locations/global/muteConfigs/{mute_config}\" \"projects/{project}/locations/global/muteConfigs/{mute_config}\"", + "description": "This field will be ignored if provided on config creation. Format `organizations/{organization}/muteConfigs/{mute_config}` `folders/{folder}/muteConfigs/{mute_config}` `projects/{project}/muteConfigs/{mute_config}` `organizations/{organization}/locations/global/muteConfigs/{mute_config}` `folders/{folder}/locations/global/muteConfigs/{mute_config}` `projects/{project}/locations/global/muteConfigs/{mute_config}`", "location": "path", "pattern": "^folders/[^/]+/muteConfigs/[^/]+$", "required": true, @@ -1056,7 +1056,7 @@ "type": "string" }, "parent": { - "description": "Required. Resource name of the new notification config's parent. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", + "description": "Required. Resource name of the new notification config's parent. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.", "location": "path", "pattern": "^folders/[^/]+$", "required": true, @@ -1084,7 +1084,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the notification config to delete. Its format is \"organizations/[organization_id]/notificationConfigs/[config_id]\", \"folders/[folder_id]/notificationConfigs/[config_id]\", or \"projects/[project_id]/notificationConfigs/[config_id]\".", + "description": "Required. Name of the notification config to delete. Its format is `organizations/[organization_id]/notificationConfigs/[config_id]`, `folders/[folder_id]/notificationConfigs/[config_id]`, or `projects/[project_id]/notificationConfigs/[config_id]`.", "location": "path", "pattern": "^folders/[^/]+/notificationConfigs/[^/]+$", "required": true, @@ -1109,7 +1109,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the notification config to get. Its format is \"organizations/[organization_id]/notificationConfigs/[config_id]\", \"folders/[folder_id]/notificationConfigs/[config_id]\", or \"projects/[project_id]/notificationConfigs/[config_id]\".", + "description": "Required. Name of the notification config to get. Its format is `organizations/[organization_id]/notificationConfigs/[config_id]`, `folders/[folder_id]/notificationConfigs/[config_id]`, or `projects/[project_id]/notificationConfigs/[config_id]`.", "location": "path", "pattern": "^folders/[^/]+/notificationConfigs/[^/]+$", "required": true, @@ -1210,7 +1210,7 @@ ], "parameters": { "parent": { - "description": "Required. Resource name of the new custom module's parent. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings\", \"folders/{folder}/securityHealthAnalyticsSettings\", or \"projects/{project}/securityHealthAnalyticsSettings\"", + "description": "Required. Resource name of the new custom module's parent. Its format is `organizations/{organization}/securityHealthAnalyticsSettings`, `folders/{folder}/securityHealthAnalyticsSettings`, or `projects/{project}/securityHealthAnalyticsSettings`", "location": "path", "pattern": "^folders/[^/]+/securityHealthAnalyticsSettings$", "required": true, @@ -1238,7 +1238,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the custom module to delete. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}\", \"folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}\", or \"projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}\"", + "description": "Required. Name of the custom module to delete. Its format is `organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}`, `folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}`, or `projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}`", "location": "path", "pattern": "^folders/[^/]+/securityHealthAnalyticsSettings/customModules/[^/]+$", "required": true, @@ -1263,7 +1263,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the custom module to get. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}\", \"folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}\", or \"projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}\"", + "description": "Required. Name of the custom module to get. Its format is `organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}`, `folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}`, or `projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}`", "location": "path", "pattern": "^folders/[^/]+/securityHealthAnalyticsSettings/customModules/[^/]+$", "required": true, @@ -1299,7 +1299,7 @@ "type": "string" }, "parent": { - "description": "Required. Name of parent to list custom modules. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings\", \"folders/{folder}/securityHealthAnalyticsSettings\", or \"projects/{project}/securityHealthAnalyticsSettings\"", + "description": "Required. Name of parent to list custom modules. Its format is `organizations/{organization}/securityHealthAnalyticsSettings`, `folders/{folder}/securityHealthAnalyticsSettings`, or `projects/{project}/securityHealthAnalyticsSettings`", "location": "path", "pattern": "^folders/[^/]+/securityHealthAnalyticsSettings$", "required": true, @@ -1335,7 +1335,7 @@ "type": "string" }, "parent": { - "description": "Required. Name of parent to list descendant custom modules. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings\", \"folders/{folder}/securityHealthAnalyticsSettings\", or \"projects/{project}/securityHealthAnalyticsSettings\"", + "description": "Required. Name of parent to list descendant custom modules. Its format is `organizations/{organization}/securityHealthAnalyticsSettings`, `folders/{folder}/securityHealthAnalyticsSettings`, or `projects/{project}/securityHealthAnalyticsSettings`", "location": "path", "pattern": "^folders/[^/]+/securityHealthAnalyticsSettings$", "required": true, @@ -1426,7 +1426,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the effective custom module to get. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}\", \"folders/{folder}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}\", or \"projects/{project}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}\"", + "description": "Required. Name of the effective custom module to get. Its format is `organizations/{organization}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}`, `folders/{folder}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}`, or `projects/{project}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}`", "location": "path", "pattern": "^folders/[^/]+/securityHealthAnalyticsSettings/effectiveCustomModules/[^/]+$", "required": true, @@ -1462,7 +1462,7 @@ "type": "string" }, "parent": { - "description": "Required. Name of parent to list effective custom modules. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings\", \"folders/{folder}/securityHealthAnalyticsSettings\", or \"projects/{project}/securityHealthAnalyticsSettings\"", + "description": "Required. Name of parent to list effective custom modules. Its format is `organizations/{organization}/securityHealthAnalyticsSettings`, `folders/{folder}/securityHealthAnalyticsSettings`, or `projects/{project}/securityHealthAnalyticsSettings`", "location": "path", "pattern": "^folders/[^/]+/securityHealthAnalyticsSettings$", "required": true, @@ -1504,7 +1504,7 @@ "type": "string" }, "parent": { - "description": "Required. Resource name of the parent of sources to list. Its format should be \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", + "description": "Required. Resource name of the parent of sources to list. Its format should be `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.", "location": "path", "pattern": "^folders/[^/]+$", "required": true, @@ -1533,7 +1533,7 @@ ], "parameters": { "parent": { - "description": "Required. Name of the source to groupBy. Its format is \"organizations/[organization_id]/sources/[source_id]\", folders/[folder_id]/sources/[source_id], or projects/[project_id]/sources/[source_id]. To groupBy across all sources provide a source_id of `-`. For example: organizations/{organization_id}/sources/-, folders/{folder_id}/sources/-, or projects/{project_id}/sources/-", + "description": "Required. Name of the source to groupBy. Its format is `organizations/[organization_id]/sources/[source_id]`, `folders/[folder_id]/sources/[source_id]`, or `projects/[project_id]/sources/[source_id]`. To groupBy across all sources provide a source_id of `-`. For example: `organizations/{organization_id}/sources/-, folders/{folder_id}/sources/-`, or `projects/{project_id}/sources/-`", "location": "path", "pattern": "^folders/[^/]+/sources/[^/]+$", "required": true, @@ -1594,7 +1594,7 @@ "type": "string" }, "parent": { - "description": "Required. Name of the source the findings belong to. Its format is \"organizations/[organization_id]/sources/[source_id], folders/[folder_id]/sources/[source_id], or projects/[project_id]/sources/[source_id]\". To list across all sources provide a source_id of `-`. For example: organizations/{organization_id}/sources/-, folders/{folder_id}/sources/- or projects/{projects_id}/sources/-", + "description": "Required. Name of the source the findings belong to. Its format is `organizations/[organization_id]/sources/[source_id]`, `folders/[folder_id]/sources/[source_id]`, or `projects/[project_id]/sources/[source_id]`. To list across all sources provide a source_id of `-`. For example: `organizations/{organization_id}/sources/-`, `folders/{folder_id}/sources/-` or `projects/{projects_id}/sources/-`", "location": "path", "pattern": "^folders/[^/]+/sources/[^/]+$", "required": true, @@ -1659,7 +1659,7 @@ ], "parameters": { "name": { - "description": "Required. The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}\", \"folders/{folder_id}/sources/{source_id}/findings/{finding_id}\", \"projects/{project_id}/sources/{source_id}/findings/{finding_id}\".", + "description": "Required. The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: `organizations/{organization_id}/sources/{source_id}/findings/{finding_id}`, `folders/{folder_id}/sources/{source_id}/findings/{finding_id}`, `projects/{project_id}/sources/{source_id}/findings/{finding_id}`.", "location": "path", "pattern": "^folders/[^/]+/sources/[^/]+/findings/[^/]+$", "required": true, @@ -1687,7 +1687,7 @@ ], "parameters": { "name": { - "description": "Required. The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}\", \"folders/{folder_id}/sources/{source_id}/findings/{finding_id}\", \"projects/{project_id}/sources/{source_id}/findings/{finding_id}\".", + "description": "Required. The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: `organizations/{organization_id}/sources/{source_id}/findings/{finding_id}`, `folders/{folder_id}/sources/{source_id}/findings/{finding_id}`, `projects/{project_id}/sources/{source_id}/findings/{finding_id}`.", "location": "path", "pattern": "^folders/[^/]+/sources/[^/]+/findings/[^/]+$", "required": true, @@ -1803,7 +1803,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the organization to get organization settings for. Its format is \"organizations/[organization_id]/organizationSettings\".", + "description": "Required. Name of the organization to get organization settings for. Its format is `organizations/[organization_id]/organizationSettings`.", "location": "path", "pattern": "^organizations/[^/]+/organizationSettings$", "required": true, @@ -1867,7 +1867,7 @@ ], "parameters": { "parent": { - "description": "Required. The name of the parent to group the assets by. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", + "description": "Required. The name of the parent to group the assets by. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.", "location": "path", "pattern": "^organizations/[^/]+$", "required": true, @@ -1929,7 +1929,7 @@ "type": "string" }, "parent": { - "description": "Required. The name of the parent resource that contains the assets. The value that you can specify on parent depends on the method in which you specify parent. You can specify one of the following values: \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", + "description": "Required. The name of the parent resource that contains the assets. The value that you can specify on parent depends on the method in which you specify parent. You can specify one of the following values: `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.", "location": "path", "pattern": "^organizations/[^/]+$", "required": true, @@ -1961,7 +1961,7 @@ ], "parameters": { "parent": { - "description": "Required. Name of the organization to run asset discovery for. Its format is \"organizations/[organization_id]\".", + "description": "Required. Name of the organization to run asset discovery for. Its format is `organizations/[organization_id]`.", "location": "path", "pattern": "^organizations/[^/]+$", "required": true, @@ -2038,7 +2038,7 @@ "type": "string" }, "parent": { - "description": "Required. The name of the parent resource of the new BigQuery export. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", + "description": "Required. The name of the parent resource of the new BigQuery export. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.", "location": "path", "pattern": "^organizations/[^/]+$", "required": true, @@ -2066,7 +2066,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the BigQuery export to delete. Its format is organizations/{organization}/bigQueryExports/{export_id}, folders/{folder}/bigQueryExports/{export_id}, or projects/{project}/bigQueryExports/{export_id}", + "description": "Required. The name of the BigQuery export to delete. Its format is `organizations/{organization}/bigQueryExports/{export_id}`, `folders/{folder}/bigQueryExports/{export_id}`, or `projects/{project}/bigQueryExports/{export_id}`", "location": "path", "pattern": "^organizations/[^/]+/bigQueryExports/[^/]+$", "required": true, @@ -2091,7 +2091,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the BigQuery export to retrieve. Its format is organizations/{organization}/bigQueryExports/{export_id}, folders/{folder}/bigQueryExports/{export_id}, or projects/{project}/bigQueryExports/{export_id}", + "description": "Required. Name of the BigQuery export to retrieve. Its format is `organizations/{organization}/bigQueryExports/{export_id}`, `folders/{folder}/bigQueryExports/{export_id}`, or `projects/{project}/bigQueryExports/{export_id}`", "location": "path", "pattern": "^organizations/[^/]+/bigQueryExports/[^/]+$", "required": true, @@ -2127,7 +2127,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent, which owns the collection of BigQuery exports. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", \"projects/[project_id]\".", + "description": "Required. The parent, which owns the collection of BigQuery exports. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`.", "location": "path", "pattern": "^organizations/[^/]+$", "required": true, @@ -2372,7 +2372,7 @@ ], "parameters": { "name": { - "description": "Immutable. The resource name of the Event Threat Detection custom module. Its format is: * \"organizations/{organization}/eventThreatDetectionSettings/customModules/{module}\". * \"folders/{folder}/eventThreatDetectionSettings/customModules/{module}\". * \"projects/{project}/eventThreatDetectionSettings/customModules/{module}\".", + "description": "Immutable. The resource name of the Event Threat Detection custom module. Its format is: * `organizations/{organization}/eventThreatDetectionSettings/customModules/{module}`. * `folders/{folder}/eventThreatDetectionSettings/customModules/{module}`. * `projects/{project}/eventThreatDetectionSettings/customModules/{module}`.", "location": "path", "pattern": "^organizations/[^/]+/eventThreatDetectionSettings/customModules/[^/]+$", "required": true, @@ -2477,7 +2477,7 @@ ], "parameters": { "parent": { - "description": "Required. The parent, at which bulk action needs to be applied. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", \"projects/[project_id]\".", + "description": "Required. The parent, at which bulk action needs to be applied. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`.", "location": "path", "pattern": "^organizations/[^/]+$", "required": true, @@ -2516,7 +2516,7 @@ "type": "string" }, "parent": { - "description": "Required. Resource name of the new mute configs's parent. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", + "description": "Required. Resource name of the new mute configs's parent. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.", "location": "path", "pattern": "^organizations/[^/]+/locations/[^/]+$", "required": true, @@ -2544,7 +2544,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the mute config to delete. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, projects/{project}/muteConfigs/{config_id}, organizations/{organization}/locations/global/muteConfigs/{config_id}, folders/{folder}/locations/global/muteConfigs/{config_id}, or projects/{project}/locations/global/muteConfigs/{config_id}.", + "description": "Required. Name of the mute config to delete. Its format is `organizations/{organization}/muteConfigs/{config_id}`, `folders/{folder}/muteConfigs/{config_id}`, `projects/{project}/muteConfigs/{config_id}`, `organizations/{organization}/locations/global/muteConfigs/{config_id}`, `folders/{folder}/locations/global/muteConfigs/{config_id}`, or `projects/{project}/locations/global/muteConfigs/{config_id}`.", "location": "path", "pattern": "^organizations/[^/]+/locations/[^/]+/muteConfigs/[^/]+$", "required": true, @@ -2569,7 +2569,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the mute config to retrieve. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, projects/{project}/muteConfigs/{config_id}, organizations/{organization}/locations/global/muteConfigs/{config_id}, folders/{folder}/locations/global/muteConfigs/{config_id}, or projects/{project}/locations/global/muteConfigs/{config_id}.", + "description": "Required. Name of the mute config to retrieve. Its format is `organizations/{organization}/muteConfigs/{config_id}`, `folders/{folder}/muteConfigs/{config_id}`, `projects/{project}/muteConfigs/{config_id}`, `organizations/{organization}/locations/global/muteConfigs/{config_id}`, `folders/{folder}/locations/global/muteConfigs/{config_id}`, or `projects/{project}/locations/global/muteConfigs/{config_id}`.", "location": "path", "pattern": "^organizations/[^/]+/locations/[^/]+/muteConfigs/[^/]+$", "required": true, @@ -2605,7 +2605,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent, which owns the collection of mute configs. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", \"projects/[project_id]\".", + "description": "Required. The parent, which owns the collection of mute configs. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`.", "location": "path", "pattern": "^organizations/[^/]+/locations/[^/]+/muteConfigs$", "required": true, @@ -2630,7 +2630,7 @@ ], "parameters": { "name": { - "description": "This field will be ignored if provided on config creation. Format \"organizations/{organization}/muteConfigs/{mute_config}\" \"folders/{folder}/muteConfigs/{mute_config}\" \"projects/{project}/muteConfigs/{mute_config}\" \"organizations/{organization}/locations/global/muteConfigs/{mute_config}\" \"folders/{folder}/locations/global/muteConfigs/{mute_config}\" \"projects/{project}/locations/global/muteConfigs/{mute_config}\"", + "description": "This field will be ignored if provided on config creation. Format `organizations/{organization}/muteConfigs/{mute_config}` `folders/{folder}/muteConfigs/{mute_config}` `projects/{project}/muteConfigs/{mute_config}` `organizations/{organization}/locations/global/muteConfigs/{mute_config}` `folders/{folder}/locations/global/muteConfigs/{mute_config}` `projects/{project}/locations/global/muteConfigs/{mute_config}`", "location": "path", "pattern": "^organizations/[^/]+/locations/[^/]+/muteConfigs/[^/]+$", "required": true, @@ -2675,7 +2675,7 @@ "type": "string" }, "parent": { - "description": "Required. Resource name of the new mute configs's parent. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", + "description": "Required. Resource name of the new mute configs's parent. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.", "location": "path", "pattern": "^organizations/[^/]+$", "required": true, @@ -2703,7 +2703,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the mute config to delete. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, projects/{project}/muteConfigs/{config_id}, organizations/{organization}/locations/global/muteConfigs/{config_id}, folders/{folder}/locations/global/muteConfigs/{config_id}, or projects/{project}/locations/global/muteConfigs/{config_id}.", + "description": "Required. Name of the mute config to delete. Its format is `organizations/{organization}/muteConfigs/{config_id}`, `folders/{folder}/muteConfigs/{config_id}`, `projects/{project}/muteConfigs/{config_id}`, `organizations/{organization}/locations/global/muteConfigs/{config_id}`, `folders/{folder}/locations/global/muteConfigs/{config_id}`, or `projects/{project}/locations/global/muteConfigs/{config_id}`.", "location": "path", "pattern": "^organizations/[^/]+/muteConfigs/[^/]+$", "required": true, @@ -2728,7 +2728,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the mute config to retrieve. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, projects/{project}/muteConfigs/{config_id}, organizations/{organization}/locations/global/muteConfigs/{config_id}, folders/{folder}/locations/global/muteConfigs/{config_id}, or projects/{project}/locations/global/muteConfigs/{config_id}.", + "description": "Required. Name of the mute config to retrieve. Its format is `organizations/{organization}/muteConfigs/{config_id}`, `folders/{folder}/muteConfigs/{config_id}`, `projects/{project}/muteConfigs/{config_id}`, `organizations/{organization}/locations/global/muteConfigs/{config_id}`, `folders/{folder}/locations/global/muteConfigs/{config_id}`, or `projects/{project}/locations/global/muteConfigs/{config_id}`.", "location": "path", "pattern": "^organizations/[^/]+/muteConfigs/[^/]+$", "required": true, @@ -2764,7 +2764,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent, which owns the collection of mute configs. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", \"projects/[project_id]\".", + "description": "Required. The parent, which owns the collection of mute configs. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`.", "location": "path", "pattern": "^organizations/[^/]+$", "required": true, @@ -2789,7 +2789,7 @@ ], "parameters": { "name": { - "description": "This field will be ignored if provided on config creation. Format \"organizations/{organization}/muteConfigs/{mute_config}\" \"folders/{folder}/muteConfigs/{mute_config}\" \"projects/{project}/muteConfigs/{mute_config}\" \"organizations/{organization}/locations/global/muteConfigs/{mute_config}\" \"folders/{folder}/locations/global/muteConfigs/{mute_config}\" \"projects/{project}/locations/global/muteConfigs/{mute_config}\"", + "description": "This field will be ignored if provided on config creation. Format `organizations/{organization}/muteConfigs/{mute_config}` `folders/{folder}/muteConfigs/{mute_config}` `projects/{project}/muteConfigs/{mute_config}` `organizations/{organization}/locations/global/muteConfigs/{mute_config}` `folders/{folder}/locations/global/muteConfigs/{mute_config}` `projects/{project}/locations/global/muteConfigs/{mute_config}`", "location": "path", "pattern": "^organizations/[^/]+/muteConfigs/[^/]+$", "required": true, @@ -2832,7 +2832,7 @@ "type": "string" }, "parent": { - "description": "Required. Resource name of the new notification config's parent. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", + "description": "Required. Resource name of the new notification config's parent. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.", "location": "path", "pattern": "^organizations/[^/]+$", "required": true, @@ -2860,7 +2860,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the notification config to delete. Its format is \"organizations/[organization_id]/notificationConfigs/[config_id]\", \"folders/[folder_id]/notificationConfigs/[config_id]\", or \"projects/[project_id]/notificationConfigs/[config_id]\".", + "description": "Required. Name of the notification config to delete. Its format is `organizations/[organization_id]/notificationConfigs/[config_id]`, `folders/[folder_id]/notificationConfigs/[config_id]`, or `projects/[project_id]/notificationConfigs/[config_id]`.", "location": "path", "pattern": "^organizations/[^/]+/notificationConfigs/[^/]+$", "required": true, @@ -2885,7 +2885,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the notification config to get. Its format is \"organizations/[organization_id]/notificationConfigs/[config_id]\", \"folders/[folder_id]/notificationConfigs/[config_id]\", or \"projects/[project_id]/notificationConfigs/[config_id]\".", + "description": "Required. Name of the notification config to get. Its format is `organizations/[organization_id]/notificationConfigs/[config_id]`, `folders/[folder_id]/notificationConfigs/[config_id]`, or `projects/[project_id]/notificationConfigs/[config_id]`.", "location": "path", "pattern": "^organizations/[^/]+/notificationConfigs/[^/]+$", "required": true, @@ -3157,7 +3157,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the resource value config to retrieve. Its format is organizations/{organization}/resourceValueConfigs/{config_id}.", + "description": "Required. Name of the resource value config to retrieve. Its format is `organizations/{organization}/resourceValueConfigs/{config_id}`.", "location": "path", "pattern": "^organizations/[^/]+/resourceValueConfigs/[^/]+$", "required": true, @@ -3193,7 +3193,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent, which owns the collection of resource value configs. Its format is \"organizations/[organization_id]\"", + "description": "Required. The parent, which owns the collection of resource value configs. Its format is `organizations/[organization_id]`", "location": "path", "pattern": "^organizations/[^/]+$", "required": true, @@ -3258,7 +3258,7 @@ ], "parameters": { "parent": { - "description": "Required. Resource name of the new custom module's parent. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings\", \"folders/{folder}/securityHealthAnalyticsSettings\", or \"projects/{project}/securityHealthAnalyticsSettings\"", + "description": "Required. Resource name of the new custom module's parent. Its format is `organizations/{organization}/securityHealthAnalyticsSettings`, `folders/{folder}/securityHealthAnalyticsSettings`, or `projects/{project}/securityHealthAnalyticsSettings`", "location": "path", "pattern": "^organizations/[^/]+/securityHealthAnalyticsSettings$", "required": true, @@ -3286,7 +3286,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the custom module to delete. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}\", \"folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}\", or \"projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}\"", + "description": "Required. Name of the custom module to delete. Its format is `organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}`, `folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}`, or `projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}`", "location": "path", "pattern": "^organizations/[^/]+/securityHealthAnalyticsSettings/customModules/[^/]+$", "required": true, @@ -3311,7 +3311,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the custom module to get. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}\", \"folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}\", or \"projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}\"", + "description": "Required. Name of the custom module to get. Its format is `organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}`, `folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}`, or `projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}`", "location": "path", "pattern": "^organizations/[^/]+/securityHealthAnalyticsSettings/customModules/[^/]+$", "required": true, @@ -3347,7 +3347,7 @@ "type": "string" }, "parent": { - "description": "Required. Name of parent to list custom modules. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings\", \"folders/{folder}/securityHealthAnalyticsSettings\", or \"projects/{project}/securityHealthAnalyticsSettings\"", + "description": "Required. Name of parent to list custom modules. Its format is `organizations/{organization}/securityHealthAnalyticsSettings`, `folders/{folder}/securityHealthAnalyticsSettings`, or `projects/{project}/securityHealthAnalyticsSettings`", "location": "path", "pattern": "^organizations/[^/]+/securityHealthAnalyticsSettings$", "required": true, @@ -3383,7 +3383,7 @@ "type": "string" }, "parent": { - "description": "Required. Name of parent to list descendant custom modules. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings\", \"folders/{folder}/securityHealthAnalyticsSettings\", or \"projects/{project}/securityHealthAnalyticsSettings\"", + "description": "Required. Name of parent to list descendant custom modules. Its format is `organizations/{organization}/securityHealthAnalyticsSettings`, `folders/{folder}/securityHealthAnalyticsSettings`, or `projects/{project}/securityHealthAnalyticsSettings`", "location": "path", "pattern": "^organizations/[^/]+/securityHealthAnalyticsSettings$", "required": true, @@ -3474,7 +3474,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the effective custom module to get. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}\", \"folders/{folder}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}\", or \"projects/{project}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}\"", + "description": "Required. Name of the effective custom module to get. Its format is `organizations/{organization}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}`, `folders/{folder}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}`, or `projects/{project}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}`", "location": "path", "pattern": "^organizations/[^/]+/securityHealthAnalyticsSettings/effectiveCustomModules/[^/]+$", "required": true, @@ -3510,7 +3510,7 @@ "type": "string" }, "parent": { - "description": "Required. Name of parent to list effective custom modules. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings\", \"folders/{folder}/securityHealthAnalyticsSettings\", or \"projects/{project}/securityHealthAnalyticsSettings\"", + "description": "Required. Name of parent to list effective custom modules. Its format is `organizations/{organization}/securityHealthAnalyticsSettings`, `folders/{folder}/securityHealthAnalyticsSettings`, or `projects/{project}/securityHealthAnalyticsSettings`", "location": "path", "pattern": "^organizations/[^/]+/securityHealthAnalyticsSettings$", "required": true, @@ -3541,7 +3541,7 @@ ], "parameters": { "name": { - "description": "Required. The organization name or simulation name of this simulation Valid format: \"organizations/{organization}/simulations/latest\" \"organizations/{organization}/simulations/{simulation}\"", + "description": "Required. The organization name or simulation name of this simulation Valid format: `organizations/{organization}/simulations/latest` `organizations/{organization}/simulations/{simulation}`", "location": "path", "pattern": "^organizations/[^/]+/simulations/[^/]+$", "required": true, @@ -3588,7 +3588,7 @@ "type": "string" }, "parent": { - "description": "Required. Name of parent to list attack paths. Valid formats: \"organizations/{organization}\", \"organizations/{organization}/simulations/{simulation}\" \"organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}\" \"organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}\"", + "description": "Required. Name of parent to list attack paths. Valid formats: `organizations/{organization}`, `organizations/{organization}/simulations/{simulation}` `organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}` `organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}`", "location": "path", "pattern": "^organizations/[^/]+/simulations/[^/]+/attackExposureResults/[^/]+$", "required": true, @@ -3622,7 +3622,7 @@ "type": "string" }, "orderBy": { - "description": "Optional. The fields by which to order the valued resources response. Supported fields: * `exposed_score` * `resource_value` * `resource_type` * `resource` * `display_name` Values should be a comma separated list of fields. For example: `exposed_score,resource_value`. The default sorting order is descending. To specify ascending or descending order for a field, append a \" ASC\" or a \" DESC\" suffix, respectively; for example: `exposed_score DESC`.", + "description": "Optional. The fields by which to order the valued resources response. Supported fields: * `exposed_score` * `resource_value` * `resource_type` * `resource` * `display_name` Values should be a comma separated list of fields. For example: `exposed_score,resource_value`. The default sorting order is descending. To specify ascending or descending order for a field, append a ` ASC` or a ` DESC` suffix, respectively; for example: `exposed_score DESC`.", "location": "query", "type": "string" }, @@ -3638,7 +3638,7 @@ "type": "string" }, "parent": { - "description": "Required. Name of parent to list valued resources. Valid formats: \"organizations/{organization}\", \"organizations/{organization}/simulations/{simulation}\" \"organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}\"", + "description": "Required. Name of parent to list valued resources. Valid formats: `organizations/{organization}`, `organizations/{organization}/simulations/{simulation}` `organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}`", "location": "path", "pattern": "^organizations/[^/]+/simulations/[^/]+/attackExposureResults/[^/]+$", "required": true, @@ -3685,7 +3685,7 @@ "type": "string" }, "parent": { - "description": "Required. Name of parent to list attack paths. Valid formats: \"organizations/{organization}\", \"organizations/{organization}/simulations/{simulation}\" \"organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}\" \"organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}\"", + "description": "Required. Name of parent to list attack paths. Valid formats: `organizations/{organization}`, `organizations/{organization}/simulations/{simulation}` `organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}` `organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}`", "location": "path", "pattern": "^organizations/[^/]+/simulations/[^/]+$", "required": true, @@ -3714,7 +3714,7 @@ ], "parameters": { "name": { - "description": "Required. The name of this valued resource Valid format: \"organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}\"", + "description": "Required. The name of this valued resource Valid format: `organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}`", "location": "path", "pattern": "^organizations/[^/]+/simulations/[^/]+/valuedResources/[^/]+$", "required": true, @@ -3744,7 +3744,7 @@ "type": "string" }, "orderBy": { - "description": "Optional. The fields by which to order the valued resources response. Supported fields: * `exposed_score` * `resource_value` * `resource_type` * `resource` * `display_name` Values should be a comma separated list of fields. For example: `exposed_score,resource_value`. The default sorting order is descending. To specify ascending or descending order for a field, append a \" ASC\" or a \" DESC\" suffix, respectively; for example: `exposed_score DESC`.", + "description": "Optional. The fields by which to order the valued resources response. Supported fields: * `exposed_score` * `resource_value` * `resource_type` * `resource` * `display_name` Values should be a comma separated list of fields. For example: `exposed_score,resource_value`. The default sorting order is descending. To specify ascending or descending order for a field, append a ` ASC` or a ` DESC` suffix, respectively; for example: `exposed_score DESC`.", "location": "query", "type": "string" }, @@ -3760,7 +3760,7 @@ "type": "string" }, "parent": { - "description": "Required. Name of parent to list valued resources. Valid formats: \"organizations/{organization}\", \"organizations/{organization}/simulations/{simulation}\" \"organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}\"", + "description": "Required. Name of parent to list valued resources. Valid formats: `organizations/{organization}`, `organizations/{organization}/simulations/{simulation}` `organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}`", "location": "path", "pattern": "^organizations/[^/]+/simulations/[^/]+$", "required": true, @@ -3805,7 +3805,7 @@ "type": "string" }, "parent": { - "description": "Required. Name of parent to list attack paths. Valid formats: \"organizations/{organization}\", \"organizations/{organization}/simulations/{simulation}\" \"organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}\" \"organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}\"", + "description": "Required. Name of parent to list attack paths. Valid formats: `organizations/{organization}`, `organizations/{organization}/simulations/{simulation}` `organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}` `organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}`", "location": "path", "pattern": "^organizations/[^/]+/simulations/[^/]+/valuedResources/[^/]+$", "required": true, @@ -3838,7 +3838,7 @@ ], "parameters": { "parent": { - "description": "Required. Resource name of the new source's parent. Its format should be \"organizations/[organization_id]\".", + "description": "Required. Resource name of the new source's parent. Its format should be `organizations/[organization_id]`.", "location": "path", "pattern": "^organizations/[^/]+$", "required": true, @@ -3866,7 +3866,7 @@ ], "parameters": { "name": { - "description": "Required. Relative resource name of the source. Its format is \"organizations/[organization_id]/source/[source_id]\".", + "description": "Required. Relative resource name of the source. Its format is `organizations/[organization_id]/source/[source_id]`.", "location": "path", "pattern": "^organizations/[^/]+/sources/[^/]+$", "required": true, @@ -3930,7 +3930,7 @@ "type": "string" }, "parent": { - "description": "Required. Resource name of the parent of sources to list. Its format should be \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", + "description": "Required. Resource name of the parent of sources to list. Its format should be `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.", "location": "path", "pattern": "^organizations/[^/]+$", "required": true, @@ -4054,7 +4054,7 @@ "type": "string" }, "parent": { - "description": "Required. Resource name of the new finding's parent. Its format should be \"organizations/[organization_id]/sources/[source_id]\".", + "description": "Required. Resource name of the new finding's parent. Its format should be `organizations/[organization_id]/sources/[source_id]`.", "location": "path", "pattern": "^organizations/[^/]+/sources/[^/]+$", "required": true, @@ -4082,7 +4082,7 @@ ], "parameters": { "parent": { - "description": "Required. Name of the source to groupBy. Its format is \"organizations/[organization_id]/sources/[source_id]\", folders/[folder_id]/sources/[source_id], or projects/[project_id]/sources/[source_id]. To groupBy across all sources provide a source_id of `-`. For example: organizations/{organization_id}/sources/-, folders/{folder_id}/sources/-, or projects/{project_id}/sources/-", + "description": "Required. Name of the source to groupBy. Its format is `organizations/[organization_id]/sources/[source_id]`, `folders/[folder_id]/sources/[source_id]`, or `projects/[project_id]/sources/[source_id]`. To groupBy across all sources provide a source_id of `-`. For example: `organizations/{organization_id}/sources/-, folders/{folder_id}/sources/-`, or `projects/{project_id}/sources/-`", "location": "path", "pattern": "^organizations/[^/]+/sources/[^/]+$", "required": true, @@ -4143,7 +4143,7 @@ "type": "string" }, "parent": { - "description": "Required. Name of the source the findings belong to. Its format is \"organizations/[organization_id]/sources/[source_id], folders/[folder_id]/sources/[source_id], or projects/[project_id]/sources/[source_id]\". To list across all sources provide a source_id of `-`. For example: organizations/{organization_id}/sources/-, folders/{folder_id}/sources/- or projects/{projects_id}/sources/-", + "description": "Required. Name of the source the findings belong to. Its format is `organizations/[organization_id]/sources/[source_id]`, `folders/[folder_id]/sources/[source_id]`, or `projects/[project_id]/sources/[source_id]`. To list across all sources provide a source_id of `-`. For example: `organizations/{organization_id}/sources/-`, `folders/{folder_id}/sources/-` or `projects/{projects_id}/sources/-`", "location": "path", "pattern": "^organizations/[^/]+/sources/[^/]+$", "required": true, @@ -4208,7 +4208,7 @@ ], "parameters": { "name": { - "description": "Required. The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}\", \"folders/{folder_id}/sources/{source_id}/findings/{finding_id}\", \"projects/{project_id}/sources/{source_id}/findings/{finding_id}\".", + "description": "Required. The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: `organizations/{organization_id}/sources/{source_id}/findings/{finding_id}`, `folders/{folder_id}/sources/{source_id}/findings/{finding_id}`, `projects/{project_id}/sources/{source_id}/findings/{finding_id}`.", "location": "path", "pattern": "^organizations/[^/]+/sources/[^/]+/findings/[^/]+$", "required": true, @@ -4236,7 +4236,7 @@ ], "parameters": { "name": { - "description": "Required. The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}\", \"folders/{folder_id}/sources/{source_id}/findings/{finding_id}\", \"projects/{project_id}/sources/{source_id}/findings/{finding_id}\".", + "description": "Required. The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: `organizations/{organization_id}/sources/{source_id}/findings/{finding_id}`, `folders/{folder_id}/sources/{source_id}/findings/{finding_id}`, `projects/{project_id}/sources/{source_id}/findings/{finding_id}`.", "location": "path", "pattern": "^organizations/[^/]+/sources/[^/]+/findings/[^/]+$", "required": true, @@ -4355,7 +4355,7 @@ ], "parameters": { "parent": { - "description": "Required. The name of the parent to group the assets by. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", + "description": "Required. The name of the parent to group the assets by. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.", "location": "path", "pattern": "^projects/[^/]+$", "required": true, @@ -4417,7 +4417,7 @@ "type": "string" }, "parent": { - "description": "Required. The name of the parent resource that contains the assets. The value that you can specify on parent depends on the method in which you specify parent. You can specify one of the following values: \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", + "description": "Required. The name of the parent resource that contains the assets. The value that you can specify on parent depends on the method in which you specify parent. You can specify one of the following values: `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.", "location": "path", "pattern": "^projects/[^/]+$", "required": true, @@ -4497,7 +4497,7 @@ "type": "string" }, "parent": { - "description": "Required. The name of the parent resource of the new BigQuery export. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", + "description": "Required. The name of the parent resource of the new BigQuery export. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.", "location": "path", "pattern": "^projects/[^/]+$", "required": true, @@ -4525,7 +4525,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the BigQuery export to delete. Its format is organizations/{organization}/bigQueryExports/{export_id}, folders/{folder}/bigQueryExports/{export_id}, or projects/{project}/bigQueryExports/{export_id}", + "description": "Required. The name of the BigQuery export to delete. Its format is `organizations/{organization}/bigQueryExports/{export_id}`, `folders/{folder}/bigQueryExports/{export_id}`, or `projects/{project}/bigQueryExports/{export_id}`", "location": "path", "pattern": "^projects/[^/]+/bigQueryExports/[^/]+$", "required": true, @@ -4550,7 +4550,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the BigQuery export to retrieve. Its format is organizations/{organization}/bigQueryExports/{export_id}, folders/{folder}/bigQueryExports/{export_id}, or projects/{project}/bigQueryExports/{export_id}", + "description": "Required. Name of the BigQuery export to retrieve. Its format is `organizations/{organization}/bigQueryExports/{export_id}`, `folders/{folder}/bigQueryExports/{export_id}`, or `projects/{project}/bigQueryExports/{export_id}`", "location": "path", "pattern": "^projects/[^/]+/bigQueryExports/[^/]+$", "required": true, @@ -4586,7 +4586,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent, which owns the collection of BigQuery exports. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", \"projects/[project_id]\".", + "description": "Required. The parent, which owns the collection of BigQuery exports. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`.", "location": "path", "pattern": "^projects/[^/]+$", "required": true, @@ -4831,7 +4831,7 @@ ], "parameters": { "name": { - "description": "Immutable. The resource name of the Event Threat Detection custom module. Its format is: * \"organizations/{organization}/eventThreatDetectionSettings/customModules/{module}\". * \"folders/{folder}/eventThreatDetectionSettings/customModules/{module}\". * \"projects/{project}/eventThreatDetectionSettings/customModules/{module}\".", + "description": "Immutable. The resource name of the Event Threat Detection custom module. Its format is: * `organizations/{organization}/eventThreatDetectionSettings/customModules/{module}`. * `folders/{folder}/eventThreatDetectionSettings/customModules/{module}`. * `projects/{project}/eventThreatDetectionSettings/customModules/{module}`.", "location": "path", "pattern": "^projects/[^/]+/eventThreatDetectionSettings/customModules/[^/]+$", "required": true, @@ -4936,7 +4936,7 @@ ], "parameters": { "parent": { - "description": "Required. The parent, at which bulk action needs to be applied. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", \"projects/[project_id]\".", + "description": "Required. The parent, at which bulk action needs to be applied. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`.", "location": "path", "pattern": "^projects/[^/]+$", "required": true, @@ -4975,7 +4975,7 @@ "type": "string" }, "parent": { - "description": "Required. Resource name of the new mute configs's parent. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", + "description": "Required. Resource name of the new mute configs's parent. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -5003,7 +5003,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the mute config to delete. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, projects/{project}/muteConfigs/{config_id}, organizations/{organization}/locations/global/muteConfigs/{config_id}, folders/{folder}/locations/global/muteConfigs/{config_id}, or projects/{project}/locations/global/muteConfigs/{config_id}.", + "description": "Required. Name of the mute config to delete. Its format is `organizations/{organization}/muteConfigs/{config_id}`, `folders/{folder}/muteConfigs/{config_id}`, `projects/{project}/muteConfigs/{config_id}`, `organizations/{organization}/locations/global/muteConfigs/{config_id}`, `folders/{folder}/locations/global/muteConfigs/{config_id}`, or `projects/{project}/locations/global/muteConfigs/{config_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/muteConfigs/[^/]+$", "required": true, @@ -5028,7 +5028,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the mute config to retrieve. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, projects/{project}/muteConfigs/{config_id}, organizations/{organization}/locations/global/muteConfigs/{config_id}, folders/{folder}/locations/global/muteConfigs/{config_id}, or projects/{project}/locations/global/muteConfigs/{config_id}.", + "description": "Required. Name of the mute config to retrieve. Its format is `organizations/{organization}/muteConfigs/{config_id}`, `folders/{folder}/muteConfigs/{config_id}`, `projects/{project}/muteConfigs/{config_id}`, `organizations/{organization}/locations/global/muteConfigs/{config_id}`, `folders/{folder}/locations/global/muteConfigs/{config_id}`, or `projects/{project}/locations/global/muteConfigs/{config_id}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/muteConfigs/[^/]+$", "required": true, @@ -5064,7 +5064,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent, which owns the collection of mute configs. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", \"projects/[project_id]\".", + "description": "Required. The parent, which owns the collection of mute configs. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/muteConfigs$", "required": true, @@ -5089,7 +5089,7 @@ ], "parameters": { "name": { - "description": "This field will be ignored if provided on config creation. Format \"organizations/{organization}/muteConfigs/{mute_config}\" \"folders/{folder}/muteConfigs/{mute_config}\" \"projects/{project}/muteConfigs/{mute_config}\" \"organizations/{organization}/locations/global/muteConfigs/{mute_config}\" \"folders/{folder}/locations/global/muteConfigs/{mute_config}\" \"projects/{project}/locations/global/muteConfigs/{mute_config}\"", + "description": "This field will be ignored if provided on config creation. Format `organizations/{organization}/muteConfigs/{mute_config}` `folders/{folder}/muteConfigs/{mute_config}` `projects/{project}/muteConfigs/{mute_config}` `organizations/{organization}/locations/global/muteConfigs/{mute_config}` `folders/{folder}/locations/global/muteConfigs/{mute_config}` `projects/{project}/locations/global/muteConfigs/{mute_config}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/muteConfigs/[^/]+$", "required": true, @@ -5134,7 +5134,7 @@ "type": "string" }, "parent": { - "description": "Required. Resource name of the new mute configs's parent. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", + "description": "Required. Resource name of the new mute configs's parent. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.", "location": "path", "pattern": "^projects/[^/]+$", "required": true, @@ -5162,7 +5162,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the mute config to delete. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, projects/{project}/muteConfigs/{config_id}, organizations/{organization}/locations/global/muteConfigs/{config_id}, folders/{folder}/locations/global/muteConfigs/{config_id}, or projects/{project}/locations/global/muteConfigs/{config_id}.", + "description": "Required. Name of the mute config to delete. Its format is `organizations/{organization}/muteConfigs/{config_id}`, `folders/{folder}/muteConfigs/{config_id}`, `projects/{project}/muteConfigs/{config_id}`, `organizations/{organization}/locations/global/muteConfigs/{config_id}`, `folders/{folder}/locations/global/muteConfigs/{config_id}`, or `projects/{project}/locations/global/muteConfigs/{config_id}`.", "location": "path", "pattern": "^projects/[^/]+/muteConfigs/[^/]+$", "required": true, @@ -5187,7 +5187,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the mute config to retrieve. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, projects/{project}/muteConfigs/{config_id}, organizations/{organization}/locations/global/muteConfigs/{config_id}, folders/{folder}/locations/global/muteConfigs/{config_id}, or projects/{project}/locations/global/muteConfigs/{config_id}.", + "description": "Required. Name of the mute config to retrieve. Its format is `organizations/{organization}/muteConfigs/{config_id}`, `folders/{folder}/muteConfigs/{config_id}`, `projects/{project}/muteConfigs/{config_id}`, `organizations/{organization}/locations/global/muteConfigs/{config_id}`, `folders/{folder}/locations/global/muteConfigs/{config_id}`, or `projects/{project}/locations/global/muteConfigs/{config_id}`.", "location": "path", "pattern": "^projects/[^/]+/muteConfigs/[^/]+$", "required": true, @@ -5223,7 +5223,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent, which owns the collection of mute configs. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", \"projects/[project_id]\".", + "description": "Required. The parent, which owns the collection of mute configs. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`.", "location": "path", "pattern": "^projects/[^/]+$", "required": true, @@ -5248,7 +5248,7 @@ ], "parameters": { "name": { - "description": "This field will be ignored if provided on config creation. Format \"organizations/{organization}/muteConfigs/{mute_config}\" \"folders/{folder}/muteConfigs/{mute_config}\" \"projects/{project}/muteConfigs/{mute_config}\" \"organizations/{organization}/locations/global/muteConfigs/{mute_config}\" \"folders/{folder}/locations/global/muteConfigs/{mute_config}\" \"projects/{project}/locations/global/muteConfigs/{mute_config}\"", + "description": "This field will be ignored if provided on config creation. Format `organizations/{organization}/muteConfigs/{mute_config}` `folders/{folder}/muteConfigs/{mute_config}` `projects/{project}/muteConfigs/{mute_config}` `organizations/{organization}/locations/global/muteConfigs/{mute_config}` `folders/{folder}/locations/global/muteConfigs/{mute_config}` `projects/{project}/locations/global/muteConfigs/{mute_config}`", "location": "path", "pattern": "^projects/[^/]+/muteConfigs/[^/]+$", "required": true, @@ -5291,7 +5291,7 @@ "type": "string" }, "parent": { - "description": "Required. Resource name of the new notification config's parent. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", + "description": "Required. Resource name of the new notification config's parent. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.", "location": "path", "pattern": "^projects/[^/]+$", "required": true, @@ -5319,7 +5319,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the notification config to delete. Its format is \"organizations/[organization_id]/notificationConfigs/[config_id]\", \"folders/[folder_id]/notificationConfigs/[config_id]\", or \"projects/[project_id]/notificationConfigs/[config_id]\".", + "description": "Required. Name of the notification config to delete. Its format is `organizations/[organization_id]/notificationConfigs/[config_id]`, `folders/[folder_id]/notificationConfigs/[config_id]`, or `projects/[project_id]/notificationConfigs/[config_id]`.", "location": "path", "pattern": "^projects/[^/]+/notificationConfigs/[^/]+$", "required": true, @@ -5344,7 +5344,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the notification config to get. Its format is \"organizations/[organization_id]/notificationConfigs/[config_id]\", \"folders/[folder_id]/notificationConfigs/[config_id]\", or \"projects/[project_id]/notificationConfigs/[config_id]\".", + "description": "Required. Name of the notification config to get. Its format is `organizations/[organization_id]/notificationConfigs/[config_id]`, `folders/[folder_id]/notificationConfigs/[config_id]`, or `projects/[project_id]/notificationConfigs/[config_id]`.", "location": "path", "pattern": "^projects/[^/]+/notificationConfigs/[^/]+$", "required": true, @@ -5445,7 +5445,7 @@ ], "parameters": { "parent": { - "description": "Required. Resource name of the new custom module's parent. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings\", \"folders/{folder}/securityHealthAnalyticsSettings\", or \"projects/{project}/securityHealthAnalyticsSettings\"", + "description": "Required. Resource name of the new custom module's parent. Its format is `organizations/{organization}/securityHealthAnalyticsSettings`, `folders/{folder}/securityHealthAnalyticsSettings`, or `projects/{project}/securityHealthAnalyticsSettings`", "location": "path", "pattern": "^projects/[^/]+/securityHealthAnalyticsSettings$", "required": true, @@ -5473,7 +5473,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the custom module to delete. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}\", \"folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}\", or \"projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}\"", + "description": "Required. Name of the custom module to delete. Its format is `organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}`, `folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}`, or `projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}`", "location": "path", "pattern": "^projects/[^/]+/securityHealthAnalyticsSettings/customModules/[^/]+$", "required": true, @@ -5498,7 +5498,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the custom module to get. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}\", \"folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}\", or \"projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}\"", + "description": "Required. Name of the custom module to get. Its format is `organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}`, `folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}`, or `projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}`", "location": "path", "pattern": "^projects/[^/]+/securityHealthAnalyticsSettings/customModules/[^/]+$", "required": true, @@ -5534,7 +5534,7 @@ "type": "string" }, "parent": { - "description": "Required. Name of parent to list custom modules. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings\", \"folders/{folder}/securityHealthAnalyticsSettings\", or \"projects/{project}/securityHealthAnalyticsSettings\"", + "description": "Required. Name of parent to list custom modules. Its format is `organizations/{organization}/securityHealthAnalyticsSettings`, `folders/{folder}/securityHealthAnalyticsSettings`, or `projects/{project}/securityHealthAnalyticsSettings`", "location": "path", "pattern": "^projects/[^/]+/securityHealthAnalyticsSettings$", "required": true, @@ -5570,7 +5570,7 @@ "type": "string" }, "parent": { - "description": "Required. Name of parent to list descendant custom modules. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings\", \"folders/{folder}/securityHealthAnalyticsSettings\", or \"projects/{project}/securityHealthAnalyticsSettings\"", + "description": "Required. Name of parent to list descendant custom modules. Its format is `organizations/{organization}/securityHealthAnalyticsSettings`, `folders/{folder}/securityHealthAnalyticsSettings`, or `projects/{project}/securityHealthAnalyticsSettings`", "location": "path", "pattern": "^projects/[^/]+/securityHealthAnalyticsSettings$", "required": true, @@ -5661,7 +5661,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the effective custom module to get. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}\", \"folders/{folder}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}\", or \"projects/{project}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}\"", + "description": "Required. Name of the effective custom module to get. Its format is `organizations/{organization}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}`, `folders/{folder}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}`, or `projects/{project}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}`", "location": "path", "pattern": "^projects/[^/]+/securityHealthAnalyticsSettings/effectiveCustomModules/[^/]+$", "required": true, @@ -5697,7 +5697,7 @@ "type": "string" }, "parent": { - "description": "Required. Name of parent to list effective custom modules. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings\", \"folders/{folder}/securityHealthAnalyticsSettings\", or \"projects/{project}/securityHealthAnalyticsSettings\"", + "description": "Required. Name of parent to list effective custom modules. Its format is `organizations/{organization}/securityHealthAnalyticsSettings`, `folders/{folder}/securityHealthAnalyticsSettings`, or `projects/{project}/securityHealthAnalyticsSettings`", "location": "path", "pattern": "^projects/[^/]+/securityHealthAnalyticsSettings$", "required": true, @@ -5739,7 +5739,7 @@ "type": "string" }, "parent": { - "description": "Required. Resource name of the parent of sources to list. Its format should be \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", + "description": "Required. Resource name of the parent of sources to list. Its format should be `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.", "location": "path", "pattern": "^projects/[^/]+$", "required": true, @@ -5768,7 +5768,7 @@ ], "parameters": { "parent": { - "description": "Required. Name of the source to groupBy. Its format is \"organizations/[organization_id]/sources/[source_id]\", folders/[folder_id]/sources/[source_id], or projects/[project_id]/sources/[source_id]. To groupBy across all sources provide a source_id of `-`. For example: organizations/{organization_id}/sources/-, folders/{folder_id}/sources/-, or projects/{project_id}/sources/-", + "description": "Required. Name of the source to groupBy. Its format is `organizations/[organization_id]/sources/[source_id]`, `folders/[folder_id]/sources/[source_id]`, or `projects/[project_id]/sources/[source_id]`. To groupBy across all sources provide a source_id of `-`. For example: `organizations/{organization_id}/sources/-, folders/{folder_id}/sources/-`, or `projects/{project_id}/sources/-`", "location": "path", "pattern": "^projects/[^/]+/sources/[^/]+$", "required": true, @@ -5829,7 +5829,7 @@ "type": "string" }, "parent": { - "description": "Required. Name of the source the findings belong to. Its format is \"organizations/[organization_id]/sources/[source_id], folders/[folder_id]/sources/[source_id], or projects/[project_id]/sources/[source_id]\". To list across all sources provide a source_id of `-`. For example: organizations/{organization_id}/sources/-, folders/{folder_id}/sources/- or projects/{projects_id}/sources/-", + "description": "Required. Name of the source the findings belong to. Its format is `organizations/[organization_id]/sources/[source_id]`, `folders/[folder_id]/sources/[source_id]`, or `projects/[project_id]/sources/[source_id]`. To list across all sources provide a source_id of `-`. For example: `organizations/{organization_id}/sources/-`, `folders/{folder_id}/sources/-` or `projects/{projects_id}/sources/-`", "location": "path", "pattern": "^projects/[^/]+/sources/[^/]+$", "required": true, @@ -5894,7 +5894,7 @@ ], "parameters": { "name": { - "description": "Required. The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}\", \"folders/{folder_id}/sources/{source_id}/findings/{finding_id}\", \"projects/{project_id}/sources/{source_id}/findings/{finding_id}\".", + "description": "Required. The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: `organizations/{organization_id}/sources/{source_id}/findings/{finding_id}`, `folders/{folder_id}/sources/{source_id}/findings/{finding_id}`, `projects/{project_id}/sources/{source_id}/findings/{finding_id}`.", "location": "path", "pattern": "^projects/[^/]+/sources/[^/]+/findings/[^/]+$", "required": true, @@ -5922,7 +5922,7 @@ ], "parameters": { "name": { - "description": "Required. The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}\", \"folders/{folder_id}/sources/{source_id}/findings/{finding_id}\", \"projects/{project_id}/sources/{source_id}/findings/{finding_id}\".", + "description": "Required. The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: `organizations/{organization_id}/sources/{source_id}/findings/{finding_id}`, `folders/{folder_id}/sources/{source_id}/findings/{finding_id}`, `projects/{project_id}/sources/{source_id}/findings/{finding_id}`.", "location": "path", "pattern": "^projects/[^/]+/sources/[^/]+/findings/[^/]+$", "required": true, @@ -6027,7 +6027,7 @@ } } }, - "revision": "20240622", + "revision": "20240705", "rootUrl": "https://securitycenter.googleapis.com/", "schemas": { "Access": { @@ -6251,7 +6251,7 @@ "id": "AttackExposure", "properties": { "attackExposureResult": { - "description": "The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: organizations/123/simulations/456/attackExposureResults/789", + "description": "The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: `organizations/123/simulations/456/attackExposureResults/789`", "type": "string" }, "exposedHighValueResourcesCount": { @@ -6359,11 +6359,11 @@ "type": "string" }, "resource": { - "description": "The name of the resource at this point in the attack path. The format of the name follows the Cloud Asset Inventory [resource name format](\"https://cloud.google.com/asset-inventory/docs/resource-name-format\")", + "description": "The name of the resource at this point in the attack path. The format of the name follows the Cloud Asset Inventory [resource name format](https://cloud.google.com/asset-inventory/docs/resource-name-format)", "type": "string" }, "resourceType": { - "description": "The [supported resource type](https://cloud.google.com/asset-inventory/docs/supported-asset-types\")", + "description": "The [supported resource type](https://cloud.google.com/asset-inventory/docs/supported-asset-types)", "type": "string" }, "uuid": { @@ -6537,7 +6537,7 @@ "type": "string" }, "id": { - "description": "The UUID of the Azure management group, for example, \"20000000-0001-0000-0000-000000000000\".", + "description": "The UUID of the Azure management group, for example, `20000000-0001-0000-0000-000000000000`.", "type": "string" } }, @@ -6585,7 +6585,7 @@ "type": "string" }, "id": { - "description": "The UUID of the Azure subscription, for example, \"291bba3f-e0a5-47bc-a099-3bdcb2a50a05\".", + "description": "The UUID of the Azure subscription, for example, `291bba3f-e0a5-47bc-a099-3bdcb2a50a05`.", "type": "string" } }, @@ -7358,7 +7358,7 @@ "type": "string" }, "name": { - "description": "Output only. The resource name of the effective ETD custom module. Its format is: * \"organizations/{organization}/eventThreatDetectionSettings/effectiveCustomModules/{module}\". * \"folders/{folder}/eventThreatDetectionSettings/effectiveCustomModules/{module}\". * \"projects/{project}/eventThreatDetectionSettings/effectiveCustomModules/{module}\".", + "description": "Output only. The resource name of the effective ETD custom module. Its format is: * `organizations/{organization}/eventThreatDetectionSettings/effectiveCustomModules/{module}`. * `folders/{folder}/eventThreatDetectionSettings/effectiveCustomModules/{module}`. * `projects/{project}/eventThreatDetectionSettings/effectiveCustomModules/{module}`.", "readOnly": true, "type": "string" }, @@ -7438,7 +7438,7 @@ "type": "string" }, "name": { - "description": "Immutable. The resource name of the Event Threat Detection custom module. Its format is: * \"organizations/{organization}/eventThreatDetectionSettings/customModules/{module}\". * \"folders/{folder}/eventThreatDetectionSettings/customModules/{module}\". * \"projects/{project}/eventThreatDetectionSettings/customModules/{module}\".", + "description": "Immutable. The resource name of the Event Threat Detection custom module. Its format is: * `organizations/{organization}/eventThreatDetectionSettings/customModules/{module}`. * `folders/{folder}/eventThreatDetectionSettings/customModules/{module}`. * `projects/{project}/eventThreatDetectionSettings/customModules/{module}`.", "type": "string" }, "type": { @@ -8208,7 +8208,7 @@ "type": "string" }, "name": { - "description": "This field will be ignored if provided on config creation. Format \"organizations/{organization}/muteConfigs/{mute_config}\" \"folders/{folder}/muteConfigs/{mute_config}\" \"projects/{project}/muteConfigs/{mute_config}\" \"organizations/{organization}/locations/global/muteConfigs/{mute_config}\" \"folders/{folder}/locations/global/muteConfigs/{mute_config}\" \"projects/{project}/locations/global/muteConfigs/{mute_config}\"", + "description": "This field will be ignored if provided on config creation. Format `organizations/{organization}/muteConfigs/{mute_config}` `folders/{folder}/muteConfigs/{mute_config}` `projects/{project}/muteConfigs/{mute_config}` `organizations/{organization}/locations/global/muteConfigs/{mute_config}` `folders/{folder}/locations/global/muteConfigs/{mute_config}` `projects/{project}/locations/global/muteConfigs/{mute_config}`", "type": "string" }, "updateTime": { @@ -8327,7 +8327,7 @@ "description": "Provides the path to the resource within the resource hierarchy." }, "resourcePathString": { - "description": "A string representation of the resource path. For Google Cloud, it has the format of organizations/{organization_id}/folders/{folder_id}/folders/{folder_id}/projects/{project_id} where there can be any number of folders. For AWS, it has the format of org/{organization_id}/ou/{organizational_unit_id}/ou/{organizational_unit_id}/account/{account_id} where there can be any number of organizational units. For Azure, it has the format of mg/{management_group_id}/mg/{management_group_id}/subscription/{subscription_id}/rg/{resource_group_name} where there can be any number of management groups.", + "description": "A string representation of the resource path. For Google Cloud, it has the format of `organizations/{organization_id}/folders/{folder_id}/folders/{folder_id}/projects/{project_id}` where there can be any number of folders. For AWS, it has the format of `org/{organization_id}/ou/{organizational_unit_id}/ou/{organizational_unit_id}/account/{account_id}` where there can be any number of organizational units. For Azure, it has the format of `mg/{management_group_id}/mg/{management_group_id}/subscription/{subscription_id}/rg/{resource_group_name}` where there can be any number of management groups.", "type": "string" }, "service": { @@ -8393,11 +8393,11 @@ "additionalProperties": { "type": "string" }, - "description": "List of resource labels to search for, evaluated with AND. For example, \"resource_labels_selector\": {\"key\": \"value\", \"env\": \"prod\"} will match resources with labels \"key\": \"value\" AND \"env\": \"prod\" https://cloud.google.com/resource-manager/docs/creating-managing-labels", + "description": "List of resource labels to search for, evaluated with `AND`. For example, `\"resource_labels_selector\": {\"key\": \"value\", \"env\": \"prod\"}` will match resources with labels \"key\": \"value\" `AND` \"env\": \"prod\" https://cloud.google.com/resource-manager/docs/creating-managing-labels", "type": "object" }, "resourceType": { - "description": "Apply resource_value only to resources that match resource_type. resource_type will be checked with AND of other resources. For example, \"storage.googleapis.com/Bucket\" with resource_value \"HIGH\" will apply \"HIGH\" value only to \"storage.googleapis.com/Bucket\" resources.", + "description": "Apply resource_value only to resources that match resource_type. resource_type will be checked with `AND` of other resources. For example, \"storage.googleapis.com/Bucket\" with resource_value \"HIGH\" will apply \"HIGH\" value only to \"storage.googleapis.com/Bucket\" resources.", "type": "string" }, "resourceValue": { @@ -8419,7 +8419,7 @@ "type": "string" }, "scope": { - "description": "Project or folder to scope this configuration to. For example, \"project/456\" would apply this configuration only to resources in \"project/456\" scope will be checked with AND of other resources.", + "description": "Project or folder to scope this configuration to. For example, \"project/456\" would apply this configuration only to resources in \"project/456\" scope will be checked with `AND` of other resources.", "type": "string" }, "sensitiveDataProtectionMapping": { @@ -8427,7 +8427,7 @@ "description": "A mapping of the sensitivity on Sensitive Data Protection finding to resource values. This mapping can only be used in combination with a resource_type that is related to BigQuery, e.g. \"bigquery.googleapis.com/Dataset\"." }, "tagValues": { - "description": "Required. Tag values combined with AND to check against. Values in the form \"tagValues/123\" Example: [ \"tagValues/123\", \"tagValues/456\", \"tagValues/789\" ] https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing", + "description": "Required. Tag values combined with `AND` to check against. Values in the form \"tagValues/123\" Example: `[ \"tagValues/123\", \"tagValues/456\", \"tagValues/789\" ]` https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing", "items": { "type": "string" }, @@ -8938,7 +8938,7 @@ "id": "GoogleCloudSecuritycenterV2AttackExposure", "properties": { "attackExposureResult": { - "description": "The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: organizations/123/simulations/456/attackExposureResults/789", + "description": "The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: `organizations/123/simulations/456/attackExposureResults/789`", "type": "string" }, "exposedHighValueResourcesCount": { @@ -9056,7 +9056,7 @@ "type": "string" }, "id": { - "description": "The UUID of the Azure management group, for example, \"20000000-0001-0000-0000-000000000000\".", + "description": "The UUID of the Azure management group, for example, `20000000-0001-0000-0000-000000000000`.", "type": "string" } }, @@ -9104,7 +9104,7 @@ "type": "string" }, "id": { - "description": "The UUID of the Azure subscription, for example, \"291bba3f-e0a5-47bc-a099-3bdcb2a50a05\".", + "description": "The UUID of the Azure subscription, for example, `291bba3f-e0a5-47bc-a099-3bdcb2a50a05`.", "type": "string" } }, @@ -10534,8 +10534,10 @@ "COMMAND_AND_SCRIPTING_INTERPRETER", "UNIX_SHELL", "PYTHON", + "EXPLOITATION_FOR_PRIVILEGE_ESCALATION", "PERMISSION_GROUPS_DISCOVERY", "CLOUD_GROUPS", + "INDICATOR_REMOVAL_FILE_DELETION", "APPLICATION_LAYER_PROTOCOL", "DNS", "SOFTWARE_DEPLOYMENT_TOOLS", @@ -10599,8 +10601,10 @@ "T1059", "T1059.004", "T1059.006", + "T1068", "T1069", "T1069.003", + "T1070.004", "T1071", "T1071.004", "T1072", @@ -10648,7 +10652,7 @@ "T1588", "T1595", "T1595.001", - "T1613", + "T1609", "T1611", "T1613", "T1649" @@ -10709,8 +10713,10 @@ "COMMAND_AND_SCRIPTING_INTERPRETER", "UNIX_SHELL", "PYTHON", + "EXPLOITATION_FOR_PRIVILEGE_ESCALATION", "PERMISSION_GROUPS_DISCOVERY", "CLOUD_GROUPS", + "INDICATOR_REMOVAL_FILE_DELETION", "APPLICATION_LAYER_PROTOCOL", "DNS", "SOFTWARE_DEPLOYMENT_TOOLS", @@ -10774,8 +10780,10 @@ "T1059", "T1059.004", "T1059.006", + "T1068", "T1069", "T1069.003", + "T1070.004", "T1071", "T1071.004", "T1072", @@ -10823,7 +10831,7 @@ "T1588", "T1595", "T1595.001", - "T1613", + "T1609", "T1611", "T1613", "T1649" @@ -11249,7 +11257,7 @@ "description": "Provides the path to the resource within the resource hierarchy." }, "resourcePathString": { - "description": "A string representation of the resource path. For Google Cloud, it has the format of organizations/{organization_id}/folders/{folder_id}/folders/{folder_id}/projects/{project_id} where there can be any number of folders. For AWS, it has the format of org/{organization_id}/ou/{organizational_unit_id}/ou/{organizational_unit_id}/account/{account_id} where there can be any number of organizational units. For Azure, it has the format of mg/{management_group_id}/mg/{management_group_id}/subscription/{subscription_id}/rg/{resource_group_name} where there can be any number of management groups.", + "description": "A string representation of the resource path. For Google Cloud, it has the format of `organizations/{organization_id}/folders/{folder_id}/folders/{folder_id}/projects/{project_id}` where there can be any number of folders. For AWS, it has the format of `org/{organization_id}/ou/{organizational_unit_id}/ou/{organizational_unit_id}/account/{account_id}` where there can be any number of organizational units. For Azure, it has the format of `mg/{management_group_id}/mg/{management_group_id}/subscription/{subscription_id}/rg/{resource_group_name}` where there can be any number of management groups.", "type": "string" }, "service": { @@ -11358,11 +11366,11 @@ "additionalProperties": { "type": "string" }, - "description": "List of resource labels to search for, evaluated with AND. For example, \"resource_labels_selector\": {\"key\": \"value\", \"env\": \"prod\"} will match resources with labels \"key\": \"value\" AND \"env\": \"prod\" https://cloud.google.com/resource-manager/docs/creating-managing-labels", + "description": "List of resource labels to search for, evaluated with `AND`. For example, \"resource_labels_selector\": {\"key\": \"value\", \"env\": \"prod\"} will match resources with labels \"key\": \"value\" `AND` \"env\": \"prod\" https://cloud.google.com/resource-manager/docs/creating-managing-labels", "type": "object" }, "resourceType": { - "description": "Apply resource_value only to resources that match resource_type. resource_type will be checked with AND of other resources. For example, \"storage.googleapis.com/Bucket\" with resource_value \"HIGH\" will apply \"HIGH\" value only to \"storage.googleapis.com/Bucket\" resources.", + "description": "Apply resource_value only to resources that match resource_type. resource_type will be checked with `AND` of other resources. For example, \"storage.googleapis.com/Bucket\" with resource_value \"HIGH\" will apply \"HIGH\" value only to \"storage.googleapis.com/Bucket\" resources.", "type": "string" }, "resourceValue": { @@ -11384,7 +11392,7 @@ "type": "string" }, "scope": { - "description": "Project or folder to scope this configuration to. For example, \"project/456\" would apply this configuration only to resources in \"project/456\" scope will be checked with AND of other resources.", + "description": "Project or folder to scope this configuration to. For example, \"project/456\" would apply this configuration only to resources in \"project/456\" scope will be checked with `AND` of other resources.", "type": "string" }, "sensitiveDataProtectionMapping": { @@ -11392,7 +11400,7 @@ "description": "A mapping of the sensitivity on Sensitive Data Protection finding to resource values. This mapping can only be used in combination with a resource_type that is related to BigQuery, e.g. \"bigquery.googleapis.com/Dataset\"." }, "tagValues": { - "description": "Required. Tag values combined with AND to check against. Values in the form \"tagValues/123\" Example: [ \"tagValues/123\", \"tagValues/456\", \"tagValues/789\" ] https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing", + "description": "Required. Tag values combined with `AND` to check against. Values in the form \"tagValues/123\" Example: `[ \"tagValues/123\", \"tagValues/456\", \"tagValues/789\" ]` https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing", "items": { "type": "string" }, @@ -11670,7 +11678,7 @@ "type": "number" }, "relatedFindings": { - "description": "List of resource names of findings associated with this toxic combination. For example, organizations/123/sources/456/findings/789.", + "description": "List of resource names of findings associated with this toxic combination. For example, `organizations/123/sources/456/findings/789`.", "items": { "type": "string" }, @@ -12541,8 +12549,10 @@ "COMMAND_AND_SCRIPTING_INTERPRETER", "UNIX_SHELL", "PYTHON", + "EXPLOITATION_FOR_PRIVILEGE_ESCALATION", "PERMISSION_GROUPS_DISCOVERY", "CLOUD_GROUPS", + "INDICATOR_REMOVAL_FILE_DELETION", "APPLICATION_LAYER_PROTOCOL", "DNS", "SOFTWARE_DEPLOYMENT_TOOLS", @@ -12606,8 +12616,10 @@ "T1059", "T1059.004", "T1059.006", + "T1068", "T1069", "T1069.003", + "T1070.004", "T1071", "T1071.004", "T1072", @@ -12716,8 +12728,10 @@ "COMMAND_AND_SCRIPTING_INTERPRETER", "UNIX_SHELL", "PYTHON", + "EXPLOITATION_FOR_PRIVILEGE_ESCALATION", "PERMISSION_GROUPS_DISCOVERY", "CLOUD_GROUPS", + "INDICATOR_REMOVAL_FILE_DELETION", "APPLICATION_LAYER_PROTOCOL", "DNS", "SOFTWARE_DEPLOYMENT_TOOLS", @@ -12781,8 +12795,10 @@ "T1059", "T1059.004", "T1059.006", + "T1068", "T1069", "T1069.003", + "T1070.004", "T1071", "T1071.004", "T1072", @@ -13050,7 +13066,7 @@ "id": "PathNodeAssociatedFinding", "properties": { "canonicalFinding": { - "description": "Canonical name of the associated findings. Example: organizations/123/sources/456/findings/789", + "description": "Canonical name of the associated findings. Example: `organizations/123/sources/456/findings/789`", "type": "string" }, "findingCategory": { @@ -13803,7 +13819,7 @@ "type": "string" }, "name": { - "description": "Full resource name of the Simulation: organizations/123/simulations/456", + "description": "Full resource name of the Simulation: `organizations/123/simulations/456`", "type": "string" }, "resourceValueConfigsMetadata": { @@ -13978,7 +13994,7 @@ "type": "number" }, "relatedFindings": { - "description": "List of resource names of findings associated with this toxic combination. For example, organizations/123/sources/456/findings/789.", + "description": "List of resource names of findings associated with this toxic combination. For example, `organizations/123/sources/456/findings/789`.", "items": { "type": "string" }, diff --git a/discovery/securitycenter-v1beta1.json b/discovery/securitycenter-v1beta1.json index ac2ab6fd8f..a0b9c1feff 100644 --- a/discovery/securitycenter-v1beta1.json +++ b/discovery/securitycenter-v1beta1.json @@ -896,7 +896,7 @@ } } }, - "revision": "20240622", + "revision": "20240705", "rootUrl": "https://securitycenter.googleapis.com/", "schemas": { "Access": { @@ -1105,7 +1105,7 @@ "id": "AttackExposure", "properties": { "attackExposureResult": { - "description": "The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: organizations/123/simulations/456/attackExposureResults/789", + "description": "The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: `organizations/123/simulations/456/attackExposureResults/789`", "type": "string" }, "exposedHighValueResourcesCount": { @@ -1270,7 +1270,7 @@ "type": "string" }, "id": { - "description": "The UUID of the Azure management group, for example, \"20000000-0001-0000-0000-000000000000\".", + "description": "The UUID of the Azure management group, for example, `20000000-0001-0000-0000-000000000000`.", "type": "string" } }, @@ -1318,7 +1318,7 @@ "type": "string" }, "id": { - "description": "The UUID of the Azure subscription, for example, \"291bba3f-e0a5-47bc-a099-3bdcb2a50a05\".", + "description": "The UUID of the Azure subscription, for example, `291bba3f-e0a5-47bc-a099-3bdcb2a50a05`.", "type": "string" } }, @@ -2738,7 +2738,7 @@ "type": "string" }, "name": { - "description": "This field will be ignored if provided on config creation. Format \"organizations/{organization}/muteConfigs/{mute_config}\" \"folders/{folder}/muteConfigs/{mute_config}\" \"projects/{project}/muteConfigs/{mute_config}\" \"organizations/{organization}/locations/global/muteConfigs/{mute_config}\" \"folders/{folder}/locations/global/muteConfigs/{mute_config}\" \"projects/{project}/locations/global/muteConfigs/{mute_config}\"", + "description": "This field will be ignored if provided on config creation. Format `organizations/{organization}/muteConfigs/{mute_config}` `folders/{folder}/muteConfigs/{mute_config}` `projects/{project}/muteConfigs/{mute_config}` `organizations/{organization}/locations/global/muteConfigs/{mute_config}` `folders/{folder}/locations/global/muteConfigs/{mute_config}` `projects/{project}/locations/global/muteConfigs/{mute_config}`", "type": "string" }, "updateTime": { @@ -2857,7 +2857,7 @@ "description": "Provides the path to the resource within the resource hierarchy." }, "resourcePathString": { - "description": "A string representation of the resource path. For Google Cloud, it has the format of organizations/{organization_id}/folders/{folder_id}/folders/{folder_id}/projects/{project_id} where there can be any number of folders. For AWS, it has the format of org/{organization_id}/ou/{organizational_unit_id}/ou/{organizational_unit_id}/account/{account_id} where there can be any number of organizational units. For Azure, it has the format of mg/{management_group_id}/mg/{management_group_id}/subscription/{subscription_id}/rg/{resource_group_name} where there can be any number of management groups.", + "description": "A string representation of the resource path. For Google Cloud, it has the format of `organizations/{organization_id}/folders/{folder_id}/folders/{folder_id}/projects/{project_id}` where there can be any number of folders. For AWS, it has the format of `org/{organization_id}/ou/{organizational_unit_id}/ou/{organizational_unit_id}/account/{account_id}` where there can be any number of organizational units. For Azure, it has the format of `mg/{management_group_id}/mg/{management_group_id}/subscription/{subscription_id}/rg/{resource_group_name}` where there can be any number of management groups.", "type": "string" }, "service": { @@ -2923,11 +2923,11 @@ "additionalProperties": { "type": "string" }, - "description": "List of resource labels to search for, evaluated with AND. For example, \"resource_labels_selector\": {\"key\": \"value\", \"env\": \"prod\"} will match resources with labels \"key\": \"value\" AND \"env\": \"prod\" https://cloud.google.com/resource-manager/docs/creating-managing-labels", + "description": "List of resource labels to search for, evaluated with `AND`. For example, `\"resource_labels_selector\": {\"key\": \"value\", \"env\": \"prod\"}` will match resources with labels \"key\": \"value\" `AND` \"env\": \"prod\" https://cloud.google.com/resource-manager/docs/creating-managing-labels", "type": "object" }, "resourceType": { - "description": "Apply resource_value only to resources that match resource_type. resource_type will be checked with AND of other resources. For example, \"storage.googleapis.com/Bucket\" with resource_value \"HIGH\" will apply \"HIGH\" value only to \"storage.googleapis.com/Bucket\" resources.", + "description": "Apply resource_value only to resources that match resource_type. resource_type will be checked with `AND` of other resources. For example, \"storage.googleapis.com/Bucket\" with resource_value \"HIGH\" will apply \"HIGH\" value only to \"storage.googleapis.com/Bucket\" resources.", "type": "string" }, "resourceValue": { @@ -2949,7 +2949,7 @@ "type": "string" }, "scope": { - "description": "Project or folder to scope this configuration to. For example, \"project/456\" would apply this configuration only to resources in \"project/456\" scope will be checked with AND of other resources.", + "description": "Project or folder to scope this configuration to. For example, \"project/456\" would apply this configuration only to resources in \"project/456\" scope will be checked with `AND` of other resources.", "type": "string" }, "sensitiveDataProtectionMapping": { @@ -2957,7 +2957,7 @@ "description": "A mapping of the sensitivity on Sensitive Data Protection finding to resource values. This mapping can only be used in combination with a resource_type that is related to BigQuery, e.g. \"bigquery.googleapis.com/Dataset\"." }, "tagValues": { - "description": "Required. Tag values combined with AND to check against. Values in the form \"tagValues/123\" Example: [ \"tagValues/123\", \"tagValues/456\", \"tagValues/789\" ] https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing", + "description": "Required. Tag values combined with `AND` to check against. Values in the form \"tagValues/123\" Example: `[ \"tagValues/123\", \"tagValues/456\", \"tagValues/789\" ]` https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing", "items": { "type": "string" }, @@ -3549,7 +3549,7 @@ "id": "GoogleCloudSecuritycenterV2AttackExposure", "properties": { "attackExposureResult": { - "description": "The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: organizations/123/simulations/456/attackExposureResults/789", + "description": "The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: `organizations/123/simulations/456/attackExposureResults/789`", "type": "string" }, "exposedHighValueResourcesCount": { @@ -3667,7 +3667,7 @@ "type": "string" }, "id": { - "description": "The UUID of the Azure management group, for example, \"20000000-0001-0000-0000-000000000000\".", + "description": "The UUID of the Azure management group, for example, `20000000-0001-0000-0000-000000000000`.", "type": "string" } }, @@ -3715,7 +3715,7 @@ "type": "string" }, "id": { - "description": "The UUID of the Azure subscription, for example, \"291bba3f-e0a5-47bc-a099-3bdcb2a50a05\".", + "description": "The UUID of the Azure subscription, for example, `291bba3f-e0a5-47bc-a099-3bdcb2a50a05`.", "type": "string" } }, @@ -5145,8 +5145,10 @@ "COMMAND_AND_SCRIPTING_INTERPRETER", "UNIX_SHELL", "PYTHON", + "EXPLOITATION_FOR_PRIVILEGE_ESCALATION", "PERMISSION_GROUPS_DISCOVERY", "CLOUD_GROUPS", + "INDICATOR_REMOVAL_FILE_DELETION", "APPLICATION_LAYER_PROTOCOL", "DNS", "SOFTWARE_DEPLOYMENT_TOOLS", @@ -5210,8 +5212,10 @@ "T1059", "T1059.004", "T1059.006", + "T1068", "T1069", "T1069.003", + "T1070.004", "T1071", "T1071.004", "T1072", @@ -5259,7 +5263,7 @@ "T1588", "T1595", "T1595.001", - "T1613", + "T1609", "T1611", "T1613", "T1649" @@ -5320,8 +5324,10 @@ "COMMAND_AND_SCRIPTING_INTERPRETER", "UNIX_SHELL", "PYTHON", + "EXPLOITATION_FOR_PRIVILEGE_ESCALATION", "PERMISSION_GROUPS_DISCOVERY", "CLOUD_GROUPS", + "INDICATOR_REMOVAL_FILE_DELETION", "APPLICATION_LAYER_PROTOCOL", "DNS", "SOFTWARE_DEPLOYMENT_TOOLS", @@ -5385,8 +5391,10 @@ "T1059", "T1059.004", "T1059.006", + "T1068", "T1069", "T1069.003", + "T1070.004", "T1071", "T1071.004", "T1072", @@ -5434,7 +5442,7 @@ "T1588", "T1595", "T1595.001", - "T1613", + "T1609", "T1611", "T1613", "T1649" @@ -5860,7 +5868,7 @@ "description": "Provides the path to the resource within the resource hierarchy." }, "resourcePathString": { - "description": "A string representation of the resource path. For Google Cloud, it has the format of organizations/{organization_id}/folders/{folder_id}/folders/{folder_id}/projects/{project_id} where there can be any number of folders. For AWS, it has the format of org/{organization_id}/ou/{organizational_unit_id}/ou/{organizational_unit_id}/account/{account_id} where there can be any number of organizational units. For Azure, it has the format of mg/{management_group_id}/mg/{management_group_id}/subscription/{subscription_id}/rg/{resource_group_name} where there can be any number of management groups.", + "description": "A string representation of the resource path. For Google Cloud, it has the format of `organizations/{organization_id}/folders/{folder_id}/folders/{folder_id}/projects/{project_id}` where there can be any number of folders. For AWS, it has the format of `org/{organization_id}/ou/{organizational_unit_id}/ou/{organizational_unit_id}/account/{account_id}` where there can be any number of organizational units. For Azure, it has the format of `mg/{management_group_id}/mg/{management_group_id}/subscription/{subscription_id}/rg/{resource_group_name}` where there can be any number of management groups.", "type": "string" }, "service": { @@ -5969,11 +5977,11 @@ "additionalProperties": { "type": "string" }, - "description": "List of resource labels to search for, evaluated with AND. For example, \"resource_labels_selector\": {\"key\": \"value\", \"env\": \"prod\"} will match resources with labels \"key\": \"value\" AND \"env\": \"prod\" https://cloud.google.com/resource-manager/docs/creating-managing-labels", + "description": "List of resource labels to search for, evaluated with `AND`. For example, \"resource_labels_selector\": {\"key\": \"value\", \"env\": \"prod\"} will match resources with labels \"key\": \"value\" `AND` \"env\": \"prod\" https://cloud.google.com/resource-manager/docs/creating-managing-labels", "type": "object" }, "resourceType": { - "description": "Apply resource_value only to resources that match resource_type. resource_type will be checked with AND of other resources. For example, \"storage.googleapis.com/Bucket\" with resource_value \"HIGH\" will apply \"HIGH\" value only to \"storage.googleapis.com/Bucket\" resources.", + "description": "Apply resource_value only to resources that match resource_type. resource_type will be checked with `AND` of other resources. For example, \"storage.googleapis.com/Bucket\" with resource_value \"HIGH\" will apply \"HIGH\" value only to \"storage.googleapis.com/Bucket\" resources.", "type": "string" }, "resourceValue": { @@ -5995,7 +6003,7 @@ "type": "string" }, "scope": { - "description": "Project or folder to scope this configuration to. For example, \"project/456\" would apply this configuration only to resources in \"project/456\" scope will be checked with AND of other resources.", + "description": "Project or folder to scope this configuration to. For example, \"project/456\" would apply this configuration only to resources in \"project/456\" scope will be checked with `AND` of other resources.", "type": "string" }, "sensitiveDataProtectionMapping": { @@ -6003,7 +6011,7 @@ "description": "A mapping of the sensitivity on Sensitive Data Protection finding to resource values. This mapping can only be used in combination with a resource_type that is related to BigQuery, e.g. \"bigquery.googleapis.com/Dataset\"." }, "tagValues": { - "description": "Required. Tag values combined with AND to check against. Values in the form \"tagValues/123\" Example: [ \"tagValues/123\", \"tagValues/456\", \"tagValues/789\" ] https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing", + "description": "Required. Tag values combined with `AND` to check against. Values in the form \"tagValues/123\" Example: `[ \"tagValues/123\", \"tagValues/456\", \"tagValues/789\" ]` https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing", "items": { "type": "string" }, @@ -6281,7 +6289,7 @@ "type": "number" }, "relatedFindings": { - "description": "List of resource names of findings associated with this toxic combination. For example, organizations/123/sources/456/findings/789.", + "description": "List of resource names of findings associated with this toxic combination. For example, `organizations/123/sources/456/findings/789`.", "items": { "type": "string" }, @@ -6873,8 +6881,10 @@ "COMMAND_AND_SCRIPTING_INTERPRETER", "UNIX_SHELL", "PYTHON", + "EXPLOITATION_FOR_PRIVILEGE_ESCALATION", "PERMISSION_GROUPS_DISCOVERY", "CLOUD_GROUPS", + "INDICATOR_REMOVAL_FILE_DELETION", "APPLICATION_LAYER_PROTOCOL", "DNS", "SOFTWARE_DEPLOYMENT_TOOLS", @@ -6938,8 +6948,10 @@ "T1059", "T1059.004", "T1059.006", + "T1068", "T1069", "T1069.003", + "T1070.004", "T1071", "T1071.004", "T1072", @@ -7048,8 +7060,10 @@ "COMMAND_AND_SCRIPTING_INTERPRETER", "UNIX_SHELL", "PYTHON", + "EXPLOITATION_FOR_PRIVILEGE_ESCALATION", "PERMISSION_GROUPS_DISCOVERY", "CLOUD_GROUPS", + "INDICATOR_REMOVAL_FILE_DELETION", "APPLICATION_LAYER_PROTOCOL", "DNS", "SOFTWARE_DEPLOYMENT_TOOLS", @@ -7113,8 +7127,10 @@ "T1059", "T1059.004", "T1059.006", + "T1068", "T1069", "T1069.003", + "T1070.004", "T1071", "T1071.004", "T1072", @@ -7986,7 +8002,7 @@ "type": "number" }, "relatedFindings": { - "description": "List of resource names of findings associated with this toxic combination. For example, organizations/123/sources/456/findings/789.", + "description": "List of resource names of findings associated with this toxic combination. For example, `organizations/123/sources/456/findings/789`.", "items": { "type": "string" }, diff --git a/discovery/securitycenter-v1beta2.json b/discovery/securitycenter-v1beta2.json index 431ba799d4..67660871f6 100644 --- a/discovery/securitycenter-v1beta2.json +++ b/discovery/securitycenter-v1beta2.json @@ -1906,7 +1906,7 @@ } } }, - "revision": "20240622", + "revision": "20240705", "rootUrl": "https://securitycenter.googleapis.com/", "schemas": { "Access": { @@ -2051,7 +2051,7 @@ "id": "AttackExposure", "properties": { "attackExposureResult": { - "description": "The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: organizations/123/simulations/456/attackExposureResults/789", + "description": "The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: `organizations/123/simulations/456/attackExposureResults/789`", "type": "string" }, "exposedHighValueResourcesCount": { @@ -2168,7 +2168,7 @@ "type": "string" }, "id": { - "description": "The UUID of the Azure management group, for example, \"20000000-0001-0000-0000-000000000000\".", + "description": "The UUID of the Azure management group, for example, `20000000-0001-0000-0000-000000000000`.", "type": "string" } }, @@ -2216,7 +2216,7 @@ "type": "string" }, "id": { - "description": "The UUID of the Azure subscription, for example, \"291bba3f-e0a5-47bc-a099-3bdcb2a50a05\".", + "description": "The UUID of the Azure subscription, for example, `291bba3f-e0a5-47bc-a099-3bdcb2a50a05`.", "type": "string" } }, @@ -3732,7 +3732,7 @@ "type": "string" }, "name": { - "description": "This field will be ignored if provided on config creation. Format \"organizations/{organization}/muteConfigs/{mute_config}\" \"folders/{folder}/muteConfigs/{mute_config}\" \"projects/{project}/muteConfigs/{mute_config}\" \"organizations/{organization}/locations/global/muteConfigs/{mute_config}\" \"folders/{folder}/locations/global/muteConfigs/{mute_config}\" \"projects/{project}/locations/global/muteConfigs/{mute_config}\"", + "description": "This field will be ignored if provided on config creation. Format `organizations/{organization}/muteConfigs/{mute_config}` `folders/{folder}/muteConfigs/{mute_config}` `projects/{project}/muteConfigs/{mute_config}` `organizations/{organization}/locations/global/muteConfigs/{mute_config}` `folders/{folder}/locations/global/muteConfigs/{mute_config}` `projects/{project}/locations/global/muteConfigs/{mute_config}`", "type": "string" }, "updateTime": { @@ -3851,7 +3851,7 @@ "description": "Provides the path to the resource within the resource hierarchy." }, "resourcePathString": { - "description": "A string representation of the resource path. For Google Cloud, it has the format of organizations/{organization_id}/folders/{folder_id}/folders/{folder_id}/projects/{project_id} where there can be any number of folders. For AWS, it has the format of org/{organization_id}/ou/{organizational_unit_id}/ou/{organizational_unit_id}/account/{account_id} where there can be any number of organizational units. For Azure, it has the format of mg/{management_group_id}/mg/{management_group_id}/subscription/{subscription_id}/rg/{resource_group_name} where there can be any number of management groups.", + "description": "A string representation of the resource path. For Google Cloud, it has the format of `organizations/{organization_id}/folders/{folder_id}/folders/{folder_id}/projects/{project_id}` where there can be any number of folders. For AWS, it has the format of `org/{organization_id}/ou/{organizational_unit_id}/ou/{organizational_unit_id}/account/{account_id}` where there can be any number of organizational units. For Azure, it has the format of `mg/{management_group_id}/mg/{management_group_id}/subscription/{subscription_id}/rg/{resource_group_name}` where there can be any number of management groups.", "type": "string" }, "service": { @@ -3917,11 +3917,11 @@ "additionalProperties": { "type": "string" }, - "description": "List of resource labels to search for, evaluated with AND. For example, \"resource_labels_selector\": {\"key\": \"value\", \"env\": \"prod\"} will match resources with labels \"key\": \"value\" AND \"env\": \"prod\" https://cloud.google.com/resource-manager/docs/creating-managing-labels", + "description": "List of resource labels to search for, evaluated with `AND`. For example, `\"resource_labels_selector\": {\"key\": \"value\", \"env\": \"prod\"}` will match resources with labels \"key\": \"value\" `AND` \"env\": \"prod\" https://cloud.google.com/resource-manager/docs/creating-managing-labels", "type": "object" }, "resourceType": { - "description": "Apply resource_value only to resources that match resource_type. resource_type will be checked with AND of other resources. For example, \"storage.googleapis.com/Bucket\" with resource_value \"HIGH\" will apply \"HIGH\" value only to \"storage.googleapis.com/Bucket\" resources.", + "description": "Apply resource_value only to resources that match resource_type. resource_type will be checked with `AND` of other resources. For example, \"storage.googleapis.com/Bucket\" with resource_value \"HIGH\" will apply \"HIGH\" value only to \"storage.googleapis.com/Bucket\" resources.", "type": "string" }, "resourceValue": { @@ -3943,7 +3943,7 @@ "type": "string" }, "scope": { - "description": "Project or folder to scope this configuration to. For example, \"project/456\" would apply this configuration only to resources in \"project/456\" scope will be checked with AND of other resources.", + "description": "Project or folder to scope this configuration to. For example, \"project/456\" would apply this configuration only to resources in \"project/456\" scope will be checked with `AND` of other resources.", "type": "string" }, "sensitiveDataProtectionMapping": { @@ -3951,7 +3951,7 @@ "description": "A mapping of the sensitivity on Sensitive Data Protection finding to resource values. This mapping can only be used in combination with a resource_type that is related to BigQuery, e.g. \"bigquery.googleapis.com/Dataset\"." }, "tagValues": { - "description": "Required. Tag values combined with AND to check against. Values in the form \"tagValues/123\" Example: [ \"tagValues/123\", \"tagValues/456\", \"tagValues/789\" ] https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing", + "description": "Required. Tag values combined with `AND` to check against. Values in the form \"tagValues/123\" Example: `[ \"tagValues/123\", \"tagValues/456\", \"tagValues/789\" ]` https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing", "items": { "type": "string" }, @@ -4462,7 +4462,7 @@ "id": "GoogleCloudSecuritycenterV2AttackExposure", "properties": { "attackExposureResult": { - "description": "The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: organizations/123/simulations/456/attackExposureResults/789", + "description": "The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: `organizations/123/simulations/456/attackExposureResults/789`", "type": "string" }, "exposedHighValueResourcesCount": { @@ -4580,7 +4580,7 @@ "type": "string" }, "id": { - "description": "The UUID of the Azure management group, for example, \"20000000-0001-0000-0000-000000000000\".", + "description": "The UUID of the Azure management group, for example, `20000000-0001-0000-0000-000000000000`.", "type": "string" } }, @@ -4628,7 +4628,7 @@ "type": "string" }, "id": { - "description": "The UUID of the Azure subscription, for example, \"291bba3f-e0a5-47bc-a099-3bdcb2a50a05\".", + "description": "The UUID of the Azure subscription, for example, `291bba3f-e0a5-47bc-a099-3bdcb2a50a05`.", "type": "string" } }, @@ -6058,8 +6058,10 @@ "COMMAND_AND_SCRIPTING_INTERPRETER", "UNIX_SHELL", "PYTHON", + "EXPLOITATION_FOR_PRIVILEGE_ESCALATION", "PERMISSION_GROUPS_DISCOVERY", "CLOUD_GROUPS", + "INDICATOR_REMOVAL_FILE_DELETION", "APPLICATION_LAYER_PROTOCOL", "DNS", "SOFTWARE_DEPLOYMENT_TOOLS", @@ -6123,8 +6125,10 @@ "T1059", "T1059.004", "T1059.006", + "T1068", "T1069", "T1069.003", + "T1070.004", "T1071", "T1071.004", "T1072", @@ -6172,7 +6176,7 @@ "T1588", "T1595", "T1595.001", - "T1613", + "T1609", "T1611", "T1613", "T1649" @@ -6233,8 +6237,10 @@ "COMMAND_AND_SCRIPTING_INTERPRETER", "UNIX_SHELL", "PYTHON", + "EXPLOITATION_FOR_PRIVILEGE_ESCALATION", "PERMISSION_GROUPS_DISCOVERY", "CLOUD_GROUPS", + "INDICATOR_REMOVAL_FILE_DELETION", "APPLICATION_LAYER_PROTOCOL", "DNS", "SOFTWARE_DEPLOYMENT_TOOLS", @@ -6298,8 +6304,10 @@ "T1059", "T1059.004", "T1059.006", + "T1068", "T1069", "T1069.003", + "T1070.004", "T1071", "T1071.004", "T1072", @@ -6347,7 +6355,7 @@ "T1588", "T1595", "T1595.001", - "T1613", + "T1609", "T1611", "T1613", "T1649" @@ -6773,7 +6781,7 @@ "description": "Provides the path to the resource within the resource hierarchy." }, "resourcePathString": { - "description": "A string representation of the resource path. For Google Cloud, it has the format of organizations/{organization_id}/folders/{folder_id}/folders/{folder_id}/projects/{project_id} where there can be any number of folders. For AWS, it has the format of org/{organization_id}/ou/{organizational_unit_id}/ou/{organizational_unit_id}/account/{account_id} where there can be any number of organizational units. For Azure, it has the format of mg/{management_group_id}/mg/{management_group_id}/subscription/{subscription_id}/rg/{resource_group_name} where there can be any number of management groups.", + "description": "A string representation of the resource path. For Google Cloud, it has the format of `organizations/{organization_id}/folders/{folder_id}/folders/{folder_id}/projects/{project_id}` where there can be any number of folders. For AWS, it has the format of `org/{organization_id}/ou/{organizational_unit_id}/ou/{organizational_unit_id}/account/{account_id}` where there can be any number of organizational units. For Azure, it has the format of `mg/{management_group_id}/mg/{management_group_id}/subscription/{subscription_id}/rg/{resource_group_name}` where there can be any number of management groups.", "type": "string" }, "service": { @@ -6882,11 +6890,11 @@ "additionalProperties": { "type": "string" }, - "description": "List of resource labels to search for, evaluated with AND. For example, \"resource_labels_selector\": {\"key\": \"value\", \"env\": \"prod\"} will match resources with labels \"key\": \"value\" AND \"env\": \"prod\" https://cloud.google.com/resource-manager/docs/creating-managing-labels", + "description": "List of resource labels to search for, evaluated with `AND`. For example, \"resource_labels_selector\": {\"key\": \"value\", \"env\": \"prod\"} will match resources with labels \"key\": \"value\" `AND` \"env\": \"prod\" https://cloud.google.com/resource-manager/docs/creating-managing-labels", "type": "object" }, "resourceType": { - "description": "Apply resource_value only to resources that match resource_type. resource_type will be checked with AND of other resources. For example, \"storage.googleapis.com/Bucket\" with resource_value \"HIGH\" will apply \"HIGH\" value only to \"storage.googleapis.com/Bucket\" resources.", + "description": "Apply resource_value only to resources that match resource_type. resource_type will be checked with `AND` of other resources. For example, \"storage.googleapis.com/Bucket\" with resource_value \"HIGH\" will apply \"HIGH\" value only to \"storage.googleapis.com/Bucket\" resources.", "type": "string" }, "resourceValue": { @@ -6908,7 +6916,7 @@ "type": "string" }, "scope": { - "description": "Project or folder to scope this configuration to. For example, \"project/456\" would apply this configuration only to resources in \"project/456\" scope will be checked with AND of other resources.", + "description": "Project or folder to scope this configuration to. For example, \"project/456\" would apply this configuration only to resources in \"project/456\" scope will be checked with `AND` of other resources.", "type": "string" }, "sensitiveDataProtectionMapping": { @@ -6916,7 +6924,7 @@ "description": "A mapping of the sensitivity on Sensitive Data Protection finding to resource values. This mapping can only be used in combination with a resource_type that is related to BigQuery, e.g. \"bigquery.googleapis.com/Dataset\"." }, "tagValues": { - "description": "Required. Tag values combined with AND to check against. Values in the form \"tagValues/123\" Example: [ \"tagValues/123\", \"tagValues/456\", \"tagValues/789\" ] https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing", + "description": "Required. Tag values combined with `AND` to check against. Values in the form \"tagValues/123\" Example: `[ \"tagValues/123\", \"tagValues/456\", \"tagValues/789\" ]` https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing", "items": { "type": "string" }, @@ -7194,7 +7202,7 @@ "type": "number" }, "relatedFindings": { - "description": "List of resource names of findings associated with this toxic combination. For example, organizations/123/sources/456/findings/789.", + "description": "List of resource names of findings associated with this toxic combination. For example, `organizations/123/sources/456/findings/789`.", "items": { "type": "string" }, @@ -7537,8 +7545,10 @@ "COMMAND_AND_SCRIPTING_INTERPRETER", "UNIX_SHELL", "PYTHON", + "EXPLOITATION_FOR_PRIVILEGE_ESCALATION", "PERMISSION_GROUPS_DISCOVERY", "CLOUD_GROUPS", + "INDICATOR_REMOVAL_FILE_DELETION", "APPLICATION_LAYER_PROTOCOL", "DNS", "SOFTWARE_DEPLOYMENT_TOOLS", @@ -7602,8 +7612,10 @@ "T1059", "T1059.004", "T1059.006", + "T1068", "T1069", "T1069.003", + "T1070.004", "T1071", "T1071.004", "T1072", @@ -7712,8 +7724,10 @@ "COMMAND_AND_SCRIPTING_INTERPRETER", "UNIX_SHELL", "PYTHON", + "EXPLOITATION_FOR_PRIVILEGE_ESCALATION", "PERMISSION_GROUPS_DISCOVERY", "CLOUD_GROUPS", + "INDICATOR_REMOVAL_FILE_DELETION", "APPLICATION_LAYER_PROTOCOL", "DNS", "SOFTWARE_DEPLOYMENT_TOOLS", @@ -7777,8 +7791,10 @@ "T1059", "T1059.004", "T1059.006", + "T1068", "T1069", "T1069.003", + "T1070.004", "T1071", "T1071.004", "T1072", @@ -8557,7 +8573,7 @@ "type": "number" }, "relatedFindings": { - "description": "List of resource names of findings associated with this toxic combination. For example, organizations/123/sources/456/findings/789.", + "description": "List of resource names of findings associated with this toxic combination. For example, `organizations/123/sources/456/findings/789`.", "items": { "type": "string" }, diff --git a/discovery/serviceconsumermanagement-v1.json b/discovery/serviceconsumermanagement-v1.json index 152879431f..183b086949 100644 --- a/discovery/serviceconsumermanagement-v1.json +++ b/discovery/serviceconsumermanagement-v1.json @@ -542,7 +542,7 @@ } } }, - "revision": "20240623", + "revision": "20240707", "rootUrl": "https://serviceconsumermanagement.googleapis.com/", "schemas": { "AddTenantProjectRequest": { @@ -1126,7 +1126,7 @@ "type": "object" }, "Documentation": { - "description": "`Documentation` provides the information for describing a service. Example: documentation: summary: > The Google Calendar API gives access to most calendar features. pages: - name: Overview content: (== include google/foo/overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==) subpages: - name: Java content: (== include google/foo/tutorial_java.md ==) rules: - selector: google.calendar.Calendar.Get description: > ... - selector: google.calendar.Calendar.Put description: > ... Documentation is provided in markdown syntax. In addition to standard markdown features, definition lists, tables and fenced code blocks are supported. Section headers can be provided and are interpreted relative to the section nesting of the context where a documentation fragment is embedded. Documentation from the IDL is merged with documentation defined via the config at normalization time, where documentation provided by config rules overrides IDL provided. A number of constructs specific to the API platform are supported in documentation text. In order to reference a proto element, the following notation can be used: [fully.qualified.proto.name][] To override the display text used for the link, this can be used: [display text][fully.qualified.proto.name] Text can be excluded from doc using the following notation: (-- internal comment --) A few directives are available in documentation. Note that directives must appear on a single line to be properly identified. The `include` directive includes a markdown file from an external source: (== include path/to/file ==) The `resource_for` directive marks a message to be the resource of a collection in REST view. If it is not specified, tools attempt to infer the resource from the operations in a collection: (== resource_for v1.shelves.books ==) The directive `suppress_warning` does not directly affect documentation and is documented together with service config validation.", + "description": "`Documentation` provides the information for describing a service. Example: documentation: summary: > The Google Calendar API gives access to most calendar features. pages: - name: Overview content: (== include google/foo/overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==) subpages: - name: Java content: (== include google/foo/tutorial_java.md ==) rules: - selector: google.calendar.Calendar.Get description: > ... - selector: google.calendar.Calendar.Put description: > ... code_snippet_rules: - selector: google.calendar.Calendar.Delete code_snippets: - includes: - github_include: region_tag: calendar_delete code_language: JAVA account: GoogleCloudPlatform project: java-docs-samples file: calendar/delete.java Documentation is provided in markdown syntax. In addition to standard markdown features, definition lists, tables and fenced code blocks are supported. Section headers can be provided and are interpreted relative to the section nesting of the context where a documentation fragment is embedded. Documentation from the IDL is merged with documentation defined via the config at normalization time, where documentation provided by config rules overrides IDL provided. A number of constructs specific to the API platform are supported in documentation text. In order to reference a proto element, the following notation can be used: [fully.qualified.proto.name][] To override the display text used for the link, this can be used: [display text][fully.qualified.proto.name] Text can be excluded from doc using the following notation: (-- internal comment --) A few directives are available in documentation. Note that directives must appear on a single line to be properly identified. The `include` directive includes a markdown file from an external source: (== include path/to/file ==) The `resource_for` directive marks a message to be the resource of a collection in REST view. If it is not specified, tools attempt to infer the resource from the operations in a collection: (== resource_for v1.shelves.books ==) The directive `suppress_warning` does not directly affect documentation and is documented together with service config validation.", "id": "Documentation", "properties": { "documentationRootUrl": { diff --git a/discovery/serviceconsumermanagement-v1beta1.json b/discovery/serviceconsumermanagement-v1beta1.json index 85aea90165..e2dd27179f 100644 --- a/discovery/serviceconsumermanagement-v1beta1.json +++ b/discovery/serviceconsumermanagement-v1beta1.json @@ -715,7 +715,7 @@ } } }, - "revision": "20240623", + "revision": "20240707", "rootUrl": "https://serviceconsumermanagement.googleapis.com/", "schemas": { "Api": { @@ -1211,7 +1211,7 @@ "type": "object" }, "Documentation": { - "description": "`Documentation` provides the information for describing a service. Example: documentation: summary: > The Google Calendar API gives access to most calendar features. pages: - name: Overview content: (== include google/foo/overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==) subpages: - name: Java content: (== include google/foo/tutorial_java.md ==) rules: - selector: google.calendar.Calendar.Get description: > ... - selector: google.calendar.Calendar.Put description: > ... Documentation is provided in markdown syntax. In addition to standard markdown features, definition lists, tables and fenced code blocks are supported. Section headers can be provided and are interpreted relative to the section nesting of the context where a documentation fragment is embedded. Documentation from the IDL is merged with documentation defined via the config at normalization time, where documentation provided by config rules overrides IDL provided. A number of constructs specific to the API platform are supported in documentation text. In order to reference a proto element, the following notation can be used: [fully.qualified.proto.name][] To override the display text used for the link, this can be used: [display text][fully.qualified.proto.name] Text can be excluded from doc using the following notation: (-- internal comment --) A few directives are available in documentation. Note that directives must appear on a single line to be properly identified. The `include` directive includes a markdown file from an external source: (== include path/to/file ==) The `resource_for` directive marks a message to be the resource of a collection in REST view. If it is not specified, tools attempt to infer the resource from the operations in a collection: (== resource_for v1.shelves.books ==) The directive `suppress_warning` does not directly affect documentation and is documented together with service config validation.", + "description": "`Documentation` provides the information for describing a service. Example: documentation: summary: > The Google Calendar API gives access to most calendar features. pages: - name: Overview content: (== include google/foo/overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==) subpages: - name: Java content: (== include google/foo/tutorial_java.md ==) rules: - selector: google.calendar.Calendar.Get description: > ... - selector: google.calendar.Calendar.Put description: > ... code_snippet_rules: - selector: google.calendar.Calendar.Delete code_snippets: - includes: - github_include: region_tag: calendar_delete code_language: JAVA account: GoogleCloudPlatform project: java-docs-samples file: calendar/delete.java Documentation is provided in markdown syntax. In addition to standard markdown features, definition lists, tables and fenced code blocks are supported. Section headers can be provided and are interpreted relative to the section nesting of the context where a documentation fragment is embedded. Documentation from the IDL is merged with documentation defined via the config at normalization time, where documentation provided by config rules overrides IDL provided. A number of constructs specific to the API platform are supported in documentation text. In order to reference a proto element, the following notation can be used: [fully.qualified.proto.name][] To override the display text used for the link, this can be used: [display text][fully.qualified.proto.name] Text can be excluded from doc using the following notation: (-- internal comment --) A few directives are available in documentation. Note that directives must appear on a single line to be properly identified. The `include` directive includes a markdown file from an external source: (== include path/to/file ==) The `resource_for` directive marks a message to be the resource of a collection in REST view. If it is not specified, tools attempt to infer the resource from the operations in a collection: (== resource_for v1.shelves.books ==) The directive `suppress_warning` does not directly affect documentation and is documented together with service config validation.", "id": "Documentation", "properties": { "documentationRootUrl": { diff --git a/discovery/servicemanagement-v1.json b/discovery/servicemanagement-v1.json index efefee8aa0..30057210ae 100644 --- a/discovery/servicemanagement-v1.json +++ b/discovery/servicemanagement-v1.json @@ -830,7 +830,7 @@ } } }, - "revision": "20240531", + "revision": "20240705", "rootUrl": "https://servicemanagement.googleapis.com/", "schemas": { "Advice": { @@ -1561,7 +1561,7 @@ "type": "object" }, "Documentation": { - "description": "`Documentation` provides the information for describing a service. Example: documentation: summary: > The Google Calendar API gives access to most calendar features. pages: - name: Overview content: (== include google/foo/overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==) subpages: - name: Java content: (== include google/foo/tutorial_java.md ==) rules: - selector: google.calendar.Calendar.Get description: > ... - selector: google.calendar.Calendar.Put description: > ... Documentation is provided in markdown syntax. In addition to standard markdown features, definition lists, tables and fenced code blocks are supported. Section headers can be provided and are interpreted relative to the section nesting of the context where a documentation fragment is embedded. Documentation from the IDL is merged with documentation defined via the config at normalization time, where documentation provided by config rules overrides IDL provided. A number of constructs specific to the API platform are supported in documentation text. In order to reference a proto element, the following notation can be used: [fully.qualified.proto.name][] To override the display text used for the link, this can be used: [display text][fully.qualified.proto.name] Text can be excluded from doc using the following notation: (-- internal comment --) A few directives are available in documentation. Note that directives must appear on a single line to be properly identified. The `include` directive includes a markdown file from an external source: (== include path/to/file ==) The `resource_for` directive marks a message to be the resource of a collection in REST view. If it is not specified, tools attempt to infer the resource from the operations in a collection: (== resource_for v1.shelves.books ==) The directive `suppress_warning` does not directly affect documentation and is documented together with service config validation.", + "description": "`Documentation` provides the information for describing a service. Example: documentation: summary: > The Google Calendar API gives access to most calendar features. pages: - name: Overview content: (== include google/foo/overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==) subpages: - name: Java content: (== include google/foo/tutorial_java.md ==) rules: - selector: google.calendar.Calendar.Get description: > ... - selector: google.calendar.Calendar.Put description: > ... code_snippet_rules: - selector: google.calendar.Calendar.Delete code_snippets: - includes: - github_include: region_tag: calendar_delete code_language: JAVA account: GoogleCloudPlatform project: java-docs-samples file: calendar/delete.java Documentation is provided in markdown syntax. In addition to standard markdown features, definition lists, tables and fenced code blocks are supported. Section headers can be provided and are interpreted relative to the section nesting of the context where a documentation fragment is embedded. Documentation from the IDL is merged with documentation defined via the config at normalization time, where documentation provided by config rules overrides IDL provided. A number of constructs specific to the API platform are supported in documentation text. In order to reference a proto element, the following notation can be used: [fully.qualified.proto.name][] To override the display text used for the link, this can be used: [display text][fully.qualified.proto.name] Text can be excluded from doc using the following notation: (-- internal comment --) A few directives are available in documentation. Note that directives must appear on a single line to be properly identified. The `include` directive includes a markdown file from an external source: (== include path/to/file ==) The `resource_for` directive marks a message to be the resource of a collection in REST view. If it is not specified, tools attempt to infer the resource from the operations in a collection: (== resource_for v1.shelves.books ==) The directive `suppress_warning` does not directly affect documentation and is documented together with service config validation.", "id": "Documentation", "properties": { "documentationRootUrl": { diff --git a/discovery/serviceusage-v1.json b/discovery/serviceusage-v1.json index 99b819e396..2cd0443113 100644 --- a/discovery/serviceusage-v1.json +++ b/discovery/serviceusage-v1.json @@ -426,7 +426,7 @@ } } }, - "revision": "20240623", + "revision": "20240707", "rootUrl": "https://serviceusage.googleapis.com/", "schemas": { "AddEnableRulesMetadata": { @@ -1147,7 +1147,7 @@ "type": "object" }, "Documentation": { - "description": "`Documentation` provides the information for describing a service. Example: documentation: summary: > The Google Calendar API gives access to most calendar features. pages: - name: Overview content: (== include google/foo/overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==) subpages: - name: Java content: (== include google/foo/tutorial_java.md ==) rules: - selector: google.calendar.Calendar.Get description: > ... - selector: google.calendar.Calendar.Put description: > ... Documentation is provided in markdown syntax. In addition to standard markdown features, definition lists, tables and fenced code blocks are supported. Section headers can be provided and are interpreted relative to the section nesting of the context where a documentation fragment is embedded. Documentation from the IDL is merged with documentation defined via the config at normalization time, where documentation provided by config rules overrides IDL provided. A number of constructs specific to the API platform are supported in documentation text. In order to reference a proto element, the following notation can be used: [fully.qualified.proto.name][] To override the display text used for the link, this can be used: [display text][fully.qualified.proto.name] Text can be excluded from doc using the following notation: (-- internal comment --) A few directives are available in documentation. Note that directives must appear on a single line to be properly identified. The `include` directive includes a markdown file from an external source: (== include path/to/file ==) The `resource_for` directive marks a message to be the resource of a collection in REST view. If it is not specified, tools attempt to infer the resource from the operations in a collection: (== resource_for v1.shelves.books ==) The directive `suppress_warning` does not directly affect documentation and is documented together with service config validation.", + "description": "`Documentation` provides the information for describing a service. Example: documentation: summary: > The Google Calendar API gives access to most calendar features. pages: - name: Overview content: (== include google/foo/overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==) subpages: - name: Java content: (== include google/foo/tutorial_java.md ==) rules: - selector: google.calendar.Calendar.Get description: > ... - selector: google.calendar.Calendar.Put description: > ... code_snippet_rules: - selector: google.calendar.Calendar.Delete code_snippets: - includes: - github_include: region_tag: calendar_delete code_language: JAVA account: GoogleCloudPlatform project: java-docs-samples file: calendar/delete.java Documentation is provided in markdown syntax. In addition to standard markdown features, definition lists, tables and fenced code blocks are supported. Section headers can be provided and are interpreted relative to the section nesting of the context where a documentation fragment is embedded. Documentation from the IDL is merged with documentation defined via the config at normalization time, where documentation provided by config rules overrides IDL provided. A number of constructs specific to the API platform are supported in documentation text. In order to reference a proto element, the following notation can be used: [fully.qualified.proto.name][] To override the display text used for the link, this can be used: [display text][fully.qualified.proto.name] Text can be excluded from doc using the following notation: (-- internal comment --) A few directives are available in documentation. Note that directives must appear on a single line to be properly identified. The `include` directive includes a markdown file from an external source: (== include path/to/file ==) The `resource_for` directive marks a message to be the resource of a collection in REST view. If it is not specified, tools attempt to infer the resource from the operations in a collection: (== resource_for v1.shelves.books ==) The directive `suppress_warning` does not directly affect documentation and is documented together with service config validation.", "id": "Documentation", "properties": { "documentationRootUrl": { diff --git a/discovery/serviceusage-v1beta1.json b/discovery/serviceusage-v1beta1.json index 6a2282f59c..b63cde6808 100644 --- a/discovery/serviceusage-v1beta1.json +++ b/discovery/serviceusage-v1beta1.json @@ -964,7 +964,7 @@ } } }, - "revision": "20240623", + "revision": "20240707", "rootUrl": "https://serviceusage.googleapis.com/", "schemas": { "AddEnableRulesMetadata": { @@ -1724,7 +1724,7 @@ "type": "object" }, "Documentation": { - "description": "`Documentation` provides the information for describing a service. Example: documentation: summary: > The Google Calendar API gives access to most calendar features. pages: - name: Overview content: (== include google/foo/overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==) subpages: - name: Java content: (== include google/foo/tutorial_java.md ==) rules: - selector: google.calendar.Calendar.Get description: > ... - selector: google.calendar.Calendar.Put description: > ... Documentation is provided in markdown syntax. In addition to standard markdown features, definition lists, tables and fenced code blocks are supported. Section headers can be provided and are interpreted relative to the section nesting of the context where a documentation fragment is embedded. Documentation from the IDL is merged with documentation defined via the config at normalization time, where documentation provided by config rules overrides IDL provided. A number of constructs specific to the API platform are supported in documentation text. In order to reference a proto element, the following notation can be used: [fully.qualified.proto.name][] To override the display text used for the link, this can be used: [display text][fully.qualified.proto.name] Text can be excluded from doc using the following notation: (-- internal comment --) A few directives are available in documentation. Note that directives must appear on a single line to be properly identified. The `include` directive includes a markdown file from an external source: (== include path/to/file ==) The `resource_for` directive marks a message to be the resource of a collection in REST view. If it is not specified, tools attempt to infer the resource from the operations in a collection: (== resource_for v1.shelves.books ==) The directive `suppress_warning` does not directly affect documentation and is documented together with service config validation.", + "description": "`Documentation` provides the information for describing a service. Example: documentation: summary: > The Google Calendar API gives access to most calendar features. pages: - name: Overview content: (== include google/foo/overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==) subpages: - name: Java content: (== include google/foo/tutorial_java.md ==) rules: - selector: google.calendar.Calendar.Get description: > ... - selector: google.calendar.Calendar.Put description: > ... code_snippet_rules: - selector: google.calendar.Calendar.Delete code_snippets: - includes: - github_include: region_tag: calendar_delete code_language: JAVA account: GoogleCloudPlatform project: java-docs-samples file: calendar/delete.java Documentation is provided in markdown syntax. In addition to standard markdown features, definition lists, tables and fenced code blocks are supported. Section headers can be provided and are interpreted relative to the section nesting of the context where a documentation fragment is embedded. Documentation from the IDL is merged with documentation defined via the config at normalization time, where documentation provided by config rules overrides IDL provided. A number of constructs specific to the API platform are supported in documentation text. In order to reference a proto element, the following notation can be used: [fully.qualified.proto.name][] To override the display text used for the link, this can be used: [display text][fully.qualified.proto.name] Text can be excluded from doc using the following notation: (-- internal comment --) A few directives are available in documentation. Note that directives must appear on a single line to be properly identified. The `include` directive includes a markdown file from an external source: (== include path/to/file ==) The `resource_for` directive marks a message to be the resource of a collection in REST view. If it is not specified, tools attempt to infer the resource from the operations in a collection: (== resource_for v1.shelves.books ==) The directive `suppress_warning` does not directly affect documentation and is documented together with service config validation.", "id": "Documentation", "properties": { "documentationRootUrl": { diff --git a/discovery/sheets-v4.json b/discovery/sheets-v4.json index b506cf5b4f..933d7ad25f 100644 --- a/discovery/sheets-v4.json +++ b/discovery/sheets-v4.json @@ -870,7 +870,7 @@ } } }, - "revision": "20240521", + "revision": "20240712", "rootUrl": "https://sheets.googleapis.com/", "schemas": { "AddBandingRequest": { @@ -934,7 +934,7 @@ "type": "object" }, "AddDataSourceRequest": { - "description": "Adds a data source. After the data source is added successfully, an associated DATA_SOURCE sheet is created and an execution is triggered to refresh the sheet to read data from the data source. The request requires an additional `bigquery.readonly` OAuth scope.", + "description": "Adds a data source. After the data source is added successfully, an associated DATA_SOURCE sheet is created and an execution is triggered to refresh the sheet to read data from the data source. The request requires an additional `bigquery.readonly` OAuth scope if you are adding a BigQuery data source.", "id": "AddDataSourceRequest", "properties": { "dataSource": { @@ -2330,7 +2330,7 @@ "type": "object" }, "CancelDataSourceRefreshRequest": { - "description": "Cancels one or multiple refreshes of data source objects in the spreadsheet by the specified references.", + "description": "Cancels one or multiple refreshes of data source objects in the spreadsheet by the specified references. The request requires an additional `bigquery.readonly` OAuth scope if you are cancelling a refresh on a BigQuery data source.", "id": "CancelDataSourceRefreshRequest", "properties": { "dataSourceId": { @@ -5960,7 +5960,7 @@ "type": "object" }, "RefreshDataSourceRequest": { - "description": "Refreshes one or multiple data source objects in the spreadsheet by the specified references. The request requires an additional `bigquery.readonly` OAuth scope. If there are multiple refresh requests referencing the same data source objects in one batch, only the last refresh request is processed, and all those requests will have the same response accordingly.", + "description": "Refreshes one or multiple data source objects in the spreadsheet by the specified references. The request requires an additional `bigquery.readonly` OAuth scope if you are refreshing a BigQuery data source. If there are multiple refresh requests referencing the same data source objects in one batch, only the last refresh request is processed, and all those requests will have the same response accordingly.", "id": "RefreshDataSourceRequest", "properties": { "dataSourceId": { @@ -7468,7 +7468,7 @@ "type": "object" }, "UpdateDataSourceRequest": { - "description": "Updates a data source. After the data source is updated successfully, an execution is triggered to refresh the associated DATA_SOURCE sheet to read data from the updated data source. The request requires an additional `bigquery.readonly` OAuth scope.", + "description": "Updates a data source. After the data source is updated successfully, an execution is triggered to refresh the associated DATA_SOURCE sheet to read data from the updated data source. The request requires an additional `bigquery.readonly` OAuth scope if you are updating a BigQuery data source.", "id": "UpdateDataSourceRequest", "properties": { "dataSource": { diff --git a/discovery/spanner-v1.json b/discovery/spanner-v1.json index ee57f051e2..c237225371 100644 --- a/discovery/spanner-v1.json +++ b/discovery/spanner-v1.json @@ -23,9 +23,9 @@ "documentationLink": "https://cloud.google.com/spanner/", "endpoints": [ { + "description": "Regional Endpoint", "endpointUrl": "https://spanner.me-central2.rep.googleapis.com/", - "location": "me-central2", - "description": "Regional Endpoint" + "location": "me-central2" } ], "fullyEncodeReservedExpansion": true, @@ -123,7 +123,7 @@ "instanceConfigOperations": { "methods": { "list": { - "description": "Lists the user-managed instance config long-running operations in the given project. An instance config operation has a name of the form `projects//instanceConfigs//operations/`. The long-running operation metadata field type `metadata.type_url` describes the type of the metadata. Operations returned include those that have completed/failed/canceled within the last 7 days, and pending operations. Operations returned are ordered by `operation.metadata.value.start_time` in descending order starting from the most recently started operation.", + "description": "Lists the user-managed instance configuration long-running operations in the given project. An instance configuration operation has a name of the form `projects//instanceConfigs//operations/`. The long-running operation metadata field type `metadata.type_url` describes the type of the metadata. Operations returned include those that have completed/failed/canceled within the last 7 days, and pending operations. Operations returned are ordered by `operation.metadata.value.start_time` in descending order starting from the most recently started operation.", "flatPath": "v1/projects/{projectsId}/instanceConfigOperations", "httpMethod": "GET", "id": "spanner.projects.instanceConfigOperations.list", @@ -132,7 +132,7 @@ ], "parameters": { "filter": { - "description": "An expression that filters the list of returned operations. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string, a number, or a boolean. The comparison operator must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`. Colon `:` is the contains operator. Filter rules are not case sensitive. The following fields in the Operation are eligible for filtering: * `name` - The name of the long-running operation * `done` - False if the operation is in progress, else true. * `metadata.@type` - the type of metadata. For example, the type string for CreateInstanceConfigMetadata is `type.googleapis.com/google.spanner.admin.instance.v1.CreateInstanceConfigMetadata`. * `metadata.` - any field in metadata.value. `metadata.@type` must be specified first, if filtering on metadata fields. * `error` - Error associated with the long-running operation. * `response.@type` - the type of response. * `response.` - any field in response.value. You can combine multiple expressions by enclosing each expression in parentheses. By default, expressions are combined with AND logic. However, you can specify AND, OR, and NOT logic explicitly. Here are a few examples: * `done:true` - The operation is complete. * `(metadata.@type=` \\ `type.googleapis.com/google.spanner.admin.instance.v1.CreateInstanceConfigMetadata) AND` \\ `(metadata.instance_config.name:custom-config) AND` \\ `(metadata.progress.start_time < \\\"2021-03-28T14:50:00Z\\\") AND` \\ `(error:*)` - Return operations where: * The operation's metadata type is CreateInstanceConfigMetadata. * The instance config name contains \"custom-config\". * The operation started before 2021-03-28T14:50:00Z. * The operation resulted in an error.", + "description": "An expression that filters the list of returned operations. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string, a number, or a boolean. The comparison operator must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`. Colon `:` is the contains operator. Filter rules are not case sensitive. The following fields in the Operation are eligible for filtering: * `name` - The name of the long-running operation * `done` - False if the operation is in progress, else true. * `metadata.@type` - the type of metadata. For example, the type string for CreateInstanceConfigMetadata is `type.googleapis.com/google.spanner.admin.instance.v1.CreateInstanceConfigMetadata`. * `metadata.` - any field in metadata.value. `metadata.@type` must be specified first, if filtering on metadata fields. * `error` - Error associated with the long-running operation. * `response.@type` - the type of response. * `response.` - any field in response.value. You can combine multiple expressions by enclosing each expression in parentheses. By default, expressions are combined with AND logic. However, you can specify AND, OR, and NOT logic explicitly. Here are a few examples: * `done:true` - The operation is complete. * `(metadata.@type=` \\ `type.googleapis.com/google.spanner.admin.instance.v1.CreateInstanceConfigMetadata) AND` \\ `(metadata.instance_config.name:custom-config) AND` \\ `(metadata.progress.start_time < \\\"2021-03-28T14:50:00Z\\\") AND` \\ `(error:*)` - Return operations where: * The operation's metadata type is CreateInstanceConfigMetadata. * The instance configuration name contains \"custom-config\". * The operation started before 2021-03-28T14:50:00Z. * The operation resulted in an error.", "location": "query", "type": "string" }, @@ -148,7 +148,7 @@ "type": "string" }, "parent": { - "description": "Required. The project of the instance config operations. Values are of the form `projects/`.", + "description": "Required. The project of the instance configuration operations. Values are of the form `projects/`.", "location": "path", "pattern": "^projects/[^/]+$", "required": true, @@ -169,7 +169,7 @@ "instanceConfigs": { "methods": { "create": { - "description": "Creates an instance config and begins preparing it to be used. The returned long-running operation can be used to track the progress of preparing the new instance config. The instance config name is assigned by the caller. If the named instance config already exists, `CreateInstanceConfig` returns `ALREADY_EXISTS`. Immediately after the request returns: * The instance config is readable via the API, with all requested attributes. The instance config's reconciling field is set to true. Its state is `CREATING`. While the operation is pending: * Cancelling the operation renders the instance config immediately unreadable via the API. * Except for deleting the creating resource, all other attempts to modify the instance config are rejected. Upon completion of the returned operation: * Instances can be created using the instance configuration. * The instance config's reconciling field becomes false. Its state becomes `READY`. The returned long-running operation will have a name of the format `/operations/` and can be used to track creation of the instance config. The metadata field type is CreateInstanceConfigMetadata. The response field type is InstanceConfig, if successful. Authorization requires `spanner.instanceConfigs.create` permission on the resource parent.", + "description": "Creates an instance configuration and begins preparing it to be used. The returned long-running operation can be used to track the progress of preparing the new instance config. The instance configuration name is assigned by the caller. If the named instance configuration already exists, `CreateInstanceConfig` returns `ALREADY_EXISTS`. Immediately after the request returns: * The instance configuration is readable via the API, with all requested attributes. The instance config's reconciling field is set to true. Its state is `CREATING`. While the operation is pending: * Cancelling the operation renders the instance configuration immediately unreadable via the API. * Except for deleting the creating resource, all other attempts to modify the instance configuration are rejected. Upon completion of the returned operation: * Instances can be created using the instance configuration. * The instance config's reconciling field becomes false. Its state becomes `READY`. The returned long-running operation will have a name of the format `/operations/` and can be used to track creation of the instance config. The metadata field type is CreateInstanceConfigMetadata. The response field type is InstanceConfig, if successful. Authorization requires `spanner.instanceConfigs.create` permission on the resource parent.", "flatPath": "v1/projects/{projectsId}/instanceConfigs", "httpMethod": "POST", "id": "spanner.projects.instanceConfigs.create", @@ -198,7 +198,7 @@ ] }, "delete": { - "description": "Deletes the instance config. Deletion is only allowed when no instances are using the configuration. If any instances are using the config, returns `FAILED_PRECONDITION`. Only user managed configurations can be deleted. Authorization requires `spanner.instanceConfigs.delete` permission on the resource name.", + "description": "Deletes the instance config. Deletion is only allowed when no instances are using the configuration. If any instances are using the config, returns `FAILED_PRECONDITION`. Only user-managed configurations can be deleted. Authorization requires `spanner.instanceConfigs.delete` permission on the resource name.", "flatPath": "v1/projects/{projectsId}/instanceConfigs/{instanceConfigsId}", "httpMethod": "DELETE", "id": "spanner.projects.instanceConfigs.delete", @@ -207,7 +207,7 @@ ], "parameters": { "etag": { - "description": "Used for optimistic concurrency control as a way to help prevent simultaneous deletes of an instance config from overwriting each other. If not empty, the API only deletes the instance config when the etag provided matches the current status of the requested instance config. Otherwise, deletes the instance config without checking the current status of the requested instance config.", + "description": "Used for optimistic concurrency control as a way to help prevent simultaneous deletes of an instance configuration from overwriting each other. If not empty, the API only deletes the instance configuration when the etag provided matches the current status of the requested instance config. Otherwise, deletes the instance configuration without checking the current status of the requested instance config.", "location": "query", "type": "string" }, @@ -260,7 +260,7 @@ ] }, "list": { - "description": "Lists the supported instance configurations for a given project. Returns both Google managed configs and user managed configs.", + "description": "Lists the supported instance configurations for a given project. Returns both Google-managed configurations and user-managed configurations.", "flatPath": "v1/projects/{projectsId}/instanceConfigs", "httpMethod": "GET", "id": "spanner.projects.instanceConfigs.list", @@ -297,7 +297,7 @@ ] }, "patch": { - "description": "Updates an instance config. The returned long-running operation can be used to track the progress of updating the instance. If the named instance config does not exist, returns `NOT_FOUND`. Only user managed configurations can be updated. Immediately after the request returns: * The instance config's reconciling field is set to true. While the operation is pending: * Cancelling the operation sets its metadata's cancel_time. The operation is guaranteed to succeed at undoing all changes, after which point it terminates with a `CANCELLED` status. * All other attempts to modify the instance config are rejected. * Reading the instance config via the API continues to give the pre-request values. Upon completion of the returned operation: * Creating instances using the instance configuration uses the new values. * The instance config's new values are readable via the API. * The instance config's reconciling field becomes false. The returned long-running operation will have a name of the format `/operations/` and can be used to track the instance config modification. The metadata field type is UpdateInstanceConfigMetadata. The response field type is InstanceConfig, if successful. Authorization requires `spanner.instanceConfigs.update` permission on the resource name.", + "description": "Updates an instance config. The returned long-running operation can be used to track the progress of updating the instance. If the named instance configuration does not exist, returns `NOT_FOUND`. Only user-managed configurations can be updated. Immediately after the request returns: * The instance config's reconciling field is set to true. While the operation is pending: * Cancelling the operation sets its metadata's cancel_time. The operation is guaranteed to succeed at undoing all changes, after which point it terminates with a `CANCELLED` status. * All other attempts to modify the instance configuration are rejected. * Reading the instance configuration via the API continues to give the pre-request values. Upon completion of the returned operation: * Creating instances using the instance configuration uses the new values. * The instance config's new values are readable via the API. * The instance config's reconciling field becomes false. The returned long-running operation will have a name of the format `/operations/` and can be used to track the instance configuration modification. The metadata field type is UpdateInstanceConfigMetadata. The response field type is InstanceConfig, if successful. Authorization requires `spanner.instanceConfigs.update` permission on the resource name.", "flatPath": "v1/projects/{projectsId}/instanceConfigs/{instanceConfigsId}", "httpMethod": "PATCH", "id": "spanner.projects.instanceConfigs.patch", @@ -306,7 +306,7 @@ ], "parameters": { "name": { - "description": "A unique identifier for the instance configuration. Values are of the form `projects//instanceConfigs/a-z*`. User instance config must start with `custom-`.", + "description": "A unique identifier for the instance configuration. Values are of the form `projects//instanceConfigs/a-z*`. User instance configuration must start with `custom-`.", "location": "path", "pattern": "^projects/[^/]+/instanceConfigs/[^/]+$", "required": true, @@ -748,7 +748,7 @@ ] }, "move": { - "description": "Moves the instance to the target instance config. The returned long-running operation can be used to track the progress of moving the instance. `MoveInstance` returns `FAILED_PRECONDITION` if the instance meets any of the following criteria: * Has an ongoing move to a different instance config * Has backups * Has an ongoing update * Is under free trial * Contains any CMEK-enabled databases While the operation is pending: * All other attempts to modify the instance, including changes to its compute capacity, are rejected. * The following database and backup admin operations are rejected: * DatabaseAdmin.CreateDatabase, * DatabaseAdmin.UpdateDatabaseDdl (Disabled if default_leader is specified in the request.) * DatabaseAdmin.RestoreDatabase * DatabaseAdmin.CreateBackup * DatabaseAdmin.CopyBackup * Both the source and target instance configs are subject to hourly compute and storage charges. * The instance may experience higher read-write latencies and a higher transaction abort rate. However, moving an instance does not cause any downtime. The returned long-running operation will have a name of the format `/operations/` and can be used to track the move instance operation. The metadata field type is MoveInstanceMetadata. The response field type is Instance, if successful. Cancelling the operation sets its metadata's cancel_time. Cancellation is not immediate since it involves moving any data previously moved to target instance config back to the original instance config. The same operation can be used to track the progress of the cancellation. Upon successful completion of the cancellation, the operation terminates with CANCELLED status. Upon completion(if not cancelled) of the returned operation: * Instance would be successfully moved to the target instance config. * You are billed for compute and storage in target instance config. Authorization requires `spanner.instances.update` permission on the resource instance. For more details, please see [documentation](https://cloud.google.com/spanner/docs/move-instance).", + "description": "Moves the instance to the target instance config. The returned long-running operation can be used to track the progress of moving the instance. `MoveInstance` returns `FAILED_PRECONDITION` if the instance meets any of the following criteria: * Has an ongoing move to a different instance config * Has backups * Has an ongoing update * Is under free trial * Contains any CMEK-enabled databases While the operation is pending: * All other attempts to modify the instance, including changes to its compute capacity, are rejected. * The following database and backup admin operations are rejected: * DatabaseAdmin.CreateDatabase, * DatabaseAdmin.UpdateDatabaseDdl (Disabled if default_leader is specified in the request.) * DatabaseAdmin.RestoreDatabase * DatabaseAdmin.CreateBackup * DatabaseAdmin.CopyBackup * Both the source and target instance configurations are subject to hourly compute and storage charges. * The instance may experience higher read-write latencies and a higher transaction abort rate. However, moving an instance does not cause any downtime. The returned long-running operation will have a name of the format `/operations/` and can be used to track the move instance operation. The metadata field type is MoveInstanceMetadata. The response field type is Instance, if successful. Cancelling the operation sets its metadata's cancel_time. Cancellation is not immediate since it involves moving any data previously moved to target instance configuration back to the original instance config. The same operation can be used to track the progress of the cancellation. Upon successful completion of the cancellation, the operation terminates with `CANCELLED` status. Upon completion(if not cancelled) of the returned operation: * Instance would be successfully moved to the target instance config. * You are billed for compute and storage in target instance config. Authorization requires `spanner.instances.update` permission on the resource instance. For more details, please see [documentation](https://cloud.google.com/spanner/docs/move-instance).", "flatPath": "v1/projects/{projectsId}/instances/{instancesId}:move", "httpMethod": "POST", "id": "spanner.projects.instances.move", @@ -1426,7 +1426,7 @@ ] }, "create": { - "description": "Creates a new Cloud Spanner database and starts to prepare it for serving. The returned long-running operation will have a name of the format `/operations/` and can be used to track preparation of the database. The metadata field type is CreateDatabaseMetadata. The response field type is Database, if successful.", + "description": "Creates a new Spanner database and starts to prepare it for serving. The returned long-running operation will have a name of the format `/operations/` and can be used to track preparation of the database. The metadata field type is CreateDatabaseMetadata. The response field type is Database, if successful.", "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases", "httpMethod": "POST", "id": "spanner.projects.instances.databases.create", @@ -1804,6 +1804,97 @@ } }, "resources": { + "backupSchedules": { + "methods": { + "getIamPolicy": { + "description": "Gets the access control policy for a database or backup resource. Returns an empty policy if a database or backup exists but does not have a policy set. Authorization requires `spanner.databases.getIamPolicy` permission on resource. For backups, authorization requires `spanner.backups.getIamPolicy` permission on resource.", + "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/backupSchedules/{backupSchedulesId}:getIamPolicy", + "httpMethod": "POST", + "id": "spanner.projects.instances.databases.backupSchedules.getIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The Cloud Spanner resource for which the policy is being retrieved. The format is `projects//instances/` for instance resources and `projects//instances//databases/` for database resources.", + "location": "path", + "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/backupSchedules/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:getIamPolicy", + "request": { + "$ref": "GetIamPolicyRequest" + }, + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/spanner.admin" + ] + }, + "setIamPolicy": { + "description": "Sets the access control policy on a database or backup resource. Replaces any existing policy. Authorization requires `spanner.databases.setIamPolicy` permission on resource. For backups, authorization requires `spanner.backups.setIamPolicy` permission on resource.", + "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/backupSchedules/{backupSchedulesId}:setIamPolicy", + "httpMethod": "POST", + "id": "spanner.projects.instances.databases.backupSchedules.setIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The Cloud Spanner resource for which the policy is being set. The format is `projects//instances/` for instance resources and `projects//instances//databases/` for databases resources.", + "location": "path", + "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/backupSchedules/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:setIamPolicy", + "request": { + "$ref": "SetIamPolicyRequest" + }, + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/spanner.admin" + ] + }, + "testIamPermissions": { + "description": "Returns permissions that the caller has on the specified database or backup resource. Attempting this RPC on a non-existent Cloud Spanner database will result in a NOT_FOUND error if the user has `spanner.databases.list` permission on the containing Cloud Spanner instance. Otherwise returns an empty set of permissions. Calling this method on a backup that does not exist will result in a NOT_FOUND error if the user has `spanner.backups.list` permission on the containing instance.", + "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/backupSchedules/{backupSchedulesId}:testIamPermissions", + "httpMethod": "POST", + "id": "spanner.projects.instances.databases.backupSchedules.testIamPermissions", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The Cloud Spanner resource for which permissions are being tested. The format is `projects//instances/` for instance resources and `projects//instances//databases/` for database resources.", + "location": "path", + "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+/backupSchedules/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:testIamPermissions", + "request": { + "$ref": "TestIamPermissionsRequest" + }, + "response": { + "$ref": "TestIamPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/spanner.admin" + ] + } + } + }, "databaseRoles": { "methods": { "list": { @@ -3005,11 +3096,11 @@ } } }, - "revision": "20240612", + "revision": "20240711", "rootUrl": "https://spanner.googleapis.com/", "schemas": { "AutoscalingConfig": { - "description": "Autoscaling config for an instance.", + "description": "Autoscaling configuration for an instance.", "id": "AutoscalingConfig", "properties": { "autoscalingLimits": { @@ -3620,7 +3711,7 @@ "type": "array" }, "protoDescriptors": { - "description": "Optional. Proto descriptors used by CREATE/ALTER PROTO BUNDLE statements in 'extra_statements' above. Contains a protobuf-serialized [google.protobuf.FileDescriptorSet](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/descriptor.proto). To generate it, [install](https://grpc.io/docs/protoc-installation/) and run `protoc` with --include_imports and --descriptor_set_out. For example, to generate for moon/shot/app.proto, run ``` $protoc --proto_path=/app_path --proto_path=/lib_path \\ --include_imports \\ --descriptor_set_out=descriptors.data \\ moon/shot/app.proto ``` For more details, see protobuffer [self description](https://developers.google.com/protocol-buffers/docs/techniques#self-description).", + "description": "Optional. Proto descriptors used by `CREATE/ALTER PROTO BUNDLE` statements in 'extra_statements'. Contains a protobuf-serialized [`google.protobuf.FileDescriptorSet`](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/descriptor.proto) descriptor set. To generate it, [install](https://grpc.io/docs/protoc-installation/) and run `protoc` with --include_imports and --descriptor_set_out. For example, to generate for moon/shot/app.proto, run ``` $protoc --proto_path=/app_path --proto_path=/lib_path \\ --include_imports \\ --descriptor_set_out=descriptors.data \\ moon/shot/app.proto ``` For more details, see protobuffer [self description](https://developers.google.com/protocol-buffers/docs/techniques#self-description).", "format": "byte", "type": "string" } @@ -3638,7 +3729,7 @@ }, "instanceConfig": { "$ref": "InstanceConfig", - "description": "The target instance config end state." + "description": "The target instance configuration end state." }, "progress": { "$ref": "InstanceOperationProgress", @@ -3653,10 +3744,10 @@ "properties": { "instanceConfig": { "$ref": "InstanceConfig", - "description": "Required. The InstanceConfig proto of the configuration to create. instance_config.name must be `/instanceConfigs/`. instance_config.base_config must be a Google managed configuration name, e.g. /instanceConfigs/us-east1, /instanceConfigs/nam3." + "description": "Required. The InstanceConfig proto of the configuration to create. instance_config.name must be `/instanceConfigs/`. instance_config.base_config must be a Google-managed configuration name, e.g. /instanceConfigs/us-east1, /instanceConfigs/nam3." }, "instanceConfigId": { - "description": "Required. The ID of the instance config to create. Valid identifiers are of the form `custom-[-a-z0-9]*[a-z0-9]` and must be between 2 and 64 characters in length. The `custom-` prefix is required to avoid name conflicts with Google managed configurations.", + "description": "Required. The ID of the instance configuration to create. Valid identifiers are of the form `custom-[-a-z0-9]*[a-z0-9]` and must be between 2 and 64 characters in length. The `custom-` prefix is required to avoid name conflicts with Google-managed configurations.", "type": "string" }, "validateOnly": { @@ -3810,7 +3901,7 @@ "type": "string" }, "enableDropProtection": { - "description": "Whether drop protection is enabled for this database. Defaults to false, if not set. For more details, please see how to [prevent accidental database deletion](https://cloud.google.com/spanner/docs/prevent-database-deletion).", + "description": "Optional. Whether drop protection is enabled for this database. Defaults to false, if not set. For more details, please see how to [prevent accidental database deletion](https://cloud.google.com/spanner/docs/prevent-database-deletion).", "type": "boolean" }, "encryptionConfig": { @@ -4152,7 +4243,7 @@ "enumDescriptions": [ "The default mode. Only the statement results are returned.", "This mode returns only the query plan, without any results or execution statistics information.", - "This mode returns both the query plan and the execution statistics along with the results." + "This mode returns both the query plan and the execution statistics along with the results. This has a performance overhead compared to the NORMAL mode. It is not recommended to use this mode for production traffic." ], "type": "string" }, @@ -4423,12 +4514,12 @@ "type": "string" }, "nodeCount": { - "description": "The number of nodes allocated to this instance. At most one of either node_count or processing_units should be present in the message. Users can set the node_count field to specify the target number of nodes allocated to the instance. If autoscaling is enabled, node_count is treated as an OUTPUT_ONLY field and reflects the current number of nodes allocated to the instance. This may be zero in API responses for instances that are not yet in state `READY`. See [the documentation](https://cloud.google.com/spanner/docs/compute-capacity) for more information about nodes and processing units.", + "description": "The number of nodes allocated to this instance. At most, one of either `node_count` or `processing_units` should be present in the message. Users can set the node_count field to specify the target number of nodes allocated to the instance. If autoscaling is enabled, node_count is treated as an OUTPUT_ONLY field and reflects the current number of nodes allocated to the instance. This might be zero in API responses for instances that are not yet in the `READY` state. For more information, see [Compute capacity, nodes, and processing units](https://cloud.google.com/spanner/docs/compute-capacity).", "format": "int32", "type": "integer" }, "processingUnits": { - "description": "The number of processing units allocated to this instance. At most one of processing_units or node_count should be present in the message. Users can set the processing_units field to specify the target number of processing units allocated to the instance. If autoscaling is enabled, processing_units is treated as an OUTPUT_ONLY field and reflects the current number of processing units allocated to the instance. This may be zero in API responses for instances that are not yet in state `READY`. See [the documentation](https://cloud.google.com/spanner/docs/compute-capacity) for more information about nodes and processing units.", + "description": "The number of processing units allocated to this instance. At most, one of either `processing_units` or `node_count` should be present in the message. Users can set the `processing_units` field to specify the target number of processing units allocated to the instance. If autoscaling is enabled, `processing_units` is treated as an `OUTPUT_ONLY` field and reflects the current number of processing units allocated to the instance. This might be zero in API responses for instances that are not yet in the `READY` state. See [the documentation](https://cloud.google.com/spanner/docs/compute-capacity) for more information about nodes and processing units.", "format": "int32", "type": "integer" }, @@ -4461,11 +4552,11 @@ "id": "InstanceConfig", "properties": { "baseConfig": { - "description": "Base configuration name, e.g. projects//instanceConfigs/nam3, based on which this configuration is created. Only set for user managed configurations. `base_config` must refer to a configuration of type GOOGLE_MANAGED in the same project as this configuration.", + "description": "Base configuration name, e.g. projects//instanceConfigs/nam3, based on which this configuration is created. Only set for user-managed configurations. `base_config` must refer to a configuration of type `GOOGLE_MANAGED` in the same project as this configuration.", "type": "string" }, "configType": { - "description": "Output only. Whether this instance config is a Google or User Managed Configuration.", + "description": "Output only. Whether this instance configuration is a Google- or user-managed configuration.", "enum": [ "TYPE_UNSPECIFIED", "GOOGLE_MANAGED", @@ -4473,8 +4564,8 @@ ], "enumDescriptions": [ "Unspecified.", - "Google managed configuration.", - "User managed configuration." + "Google-managed configuration.", + "User-managed configuration." ], "readOnly": true, "type": "string" @@ -4484,7 +4575,7 @@ "type": "string" }, "etag": { - "description": "etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a instance config from overwriting each other. It is strongly suggested that systems make use of the etag in the read-modify-write cycle to perform instance config updates in order to avoid race conditions: An etag is returned in the response which contains instance configs, and systems are expected to put that etag in the request to update instance config to ensure that their change will be applied to the same version of the instance config. If no etag is provided in the call to update instance config, then the existing instance config is overwritten blindly.", + "description": "etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a instance configuration from overwriting each other. It is strongly suggested that systems make use of the etag in the read-modify-write cycle to perform instance configuration updates in order to avoid race conditions: An etag is returned in the response which contains instance configurations, and systems are expected to put that etag in the request to update instance configuration to ensure that their change is applied to the same version of the instance configuration. If no etag is provided in the call to update the instance configuration, then the existing instance configuration is overwritten blindly.", "type": "string" }, "freeInstanceAvailability": { @@ -4501,7 +4592,7 @@ "Indicates that free instances are available to be created in this instance config.", "Indicates that free instances are not supported in this instance config.", "Indicates that free instances are currently not available to be created in this instance config.", - "Indicates that additional free instances cannot be created in this instance config because the project has reached its limit of free instances." + "Indicates that additional free instances cannot be created in this instance configuration because the project has reached its limit of free instances." ], "readOnly": true, "type": "string" @@ -4521,11 +4612,11 @@ "type": "array" }, "name": { - "description": "A unique identifier for the instance configuration. Values are of the form `projects//instanceConfigs/a-z*`. User instance config must start with `custom-`.", + "description": "A unique identifier for the instance configuration. Values are of the form `projects//instanceConfigs/a-z*`. User instance configuration must start with `custom-`.", "type": "string" }, "optionalReplicas": { - "description": "Output only. The available optional replicas to choose from for user managed configurations. Populated for Google managed configurations.", + "description": "Output only. The available optional replicas to choose from for user-managed configurations. Populated for Google-managed configurations.", "items": { "$ref": "ReplicaInfo" }, @@ -4550,19 +4641,19 @@ "type": "string" }, "reconciling": { - "description": "Output only. If true, the instance config is being created or updated. If false, there are no ongoing operations for the instance config.", + "description": "Output only. If true, the instance configuration is being created or updated. If false, there are no ongoing operations for the instance config.", "readOnly": true, "type": "boolean" }, "replicas": { - "description": "The geographic placement of nodes in this instance configuration and their replication properties. To create user managed configurations, input `replicas` must include all replicas in `replicas` of the `base_config` and include one or more replicas in the `optional_replicas` of the `base_config`.", + "description": "The geographic placement of nodes in this instance configuration and their replication properties. To create user-managed configurations, input `replicas` must include all replicas in `replicas` of the `base_config` and include one or more replicas in the `optional_replicas` of the `base_config`.", "items": { "$ref": "ReplicaInfo" }, "type": "array" }, "state": { - "description": "Output only. The current instance config state. Applicable only for USER_MANAGED configs.", + "description": "Output only. The current instance configuration state. Applicable only for `USER_MANAGED` configurations.", "enum": [ "STATE_UNSPECIFIED", "CREATING", @@ -4570,8 +4661,8 @@ ], "enumDescriptions": [ "Not specified.", - "The instance config is still being created.", - "The instance config is fully created and ready to be used to create instances." + "The instance configuration is still being created.", + "The instance configuration is fully created and ready to be used to create instances." ], "readOnly": true, "type": "string" @@ -4634,12 +4725,12 @@ "type": "string" }, "nodeCount": { - "description": "The number of nodes allocated to this instance partition. Users can set the node_count field to specify the target number of nodes allocated to the instance partition. This may be zero in API responses for instance partitions that are not yet in state `READY`.", + "description": "The number of nodes allocated to this instance partition. Users can set the `node_count` field to specify the target number of nodes allocated to the instance partition. This may be zero in API responses for instance partitions that are not yet in state `READY`.", "format": "int32", "type": "integer" }, "processingUnits": { - "description": "The number of processing units allocated to this instance partition. Users can set the processing_units field to specify the target number of processing units allocated to the instance partition. This may be zero in API responses for instance partitions that are not yet in state `READY`.", + "description": "The number of processing units allocated to this instance partition. Users can set the `processing_units` field to specify the target number of processing units allocated to the instance partition. This might be zero in API responses for instance partitions that are not yet in the `READY` state.", "format": "int32", "type": "integer" }, @@ -4915,7 +5006,7 @@ "type": "string" }, "operations": { - "description": "The list of matching instance config long-running operations. Each operation's name will be prefixed by the instance config's name. The operation's metadata field type `metadata.type_url` describes the type of the metadata.", + "description": "The list of matching instance configuration long-running operations. Each operation's name will be prefixed by the instance config's name. The operation's metadata field type `metadata.type_url` describes the type of the metadata.", "items": { "$ref": "Operation" }, @@ -5199,7 +5290,7 @@ "id": "MoveInstanceRequest", "properties": { "targetConfig": { - "description": "Required. The target instance config for the instance to move. Values are of the form `projects//instanceConfigs/`.", + "description": "Required. The target instance configuration for the instance to move. Values are of the form `projects//instanceConfigs/`.", "type": "string" } }, @@ -5402,7 +5493,7 @@ "description": "Additional options that affect how many partitions are created." }, "sql": { - "description": "Required. The query request to generate partitions for. The request will fail if the query is not root partitionable. For a query to be root partitionable, it needs to satisfy a few conditions. For example, if the query execution plan contains a distributed union operator, then it must be the first operator in the plan. For more information about other conditions, see [Read data in parallel](https://cloud.google.com/spanner/docs/reads#read_data_in_parallel). The query request must not contain DML commands, such as INSERT, UPDATE, or DELETE. Use ExecuteStreamingSql with a PartitionedDml transaction for large, partition-friendly DML operations.", + "description": "Required. The query request to generate partitions for. The request fails if the query is not root partitionable. For a query to be root partitionable, it needs to satisfy a few conditions. For example, if the query execution plan contains a distributed union operator, then it must be the first operator in the plan. For more information about other conditions, see [Read data in parallel](https://cloud.google.com/spanner/docs/reads#read_data_in_parallel). The query request must not contain DML commands, such as `INSERT`, `UPDATE`, or `DELETE`. Use `ExecuteStreamingSql` with a PartitionedDml transaction for large, partition-friendly DML operations.", "type": "string" }, "transaction": { @@ -5933,7 +6024,7 @@ "type": "string" }, "kmsKeyNames": { - "description": "Optional. Specifies the KMS configuration for the one or more keys used to encrypt the database. Values are of the form `projects//locations//keyRings//cryptoKeys/`. The keys referenced by kms_key_names must fully cover all regions of the database instance configuration. Some examples: * For single region database instance configs, specify a single regional location KMS key. * For multi-regional database instance configs of type GOOGLE_MANAGED, either specify a multi-regional location KMS key or multiple regional location KMS keys that cover all regions in the instance config. * For a database instance config of type USER_MANAGED, please specify only regional location KMS keys to cover each region in the instance config. Multi-regional location KMS keys are not supported for USER_MANAGED instance configs.", + "description": "Optional. Specifies the KMS configuration for the one or more keys used to encrypt the database. Values have the form `projects//locations//keyRings//cryptoKeys/`. The keys referenced by kms_key_names must fully cover all regions of the database instance configuration. Some examples: * For single region database instance configurations, specify a single regional location KMS key. * For multi-regional database instance configurations of type `GOOGLE_MANAGED`, either specify a multi-regional location KMS key or multiple regional location KMS keys that cover all regions in the instance configuration. * For a database instance configuration of type `USER_MANAGED`, please specify only regional location KMS keys to cover each region in the instance configuration. Multi-regional location KMS keys are not supported for USER_MANAGED instance configurations.", "items": { "type": "string" }, @@ -6585,7 +6676,7 @@ }, "instanceConfig": { "$ref": "InstanceConfig", - "description": "The desired instance config after updating." + "description": "The desired instance configuration after updating." }, "progress": { "$ref": "InstanceOperationProgress", @@ -6600,7 +6691,7 @@ "properties": { "instanceConfig": { "$ref": "InstanceConfig", - "description": "Required. The user instance config to update, which must always include the instance config name. Otherwise, only fields mentioned in update_mask need be included. To prevent conflicts of concurrent updates, etag can be used." + "description": "Required. The user instance configuration to update, which must always include the instance configuration name. Otherwise, only fields mentioned in update_mask need be included. To prevent conflicts of concurrent updates, etag can be used." }, "updateMask": { "description": "Required. A mask specifying which fields in InstanceConfig should be updated. The field mask must always be specified; this prevents any future fields in InstanceConfig from being erased accidentally by clients that do not know about them. Only display_name and labels can be updated.", diff --git a/discovery/sqladmin-v1.json b/discovery/sqladmin-v1.json index 714597fb0a..eedc39fc2e 100644 --- a/discovery/sqladmin-v1.json +++ b/discovery/sqladmin-v1.json @@ -2267,7 +2267,7 @@ } } }, - "revision": "20240618", + "revision": "20240709", "rootUrl": "https://sqladmin.googleapis.com/", "schemas": { "AclEntry": { @@ -3711,6 +3711,20 @@ "description": "Optional. Whether or not the export should be parallel.", "type": "boolean" }, + "postgresExportOptions": { + "description": "Options for exporting from a Cloud SQL for PostgreSQL instance.", + "properties": { + "clean": { + "description": "Optional. Use this option to include DROP SQL statements. These statements are used to delete database objects before running the import operation.", + "type": "boolean" + }, + "ifExists": { + "description": "Optional. Option to include an IF EXISTS SQL statement with each DROP statement produced by clean.", + "type": "boolean" + } + }, + "type": "object" + }, "schemaOnly": { "description": "Export only schemas.", "type": "boolean" @@ -4193,6 +4207,20 @@ "description": "Optional. Whether or not the import should be parallel.", "type": "boolean" }, + "postgresImportOptions": { + "description": "Optional. Options for importing from a Cloud SQL for PostgreSQL instance.", + "properties": { + "clean": { + "description": "Optional. The --clean flag for the pg_restore utility. This flag applies only if you enabled Cloud SQL to import files in parallel.", + "type": "boolean" + }, + "ifExists": { + "description": "Optional. The --if-exists flag for the pg_restore utility. This flag applies only if you enabled Cloud SQL to import files in parallel.", + "type": "boolean" + } + }, + "type": "object" + }, "threads": { "description": "Optional. The number of threads to use for parallel import.", "format": "int32", diff --git a/discovery/sqladmin-v1beta4.json b/discovery/sqladmin-v1beta4.json index 40660b458c..2b059258b7 100644 --- a/discovery/sqladmin-v1beta4.json +++ b/discovery/sqladmin-v1beta4.json @@ -2267,7 +2267,7 @@ } } }, - "revision": "20240618", + "revision": "20240709", "rootUrl": "https://sqladmin.googleapis.com/", "schemas": { "AclEntry": { @@ -3712,6 +3712,20 @@ "description": "Optional. Whether or not the export should be parallel.", "type": "boolean" }, + "postgresExportOptions": { + "description": "Options for exporting from a Cloud SQL for PostgreSQL instance.", + "properties": { + "clean": { + "description": "Optional. Use this option to include DROP SQL statements. These statements are used to delete database objects before running the import operation.", + "type": "boolean" + }, + "ifExists": { + "description": "Optional. Option to include an IF EXISTS SQL statement with each DROP statement produced by clean.", + "type": "boolean" + } + }, + "type": "object" + }, "schemaOnly": { "description": "Export only schemas.", "type": "boolean" @@ -4194,6 +4208,20 @@ "description": "Optional. Whether or not the import should be parallel.", "type": "boolean" }, + "postgresImportOptions": { + "description": "Optional. Options for importing from a Cloud SQL for PostgreSQL instance.", + "properties": { + "clean": { + "description": "Optional. The --clean flag for the pg_restore utility. This flag applies only if you enabled Cloud SQL to import files in parallel.", + "type": "boolean" + }, + "ifExists": { + "description": "Optional. The --if-exists flag for the pg_restore utility. This flag applies only if you enabled Cloud SQL to import files in parallel.", + "type": "boolean" + } + }, + "type": "object" + }, "threads": { "description": "Optional. The number of threads to use for parallel import.", "format": "int32", diff --git a/discovery/storage-v1.json b/discovery/storage-v1.json index 9c69351ac3..078fdf14d8 100644 --- a/discovery/storage-v1.json +++ b/discovery/storage-v1.json @@ -28,22 +28,22 @@ "documentationLink": "https://developers.google.com/storage/docs/json_api/", "endpoints": [ { + "description": "Regional Endpoint", "endpointUrl": "https://storage.europe-west3.rep.googleapis.com/", - "location": "europe-west3", - "description": "Regional Endpoint" + "location": "europe-west3" }, { + "description": "Regional Endpoint", "endpointUrl": "https://storage.europe-west9.rep.googleapis.com/", - "location": "europe-west9", - "description": "Regional Endpoint" + "location": "europe-west9" }, { + "description": "Regional Endpoint", "endpointUrl": "https://storage.me-central2.rep.googleapis.com/", - "location": "me-central2", - "description": "Regional Endpoint" + "location": "me-central2" } ], - "etag": "\"39393931363036383932333134343736343437\"", + "etag": "\"323732353932323032353837333633313231\"", "icons": { "x16": "https://www.google.com/images/icons/product/cloud_storage-16.png", "x32": "https://www.google.com/images/icons/product/cloud_storage-32.png" @@ -4085,7 +4085,7 @@ } } }, - "revision": "20240625", + "revision": "20240706", "rootUrl": "https://storage.googleapis.com/", "schemas": { "AnywhereCache": { @@ -4347,6 +4347,49 @@ "description": "The ID of the bucket. For buckets, the id and name properties are the same.", "type": "string" }, + "ipFilter": { + "description": "The bucket's IP filter configuration. Specifies the network sources that are allowed to access the operations on the bucket, as well as its underlying objects. Only enforced when the mode is set to 'Enabled'.", + "properties": { + "mode": { + "description": "The mode of the IP filter. Valid values are 'Enabled' and 'Disabled'.", + "type": "string" + }, + "publicNetworkSource": { + "description": "The public network source of the bucket's IP filter.", + "properties": { + "allowedIpCidrRanges": { + "description": "The list of public IPv4, IPv6 cidr ranges that are allowed to access the bucket.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "vpcNetworkSources": { + "description": "The list of [VPC network](https://cloud.google.com/vpc/docs/vpc) sources of the bucket's IP filter.", + "items": { + "properties": { + "allowedIpCidrRanges": { + "description": "The list of IPv4, IPv6 cidr ranges subnetworks that are allowed to access the bucket.", + "items": { + "type": "string" + }, + "type": "array" + }, + "network": { + "description": "Name of the network. Format: projects/{PROJECT_ID}/global/networks/{NETWORK_NAME}", + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, "kind": { "default": "storage#bucket", "description": "The kind of item this is. For buckets, this is always storage#bucket.", diff --git a/discovery/sts-v1.json b/discovery/sts-v1.json index 6f057ef5a9..3c7a8f826f 100644 --- a/discovery/sts-v1.json +++ b/discovery/sts-v1.json @@ -116,7 +116,7 @@ } } }, - "revision": "20240501", + "revision": "20240704", "rootUrl": "https://sts.googleapis.com/", "schemas": { "GoogleIamV1Binding": { @@ -216,6 +216,11 @@ "description": "Response message for ExchangeToken.", "id": "GoogleIdentityStsV1ExchangeTokenResponse", "properties": { + "access_boundary_session_key": { + "description": "The access boundary session key. This key is used along with the access boundary intermediate token to generate Credential Access Boundary tokens at client side. This field is absent when the `requested_token_type` from the request is not `urn:ietf:params:oauth:token-type:access_boundary_intermediate_token`.", + "format": "byte", + "type": "string" + }, "access_token": { "description": "An OAuth 2.0 security token, issued by Google, in response to the token exchange request. Tokens can vary in size, depending in part on the size of mapped claims, up to a maximum of 12288 bytes (12 KB). Google reserves the right to change the token size and the maximum length at any time.", "type": "string" diff --git a/discovery/tagmanager-v2.json b/discovery/tagmanager-v2.json index 309afd8213..26e054c37b 100644 --- a/discovery/tagmanager-v2.json +++ b/discovery/tagmanager-v2.json @@ -374,14 +374,19 @@ ] }, "lookup": { - "description": "Looks up a Container by destination ID.", + "description": "Looks up a Container by destination ID or tag ID.", "flatPath": "tagmanager/v2/accounts/containers:lookup", "httpMethod": "GET", "id": "tagmanager.accounts.containers.lookup", "parameterOrder": [], "parameters": { "destinationId": { - "description": "Destination ID linked to a GTM Container, e.g. AW-123456789. Example: accounts/containers:lookup?destination_id={destination_id}.", + "description": "Destination ID linked to a GTM Container, e.g. AW-123456789. Example: accounts/containers:lookup?destination_id={destination_id}. Only one of destination_id or tag_id should be set.", + "location": "query", + "type": "string" + }, + "tagId": { + "description": "Tag ID for a GTM Container, e.g. GTM-123456789. Example: accounts/containers:lookup?tag_id={tag_id}. Only one of destination_id or tag_id should be set.", "location": "query", "type": "string" } @@ -3890,7 +3895,7 @@ } } }, - "revision": "20240619", + "revision": "20240715", "rootUrl": "https://tagmanager.googleapis.com/", "schemas": { "Account": { diff --git a/discovery/transcoder-v1.json b/discovery/transcoder-v1.json index a86c766589..2e4ef865bc 100644 --- a/discovery/transcoder-v1.json +++ b/discovery/transcoder-v1.json @@ -385,7 +385,7 @@ } } }, - "revision": "20240207", + "revision": "20240701", "rootUrl": "https://transcoder.googleapis.com/", "schemas": { "AdBreak": { @@ -1541,7 +1541,7 @@ "id": "Output", "properties": { "uri": { - "description": "URI for the output file(s). For example, `gs://my-bucket/outputs/`. If empty, the value is populated from Job.output_uri. See [Supported input and output formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).", + "description": "URI for the output file(s). For example, `gs://my-bucket/outputs/`. Must be a directory and not a top-level bucket. If empty, the value is populated from Job.output_uri. See [Supported input and output formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).", "type": "string" } }, diff --git a/discovery/vmmigration-v1.json b/discovery/vmmigration-v1.json index fa7cc65e46..8efe719aec 100644 --- a/discovery/vmmigration-v1.json +++ b/discovery/vmmigration-v1.json @@ -1180,6 +1180,66 @@ } } }, + "diskMigrationJobs": { + "methods": { + "cancel": { + "description": "Cancels the disk migration job.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/diskMigrationJobs/{diskMigrationJobsId}:cancel", + "httpMethod": "POST", + "id": "vmmigration.projects.locations.sources.diskMigrationJobs.cancel", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the DiskMigrationJob.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+/diskMigrationJobs/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:cancel", + "request": { + "$ref": "CancelDiskMigrationJobRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "run": { + "description": "Runs the disk migration job.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/diskMigrationJobs/{diskMigrationJobsId}:run", + "httpMethod": "POST", + "id": "vmmigration.projects.locations.sources.diskMigrationJobs.run", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the DiskMigrationJob.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+/diskMigrationJobs/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:run", + "request": { + "$ref": "RunDiskMigrationJobRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, "migratingVms": { "methods": { "create": { @@ -2220,7 +2280,7 @@ } } }, - "revision": "20240613", + "revision": "20240704", "rootUrl": "https://vmmigration.googleapis.com/", "schemas": { "AccessKeyCredentials": { @@ -2873,13 +2933,15 @@ "COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED", "COMPUTE_ENGINE_DISK_TYPE_STANDARD", "COMPUTE_ENGINE_DISK_TYPE_SSD", - "COMPUTE_ENGINE_DISK_TYPE_BALANCED" + "COMPUTE_ENGINE_DISK_TYPE_BALANCED", + "COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED" ], "enumDescriptions": [ "An unspecified disk type. Will be used as STANDARD.", "A Standard disk type.", "SSD hard disk type.", - "An alternative to SSD persistent disks that balance performance and cost." + "An alternative to SSD persistent disks that balance performance and cost.", + "Hyperdisk balanced disk type." ], "type": "string" }, @@ -2906,6 +2968,12 @@ "properties": {}, "type": "object" }, + "CancelDiskMigrationJobRequest": { + "description": "Request message for 'CancelDiskMigrationJob' request.", + "id": "CancelDiskMigrationJobRequest", + "properties": {}, + "type": "object" + }, "CancelImageImportJobRequest": { "description": "Request message for 'CancelImageImportJob' request.", "id": "CancelImageImportJobRequest", @@ -3137,13 +3205,15 @@ "COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED", "COMPUTE_ENGINE_DISK_TYPE_STANDARD", "COMPUTE_ENGINE_DISK_TYPE_SSD", - "COMPUTE_ENGINE_DISK_TYPE_BALANCED" + "COMPUTE_ENGINE_DISK_TYPE_BALANCED", + "COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED" ], "enumDescriptions": [ "An unspecified disk type. Will be used as STANDARD.", "A Standard disk type.", "SSD hard disk type.", - "An alternative to SSD persistent disks that balance performance and cost." + "An alternative to SSD persistent disks that balance performance and cost.", + "Hyperdisk balanced disk type." ], "type": "string" }, @@ -3267,13 +3337,15 @@ "COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED", "COMPUTE_ENGINE_DISK_TYPE_STANDARD", "COMPUTE_ENGINE_DISK_TYPE_SSD", - "COMPUTE_ENGINE_DISK_TYPE_BALANCED" + "COMPUTE_ENGINE_DISK_TYPE_BALANCED", + "COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED" ], "enumDescriptions": [ "An unspecified disk type. Will be used as STANDARD.", "A Standard disk type.", "SSD hard disk type.", - "An alternative to SSD persistent disks that balance performance and cost." + "An alternative to SSD persistent disks that balance performance and cost.", + "Hyperdisk balanced disk type." ], "type": "string" }, @@ -3713,7 +3785,7 @@ "id": "DiskImageTargetDetails", "properties": { "additionalLicenses": { - "description": "Optional. Additional licenses to assign to the image.", + "description": "Optional. Additional licenses to assign to the image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME", "items": { "type": "string" }, @@ -4874,7 +4946,7 @@ "type": "string" }, "subnetwork": { - "description": "The subnetwork to connect the NIC to.", + "description": "Optional. The subnetwork to connect the NIC to.", "type": "string" } }, @@ -5045,13 +5117,15 @@ "COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED", "COMPUTE_ENGINE_DISK_TYPE_STANDARD", "COMPUTE_ENGINE_DISK_TYPE_SSD", - "COMPUTE_ENGINE_DISK_TYPE_BALANCED" + "COMPUTE_ENGINE_DISK_TYPE_BALANCED", + "COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED" ], "enumDescriptions": [ "An unspecified disk type. Will be used as STANDARD.", "A Standard disk type.", "SSD hard disk type.", - "An alternative to SSD persistent disks that balance performance and cost." + "An alternative to SSD persistent disks that balance performance and cost.", + "Hyperdisk balanced disk type." ], "type": "string" }, @@ -5066,7 +5140,7 @@ }, "vmAttachmentDetails": { "$ref": "VmAttachmentDetails", - "description": "Optional. Details for attachment of the disk to a VM. Used when the disk is set to be attacked to a target VM." + "description": "Optional. Details for attachment of the disk to a VM. Used when the disk is set to be attached to a target VM." } }, "type": "object" @@ -5214,6 +5288,12 @@ "properties": {}, "type": "object" }, + "RunDiskMigrationJobRequest": { + "description": "Request message for 'RunDiskMigrationJobRequest' request.", + "id": "RunDiskMigrationJobRequest", + "properties": {}, + "type": "object" + }, "SchedulePolicy": { "description": "A policy for scheduling replications.", "id": "SchedulePolicy", diff --git a/discovery/vmmigration-v1alpha1.json b/discovery/vmmigration-v1alpha1.json index ecc11a46c2..aabc85c5c0 100644 --- a/discovery/vmmigration-v1alpha1.json +++ b/discovery/vmmigration-v1alpha1.json @@ -1180,6 +1180,66 @@ } } }, + "diskMigrationJobs": { + "methods": { + "cancel": { + "description": "Cancels the disk migration job.", + "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/diskMigrationJobs/{diskMigrationJobsId}:cancel", + "httpMethod": "POST", + "id": "vmmigration.projects.locations.sources.diskMigrationJobs.cancel", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the DiskMigrationJob.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+/diskMigrationJobs/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha1/{+name}:cancel", + "request": { + "$ref": "CancelDiskMigrationJobRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "run": { + "description": "Runs the disk migration job.", + "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/diskMigrationJobs/{diskMigrationJobsId}:run", + "httpMethod": "POST", + "id": "vmmigration.projects.locations.sources.diskMigrationJobs.run", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the DiskMigrationJob.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+/diskMigrationJobs/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha1/{+name}:run", + "request": { + "$ref": "RunDiskMigrationJobRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, "migratingVms": { "methods": { "create": { @@ -2220,7 +2280,7 @@ } } }, - "revision": "20240613", + "revision": "20240704", "rootUrl": "https://vmmigration.googleapis.com/", "schemas": { "AccessKeyCredentials": { @@ -2873,13 +2933,15 @@ "COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED", "COMPUTE_ENGINE_DISK_TYPE_STANDARD", "COMPUTE_ENGINE_DISK_TYPE_SSD", - "COMPUTE_ENGINE_DISK_TYPE_BALANCED" + "COMPUTE_ENGINE_DISK_TYPE_BALANCED", + "COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED" ], "enumDescriptions": [ "An unspecified disk type. Will be used as STANDARD.", "A Standard disk type.", "SSD hard disk type.", - "An alternative to SSD persistent disks that balance performance and cost." + "An alternative to SSD persistent disks that balance performance and cost.", + "Hyperdisk balanced disk type." ], "type": "string" }, @@ -2906,6 +2968,12 @@ "properties": {}, "type": "object" }, + "CancelDiskMigrationJobRequest": { + "description": "Request message for 'CancelDiskMigrationJob' request.", + "id": "CancelDiskMigrationJobRequest", + "properties": {}, + "type": "object" + }, "CancelImageImportJobRequest": { "description": "Request message for 'CancelImageImportJob' request.", "id": "CancelImageImportJobRequest", @@ -3149,13 +3217,15 @@ "COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED", "COMPUTE_ENGINE_DISK_TYPE_STANDARD", "COMPUTE_ENGINE_DISK_TYPE_SSD", - "COMPUTE_ENGINE_DISK_TYPE_BALANCED" + "COMPUTE_ENGINE_DISK_TYPE_BALANCED", + "COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED" ], "enumDescriptions": [ "An unspecified disk type. Will be used as STANDARD.", "A Standard disk type.", "SSD hard disk type.", - "An alternative to SSD persistent disks that balance performance and cost." + "An alternative to SSD persistent disks that balance performance and cost.", + "Hyperdisk balanced disk type." ], "type": "string" }, @@ -3279,13 +3349,15 @@ "COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED", "COMPUTE_ENGINE_DISK_TYPE_STANDARD", "COMPUTE_ENGINE_DISK_TYPE_SSD", - "COMPUTE_ENGINE_DISK_TYPE_BALANCED" + "COMPUTE_ENGINE_DISK_TYPE_BALANCED", + "COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED" ], "enumDescriptions": [ "An unspecified disk type. Will be used as STANDARD.", "A Standard disk type.", "SSD hard disk type.", - "An alternative to SSD persistent disks that balance performance and cost." + "An alternative to SSD persistent disks that balance performance and cost.", + "Hyperdisk balanced disk type." ], "type": "string" }, @@ -3748,7 +3820,7 @@ "id": "DiskImageTargetDetails", "properties": { "additionalLicenses": { - "description": "Optional. Additional licenses to assign to the image.", + "description": "Optional. Additional licenses to assign to the image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME", "items": { "type": "string" }, @@ -4919,7 +4991,7 @@ "type": "string" }, "subnetwork": { - "description": "The subnetwork to connect the NIC to.", + "description": "Optional. The subnetwork to connect the NIC to.", "type": "string" } }, @@ -5090,13 +5162,15 @@ "COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED", "COMPUTE_ENGINE_DISK_TYPE_STANDARD", "COMPUTE_ENGINE_DISK_TYPE_SSD", - "COMPUTE_ENGINE_DISK_TYPE_BALANCED" + "COMPUTE_ENGINE_DISK_TYPE_BALANCED", + "COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED" ], "enumDescriptions": [ "An unspecified disk type. Will be used as STANDARD.", "A Standard disk type.", "SSD hard disk type.", - "An alternative to SSD persistent disks that balance performance and cost." + "An alternative to SSD persistent disks that balance performance and cost.", + "Hyperdisk balanced disk type." ], "type": "string" }, @@ -5111,7 +5185,7 @@ }, "vmAttachmentDetails": { "$ref": "VmAttachmentDetails", - "description": "Optional. Details for attachment of the disk to a VM. Used when the disk is set to be attacked to a target VM." + "description": "Optional. Details for attachment of the disk to a VM. Used when the disk is set to be attached to a target VM." } }, "type": "object" @@ -5265,6 +5339,12 @@ "properties": {}, "type": "object" }, + "RunDiskMigrationJobRequest": { + "description": "Request message for 'RunDiskMigrationJobRequest' request.", + "id": "RunDiskMigrationJobRequest", + "properties": {}, + "type": "object" + }, "SchedulePolicy": { "description": "A policy for scheduling replications.", "id": "SchedulePolicy", diff --git a/discovery/vmwareengine-v1.json b/discovery/vmwareengine-v1.json index e90a85b188..b4094df5dd 100644 --- a/discovery/vmwareengine-v1.json +++ b/discovery/vmwareengine-v1.json @@ -3173,7 +3173,7 @@ } } }, - "revision": "20240528", + "revision": "20240701", "rootUrl": "https://vmwareengine.googleapis.com/", "schemas": { "AuditConfig": { @@ -3224,6 +3224,67 @@ }, "type": "object" }, + "AutoscalingPolicy": { + "description": "Autoscaling policy describes the behavior of the autoscaling with respect to the resource utilization. The scale-out operation is initiated if the utilization exceeds ANY of the respective thresholds. The scale-in operation is initiated if the utilization is below ALL of the respective thresholds.", + "id": "AutoscalingPolicy", + "properties": { + "consumedMemoryThresholds": { + "$ref": "Thresholds", + "description": "Optional. Utilization thresholds pertaining to amount of consumed memory." + }, + "cpuThresholds": { + "$ref": "Thresholds", + "description": "Optional. Utilization thresholds pertaining to CPU utilization." + }, + "grantedMemoryThresholds": { + "$ref": "Thresholds", + "description": "Optional. Utilization thresholds pertaining to amount of granted memory." + }, + "nodeTypeId": { + "description": "Required. The canonical identifier of the node type to add or remove. Corresponds to the `NodeType`.", + "type": "string" + }, + "scaleOutSize": { + "description": "Required. Number of nodes to add to a cluster during a scale-out operation. Must be divisible by 2 for stretched clusters. During a scale-in operation only one node (or 2 for stretched clusters) are removed in a single iteration.", + "format": "int32", + "type": "integer" + }, + "storageThresholds": { + "$ref": "Thresholds", + "description": "Optional. Utilization thresholds pertaining to amount of consumed storage." + } + }, + "type": "object" + }, + "AutoscalingSettings": { + "description": "Autoscaling settings define the rules used by VMware Engine to automatically scale-out and scale-in the clusters in a private cloud.", + "id": "AutoscalingSettings", + "properties": { + "autoscalingPolicies": { + "additionalProperties": { + "$ref": "AutoscalingPolicy" + }, + "description": "Required. The map with autoscaling policies applied to the cluster. The key is the identifier of the policy. It must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5) Currently there map must contain only one element that describes the autoscaling policy for compute nodes.", + "type": "object" + }, + "coolDownPeriod": { + "description": "Optional. The minimum duration between consecutive autoscale operations. It starts once addition or removal of nodes is fully completed. Defaults to 30 minutes if not specified. Cool down period must be in whole minutes (for example, 30, 31, 50, 180 minutes).", + "format": "google-duration", + "type": "string" + }, + "maxClusterNodeCount": { + "description": "Optional. Maximum number of nodes of any type in a cluster. If not specified the default limits apply.", + "format": "int32", + "type": "integer" + }, + "minClusterNodeCount": { + "description": "Optional. Minimum number of nodes of any type in a cluster. If not specified the default limits apply.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "Binding": { "description": "Associates `members`, or principals, with a `role`.", "id": "Binding", @@ -3250,6 +3311,10 @@ "description": "A cluster in a private cloud.", "id": "Cluster", "properties": { + "autoscalingSettings": { + "$ref": "AutoscalingSettings", + "description": "Optional. Configuration of the autoscaling applied to this cluster." + }, "createTime": { "description": "Output only. Creation time of this resource.", "format": "google-datetime", @@ -5382,6 +5447,23 @@ }, "type": "object" }, + "Thresholds": { + "description": "Thresholds define the utilization of resources triggering scale-out and scale-in operations.", + "id": "Thresholds", + "properties": { + "scaleIn": { + "description": "Required. The utilization triggering the scale-in operation in percent.", + "format": "int32", + "type": "integer" + }, + "scaleOut": { + "description": "Required. The utilization triggering the scale-out operation in percent.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "UndeletePrivateCloudRequest": { "description": "Request message for VmwareEngine.UndeletePrivateCloud", "id": "UndeletePrivateCloudRequest", diff --git a/discovery/workloadmanager-v1.json b/discovery/workloadmanager-v1.json index dcea7499b3..16b9e2f496 100644 --- a/discovery/workloadmanager-v1.json +++ b/discovery/workloadmanager-v1.json @@ -772,7 +772,7 @@ } } }, - "revision": "20240619", + "revision": "20240701", "rootUrl": "https://workloadmanager.googleapis.com/", "schemas": { "AgentCommand": { @@ -797,6 +797,10 @@ "description": "Provides the mapping of a cloud asset to a direct physical location or to a proxy that defines the location on its behalf.", "id": "AssetLocation", "properties": { + "ccfeRmsPath": { + "description": "Spanner path of the CCFE RMS database. It is only applicable for CCFE tenants that use CCFE RMS for storing resource metadata.", + "type": "string" + }, "expected": { "$ref": "IsolationExpectations", "description": "Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state of the region at the time of asset creation." @@ -2318,7 +2322,15 @@ "SpannerLocation": { "id": "SpannerLocation", "properties": { + "backupName": { + "description": "Set of backups used by the resource with name in the same format as what is available at http://table/spanner_automon.backup_metadata", + "items": { + "type": "string" + }, + "type": "array" + }, "dbName": { + "description": "Set of databases used by the resource in format /span//", "items": { "type": "string" }, diff --git a/discovery/workstations-v1.json b/discovery/workstations-v1.json index 75acfc3442..29cf47af73 100644 --- a/discovery/workstations-v1.json +++ b/discovery/workstations-v1.json @@ -1195,7 +1195,7 @@ } } }, - "revision": "20240619", + "revision": "20240709", "rootUrl": "https://workstations.googleapis.com/", "schemas": { "Accelerator": { @@ -1347,11 +1347,11 @@ "type": "object" }, "DomainConfig": { - "description": "Configuration options for private workstation clusters.", + "description": "Configuration options for a custom domain.", "id": "DomainConfig", "properties": { "domain": { - "description": "Immutable. Whether Workstations endpoint is private.", + "description": "Immutable. Domain used by Workstations for HTTP ingress.", "type": "string" } }, @@ -1940,23 +1940,45 @@ }, "type": "object" }, + "PortRange": { + "description": "A PortRange defines a range of ports. Both first and last are inclusive. To specify a single port, both first and last should be the same.", + "id": "PortRange", + "properties": { + "first": { + "description": "Required. Starting port number for the current range of ports.", + "format": "int32", + "type": "integer" + }, + "last": { + "description": "Required. Ending port number for the current range of ports.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "PrivateClusterConfig": { + "description": "Configuration options for private workstation clusters.", "id": "PrivateClusterConfig", "properties": { "allowedProjects": { + "description": "Optional. Additional projects that are allowed to attach to the workstation cluster's service attachment. By default, the workstation cluster's project and the VPC host project (if different) are allowed.", "items": { "type": "string" }, "type": "array" }, "clusterHostname": { + "description": "Output only. Hostname for the workstation cluster. This field will be populated only when private endpoint is enabled. To access workstations in the workstation cluster, create a new DNS zone mapping this domain name to an internal IP address and a forwarding rule mapping that address to the service attachment.", "readOnly": true, "type": "string" }, "enablePrivateEndpoint": { + "description": "Immutable. Whether Workstations endpoint is private.", "type": "boolean" }, "serviceAttachmentUri": { + "description": "Output only. Service attachment URI for the workstation cluster. The service attachemnt is created when private endpoint is enabled. To access workstations in the workstation cluster, configure access to the managed service using [Private Service Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-services).", "readOnly": true, "type": "string" } @@ -2282,6 +2304,13 @@ "description": "A workstation configuration resource in the Cloud Workstations API. Workstation configurations act as templates for workstations. The workstation configuration defines details such as the workstation virtual machine (VM) instance type, persistent storage, container image defining environment, which IDE or Code Editor to use, and more. Administrators and platform teams can also use [Identity and Access Management (IAM)](https://cloud.google.com/iam/docs/overview) rules to grant access to teams or to individual developers.", "id": "WorkstationConfig", "properties": { + "allowedPorts": { + "description": "Optional. A Single or Range of ports externally accessible in the workstation. If not specified defaults to ports 22, 80 and ports 1024-65535.", + "items": { + "$ref": "PortRange" + }, + "type": "array" + }, "annotations": { "additionalProperties": { "type": "string" diff --git a/discovery/workstations-v1beta.json b/discovery/workstations-v1beta.json index 6a06a9a850..cf8fefe315 100644 --- a/discovery/workstations-v1beta.json +++ b/discovery/workstations-v1beta.json @@ -1127,7 +1127,7 @@ } } }, - "revision": "20240619", + "revision": "20240709", "rootUrl": "https://workstations.googleapis.com/", "schemas": { "Accelerator": { @@ -1315,11 +1315,11 @@ "type": "object" }, "DomainConfig": { - "description": "Configuration options for private workstation clusters.", + "description": "Configuration options for a custom domain.", "id": "DomainConfig", "properties": { "domain": { - "description": "Immutable. Whether Workstations endpoint is private.", + "description": "Immutable. Domain used by Workstations for HTTP ingress.", "type": "string" } }, @@ -1875,7 +1875,7 @@ "type": "object" }, "PortRange": { - "description": "A PortsConfig defines a range of ports. Both first and last are inclusive. To specify a single port, both first and last should be the same.", + "description": "A PortRange defines a range of ports. Both first and last are inclusive. To specify a single port, both first and last should be the same.", "id": "PortRange", "properties": { "first": { @@ -1892,22 +1892,27 @@ "type": "object" }, "PrivateClusterConfig": { + "description": "Configuration options for private workstation clusters.", "id": "PrivateClusterConfig", "properties": { "allowedProjects": { + "description": "Optional. Additional projects that are allowed to attach to the workstation cluster's service attachment. By default, the workstation cluster's project and the VPC host project (if different) are allowed.", "items": { "type": "string" }, "type": "array" }, "clusterHostname": { + "description": "Output only. Hostname for the workstation cluster. This field will be populated only when private endpoint is enabled. To access workstations in the workstation cluster, create a new DNS zone mapping this domain name to an internal IP address and a forwarding rule mapping that address to the service attachment.", "readOnly": true, "type": "string" }, "enablePrivateEndpoint": { + "description": "Immutable. Whether Workstations endpoint is private.", "type": "boolean" }, "serviceAttachmentUri": { + "description": "Output only. Service attachment URI for the workstation cluster. The service attachemnt is created when private endpoint is enabled. To access workstations in the workstation cluster, configure access to the managed service using [Private Service Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-services).", "readOnly": true, "type": "string" } @@ -2099,6 +2104,16 @@ "readOnly": true, "type": "boolean" }, + "satisfiesPzi": { + "description": "Output only. Reserved for future use.", + "readOnly": true, + "type": "boolean" + }, + "satisfiesPzs": { + "description": "Output only. Reserved for future use.", + "readOnly": true, + "type": "boolean" + }, "sourceWorkstation": { "description": "Optional. The source workstation from which this workstations persistent directories were cloned on creation.", "type": "string" @@ -2219,6 +2234,16 @@ "readOnly": true, "type": "boolean" }, + "satisfiesPzi": { + "description": "Output only. Reserved for future use.", + "readOnly": true, + "type": "boolean" + }, + "satisfiesPzs": { + "description": "Output only. Reserved for future use.", + "readOnly": true, + "type": "boolean" + }, "subnetwork": { "description": "Immutable. Name of the Compute Engine subnetwork in which instances associated with this workstation cluster will be created. Must be part of the subnetwork specified for this workstation cluster.", "type": "string" @@ -2366,6 +2391,16 @@ "format": "google-duration", "type": "string" }, + "satisfiesPzi": { + "description": "Output only. Reserved for future use.", + "readOnly": true, + "type": "boolean" + }, + "satisfiesPzs": { + "description": "Output only. Reserved for future use.", + "readOnly": true, + "type": "boolean" + }, "uid": { "description": "Output only. A system-assigned unique identifier for this workstation configuration.", "readOnly": true, diff --git a/package.json b/package.json index 089947d49e..60ae38c301 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "clean": "gts clean", "fix": "gts fix", "pregenerate": "npm run build-tools", - "generate": "node build/src/generator/generator.js", + "generate": "node --max-old-space-size=8192 build/src/generator/generator.js", "docs-test": "echo 🙈 this was taking too long and timing out CI", "presubmit-prs": "npm run compile", "submit-prs": "node --max-old-space-size=8192 build/src/generator/synth.js", diff --git a/release-please-config.json b/release-please-config.json index 66bfca6f90..4b0d56c3b0 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -1,9 +1,10 @@ { "bootstrap-sha": "6e61af34c0bfdfc3d6f973bffcd6a7e2420590d2", - "initial-version": "0.1.0", "packages": { "src/apis/abusiveexperiencereport": {}, "src/apis/acceleratedmobilepageurl": {}, + "src/apis/acmedns": {}, + "src/apis/addressvalidation": {}, "src/apis/adexchangebuyer": {}, "src/apis/adexchangebuyer2": {}, "src/apis/adexperiencereport": {}, @@ -11,6 +12,8 @@ "src/apis/admob": {}, "src/apis/adsense": {}, "src/apis/adsensehost": {}, + "src/apis/adsenseplatform": {}, + "src/apis/airquality": {}, "src/apis/alertcenter": {}, "src/apis/analytics": {}, "src/apis/analyticsreporting": {}, @@ -18,30 +21,41 @@ "src/apis/androidenterprise": {}, "src/apis/androidmanagement": {}, "src/apis/androidpublisher": {}, + "src/apis/apim": {}, + "src/apis/apphub": {}, "src/apis/appsactivity": {}, "src/apis/authorizedbuyersmarketplace": {}, + "src/apis/backupdr": {}, + "src/apis/biglake": {}, "src/apis/bigtableadmin": {}, + "src/apis/blockchainnodeengine": {}, "src/apis/blogger": {}, "src/apis/books": {}, "src/apis/businessprofileperformance": {}, "src/apis/calendar": {}, "src/apis/chat": {}, + "src/apis/checks": {}, "src/apis/chromemanagement": {}, "src/apis/chromepolicy": {}, "src/apis/chromeuxreport": {}, "src/apis/civicinfo": {}, "src/apis/classroom": {}, + "src/apis/cloudcontrolspartner": {}, "src/apis/cloudidentity": {}, "src/apis/cloudkms": {}, "src/apis/cloudsearch": {}, "src/apis/cloudshell": {}, - "src/apis/cloudsupport": {}, "src/apis/cloudtasks": {}, + "src/apis/config": {}, "src/apis/connectors": {}, + "src/apis/contactcenteraiplatform": {}, "src/apis/content": {}, + "src/apis/css": {}, "src/apis/customsearch": {}, "src/apis/datapipelines": {}, + "src/apis/dataportability": {}, "src/apis/deploymentmanager": {}, + "src/apis/developerconnect": {}, "src/apis/dfareporting": {}, "src/apis/digitalassetlinks": {}, "src/apis/discovery": {}, @@ -58,6 +72,7 @@ "src/apis/fcmdata": {}, "src/apis/firebase": {}, "src/apis/firebaseappcheck": {}, + "src/apis/firebaseappdistribution": {}, "src/apis/firebasedatabase": {}, "src/apis/firebasedynamiclinks": {}, "src/apis/firebasehosting": {}, @@ -70,6 +85,7 @@ "src/apis/gamesConfiguration": {}, "src/apis/gamesManagement": {}, "src/apis/genomics": {}, + "src/apis/gkeonprem": {}, "src/apis/gmail": {}, "src/apis/gmailpostmastertools": {}, "src/apis/groupsmigration": {}, @@ -80,11 +96,18 @@ "src/apis/ideahub": {}, "src/apis/identitytoolkit": {}, "src/apis/indexing": {}, + "src/apis/integrations": {}, + "src/apis/keep": {}, "src/apis/kgsearch": {}, + "src/apis/kmsinventory": {}, "src/apis/libraryagent": {}, "src/apis/licensing": {}, "src/apis/localservices": {}, + "src/apis/looker": {}, "src/apis/manufacturers": {}, + "src/apis/marketingplatformadmin": {}, + "src/apis/meet": {}, + "src/apis/merchantapi": {}, "src/apis/ml": {}, "src/apis/mybusinessaccountmanagement": {}, "src/apis/mybusinessbusinesscalls": {}, @@ -103,13 +126,16 @@ "src/apis/playablelocations": {}, "src/apis/playcustomapp": {}, "src/apis/playdeveloperreporting": {}, + "src/apis/playgrouping": {}, "src/apis/playintegrity": {}, "src/apis/plus": {}, "src/apis/policyanalyzer": {}, "src/apis/policysimulator": {}, + "src/apis/pollen": {}, "src/apis/poly": {}, "src/apis/prod_tt_sasportal": {}, "src/apis/pubsublite": {}, + "src/apis/readerrevenuesubscriptionlinking": {}, "src/apis/realtimebidding": {}, "src/apis/recommendationengine": {}, "src/apis/remotebuildexecution": {}, @@ -118,6 +144,7 @@ "src/apis/safebrowsing": {}, "src/apis/sasportal": {}, "src/apis/script": {}, + "src/apis/searchads360": {}, "src/apis/searchconsole": {}, "src/apis/serviceconsumermanagement": {}, "src/apis/servicenetworking": {}, @@ -125,6 +152,7 @@ "src/apis/siteVerification": {}, "src/apis/slides": {}, "src/apis/smartdevicemanagement": {}, + "src/apis/solar": {}, "src/apis/sourcerepo": {}, "src/apis/sql": {}, "src/apis/sqladmin": {}, @@ -140,165 +168,15 @@ "src/apis/vectortile": {}, "src/apis/verifiedaccess": {}, "src/apis/versionhistory": {}, + "src/apis/walletobjects": {}, "src/apis/webfonts": {}, "src/apis/webmasters": {}, "src/apis/workflowexecutions": {}, "src/apis/workloadmanager": {}, - "src/apis/workstations": {}, + "src/apis/workspaceevents": {}, "src/apis/youtube": {}, "src/apis/youtubeAnalytics": {}, "src/apis/youtubereporting": {}, - ".": {}, - "src/apis/ids": {}, - "src/apis/places": {}, - "src/apis/vpcaccess": {}, - "src/apis/privateca": {}, - "src/apis/lifesciences": {}, - "src/apis/datalabeling": {}, - "src/apis/cloudasset": {}, - "src/apis/tasks": {}, - "src/apis/datalineage": {}, - "src/apis/transcoder": {}, - "src/apis/clouderrorreporting": {}, - "src/apis/kmsinventory": {}, - "src/apis/websecurityscanner": {}, - "src/apis/apigateway": {}, - "src/apis/analyticshub": {}, - "src/apis/notebooks": {}, - "src/apis/bigqueryconnection": {}, - "src/apis/recommender": {}, - "src/apis/analyticsadmin": {}, - "src/apis/servicedirectory": {}, - "src/apis/monitoring": {}, - "src/apis/tpu": {}, - "src/apis/gkebackup": {}, - "src/apis/workflows": {}, - "src/apis/jobs": {}, - "src/apis/containeranalysis": {}, - "src/apis/accesscontextmanager": {}, - "src/apis/datafusion": {}, - "src/apis/orgpolicy": {}, - "src/apis/documentai": {}, - "src/apis/datastream": {}, - "src/apis/composer": {}, - "src/apis/assuredworkloads": {}, - "src/apis/logging": {}, - "src/apis/domains": {}, - "src/apis/gkehub": {}, - "src/apis/vision": {}, - "src/apis/policytroubleshooter": {}, - "src/apis/dataflow": {}, - "src/apis/gameservices": {}, - "src/apis/acmedns": {}, - "src/apis/discoveryengine": {}, - "src/apis/secretmanager": {}, - "src/apis/bigquery": {}, - "src/apis/cloudfunctions": {}, - "src/apis/vmmigration": {}, - "src/apis/certificatemanager": {}, - "src/apis/baremetalsolution": {}, - "src/apis/accessapproval": {}, - "src/apis/container": {}, - "src/apis/datamigration": {}, - "src/apis/publicca": {}, - "src/apis/batch": {}, - "src/apis/datacatalog": {}, - "src/apis/managedidentities": {}, - "src/apis/bigquerydatatransfer": {}, - "src/apis/apikeys": {}, - "src/apis/dns": {}, - "src/apis/memcache": {}, - "src/apis/cloudscheduler": {}, - "src/apis/dialogflow": {}, - "src/apis/contentwarehouse": {}, - "src/apis/speech": {}, - "src/apis/contactcenterinsights": {}, - "src/apis/oslogin": {}, - "src/apis/texttospeech": {}, - "src/apis/readerrevenuesubscriptionlinking": {}, - "src/apis/compute": {}, - "src/apis/cloudtrace": {}, - "src/apis/dataplex": {}, - "src/apis/advisorynotifications": {}, - "src/apis/language": {}, - "src/apis/retail": {}, - "src/apis/file": {}, - "src/apis/iap": {}, - "src/apis/cloudresourcemanager": {}, - "src/apis/osconfig": {}, - "src/apis/essentialcontacts": {}, - "src/apis/appengine": {}, - "src/apis/checks": {}, - "src/apis/cloudchannel": {}, - "src/apis/translate": {}, - "src/apis/bigqueryreservation": {}, - "src/apis/apigeeregistry": {}, - "src/apis/eventarc": {}, - "src/apis/redis": {}, - "src/apis/clouddebugger": {}, - "src/apis/servicecontrol": {}, - "src/apis/videointelligence": {}, - "src/apis/cloudbuild": {}, - "src/apis/dlp": {}, - "src/apis/networksecurity": {}, - "src/apis/binaryauthorization": {}, - "src/apis/securitycenter": {}, - "src/apis/cloudprofiler": {}, - "src/apis/dataproc": {}, - "src/apis/pubsub": {}, - "src/apis/dataform": {}, - "src/apis/servicemanagement": {}, - "src/apis/searchads360": {}, - "src/apis/firebaseappdistribution": {}, - "src/apis/billingbudgets": {}, - "src/apis/cloudiot": {}, - "src/apis/area120tables": {}, - "src/apis/beyondcorp": {}, - "src/apis/networkmanagement": {}, - "src/apis/networkconnectivity": {}, - "src/apis/analyticsdata": {}, - "src/apis/spanner": {}, - "src/apis/artifactregistry": {}, - "src/apis/firestore": {}, - "src/apis/recaptchaenterprise": {}, - "src/apis/clouddeploy": {}, - "src/apis/datastore": {}, - "src/apis/integrations": {}, - "src/apis/serviceusage": {}, - "src/apis/iamcredentials": {}, - "src/apis/resourcesettings": {}, - "src/apis/storagetransfer": {}, - "src/apis/run": {}, - "src/apis/aiplatform": {}, - "src/apis/webrisk": {}, - "src/apis/gkeonprem": {}, - "src/apis/blockchainnodeengine": {}, - "src/apis/migrationcenter": {}, - "src/apis/contactcenteraiplatform": {}, - "src/apis/cloudbilling": {}, - "src/apis/metastore": {}, - "src/apis/rapidmigrationassessment": {}, - "src/apis/playgrouping": {}, - "src/apis/alloydb": {}, - "src/apis/backupdr": {}, - "src/apis/vmwareengine": {}, - "src/apis/biglake": {}, - "src/apis/looker": {}, - "src/apis/bigquerydatapolicy": {}, - "src/apis/walletobjects": {}, - "src/apis/apphub": {}, - "src/apis/dataportability": {}, - "src/apis/workspaceevents": {}, - "src/apis/marketingplatformadmin": {}, - "src/apis/solar": {}, - "src/apis/config": {}, - "src/apis/cloudcontrolspartner": {}, - "src/apis/addressvalidation": {}, - "src/apis/developerconnect": {}, - "src/apis/merchantapi": {}, - "src/apis/meet": {}, - "src/apis/pollen": {}, - "src/apis/airquality": {}, - "src/apis/apim": {} + ".": {} } } \ No newline at end of file diff --git a/src/apis/accesscontextmanager/v1.ts b/src/apis/accesscontextmanager/v1.ts index 8a5e9a2eec..321c39d1e3 100644 --- a/src/apis/accesscontextmanager/v1.ts +++ b/src/apis/accesscontextmanager/v1.ts @@ -401,7 +401,7 @@ export namespace accesscontextmanager_v1 { */ sourceRestriction?: string | null; /** - * Sources that this EgressPolicy authorizes access from. If this field is not empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`. + * Sources that this EgressPolicy authorizes access from. If this field is not empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`. TODO (b/332744441): annotate this field with custom_org_policy_accessibility when cl/640698580 will be rolled out. */ sources?: Schema$EgressSource[]; } @@ -423,7 +423,7 @@ export namespace accesscontextmanager_v1 { */ export interface Schema$EgressSource { /** - * An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel name is not specified, only resources within the perimeter can be accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all EgressSources will be allowed. + * An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel name is not specified, only resources within the perimeter can be accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all EgressSources will be allowed. TODO (b/332744441): annotate this field with custom_org_policy_accessibility when cl/640698580 will be rolled out. */ accessLevel?: string | null; } @@ -944,7 +944,7 @@ export namespace accesscontextmanager_v1 { */ export interface Schema$VpcNetworkSource { /** - * Sub-segment ranges of a VPC network. + * Sub-segment ranges of a VPC network. TODO (b/332744441): annotate this field with custom_org_policy_accessibility when cl/640698580 will be rolled out. */ vpcSubnetwork?: Schema$VpcSubNetwork; } diff --git a/src/apis/addressvalidation/v1.ts b/src/apis/addressvalidation/v1.ts index e26afbdc55..3c283b6eab 100644 --- a/src/apis/addressvalidation/v1.ts +++ b/src/apis/addressvalidation/v1.ts @@ -395,7 +395,7 @@ export namespace addressvalidation_v1 { */ dpvDrop?: string | null; /** - * Indicates that more than one DPV return code is valid for the address. Returns a single character. * `Y`: Address was DPV confirmed for primary and any secondary numbers. * `N`: Primary and any secondary number information failed to DPV confirm. * `S`: Address was DPV confirmed for the primary number only, and the secondary number information was present by not confirmed, or a single trailing alpha on a primary number was dropped to make a DPV match and secondary information required. * `D`: Address was DPV confirmed for the primary number only, and the secondary number information was missing. * `R`: Address confirmed but assigned to phantom route R777 and R779 and USPS delivery is not provided. + * Indicates that more than one DPV return code is valid for the address. Returns a single character. * `Y`: Address was DPV confirmed for primary and any secondary numbers. * `N`: Primary and any secondary number information failed to DPV confirm. * `S`: Address was DPV confirmed for the primary number only, and the secondary number information was present but not confirmed, or a single trailing alpha on a primary number was dropped to make a DPV match and secondary information required. * `D`: Address was DPV confirmed for the primary number only, and the secondary number information was missing. * `R`: Address confirmed but assigned to phantom route R777 and R779 and USPS delivery is not provided. */ dpvEnhancedDeliveryCode?: string | null; /** diff --git a/src/apis/admin/directory_v1.ts b/src/apis/admin/directory_v1.ts index fdfc77260e..165c5cd01a 100644 --- a/src/apis/admin/directory_v1.ts +++ b/src/apis/admin/directory_v1.ts @@ -13914,7 +13914,7 @@ export namespace admin_directory_v1 { } /** - * Creates a user. Mutate calls immediately following user creation might sometimes fail as the user isn't fully created due to propagation delay in our backends. Check the error details for the "User creation is not complete" message to see if this is the case. Retrying the calls after some time can help in this case. + * Creates a user. Mutate calls immediately following user creation might sometimes fail as the user isn't fully created due to propagation delay in our backends. Check the error details for the "User creation is not complete" message to see if this is the case. Retrying the calls after some time can help in this case. If `resolveConflictAccount` is set to `true`, a `202` response code means that a conflicting unmanaged account exists and was invited to join the organization. A `409` response code means that a conflicting account exists so the user wasn't created based on the [handling unmanaged user accounts](https://support.google.com/a/answer/11112794) option selected. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. diff --git a/src/apis/adsenseplatform/README.md b/src/apis/adsenseplatform/README.md new file mode 100644 index 0000000000..62808e685e --- /dev/null +++ b/src/apis/adsenseplatform/README.md @@ -0,0 +1,28 @@ +Google Inc. logo + +# adsenseplatform + +> + +## Installation + +```sh +$ npm install @googleapis/adsenseplatform +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/googleapis/google-api-nodejs-client). +Information on classes can be found in [Googleapis Documentation](https://googleapis.dev/nodejs/googleapis/latest/adsenseplatform/classes/Adsenseplatform.html). + +## License +This library is licensed under Apache 2.0. Full license text is available in [LICENSE](https://github.com/googleapis/google-api-nodejs-client/blob/main/LICENSE). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/main/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/googleapis/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/adsenseplatform/index.ts b/src/apis/adsenseplatform/index.ts new file mode 100644 index 0000000000..07854a94c6 --- /dev/null +++ b/src/apis/adsenseplatform/index.ts @@ -0,0 +1,48 @@ +// Copyright 2020 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +/*! THIS FILE IS AUTO-GENERATED */ + +import {AuthPlus, getAPI, GoogleConfigurable} from 'googleapis-common'; +import {adsenseplatform_v1alpha} from './v1alpha'; + +export const VERSIONS = { + v1alpha: adsenseplatform_v1alpha.Adsenseplatform, +}; + +export function adsenseplatform( + version: 'v1alpha' +): adsenseplatform_v1alpha.Adsenseplatform; +export function adsenseplatform( + options: adsenseplatform_v1alpha.Options +): adsenseplatform_v1alpha.Adsenseplatform; +export function adsenseplatform( + this: GoogleConfigurable, + versionOrOptions: 'v1alpha' | adsenseplatform_v1alpha.Options +) { + return getAPI('adsenseplatform', versionOrOptions, VERSIONS, this); +} + +const auth = new AuthPlus(); +export {auth}; +export {adsenseplatform_v1alpha}; +export { + AuthPlus, + GlobalOptions, + APIRequestContext, + GoogleConfigurable, + StreamMethodOptions, + GaxiosPromise, + MethodOptions, + BodyResponseCallback, +} from 'googleapis-common'; diff --git a/src/apis/adsenseplatform/package.json b/src/apis/adsenseplatform/package.json new file mode 100644 index 0000000000..a7a05a26fd --- /dev/null +++ b/src/apis/adsenseplatform/package.json @@ -0,0 +1,43 @@ +{ + "name": "@googleapis/adsenseplatform", + "version": "0.1.0", + "description": "adsenseplatform", + "main": "build/index.js", + "types": "build/index.d.ts", + "keywords": [ + "google" + ], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/googleapis/google-api-nodejs-client", + "bugs": { + "url": "https://github.com/googleapis/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/googleapis/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=12.0.0" + }, + "scripts": { + "fix": "gts fix", + "lint": "gts check", + "compile": "tsc -p .", + "prepare": "npm run compile", + "webpack": "webpack" + }, + "dependencies": { + "googleapis-common": "^7.0.0" + }, + "devDependencies": { + "@microsoft/api-documenter": "^7.8.10", + "@microsoft/api-extractor": "^7.8.10", + "gts": "^5.0.0", + "null-loader": "^4.0.0", + "ts-loader": "^9.0.0", + "typescript": "~4.8.4", + "webpack": "^5.0.0", + "webpack-cli": "^5.0.0" + } +} diff --git a/src/apis/adsenseplatform/tsconfig.json b/src/apis/adsenseplatform/tsconfig.json new file mode 100644 index 0000000000..e081090496 --- /dev/null +++ b/src/apis/adsenseplatform/tsconfig.json @@ -0,0 +1,10 @@ +{ + "extends": "./node_modules/gts/tsconfig-google.json", + "compilerOptions": { + "rootDir": ".", + "outDir": "build" + }, + "include": [ + "*.ts", + ] +} diff --git a/src/apis/adsenseplatform/v1alpha.ts b/src/apis/adsenseplatform/v1alpha.ts new file mode 100644 index 0000000000..273ecdcdda --- /dev/null +++ b/src/apis/adsenseplatform/v1alpha.ts @@ -0,0 +1,1465 @@ +// Copyright 2020 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +/* eslint-disable @typescript-eslint/no-explicit-any */ +/* eslint-disable @typescript-eslint/no-unused-vars */ +/* eslint-disable @typescript-eslint/no-empty-interface */ +/* eslint-disable @typescript-eslint/no-namespace */ +/* eslint-disable no-irregular-whitespace */ + +import { + OAuth2Client, + JWT, + Compute, + UserRefreshClient, + BaseExternalAccountClient, + GaxiosPromise, + GoogleConfigurable, + createAPIRequest, + MethodOptions, + StreamMethodOptions, + GlobalOptions, + GoogleAuth, + BodyResponseCallback, + APIRequestContext, +} from 'googleapis-common'; +import {Readable} from 'stream'; + +export namespace adsenseplatform_v1alpha { + export interface Options extends GlobalOptions { + version: 'v1alpha'; + } + + interface StandardParameters { + /** + * Auth client or API Key for the request + */ + auth?: + | string + | OAuth2Client + | JWT + | Compute + | UserRefreshClient + | BaseExternalAccountClient + | GoogleAuth; + + /** + * V1 error format. + */ + '$.xgafv'?: string; + /** + * OAuth access token. + */ + access_token?: string; + /** + * Data format for response. + */ + alt?: string; + /** + * JSONP + */ + callback?: string; + /** + * Selector specifying which fields to include in a partial response. + */ + fields?: string; + /** + * API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. + */ + key?: string; + /** + * OAuth 2.0 token for the current user. + */ + oauth_token?: string; + /** + * Returns response with indentations and line breaks. + */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + */ + quotaUser?: string; + /** + * Legacy upload protocol for media (e.g. "media", "multipart"). + */ + uploadType?: string; + /** + * Upload protocol for media (e.g. "raw", "multipart"). + */ + upload_protocol?: string; + } + + /** + * AdSense Platform API + * + * + * + * @example + * ```js + * const {google} = require('googleapis'); + * const adsenseplatform = google.adsenseplatform('v1alpha'); + * ``` + */ + export class Adsenseplatform { + context: APIRequestContext; + platforms: Resource$Platforms; + + constructor(options: GlobalOptions, google?: GoogleConfigurable) { + this.context = { + _options: options || {}, + google, + }; + + this.platforms = new Resource$Platforms(this.context); + } + } + + /** + * Representation of an Account. + */ + export interface Schema$Account { + /** + * Output only. Creation time of the account. + */ + createTime?: string | null; + /** + * Required. An opaque token that uniquely identifies the account among all the platform's accounts. This string may contain at most 64 non-whitespace ASCII characters, but otherwise has no predefined structure. However, it is expected to be a platform-specific identifier for the user creating the account, so that only a single account can be created for any given user. This field must not contain any information that is recognizable as personally identifiable information. e.g. it should not be an email address or login name. Once an account has been created, a second attempt to create an account using the same creation_request_id will result in an ALREADY_EXISTS error. + */ + creationRequestId?: string | null; + /** + * Display name of this account. + */ + displayName?: string | null; + /** + * Output only. Resource name of the account. Format: platforms/pub-[0-9]+/accounts/pub-[0-9]+ + */ + name?: string | null; + /** + * Required. Input only. CLDR region code of the country/region of the address. Set this to country code of the child account if known, otherwise to your own country code. + */ + regionCode?: string | null; + /** + * Output only. Approval state of the account. + */ + state?: string | null; + /** + * Required. The IANA TZ timezone code of this account. For more information, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. This field is used for reporting. It is recommended to set it to the same value for all child accounts. + */ + timeZone?: Schema$TimeZone; + } + /** + * Address data. + */ + export interface Schema$Address { + /** + * First line of address. Max length 64 bytes or 30 characters. + */ + address1?: string | null; + /** + * Second line of address. Max length 64 bytes or 30 characters. + */ + address2?: string | null; + /** + * City. Max length 60 bytes or 30 characters. + */ + city?: string | null; + /** + * Name of the company. Max length 255 bytes or 34 characters. + */ + company?: string | null; + /** + * Contact name of the company. Max length 128 bytes or 34 characters. + */ + contact?: string | null; + /** + * Fax number with international code (i.e. +441234567890). + */ + fax?: string | null; + /** + * Phone number with international code (i.e. +441234567890). + */ + phone?: string | null; + /** + * Country/Region code. The region is specified as a CLDR region code (e.g. "US", "FR"). + */ + regionCode?: string | null; + /** + * State. Max length 60 bytes or 30 characters. + */ + state?: string | null; + /** + * Zip/post code. Max length 10 bytes or 10 characters. + */ + zip?: string | null; + } + /** + * Request definition for the account close rpc. + */ + export interface Schema$CloseAccountRequest {} + /** + * Response definition for the account close rpc. + */ + export interface Schema$CloseAccountResponse {} + /** + * A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \} + */ + export interface Schema$Empty {} + /** + * A platform sub-account event to record spam signals. + */ + export interface Schema$Event { + /** + * Required. Information associated with the event. + */ + eventInfo?: Schema$EventInfo; + /** + * Required. Event timestamp. + */ + eventTime?: string | null; + /** + * Required. Event type. + */ + eventType?: string | null; + } + /** + * Private information for partner recorded events (PII). + */ + export interface Schema$EventInfo { + /** + * The billing address of the publisher associated with this event, if available. + */ + billingAddress?: Schema$Address; + /** + * Required. The email address that is associated with the publisher when performing the event. + */ + email?: string | null; + } + /** + * Response definition for the list accounts rpc. + */ + export interface Schema$ListAccountsResponse { + /** + * The Accounts returned in the list response. Represented by a partial view of the Account resource, populating `name` and `creation_request_id`. + */ + accounts?: Schema$Account[]; + /** + * Continuation token used to page through accounts. To retrieve the next page of the results, set the next request's "page_token" value to this. + */ + nextPageToken?: string | null; + } + /** + * Response definition for the site list rpc. + */ + export interface Schema$ListSitesResponse { + /** + * Continuation token used to page through sites. To retrieve the next page of the results, set the next request's "page_token" value to this. + */ + nextPageToken?: string | null; + /** + * The sites returned in this list response. + */ + sites?: Schema$Site[]; + } + /** + * Response definition for the lookup account rpc. + */ + export interface Schema$LookupAccountResponse { + /** + * The name of the Account Format: platforms/{platform\}/accounts/{account_id\} + */ + name?: string | null; + } + /** + * Response definition for the site request review rpc. + */ + export interface Schema$RequestSiteReviewResponse {} + /** + * Representation of a Site. + */ + export interface Schema$Site { + /** + * Domain/sub-domain of the site. Must be a valid domain complying with [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt) and formatted as punycode [RFC 3492](https://www.ietf.org/rfc/rfc3492.txt) in case the domain contains unicode characters. + */ + domain?: string | null; + /** + * Output only. Resource name of a site. Format: platforms/{platform\}/accounts/{account\}/sites/{site\} + */ + name?: string | null; + /** + * Output only. State of a site. + */ + state?: string | null; + } + /** + * Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones). + */ + export interface Schema$TimeZone { + /** + * IANA Time Zone Database time zone, e.g. "America/New_York". + */ + id?: string | null; + /** + * Optional. IANA Time Zone Database version number, e.g. "2019a". + */ + version?: string | null; + } + + export class Resource$Platforms { + context: APIRequestContext; + accounts: Resource$Platforms$Accounts; + constructor(context: APIRequestContext) { + this.context = context; + this.accounts = new Resource$Platforms$Accounts(this.context); + } + } + + export class Resource$Platforms$Accounts { + context: APIRequestContext; + events: Resource$Platforms$Accounts$Events; + sites: Resource$Platforms$Accounts$Sites; + constructor(context: APIRequestContext) { + this.context = context; + this.events = new Resource$Platforms$Accounts$Events(this.context); + this.sites = new Resource$Platforms$Accounts$Sites(this.context); + } + + /** + * Closes a sub-account. + * + * @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. + */ + close( + params: Params$Resource$Platforms$Accounts$Close, + options: StreamMethodOptions + ): GaxiosPromise; + close( + params?: Params$Resource$Platforms$Accounts$Close, + options?: MethodOptions + ): GaxiosPromise; + close( + params: Params$Resource$Platforms$Accounts$Close, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + close( + params: Params$Resource$Platforms$Accounts$Close, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + close( + params: Params$Resource$Platforms$Accounts$Close, + callback: BodyResponseCallback + ): void; + close(callback: BodyResponseCallback): void; + close( + paramsOrCallback?: + | Params$Resource$Platforms$Accounts$Close + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Platforms$Accounts$Close; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Platforms$Accounts$Close; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://adsenseplatform.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+name}:close').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Creates a sub-account. + * + * @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$Platforms$Accounts$Create, + options: StreamMethodOptions + ): GaxiosPromise; + create( + params?: Params$Resource$Platforms$Accounts$Create, + options?: MethodOptions + ): GaxiosPromise; + create( + params: Params$Resource$Platforms$Accounts$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Platforms$Accounts$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Platforms$Accounts$Create, + callback: BodyResponseCallback + ): void; + create(callback: BodyResponseCallback): void; + create( + paramsOrCallback?: + | Params$Resource$Platforms$Accounts$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Platforms$Accounts$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Platforms$Accounts$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://adsenseplatform.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+parent}/accounts').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); + } + } + + /** + * Gets information about the selected sub-account. + * + * @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$Platforms$Accounts$Get, + options: StreamMethodOptions + ): GaxiosPromise; + get( + params?: Params$Resource$Platforms$Accounts$Get, + options?: MethodOptions + ): GaxiosPromise; + get( + params: Params$Resource$Platforms$Accounts$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Platforms$Accounts$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Platforms$Accounts$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Platforms$Accounts$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Platforms$Accounts$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Platforms$Accounts$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://adsenseplatform.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 a partial view of sub-accounts for a specific parent account. + * + * @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$Platforms$Accounts$List, + options: StreamMethodOptions + ): GaxiosPromise; + list( + params?: Params$Resource$Platforms$Accounts$List, + options?: MethodOptions + ): GaxiosPromise; + list( + params: Params$Resource$Platforms$Accounts$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Platforms$Accounts$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Platforms$Accounts$List, + callback: BodyResponseCallback + ): void; + list(callback: BodyResponseCallback): void; + list( + paramsOrCallback?: + | Params$Resource$Platforms$Accounts$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Platforms$Accounts$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Platforms$Accounts$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://adsenseplatform.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+parent}/accounts').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); + } + } + + /** + * Looks up information about a sub-account for a specified creation_request_id. If no account exists for the given creation_request_id, returns 404. + * + * @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. + */ + lookup( + params: Params$Resource$Platforms$Accounts$Lookup, + options: StreamMethodOptions + ): GaxiosPromise; + lookup( + params?: Params$Resource$Platforms$Accounts$Lookup, + options?: MethodOptions + ): GaxiosPromise; + lookup( + params: Params$Resource$Platforms$Accounts$Lookup, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + lookup( + params: Params$Resource$Platforms$Accounts$Lookup, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + lookup( + params: Params$Resource$Platforms$Accounts$Lookup, + callback: BodyResponseCallback + ): void; + lookup(callback: BodyResponseCallback): void; + lookup( + paramsOrCallback?: + | Params$Resource$Platforms$Accounts$Lookup + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Platforms$Accounts$Lookup; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Platforms$Accounts$Lookup; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://adsenseplatform.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+parent}/accounts:lookup').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); + } + } + } + + export interface Params$Resource$Platforms$Accounts$Close + extends StandardParameters { + /** + * Required. Account to close. Format: platforms/{platform\}/accounts/{account_id\} + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$CloseAccountRequest; + } + export interface Params$Resource$Platforms$Accounts$Create + extends StandardParameters { + /** + * Required. Platform to create an account for. Format: platforms/{platform\} + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$Account; + } + export interface Params$Resource$Platforms$Accounts$Get + extends StandardParameters { + /** + * Required. Account to get information about. Format: platforms/{platform\}/accounts/{account_id\} + */ + name?: string; + } + export interface Params$Resource$Platforms$Accounts$List + extends StandardParameters { + /** + * Optional. The maximum number of accounts to include in the response, used for paging. If unspecified, at most 10000 accounts will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000. + */ + pageSize?: number; + /** + * Optional. A page token, received from a previous `ListAccounts` call. Provide this to retrieve the subsequent page. + */ + pageToken?: string; + /** + * Required. Platform who parents the accounts. Format: platforms/{platform\} + */ + parent?: string; + } + export interface Params$Resource$Platforms$Accounts$Lookup + extends StandardParameters { + /** + * Optional. The creation_request_id provided when calling createAccount. + */ + creationRequestId?: string; + /** + * Required. Platform who parents the account. Format: platforms/{platform\} + */ + parent?: string; + } + + export class Resource$Platforms$Accounts$Events { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Creates an account event. + * + * @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$Platforms$Accounts$Events$Create, + options: StreamMethodOptions + ): GaxiosPromise; + create( + params?: Params$Resource$Platforms$Accounts$Events$Create, + options?: MethodOptions + ): GaxiosPromise; + create( + params: Params$Resource$Platforms$Accounts$Events$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Platforms$Accounts$Events$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Platforms$Accounts$Events$Create, + callback: BodyResponseCallback + ): void; + create(callback: BodyResponseCallback): void; + create( + paramsOrCallback?: + | Params$Resource$Platforms$Accounts$Events$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Platforms$Accounts$Events$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Platforms$Accounts$Events$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://adsenseplatform.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+parent}/events').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); + } + } + } + + export interface Params$Resource$Platforms$Accounts$Events$Create + extends StandardParameters { + /** + * Required. Account to log events about. Format: platforms/{platform\}/accounts/{account\} + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$Event; + } + + export class Resource$Platforms$Accounts$Sites { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Creates a site for a specified account. + * + * @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$Platforms$Accounts$Sites$Create, + options: StreamMethodOptions + ): GaxiosPromise; + create( + params?: Params$Resource$Platforms$Accounts$Sites$Create, + options?: MethodOptions + ): GaxiosPromise; + create( + params: Params$Resource$Platforms$Accounts$Sites$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Platforms$Accounts$Sites$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Platforms$Accounts$Sites$Create, + callback: BodyResponseCallback + ): void; + create(callback: BodyResponseCallback): void; + create( + paramsOrCallback?: + | Params$Resource$Platforms$Accounts$Sites$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Platforms$Accounts$Sites$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Platforms$Accounts$Sites$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://adsenseplatform.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+parent}/sites').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 site from a specified account. + * + * @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$Platforms$Accounts$Sites$Delete, + options: StreamMethodOptions + ): GaxiosPromise; + delete( + params?: Params$Resource$Platforms$Accounts$Sites$Delete, + options?: MethodOptions + ): GaxiosPromise; + delete( + params: Params$Resource$Platforms$Accounts$Sites$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Platforms$Accounts$Sites$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Platforms$Accounts$Sites$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Platforms$Accounts$Sites$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Platforms$Accounts$Sites$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Platforms$Accounts$Sites$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://adsenseplatform.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 site from a specified sub-account. + * + * @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$Platforms$Accounts$Sites$Get, + options: StreamMethodOptions + ): GaxiosPromise; + get( + params?: Params$Resource$Platforms$Accounts$Sites$Get, + options?: MethodOptions + ): GaxiosPromise; + get( + params: Params$Resource$Platforms$Accounts$Sites$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Platforms$Accounts$Sites$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Platforms$Accounts$Sites$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Platforms$Accounts$Sites$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Platforms$Accounts$Sites$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Platforms$Accounts$Sites$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://adsenseplatform.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 sites for a specific account. + * + * @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$Platforms$Accounts$Sites$List, + options: StreamMethodOptions + ): GaxiosPromise; + list( + params?: Params$Resource$Platforms$Accounts$Sites$List, + options?: MethodOptions + ): GaxiosPromise; + list( + params: Params$Resource$Platforms$Accounts$Sites$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Platforms$Accounts$Sites$List, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Platforms$Accounts$Sites$List, + callback: BodyResponseCallback + ): void; + list(callback: BodyResponseCallback): void; + list( + paramsOrCallback?: + | Params$Resource$Platforms$Accounts$Sites$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Platforms$Accounts$Sites$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Platforms$Accounts$Sites$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://adsenseplatform.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+parent}/sites').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); + } + } + + /** + * Requests the review of a site. The site should be in REQUIRES_REVIEW or NEEDS_ATTENTION state. Note: Make sure you place an [ad tag](https://developers.google.com/adsense/platforms/direct/ad-tags) on your site before requesting a review. + * + * @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. + */ + requestReview( + params: Params$Resource$Platforms$Accounts$Sites$Requestreview, + options: StreamMethodOptions + ): GaxiosPromise; + requestReview( + params?: Params$Resource$Platforms$Accounts$Sites$Requestreview, + options?: MethodOptions + ): GaxiosPromise; + requestReview( + params: Params$Resource$Platforms$Accounts$Sites$Requestreview, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + requestReview( + params: Params$Resource$Platforms$Accounts$Sites$Requestreview, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + requestReview( + params: Params$Resource$Platforms$Accounts$Sites$Requestreview, + callback: BodyResponseCallback + ): void; + requestReview( + callback: BodyResponseCallback + ): void; + requestReview( + paramsOrCallback?: + | Params$Resource$Platforms$Accounts$Sites$Requestreview + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Platforms$Accounts$Sites$Requestreview; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Platforms$Accounts$Sites$Requestreview; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://adsenseplatform.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+name}:requestReview').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + 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$Platforms$Accounts$Sites$Create + extends StandardParameters { + /** + * Required. Account to create site. Format: platforms/{platform\}/accounts/{account_id\} + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$Site; + } + export interface Params$Resource$Platforms$Accounts$Sites$Delete + extends StandardParameters { + /** + * Required. The name of the site to delete. Format: platforms/{platform\}/accounts/{account\}/sites/{site\} + */ + name?: string; + } + export interface Params$Resource$Platforms$Accounts$Sites$Get + extends StandardParameters { + /** + * Required. The name of the site to retrieve. Format: platforms/{platform\}/accounts/{account\}/sites/{site\} + */ + name?: string; + } + export interface Params$Resource$Platforms$Accounts$Sites$List + extends StandardParameters { + /** + * The maximum number of sites to include in the response, used for paging. If unspecified, at most 10000 sites will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000. + */ + pageSize?: number; + /** + * A page token, received from a previous `ListSites` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListSites` must match the call that provided the page token. + */ + pageToken?: string; + /** + * Required. The account which owns the sites. Format: platforms/{platform\}/accounts/{account\} + */ + parent?: string; + } + export interface Params$Resource$Platforms$Accounts$Sites$Requestreview + extends StandardParameters { + /** + * Required. The name of the site to submit for review. Format: platforms/{platform\}/accounts/{account\}/sites/{site\} + */ + name?: string; + } +} diff --git a/src/apis/adsenseplatform/webpack.config.js b/src/apis/adsenseplatform/webpack.config.js new file mode 100644 index 0000000000..f643dae195 --- /dev/null +++ b/src/apis/adsenseplatform/webpack.config.js @@ -0,0 +1,79 @@ +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Use `npm run webpack` to produce Webpack bundle for this library. + +const path = require('path'); + +module.exports = { + entry: './index.ts', + resolve: { + extensions: ['.ts', '.js', '.json'], + fallback: { + crypto: false, + child_process: false, + fs: false, + http2: false, + buffer: 'browserify', + process: false, + os: false, + querystring: false, + path: false, + stream: 'stream-browserify', + url: false, + util: false, + zlib: false, + }, + }, + output: { + library: 'Adsenseplatform', + filename: 'adsenseplatform.min.js', + path: path.resolve(__dirname, 'dist'), + }, + module: { + rules: [ + { + test: /node_modules[\\/]google-auth-library[\\/]src[\\/]crypto[\\/]node[\\/]crypto/, + use: 'null-loader', + }, + { + test: /node_modules[\\/]https-proxy-agent[\\/]/, + use: 'null-loader', + }, + { + test: /node_modules[\\/]gcp-metadata[\\/]/, + use: 'null-loader', + }, + { + test: /node_modules[\\/]gtoken[\\/]/, + use: 'null-loader', + }, + { + test: /node_modules[\\/]pkginfo[\\/]/, + use: 'null-loader', + }, + { + test: /node_modules[\\/]semver[\\/]/, + use: 'null-loader', + }, + { + test: /\.ts$/, + use: 'ts-loader', + exclude: /node_modules/, + }, + ], + }, + mode: 'production', + plugins: [], +}; diff --git a/src/apis/aiplatform/v1.ts b/src/apis/aiplatform/v1.ts index a284d57744..0e46170366 100644 --- a/src/apis/aiplatform/v1.ts +++ b/src/apis/aiplatform/v1.ts @@ -127,7 +127,7 @@ export namespace aiplatform_v1 { } /** - * Generate video response. + * Next ID: 8 Generate video response. */ export interface Schema$CloudAiLargeModelsVisionGenerateVideoResponse { /** @@ -1140,7 +1140,12 @@ export namespace aiplatform_v1 { /** * Spec for bleu score metric - calculates the precision of n-grams in the prediction as compared to reference - returns a score ranging between 0 to 1. */ - export interface Schema$GoogleCloudAiplatformV1BleuSpec {} + export interface Schema$GoogleCloudAiplatformV1BleuSpec { + /** + * Optional. Whether to use_effective_order to compute bleu score. + */ + useEffectiveOrder?: boolean | null; + } /** * Content blob. It's preferred to send as text directly rather than raw bytes. */ @@ -1395,10 +1400,18 @@ export namespace aiplatform_v1 { * Request message for ComputeTokens RPC call. */ export interface Schema$GoogleCloudAiplatformV1ComputeTokensRequest { + /** + * Required. Input content. + */ + contents?: Schema$GoogleCloudAiplatformV1Content[]; /** * Required. The instances that are the input to token computing API call. Schema is identical to the prediction schema of the text model, even for the non-text models, like chat models, or Codey models. */ instances?: any[] | null; + /** + * Required. The name of the publisher model requested to serve the prediction. Format: projects/{project\}/locations/{location\}/publishers/x/models/x + */ + model?: string | null; } /** * Response message for ComputeTokens RPC call. @@ -3974,10 +3987,18 @@ export namespace aiplatform_v1 { * The dedicated serving endpoint for this FeatureOnlineStore. Only need to set when you choose Optimized storage type. Public endpoint is provisioned by default. */ export interface Schema$GoogleCloudAiplatformV1FeatureOnlineStoreDedicatedServingEndpoint { + /** + * Optional. Private service connect config. The private service connection is available only for Optimized storage type, not for embedding management now. If PrivateServiceConnectConfig.enable_private_service_connect set to true, customers will use private service connection to send request. Otherwise, the connection will set to public endpoint. + */ + privateServiceConnectConfig?: Schema$GoogleCloudAiplatformV1PrivateServiceConnectConfig; /** * Output only. This field will be populated with the domain name to use for this FeatureOnlineStore */ publicEndpointDomainName?: string | null; + /** + * Output only. The name of the service attachment resource. Populated if private service connect is enabled and after FeatureViewSync is created. + */ + serviceAttachment?: string | null; } /** * Optimized storage type @@ -5003,10 +5024,91 @@ export namespace aiplatform_v1 { */ version?: number | null; } + /** + * Grounding attribution. + */ + export interface Schema$GoogleCloudAiplatformV1GroundingAttribution { + /** + * Optional. Output only. Confidence score of the attribution. Ranges from 0 to 1. 1 is the most confident. + */ + confidenceScore?: number | null; + /** + * Output only. Segment of the content this attribution belongs to. + */ + segment?: Schema$GoogleCloudAiplatformV1Segment; + /** + * Optional. Attribution from the web. + */ + web?: Schema$GoogleCloudAiplatformV1GroundingAttributionWeb; + } + /** + * Attribution from the web. + */ + export interface Schema$GoogleCloudAiplatformV1GroundingAttributionWeb { + /** + * Output only. Title of the attribution. + */ + title?: string | null; + /** + * Output only. URI reference of the attribution. + */ + uri?: string | null; + } + /** + * Grounding chunk. + */ + export interface Schema$GoogleCloudAiplatformV1GroundingChunk { + /** + * Grounding chunk from context retrieved by the retrieval tools. + */ + retrievedContext?: Schema$GoogleCloudAiplatformV1GroundingChunkRetrievedContext; + /** + * Grounding chunk from the web. + */ + web?: Schema$GoogleCloudAiplatformV1GroundingChunkWeb; + } + /** + * Chunk from context retrieved by the retrieval tools. + */ + export interface Schema$GoogleCloudAiplatformV1GroundingChunkRetrievedContext { + /** + * Title of the attribution. + */ + title?: string | null; + /** + * URI reference of the attribution. + */ + uri?: string | null; + } + /** + * Chunk from the web. + */ + export interface Schema$GoogleCloudAiplatformV1GroundingChunkWeb { + /** + * Title of the chunk. + */ + title?: string | null; + /** + * URI reference of the chunk. + */ + uri?: string | null; + } /** * Metadata returned to client when grounding is enabled. */ export interface Schema$GoogleCloudAiplatformV1GroundingMetadata { + /** + * Optional. List of grounding attributions. + */ + groundingAttributions?: Schema$GoogleCloudAiplatformV1GroundingAttribution[]; + /** + * List of supporting references retrieved from specified grounding source. + */ + groundingChunks?: Schema$GoogleCloudAiplatformV1GroundingChunk[]; + /** + * Optional. List of grounding support. + */ + groundingSupports?: Schema$GoogleCloudAiplatformV1GroundingSupport[]; /** * Optional. Google search entry for the following-up web searches. */ @@ -5016,6 +5118,23 @@ export namespace aiplatform_v1 { */ webSearchQueries?: string[] | null; } + /** + * Grounding support. + */ + export interface Schema$GoogleCloudAiplatformV1GroundingSupport { + /** + * Confidence score of the support references. Ranges from 0 to 1. 1 is the most confident. This list must have the same size as the grounding_chunk_indices. + */ + confidenceScores?: number[] | null; + /** + * A list of indices (into 'grounding_chunk') specifying the citations associated with the claim. For instance [1,3,4] means that grounding_chunk[1], grounding_chunk[3], grounding_chunk[4] are the retrieved content attributed to the claim. + */ + groundingChunkIndices?: number[] | null; + /** + * Segment of the content this support belongs to. + */ + segment?: Schema$GoogleCloudAiplatformV1Segment; + } /** * Represents a HyperparameterTuningJob. A HyperparameterTuningJob has a Study specification and multiple CustomJobs with identical CustomJob specification. */ @@ -6654,6 +6773,14 @@ export namespace aiplatform_v1 { * The schemata that describe formats of the Model's predictions and explanations as given and returned via PredictionService.Predict and PredictionService.Explain. */ predictSchemata?: Schema$GoogleCloudAiplatformV1PredictSchemata; + /** + * Output only. Reserved for future use. + */ + satisfiesPzi?: boolean | null; + /** + * Output only. Reserved for future use. + */ + satisfiesPzs?: boolean | null; /** * Output only. When this Model is deployed, its prediction resources are described by the `prediction_resources` field of the Endpoint.deployed_models object. Because not all Models support all resource configuration types, the configuration types this Model supports are listed here. If no configuration types are listed, the Model cannot be deployed to an Endpoint and does not support online predictions (PredictionService.Predict or PredictionService.Explain). Such a Model can serve predictions by using a BatchPredictionJob, if it has at least one entry each in supported_input_storage_formats and supported_output_storage_formats. */ @@ -8861,6 +8988,10 @@ export namespace aiplatform_v1 { * A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration. */ dedicatedResources?: Schema$GoogleCloudAiplatformV1DedicatedResources; + /** + * Optional. Metadata information about this deployment config. + */ + deployMetadata?: Schema$GoogleCloudAiplatformV1PublisherModelCallToActionDeployDeployMetadata; /** * Optional. The name of the deploy task (e.g., "text to image generation"). */ @@ -8886,6 +9017,15 @@ export namespace aiplatform_v1 { */ title?: string | null; } + /** + * Metadata information about the deployment for managing deployment config. + */ + export interface Schema$GoogleCloudAiplatformV1PublisherModelCallToActionDeployDeployMetadata { + /** + * Optional. Labels for the deployment. For managing deployment config like verifying, source of deployment config, etc. + */ + labels?: {[key: string]: string} | null; + } /** * Configurations for PublisherModel GKE deployment */ @@ -9645,7 +9785,7 @@ export namespace aiplatform_v1 { */ export interface Schema$GoogleCloudAiplatformV1ResourcePool { /** - * Optional. Optional spec to configure GKE autoscaling + * Optional. Optional spec to configure GKE or Ray-on-Vertex autoscaling */ autoscalingSpec?: Schema$GoogleCloudAiplatformV1ResourcePoolAutoscalingSpec; /** @@ -9678,7 +9818,7 @@ export namespace aiplatform_v1 { */ maxReplicaCount?: string | null; /** - * Optional. min replicas in the node pool, must be ≤ replica_count and < max_replica_count or will throw error + * Optional. min replicas in the node pool, must be ≤ replica_count and < max_replica_count or will throw error. For autoscaling enabled Ray-on-Vertex, we allow min_replica_count of a resource_pool to be 0 to match the OSS Ray behavior(https://docs.ray.io/en/latest/cluster/vms/user-guides/configuring-autoscaling.html#cluster-config-parameters). As for Persistent Resource, the min_replica_count must be \> 0, we added a corresponding validation inside CreatePersistentResourceRequestValidator.java. */ minReplicaCount?: string | null; } @@ -12945,6 +13085,27 @@ export namespace aiplatform_v1 { */ nearestNeighbors?: Schema$GoogleCloudAiplatformV1NearestNeighbors; } + /** + * Segment of the content. + */ + export interface Schema$GoogleCloudAiplatformV1Segment { + /** + * Output only. End index in the given Part, measured in bytes. Offset from the start of the Part, exclusive, starting at zero. + */ + endIndex?: number | null; + /** + * Output only. The index of a Part object within its parent Content object. + */ + partIndex?: number | null; + /** + * Output only. Start index in the given Part, measured in bytes. Offset from the start of the Part, inclusive, starting at zero. + */ + startIndex?: number | null; + /** + * Output only. The text corresponding to the segment from the response. + */ + text?: string | null; + } /** * Configuration for the use of custom service account to run the workloads. */ @@ -13732,6 +13893,10 @@ export namespace aiplatform_v1 { * Dataset distribution for Supervised Tuning. */ export interface Schema$GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution { + /** + * Output only. Sum of a given population of values that are billable. + */ + billableSum?: string | null; /** * Output only. Defines the histogram bucket. */ @@ -13790,6 +13955,10 @@ export namespace aiplatform_v1 { * Output only. Number of billable characters in the tuning dataset. */ totalBillableCharacterCount?: string | null; + /** + * Output only. Number of billable tokens in the tuning dataset. + */ + totalBillableTokenCount?: string | null; /** * Output only. Number of tuning characters in the tuning dataset. */ @@ -13954,6 +14123,14 @@ export namespace aiplatform_v1 { * Output only. The number of Runs stored in this Tensorboard. */ runCount?: number | null; + /** + * Output only. Reserved for future use. + */ + satisfiesPzi?: boolean | null; + /** + * Output only. Reserved for future use. + */ + satisfiesPzs?: boolean | null; /** * Output only. Timestamp when this Tensorboard was last updated. */ @@ -14211,6 +14388,10 @@ export namespace aiplatform_v1 { * Tokens info with a list of tokens and the corresponding list of token ids. */ export interface Schema$GoogleCloudAiplatformV1TokensInfo { + /** + * Optional. Optional fields for the role from the corresponding Content. + */ + role?: string | null; /** * A list of token ids from the input. */ @@ -23757,6 +23938,99 @@ export namespace aiplatform_v1 { } } + /** + * Update a DeploymentResourcePool. + * + * @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$Deploymentresourcepools$Patch, + options: StreamMethodOptions + ): GaxiosPromise; + patch( + params?: Params$Resource$Projects$Locations$Deploymentresourcepools$Patch, + options?: MethodOptions + ): GaxiosPromise; + patch( + params: Params$Resource$Projects$Locations$Deploymentresourcepools$Patch, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Deploymentresourcepools$Patch, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Deploymentresourcepools$Patch, + callback: BodyResponseCallback + ): void; + patch( + callback: BodyResponseCallback + ): void; + patch( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Deploymentresourcepools$Patch + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Deploymentresourcepools$Patch; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Deploymentresourcepools$Patch; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://aiplatform.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); + } + } + /** * List DeployedModels that have been deployed on this DeploymentResourcePool. * @@ -23896,6 +24170,22 @@ export namespace aiplatform_v1 { */ parent?: string; } + export interface Params$Resource$Projects$Locations$Deploymentresourcepools$Patch + extends StandardParameters { + /** + * Immutable. The resource name of the DeploymentResourcePool. Format: `projects/{project\}/locations/{location\}/deploymentResourcePools/{deployment_resource_pool\}` + */ + name?: string; + /** + * Required. The list of fields to update. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudAiplatformV1DeploymentResourcePool; + } export interface Params$Resource$Projects$Locations$Deploymentresourcepools$Querydeployedmodels extends StandardParameters { /** @@ -27578,7 +27868,7 @@ export namespace aiplatform_v1 { */ name?: string; /** - * Field mask is used to specify the fields to be overwritten in the FeatureGroup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `labels` + * Field mask is used to specify the fields to be overwritten in the FeatureGroup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `labels` * `description` * `big_query` * `big_query.entity_id_columns` */ updateMask?: string; @@ -28143,7 +28433,7 @@ export namespace aiplatform_v1 { */ name?: string; /** - * Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring` (Not supported for FeatureRegistry Feature) + * Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring` (Not supported for FeatureRegistryService Feature) * `point_of_contact` (Not supported for FeaturestoreService FeatureStore) */ updateMask?: string; @@ -29553,7 +29843,7 @@ export namespace aiplatform_v1 { */ name?: string; /** - * Field mask is used to specify the fields to be overwritten in the FeatureOnlineStore resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `big_query_source` * `bigtable` * `labels` * `sync_config` + * Field mask is used to specify the fields to be overwritten in the FeatureOnlineStore resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `labels` * `description` * `bigtable` * `bigtable.auto_scaling` * `bigtable.enable_multi_region_replica` */ updateMask?: string; @@ -30425,7 +30715,7 @@ export namespace aiplatform_v1 { */ name?: string; /** - * Field mask is used to specify the fields to be overwritten in the FeatureView resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `labels` * `serviceAgentType` + * Field mask is used to specify the fields to be overwritten in the FeatureView resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `labels` * `service_agent_type` * `big_query_source` * `big_query_source.uri` * `big_query_source.entity_id_columns` * `feature_registry_source` * `feature_registry_source.feature_groups` * `sync_config` * `sync_config.cron` */ updateMask?: string; @@ -34848,7 +35138,7 @@ export namespace aiplatform_v1 { */ name?: string; /** - * Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring` (Not supported for FeatureRegistry Feature) + * Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring` (Not supported for FeatureRegistryService Feature) * `point_of_contact` (Not supported for FeaturestoreService FeatureStore) */ updateMask?: string; diff --git a/src/apis/aiplatform/v1beta1.ts b/src/apis/aiplatform/v1beta1.ts index 608ec0d889..8ce763b0cd 100644 --- a/src/apis/aiplatform/v1beta1.ts +++ b/src/apis/aiplatform/v1beta1.ts @@ -129,7 +129,7 @@ export namespace aiplatform_v1beta1 { } /** - * Generate video response. + * Next ID: 8 Generate video response. */ export interface Schema$CloudAiLargeModelsVisionGenerateVideoResponse { /** @@ -1262,7 +1262,12 @@ export namespace aiplatform_v1beta1 { /** * Spec for bleu score metric - calculates the precision of n-grams in the prediction as compared to reference - returns a score ranging between 0 to 1. */ - export interface Schema$GoogleCloudAiplatformV1beta1BleuSpec {} + export interface Schema$GoogleCloudAiplatformV1beta1BleuSpec { + /** + * Optional. Whether to use_effective_order to compute bleu score. + */ + useEffectiveOrder?: boolean | null; + } /** * Content blob. It's preferred to send as text directly rather than raw bytes. */ @@ -1579,10 +1584,18 @@ export namespace aiplatform_v1beta1 { * Request message for ComputeTokens RPC call. */ export interface Schema$GoogleCloudAiplatformV1beta1ComputeTokensRequest { + /** + * Required. Input content. + */ + contents?: Schema$GoogleCloudAiplatformV1beta1Content[]; /** * Required. The instances that are the input to token computing API call. Schema is identical to the prediction schema of the text model, even for the non-text models, like chat models, or Codey models. */ instances?: any[] | null; + /** + * Required. The name of the publisher model requested to serve the prediction. Format: projects/{project\}/locations/{location\}/publishers/x/models/x + */ + model?: string | null; } /** * Response message for ComputeTokens RPC call. @@ -5548,10 +5561,108 @@ export namespace aiplatform_v1beta1 { */ version?: number | null; } + /** + * Grounding attribution. + */ + export interface Schema$GoogleCloudAiplatformV1beta1GroundingAttribution { + /** + * Optional. Output only. Confidence score of the attribution. Ranges from 0 to 1. 1 is the most confident. + */ + confidenceScore?: number | null; + /** + * Optional. Attribution from context retrieved by the retrieval tools. + */ + retrievedContext?: Schema$GoogleCloudAiplatformV1beta1GroundingAttributionRetrievedContext; + /** + * Output only. Segment of the content this attribution belongs to. + */ + segment?: Schema$GoogleCloudAiplatformV1beta1Segment; + /** + * Optional. Attribution from the web. + */ + web?: Schema$GoogleCloudAiplatformV1beta1GroundingAttributionWeb; + } + /** + * Attribution from context retrieved by the retrieval tools. + */ + export interface Schema$GoogleCloudAiplatformV1beta1GroundingAttributionRetrievedContext { + /** + * Output only. Title of the attribution. + */ + title?: string | null; + /** + * Output only. URI reference of the attribution. + */ + uri?: string | null; + } + /** + * Attribution from the web. + */ + export interface Schema$GoogleCloudAiplatformV1beta1GroundingAttributionWeb { + /** + * Output only. Title of the attribution. + */ + title?: string | null; + /** + * Output only. URI reference of the attribution. + */ + uri?: string | null; + } + /** + * Grounding chunk. + */ + export interface Schema$GoogleCloudAiplatformV1beta1GroundingChunk { + /** + * Grounding chunk from context retrieved by the retrieval tools. + */ + retrievedContext?: Schema$GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext; + /** + * Grounding chunk from the web. + */ + web?: Schema$GoogleCloudAiplatformV1beta1GroundingChunkWeb; + } + /** + * Chunk from context retrieved by the retrieval tools. + */ + export interface Schema$GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext { + /** + * Title of the attribution. + */ + title?: string | null; + /** + * URI reference of the attribution. + */ + uri?: string | null; + } + /** + * Chunk from the web. + */ + export interface Schema$GoogleCloudAiplatformV1beta1GroundingChunkWeb { + /** + * Title of the chunk. + */ + title?: string | null; + /** + * URI reference of the chunk. + */ + uri?: string | null; + } /** * Metadata returned to client when grounding is enabled. */ export interface Schema$GoogleCloudAiplatformV1beta1GroundingMetadata { + /** + * Optional. List of grounding attributions. + */ + groundingAttributions?: Schema$GoogleCloudAiplatformV1beta1GroundingAttribution[]; + /** + * List of supporting references retrieved from specified grounding source. + */ + groundingChunks?: Schema$GoogleCloudAiplatformV1beta1GroundingChunk[]; + /** + * Optional. List of grounding support. + */ + groundingSupports?: Schema$GoogleCloudAiplatformV1beta1GroundingSupport[]; /** * Optional. Queries executed by the retrieval tools. */ @@ -5565,6 +5676,23 @@ export namespace aiplatform_v1beta1 { */ webSearchQueries?: string[] | null; } + /** + * Grounding support. + */ + export interface Schema$GoogleCloudAiplatformV1beta1GroundingSupport { + /** + * Confidence score of the support references. Ranges from 0 to 1. 1 is the most confident. This list must have the same size as the grounding_chunk_indices. + */ + confidenceScores?: number[] | null; + /** + * A list of indices (into 'grounding_chunk') specifying the citations associated with the claim. For instance [1,3,4] means that grounding_chunk[1], grounding_chunk[3], grounding_chunk[4] are the retrieved content attributed to the claim. + */ + groundingChunkIndices?: number[] | null; + /** + * Segment of the content this support belongs to. + */ + segment?: Schema$GoogleCloudAiplatformV1beta1Segment; + } /** * Represents a HyperparameterTuningJob. A HyperparameterTuningJob has a Study specification and multiple CustomJobs with identical CustomJob specification. */ @@ -7364,6 +7492,14 @@ export namespace aiplatform_v1beta1 { * The schemata that describe formats of the Model's predictions and explanations as given and returned via PredictionService.Predict and PredictionService.Explain. */ predictSchemata?: Schema$GoogleCloudAiplatformV1beta1PredictSchemata; + /** + * Output only. Reserved for future use. + */ + satisfiesPzi?: boolean | null; + /** + * Output only. Reserved for future use. + */ + satisfiesPzs?: boolean | null; /** * Output only. When this Model is deployed, its prediction resources are described by the `prediction_resources` field of the Endpoint.deployed_models object. Because not all Models support all resource configuration types, the configuration types this Model supports are listed here. If no configuration types are listed, the Model cannot be deployed to an Endpoint and does not support online predictions (PredictionService.Predict or PredictionService.Explain). Such a Model can serve predictions by using a BatchPredictionJob, if it has at least one entry each in supported_input_storage_formats and supported_output_storage_formats. */ @@ -10283,6 +10419,10 @@ export namespace aiplatform_v1beta1 { * A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration. */ dedicatedResources?: Schema$GoogleCloudAiplatformV1beta1DedicatedResources; + /** + * Optional. Metadata information about this deployment config. + */ + deployMetadata?: Schema$GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployDeployMetadata; /** * Optional. The name of the deploy task (e.g., "text to image generation"). */ @@ -10308,6 +10448,15 @@ export namespace aiplatform_v1beta1 { */ title?: string | null; } + /** + * Metadata information about the deployment for managing deployment config. + */ + export interface Schema$GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployDeployMetadata { + /** + * Optional. Labels for the deployment. For managing deployment config like verifying, source of deployment config, etc. + */ + labels?: {[key: string]: string} | null; + } /** * Configurations for PublisherModel GKE deployment */ @@ -11026,10 +11175,6 @@ export namespace aiplatform_v1beta1 { * Optional. The query in text format to get relevant contexts. */ text?: string | null; - /** - * Optional. Only return contexts with vector distance smaller than the threshold. - */ - vectorDistanceThreshold?: number | null; } /** * Request message for PredictionService.RawPredict. @@ -11398,7 +11543,7 @@ export namespace aiplatform_v1beta1 { */ export interface Schema$GoogleCloudAiplatformV1beta1ResourcePool { /** - * Optional. Optional spec to configure GKE autoscaling + * Optional. Optional spec to configure GKE or Ray-on-Vertex autoscaling */ autoscalingSpec?: Schema$GoogleCloudAiplatformV1beta1ResourcePoolAutoscalingSpec; /** @@ -11431,7 +11576,7 @@ export namespace aiplatform_v1beta1 { */ maxReplicaCount?: string | null; /** - * Optional. min replicas in the node pool, must be ≤ replica_count and < max_replica_count or will throw error + * Optional. min replicas in the node pool, must be ≤ replica_count and < max_replica_count or will throw error. For autoscaling enabled Ray-on-Vertex, we allow min_replica_count of a resource_pool to be 0 to match the OSS Ray behavior(https://docs.ray.io/en/latest/cluster/vms/user-guides/configuring-autoscaling.html#cluster-config-parameters). As for Persistent Resource, the min_replica_count must be \> 0, we added a corresponding validation inside CreatePersistentResourceRequestValidator.java. */ minReplicaCount?: string | null; } @@ -11635,7 +11780,7 @@ export namespace aiplatform_v1beta1 { */ defaultParams?: {[key: string]: any} | null; /** - * Runtime configuration for Vertext AI Search extension. + * Runtime configuration for Vertex AI Search extension. */ vertexAiSearchRuntimeConfig?: Schema$GoogleCloudAiplatformV1beta1RuntimeConfigVertexAISearchRuntimeConfig; } @@ -14824,6 +14969,27 @@ export namespace aiplatform_v1beta1 { */ nearestNeighbors?: Schema$GoogleCloudAiplatformV1beta1NearestNeighbors; } + /** + * Segment of the content. + */ + export interface Schema$GoogleCloudAiplatformV1beta1Segment { + /** + * Output only. End index in the given Part, measured in bytes. Offset from the start of the Part, exclusive, starting at zero. + */ + endIndex?: number | null; + /** + * Output only. The index of a Part object within its parent Content object. + */ + partIndex?: number | null; + /** + * Output only. Start index in the given Part, measured in bytes. Offset from the start of the Part, inclusive, starting at zero. + */ + startIndex?: number | null; + /** + * Output only. The text corresponding to the segment from the response. + */ + text?: string | null; + } /** * Configuration for the use of custom service account to run the workloads. */ @@ -15678,6 +15844,10 @@ export namespace aiplatform_v1beta1 { * Dataset distribution for Supervised Tuning. */ export interface Schema$GoogleCloudAiplatformV1beta1SupervisedTuningDatasetDistribution { + /** + * Output only. Sum of a given population of values that are billable. + */ + billableSum?: string | null; /** * Output only. Defines the histogram bucket. */ @@ -15736,6 +15906,10 @@ export namespace aiplatform_v1beta1 { * Output only. Number of billable characters in the tuning dataset. */ totalBillableCharacterCount?: string | null; + /** + * Output only. Number of billable tokens in the tuning dataset. + */ + totalBillableTokenCount?: string | null; /** * Output only. Number of tuning characters in the tuning dataset. */ @@ -15902,6 +16076,14 @@ export namespace aiplatform_v1beta1 { * Output only. The number of Runs stored in this Tensorboard. */ runCount?: number | null; + /** + * Output only. Reserved for future use. + */ + satisfiesPzi?: boolean | null; + /** + * Output only. Reserved for future use. + */ + satisfiesPzs?: boolean | null; /** * Output only. Timestamp when this Tensorboard was last updated. */ @@ -16159,6 +16341,10 @@ export namespace aiplatform_v1beta1 { * Tokens info with a list of tokens and the corresponding list of token ids. */ export interface Schema$GoogleCloudAiplatformV1beta1TokensInfo { + /** + * Optional. Optional fields for the role from the corresponding Content. + */ + role?: string | null; /** * A list of token ids from the input. */ @@ -28016,6 +28202,99 @@ export namespace aiplatform_v1beta1 { } } + /** + * Update a DeploymentResourcePool. + * + * @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$Deploymentresourcepools$Patch, + options: StreamMethodOptions + ): GaxiosPromise; + patch( + params?: Params$Resource$Projects$Locations$Deploymentresourcepools$Patch, + options?: MethodOptions + ): GaxiosPromise; + patch( + params: Params$Resource$Projects$Locations$Deploymentresourcepools$Patch, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Deploymentresourcepools$Patch, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Deploymentresourcepools$Patch, + callback: BodyResponseCallback + ): void; + patch( + callback: BodyResponseCallback + ): void; + patch( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Deploymentresourcepools$Patch + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Deploymentresourcepools$Patch; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Deploymentresourcepools$Patch; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://aiplatform.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta1/{+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); + } + } + /** * List DeployedModels that have been deployed on this DeploymentResourcePool. * @@ -28155,6 +28434,22 @@ export namespace aiplatform_v1beta1 { */ parent?: string; } + export interface Params$Resource$Projects$Locations$Deploymentresourcepools$Patch + extends StandardParameters { + /** + * Immutable. The resource name of the DeploymentResourcePool. Format: `projects/{project\}/locations/{location\}/deploymentResourcePools/{deployment_resource_pool\}` + */ + name?: string; + /** + * Required. The list of fields to update. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudAiplatformV1beta1DeploymentResourcePool; + } export interface Params$Resource$Projects$Locations$Deploymentresourcepools$Querydeployedmodels extends StandardParameters { /** @@ -35626,7 +35921,7 @@ export namespace aiplatform_v1beta1 { */ name?: string; /** - * Field mask is used to specify the fields to be overwritten in the FeatureGroup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `labels` + * Field mask is used to specify the fields to be overwritten in the FeatureGroup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `labels` * `description` * `big_query` * `big_query.entity_id_columns` */ updateMask?: string; @@ -36191,7 +36486,7 @@ export namespace aiplatform_v1beta1 { */ name?: string; /** - * Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring` (Not supported for FeatureRegistry Feature) + * Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring` (Not supported for FeatureRegistryService Feature) * `point_of_contact` (Not supported for FeaturestoreService FeatureStore) */ updateMask?: string; @@ -37910,7 +38205,7 @@ export namespace aiplatform_v1beta1 { */ name?: string; /** - * Field mask is used to specify the fields to be overwritten in the FeatureOnlineStore resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `big_query_source` * `bigtable` * `labels` * `sync_config` + * Field mask is used to specify the fields to be overwritten in the FeatureOnlineStore resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `labels` * `description` * `bigtable` * `bigtable.auto_scaling` * `bigtable.enable_multi_region_replica` */ updateMask?: string; @@ -39197,7 +39492,7 @@ export namespace aiplatform_v1beta1 { */ name?: string; /** - * Field mask is used to specify the fields to be overwritten in the FeatureView resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `labels` * `serviceAgentType` + * Field mask is used to specify the fields to be overwritten in the FeatureView resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `labels` * `service_agent_type` * `big_query_source` * `big_query_source.uri` * `big_query_source.entity_id_columns` * `feature_registry_source` * `feature_registry_source.feature_groups` * `sync_config` * `sync_config.cron` */ updateMask?: string; @@ -43665,7 +43960,7 @@ export namespace aiplatform_v1beta1 { */ name?: string; /** - * Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring` (Not supported for FeatureRegistry Feature) + * Field mask is used to specify the fields to be overwritten in the Features resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `description` * `labels` * `disable_monitoring` (Not supported for FeatureRegistryService Feature) * `point_of_contact` (Not supported for FeaturestoreService FeatureStore) */ updateMask?: string; diff --git a/src/apis/alloydb/v1.ts b/src/apis/alloydb/v1.ts index eedfb7d373..1a1f66e76b 100644 --- a/src/apis/alloydb/v1.ts +++ b/src/apis/alloydb/v1.ts @@ -419,6 +419,14 @@ export namespace alloydb_v1 { * Output only. The current serving state of the cluster. */ state?: string | null; + /** + * Optional. Subscription type of the cluster. + */ + subscriptionType?: string | null; + /** + * Output only. Metadata for free trial clusters + */ + trialMetadata?: Schema$TrialMetadata; /** * Output only. The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted. */ @@ -1658,6 +1666,23 @@ export namespace alloydb_v1 { */ retentionPeriod?: string | null; } + /** + * Contains information and all metadata related to TRIAL clusters. + */ + export interface Schema$TrialMetadata { + /** + * End time of the trial cluster. + */ + endTime?: string | null; + /** + * start time of the trial cluster. + */ + startTime?: string | null; + /** + * Upgrade time of trial cluster to Standard cluster. + */ + upgradeTime?: string | null; + } /** * Message describing User object. */ diff --git a/src/apis/alloydb/v1alpha.ts b/src/apis/alloydb/v1alpha.ts index fea36f940e..25c9b358d1 100644 --- a/src/apis/alloydb/v1alpha.ts +++ b/src/apis/alloydb/v1alpha.ts @@ -1010,7 +1010,7 @@ export namespace alloydb_v1alpha { */ export interface Schema$ObservabilityInstanceConfig { /** - * Observability feature status for an instance. This is a read-only flag and modifiable only by producer API. This flag is turned "off" by default. + * Observability feature status for an instance. This flag is turned "off" by default. */ enabled?: boolean | null; /** @@ -1022,7 +1022,7 @@ export namespace alloydb_v1alpha { */ preserveComments?: boolean | null; /** - * Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 to 20 is considered valid. + * Number of query execution plans captured by Insights per minute for all queries combined. The default value is 200. Any integer between 0 to 200 is considered valid. */ queryPlansPerMinute?: number | null; /** diff --git a/src/apis/alloydb/v1beta.ts b/src/apis/alloydb/v1beta.ts index 27a9738cbb..4a9f595cb4 100644 --- a/src/apis/alloydb/v1beta.ts +++ b/src/apis/alloydb/v1beta.ts @@ -994,7 +994,7 @@ export namespace alloydb_v1beta { */ export interface Schema$ObservabilityInstanceConfig { /** - * Observability feature status for an instance. This is a read-only flag and modifiable only by producer API. This flag is turned "off" by default. + * Observability feature status for an instance. This flag is turned "off" by default. */ enabled?: boolean | null; /** @@ -1006,7 +1006,7 @@ export namespace alloydb_v1beta { */ preserveComments?: boolean | null; /** - * Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 to 20 is considered valid. + * Number of query execution plans captured by Insights per minute for all queries combined. The default value is 200. Any integer between 0 to 200 is considered valid. */ queryPlansPerMinute?: number | null; /** diff --git a/src/apis/analyticsadmin/v1alpha.ts b/src/apis/analyticsadmin/v1alpha.ts index 216ba8c0f3..c570c39a28 100644 --- a/src/apis/analyticsadmin/v1alpha.ts +++ b/src/apis/analyticsadmin/v1alpha.ts @@ -880,6 +880,10 @@ export namespace analyticsadmin_v1alpha { * If set true, enables daily data export to the linked Google Cloud project. */ dailyExportEnabled?: boolean | null; + /** + * Required. Immutable. The geographic location where the created BigQuery dataset should reside. See https://cloud.google.com/bigquery/docs/locations for supported locations. + */ + datasetLocation?: string | null; /** * The list of event names that will be excluded from exports. */ @@ -9072,6 +9076,193 @@ export namespace analyticsadmin_v1alpha { this.context = context; } + /** + * Creates a BigQueryLink. + * + * @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$Properties$Bigquerylinks$Create, + options: StreamMethodOptions + ): GaxiosPromise; + create( + params?: Params$Resource$Properties$Bigquerylinks$Create, + options?: MethodOptions + ): GaxiosPromise; + create( + params: Params$Resource$Properties$Bigquerylinks$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Properties$Bigquerylinks$Create, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Properties$Bigquerylinks$Create, + callback: BodyResponseCallback + ): void; + create( + callback: BodyResponseCallback + ): void; + create( + paramsOrCallback?: + | Params$Resource$Properties$Bigquerylinks$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Properties$Bigquerylinks$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Properties$Bigquerylinks$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://analyticsadmin.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+parent}/bigQueryLinks').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 BigQueryLink on a property. + * + * @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$Properties$Bigquerylinks$Delete, + options: StreamMethodOptions + ): GaxiosPromise; + delete( + params?: Params$Resource$Properties$Bigquerylinks$Delete, + options?: MethodOptions + ): GaxiosPromise; + delete( + params: Params$Resource$Properties$Bigquerylinks$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Properties$Bigquerylinks$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Properties$Bigquerylinks$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Properties$Bigquerylinks$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Properties$Bigquerylinks$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Properties$Bigquerylinks$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://analyticsadmin.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); + } + } + /** * Lookup for a single BigQuery Link. * @@ -9264,8 +9455,122 @@ export namespace analyticsadmin_v1alpha { ); } } + + /** + * Updates a BigQueryLink. + * + * @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$Properties$Bigquerylinks$Patch, + options: StreamMethodOptions + ): GaxiosPromise; + patch( + params?: Params$Resource$Properties$Bigquerylinks$Patch, + options?: MethodOptions + ): GaxiosPromise; + patch( + params: Params$Resource$Properties$Bigquerylinks$Patch, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Properties$Bigquerylinks$Patch, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Properties$Bigquerylinks$Patch, + callback: BodyResponseCallback + ): void; + patch( + callback: BodyResponseCallback + ): void; + patch( + paramsOrCallback?: + | Params$Resource$Properties$Bigquerylinks$Patch + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Properties$Bigquerylinks$Patch; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Properties$Bigquerylinks$Patch; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://analyticsadmin.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$Properties$Bigquerylinks$Create + extends StandardParameters { + /** + * Required. Example format: properties/1234 + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleAnalyticsAdminV1alphaBigQueryLink; + } + export interface Params$Resource$Properties$Bigquerylinks$Delete + extends StandardParameters { + /** + * Required. The BigQueryLink to delete. Example format: properties/1234/bigQueryLinks/5678 + */ + name?: string; + } export interface Params$Resource$Properties$Bigquerylinks$Get extends StandardParameters { /** @@ -9288,6 +9593,22 @@ export namespace analyticsadmin_v1alpha { */ parent?: string; } + export interface Params$Resource$Properties$Bigquerylinks$Patch + extends StandardParameters { + /** + * Output only. Resource name of this BigQuery link. Format: 'properties/{property_id\}/bigQueryLinks/{bigquery_link_id\}' Format: 'properties/1234/bigQueryLinks/abc567' + */ + name?: string; + /** + * Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleAnalyticsAdminV1alphaBigQueryLink; + } export class Resource$Properties$Calculatedmetrics { context: APIRequestContext; diff --git a/src/apis/androidenterprise/v1.ts b/src/apis/androidenterprise/v1.ts index eaeee5b572..b9cb7a314e 100644 --- a/src/apis/androidenterprise/v1.ts +++ b/src/apis/androidenterprise/v1.ts @@ -3609,6 +3609,10 @@ export namespace androidenterprise_v1 { } export interface Params$Resource$Enterprises$Generatesignupurl extends StandardParameters { + /** + * Optional. Email address used to prefill the admin field of the enterprise signup form. This value is a hint only and can be altered by the user. + */ + adminEmail?: string; /** * The callback URL to which the Admin will be redirected after successfully creating an enterprise. Before redirecting there the system will add a single query parameter to this URL named "enterpriseToken" which will contain an opaque token to be used for the CompleteSignup request. Beware that this means that the URL will be parsed, the parameter added and then a new URL formatted, i.e. there may be some minor formatting changes and, more importantly, the URL must be well-formed so that it can be parsed. */ diff --git a/src/apis/androidpublisher/v3.ts b/src/apis/androidpublisher/v3.ts index e702e47b80..304edb33aa 100644 --- a/src/apis/androidpublisher/v3.ts +++ b/src/apis/androidpublisher/v3.ts @@ -1327,7 +1327,7 @@ export namespace androidpublisher_v3 { */ testPurchase?: Schema$ExternalTransactionTestPurchase; /** - * Optional. The transaction program code, used to help determine service fee for apps partcipating in special partner programs. This field can not be used for external offers transactions. Developers participating in the Play Media Experience Program (https://play.google.com/console/about/programs/mediaprogram/) must provide the program code when reporting alternative billing external transactions. If you are an eligible developer, please contact your BDM for more information on how to set this field. + * Optional. The transaction program code, used to help determine service fee for eligible apps participating in partner programs. Developers participating in the Play Media Experience Program (https://play.google.com/console/about/programs/mediaprogram/) must provide the program code when reporting alternative billing transactions. If you are an eligible developer, please contact your BDM for more information on how to set this field. Note: this field can not be used for external offers transactions. */ transactionProgramCode?: number | null; /** @@ -4378,102 +4378,6 @@ export namespace androidpublisher_v3 { } } - /** - * List all app recovery action resources associated with a particular package name and app version. - * - * @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. - */ - appRecoveries( - params: Params$Resource$Apprecovery$Apprecoveries, - options: StreamMethodOptions - ): GaxiosPromise; - appRecoveries( - params?: Params$Resource$Apprecovery$Apprecoveries, - options?: MethodOptions - ): GaxiosPromise; - appRecoveries( - params: Params$Resource$Apprecovery$Apprecoveries, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - appRecoveries( - params: Params$Resource$Apprecovery$Apprecoveries, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - appRecoveries( - params: Params$Resource$Apprecovery$Apprecoveries, - callback: BodyResponseCallback - ): void; - appRecoveries( - callback: BodyResponseCallback - ): void; - appRecoveries( - paramsOrCallback?: - | Params$Resource$Apprecovery$Apprecoveries - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): - | void - | GaxiosPromise - | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Apprecovery$Apprecoveries; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Apprecovery$Apprecoveries; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://androidpublisher.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: ( - rootUrl + - '/androidpublisher/v3/applications/{packageName}/appRecoveries' - ).replace(/([^:]\/)\/+/g, '$1'), - method: 'POST', - apiVersion: '', - }, - options - ), - params, - requiredParams: ['packageName'], - pathParams: ['packageName'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - /** * Cancel an already executing app recovery action. Note that this action changes status of the recovery action to CANCELED. * @@ -4757,6 +4661,101 @@ export namespace androidpublisher_v3 { return createAPIRequest(parameters); } } + + /** + * List all app recovery action resources associated with a particular package name and app version. + * + * @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$Apprecovery$List, + options: StreamMethodOptions + ): GaxiosPromise; + list( + params?: Params$Resource$Apprecovery$List, + options?: MethodOptions + ): GaxiosPromise; + list( + params: Params$Resource$Apprecovery$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Apprecovery$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Apprecovery$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Apprecovery$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || {}) as Params$Resource$Apprecovery$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Apprecovery$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://androidpublisher.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + + '/androidpublisher/v3/applications/{packageName}/appRecoveries' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['packageName'], + pathParams: ['packageName'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } } export interface Params$Resource$Apprecovery$Addtargeting @@ -4775,17 +4774,6 @@ export namespace androidpublisher_v3 { */ requestBody?: Schema$AddTargetingRequest; } - export interface Params$Resource$Apprecovery$Apprecoveries - extends StandardParameters { - /** - * Required. Package name of the app for which list of recovery actions is requested. - */ - packageName?: string; - /** - * Required. Version code targeted by the list of recovery actions. - */ - versionCode?: string; - } export interface Params$Resource$Apprecovery$Cancel extends StandardParameters { /** @@ -4830,6 +4818,16 @@ export namespace androidpublisher_v3 { */ requestBody?: Schema$DeployAppRecoveryRequest; } + export interface Params$Resource$Apprecovery$List extends StandardParameters { + /** + * Required. Package name of the app for which list of recovery actions is requested. + */ + packageName?: string; + /** + * Required. Version code targeted by the list of recovery actions. + */ + versionCode?: string; + } export class Resource$Edits { context: APIRequestContext; diff --git a/src/apis/artifactregistry/v1.ts b/src/apis/artifactregistry/v1.ts index 5dffe53a72..bb16f3b7ed 100644 --- a/src/apis/artifactregistry/v1.ts +++ b/src/apis/artifactregistry/v1.ts @@ -1050,6 +1050,10 @@ export namespace artifactregistry_v1 { */ name?: string | null; } + /** + * The metadata for promote artifact long running operation. + */ + export interface Schema$PromoteArtifactMetadata {} /** * PythonPackage represents a python artifact. */ @@ -1315,7 +1319,7 @@ export namespace artifactregistry_v1 { */ filename?: string | null; /** - * The ID of the package of the generic artifact. If the package does not exist, a new package will be created. The `package_id` must start with a letter, end with a letter or number, only contain letters, numbers, hyphens and periods i.e. [a-z0-9-.], and cannot exceed 256 characters. + * The ID of the package of the generic artifact. If the package does not exist, a new package will be created. The `package_id` should start and end with a letter or number, only contain letters, numbers, hyphens, underscores, and periods, and not exceed 256 characters. */ packageId?: string | null; /** diff --git a/src/apis/backupdr/v1.ts b/src/apis/backupdr/v1.ts index df71e2b6c6..cdc888c867 100644 --- a/src/apis/backupdr/v1.ts +++ b/src/apis/backupdr/v1.ts @@ -125,422 +125,3483 @@ export namespace backupdr_v1 { } /** - * Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] \}, { "log_type": "DATA_WRITE" \}, { "log_type": "ADMIN_READ" \} ] \}, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" \}, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] \} ] \} ] \} For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. + * request message for AbandonBackup. */ - export interface Schema$AuditConfig { - /** - * The configuration for logging of each type of permission. - */ - auditLogConfigs?: Schema$AuditLogConfig[]; + export interface Schema$AbandonBackupRequest { /** - * Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services. + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */ - service?: string | null; + requestId?: string | null; } /** - * Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] \}, { "log_type": "DATA_WRITE" \} ] \} This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. + * A specification of the type and number of accelerator cards attached to the instance. */ - export interface Schema$AuditLogConfig { + export interface Schema$AcceleratorConfig { /** - * Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. + * Optional. The number of the guest accelerator cards exposed to this instance. */ - exemptedMembers?: string[] | null; + acceleratorCount?: number | null; /** - * The log type that this config enables. + * Optional. Full or partial URL of the accelerator type resource to attach to this instance. */ - logType?: string | null; + acceleratorType?: string | null; } /** - * Associates `members`, or principals, with a `role`. + * An access configuration attached to an instance's network interface. Only one access config per instance is supported. */ - export interface Schema$Binding { + export interface Schema$AccessConfig { /** - * The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + * Optional. The external IPv6 address of this access configuration. */ - condition?: Schema$Expr; + externalIpv6?: string | null; /** - * Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid\}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid\}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid\}.svc.id.goog[{namespace\}/{kubernetes-sa\}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid\}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain\}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/subject/{subject_attribute_value\}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/group/{group_id\}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/attribute.{attribute_name\}/{attribute_value\}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/x`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/subject/{subject_attribute_value\}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/group/{group_id\}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/attribute.{attribute_name\}/{attribute_value\}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/x`: All identities in a workload identity pool. * `deleted:user:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid\}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid\}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid\}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/subject/{subject_attribute_value\}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. + * Optional. The prefix length of the external IPv6 range. */ - members?: string[] | null; + externalIpv6PrefixLength?: number | null; /** - * Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles). + * Optional. The name of this access configuration. */ - role?: string | null; - } - /** - * The request message for Operations.CancelOperation. - */ - export interface Schema$CancelOperationRequest {} - /** - * A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \} - */ - export interface Schema$Empty {} - /** - * Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. - */ - export interface Schema$Expr { + name?: string | null; /** - * Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. + * Optional. The external IP address of this access configuration. */ - description?: string | null; + natIP?: string | null; /** - * Textual representation of an expression in Common Expression Language syntax. + * Optional. This signifies the networking tier used for configuring this access */ - expression?: string | null; + networkTier?: string | null; /** - * Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. + * Optional. The DNS domain name for the public PTR record. */ - location?: string | null; + publicPtrDomainName?: string | null; /** - * Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. + * Optional. Specifies whether a public DNS 'PTR' record should be created to map the external IP address of the instance to a DNS domain name. */ - title?: string | null; + setPublicPtr?: boolean | null; + /** + * Optional. In accessConfigs (IPv4), the default and only option is ONE_TO_ONE_NAT. In ipv6AccessConfigs, the default and only option is DIRECT_IPV6. + */ + type?: string | null; } /** - * The response message for Locations.ListLocations. + * An alias IP range attached to an instance's network interface. */ - export interface Schema$ListLocationsResponse { + export interface Schema$AliasIpRange { /** - * A list of locations that matches the specified filter in the request. + * Optional. The IP alias ranges to allocate for this interface. */ - locations?: Schema$Location[]; + ipCidrRange?: string | null; /** - * The standard List next-page token. + * Optional. The name of a subnetwork secondary IP range from which to allocate an IP alias range. If not specified, the primary range of the subnetwork is used. */ - nextPageToken?: string | null; + subnetworkRangeName?: string | null; } /** - * Response message for listing management servers. + * An instance-attached disk resource. */ - export interface Schema$ListManagementServersResponse { + export interface Schema$AttachedDisk { /** - * The list of ManagementServer instances in the project for the specified location. If the `{location\}` value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return management servers in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations. + * Optional. Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance). */ - managementServers?: Schema$ManagementServer[]; + autoDelete?: boolean | null; /** - * A token identifying a page of results the server should return. + * Optional. Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem. */ - nextPageToken?: string | null; + boot?: boolean | null; /** - * Locations that could not be reached. + * Optional. This is used as an identifier for the disks. This is the unique name has to provided to modify disk parameters like disk_name and replica_zones (in case of RePDs) */ - unreachable?: string[] | null; - } - /** - * The response message for Operations.ListOperations. - */ - export interface Schema$ListOperationsResponse { + deviceName?: string | null; /** - * The standard List next-page token. + * Optional. Encrypts or decrypts a disk using a customer-supplied encryption key. */ - nextPageToken?: string | null; + diskEncryptionKey?: Schema$CustomerEncryptionKey; /** - * A list of operations that matches the specified filter in the request. + * Optional. Specifies the disk interface to use for attaching this disk. */ - operations?: Schema$Operation[]; - } - /** - * A resource that represents a Google Cloud location. - */ - export interface Schema$Location { + diskInterface?: string | null; /** - * The friendly name for this location, typically a nearby city name. For example, "Tokyo". + * Optional. The size of the disk in GB. */ - displayName?: string | null; + diskSizeGb?: string | null; /** - * Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"\} + * Optional. Specifies the type of the disk. */ - labels?: {[key: string]: string} | null; + diskType?: string | null; /** - * The canonical id for this location. For example: `"us-east1"`. + * Optional. A list of features to enable on the guest operating system. Applicable only for bootable images. */ - locationId?: string | null; + guestOsFeature?: Schema$GuestOsFeature[]; /** - * Service-specific metadata. For example the available capacity at the given location. + * Optional. A zero-based index to this disk, where 0 is reserved for the boot disk. */ - metadata?: {[key: string]: any} | null; + index?: string | null; /** - * Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` + * Optional. Specifies the parameters to initialize this disk. */ - name?: string | null; + initializeParams?: Schema$InitializeParams; + /** + * Optional. Type of the resource. + */ + kind?: string | null; + /** + * Optional. Any valid publicly visible licenses. + */ + license?: string[] | null; + /** + * Optional. The mode in which to attach this disk. + */ + mode?: string | null; + /** + * Optional. Output only. The state of the disk. + */ + savedState?: string | null; + /** + * Optional. Specifies a valid partial or full URL to an existing Persistent Disk resource. + */ + source?: string | null; } /** - * ManagementServer describes a single BackupDR ManagementServer instance. + * Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] \}, { "log_type": "DATA_WRITE" \}, { "log_type": "ADMIN_READ" \} ] \}, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" \}, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] \} ] \} ] \} For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. */ - export interface Schema$ManagementServer { + export interface Schema$AuditConfig { /** - * Output only. The hostname or ip address of the exposed AGM endpoints, used by BAs to connect to BA proxy. + * The configuration for logging of each type of permission. */ - baProxyUri?: string[] | null; + auditLogConfigs?: Schema$AuditLogConfig[]; /** - * Output only. The time when the instance was created. + * Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services. */ - createTime?: string | null; + service?: string | null; + } + /** + * Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] \}, { "log_type": "DATA_WRITE" \} ] \} This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. + */ + export interface Schema$AuditLogConfig { /** - * Optional. The description of the ManagementServer instance (2048 characters or less). + * Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. */ - description?: string | null; + exemptedMembers?: string[] | null; /** - * Optional. Server specified ETag for the ManagementServer resource to prevent simultaneous updates from overwiting each other. + * The log type that this config enables. */ - etag?: string | null; + logType?: string | null; + } + /** + * Message describing a Backup object. + */ + export interface Schema$Backup { + backupApplianceBackupProperties?: Schema$BackupApplianceBackupProperties; /** - * Optional. Resource labels to represent user provided metadata. Labels currently defined: 1. migrate_from_go= If set to true, the MS is created in migration ready mode. + * Optional. The list of BackupLocks taken by the accessor Backup Appliance. */ - labels?: {[key: string]: string} | null; + backupApplianceLocks?: Schema$BackupLock[]; + backupType?: string | null; + computeInstanceBackupProperties?: Schema$ComputeInstanceBackupProperties; /** - * Output only. The hostname or ip address of the exposed AGM endpoints, used by clients to connect to AGM/RD graphical user interface and APIs. + * Output only. The point in time when this backup was captured from the source. */ - managementUri?: Schema$ManagementURI; + consistencyTime?: string | null; /** - * Output only. Identifier. The resource name. + * Output only. The time when the instance was created. */ - name?: string | null; + createTime?: string | null; /** - * Required. VPC networks to which the ManagementServer instance is connected. For this version, only a single network is supported. + * Output only. The description of the Backup instance (2048 characters or less). */ - networks?: Schema$NetworkConfig[]; + description?: string | null; /** - * Output only. The OAuth 2.0 client id is required to make API calls to the BackupDR instance API of this ManagementServer. This is the value that should be provided in the ‘aud’ field of the OIDC ID Token (see openid specification https://openid.net/specs/openid-connect-core-1_0.html#IDToken). + * Optional. The backup can not be deleted before this time. */ - oauth2ClientId?: string | null; + enforcedRetentionEndTime?: string | null; /** - * Output only. Reserved for future use. + * Optional. Server specified ETag to prevent updates from overwriting each other. */ - satisfiesPzi?: boolean | null; + etag?: string | null; /** - * Output only. Reserved for future use. + * Optional. When this backup is automatically expired. */ - satisfiesPzs?: boolean | null; + expireTime?: string | null; /** - * Output only. The ManagementServer state. + * Output only. Configuration for a Google Cloud resource. */ - state?: string | null; + gcpBackupPlanInfo?: Schema$GCPBackupPlanInfo; /** - * Optional. The type of the ManagementServer resource. + * Optional. Resource labels to represent user provided metadata. No labels currently defined. */ - type?: string | null; + labels?: {[key: string]: string} | null; /** - * Output only. The time when the instance was updated. + * Output only. Name of the resource. */ - updateTime?: string | null; + name?: string | null; /** - * Output only. The hostnames of the exposed AGM endpoints for both types of user i.e. 1p and 3p, used to connect AGM/RM UI. + * Output only. source resource size in bytes at the time of the backup. */ - workforceIdentityBasedManagementUri?: Schema$WorkforceIdentityBasedManagementURI; + resourceSizeBytes?: string | null; /** - * Output only. The OAuth client IDs for both types of user i.e. 1p and 3p. + * Output only. The list of BackupLocks taken by the service to prevent the deletion of the backup. */ - workforceIdentityBasedOauth2ClientId?: Schema$WorkforceIdentityBasedOAuth2ClientID; - } - /** - * ManagementURI for the Management Server resource. - */ - export interface Schema$ManagementURI { + serviceLocks?: Schema$BackupLock[]; /** - * Output only. The ManagementServer AGM/RD API URL. + * Output only. The Backup resource instance state. */ - api?: string | null; + state?: string | null; /** - * Output only. The ManagementServer AGM/RD WebUI URL. + * Output only. The time when the instance was updated. */ - webUi?: string | null; + updateTime?: string | null; } /** - * Network configuration for ManagementServer instance. + * BackupApplianceBackupConfig captures the backup configuration for applications that are protected by Backup Appliances. */ - export interface Schema$NetworkConfig { + export interface Schema$BackupApplianceBackupConfig { /** - * Optional. The resource name of the Google Compute Engine VPC network to which the ManagementServer instance is connected. + * The name of the application. */ - network?: string | null; + applicationName?: string | null; /** - * Optional. The network connect mode of the ManagementServer instance. For this version, only PRIVATE_SERVICE_ACCESS is supported. + * The ID of the backup appliance. */ - peeringMode?: string | null; - } - /** - * This resource represents a long-running operation that is the result of a network API call. - */ - export interface Schema$Operation { + backupApplianceId?: string | null; /** - * If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. + * The name of the backup appliance. */ - done?: boolean | null; + backupApplianceName?: string | null; /** - * The error result of the operation in case of failure or cancellation. + * The name of the host where the application is running. */ - error?: Schema$Status; + hostName?: string | null; /** - * Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. + * The ID of the SLA of this application. */ - metadata?: {[key: string]: any} | null; + slaId?: string | null; /** - * The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id\}`. + * The name of the SLP associated with the application. */ - name?: string | null; + slpName?: string | null; /** - * The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. + * The name of the SLT associated with the application. */ - response?: {[key: string]: any} | null; + sltName?: string | null; } /** - * Represents the metadata of the long-running operation. + * BackupApplianceBackupProperties represents BackupDR backup appliance's properties. */ - export interface Schema$OperationMetadata { + export interface Schema$BackupApplianceBackupProperties { /** - * Output only. AdditionalInfo contains additional Info related to backup plan association resource. + * Output only. The time when this backup object was finalized (if none, backup is not finalized). */ - additionalInfo?: {[key: string]: string} | null; + finalizeTime?: string | null; /** - * Output only. API version used to start the operation. + * Output only. The numeric generation ID of the backup (monotonically increasing). */ - apiVersion?: string | null; + generationId?: number | null; /** - * Output only. The time the operation was created. + * Optional. The latest timestamp of data available in this Backup. */ - createTime?: string | null; + recoveryRangeEndTime?: string | null; /** - * Output only. The time the operation finished running. + * Optional. The earliest timestamp of data available in this Backup. */ - endTime?: string | null; + recoveryRangeStartTime?: string | null; + } + /** + * BackupApplianceLockInfo contains metadata about the backupappliance that created the lock. + */ + export interface Schema$BackupApplianceLockInfo { /** - * Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. + * Required. The ID of the backup/recovery appliance that created this lock. */ - requestedCancellation?: boolean | null; + backupApplianceId?: string | null; /** - * Output only. Human-readable status of the operation, if any. + * Required. The name of the backup/recovery appliance that created this lock. */ - statusMessage?: string | null; + backupApplianceName?: string | null; /** - * Output only. Server-defined resource path for the target of the operation. + * The image name that depends on this Backup. */ - target?: string | null; + backupImage?: string | null; /** - * Output only. Name of the verb executed by the operation. + * The job name on the backup/recovery appliance that created this lock. */ - verb?: string | null; + jobName?: string | null; + /** + * Required. The reason for the lock: e.g. MOUNT/RESTORE/BACKUP/etc. The value of this string is only meaningful to the client and it is not interpreted by the BackupVault service. + */ + lockReason?: string | null; + /** + * The SLA on the backup/recovery appliance that owns the lock. + */ + slaId?: string | null; } /** - * An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] \}, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", \} \} ], "etag": "BwWWja0YfJA=", "version": 3 \} ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/). + * BackupConfigInfo has information about how the resource is configured for Backup and about the most recent backup to this vault. */ - export interface Schema$Policy { - /** - * Specifies cloud audit logging configuration for this policy. - */ - auditConfigs?: Schema$AuditConfig[]; + export interface Schema$BackupConfigInfo { /** - * Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. + * Configuration for an application backed up by a Backup Appliance. */ - bindings?: Schema$Binding[]; + backupApplianceBackupConfig?: Schema$BackupApplianceBackupConfig; /** - * `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. + * Configuration for a Google Cloud resource. */ - etag?: string | null; + gcpBackupConfig?: Schema$GcpBackupConfig; /** - * Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + * Output only. If the last backup failed, this field has the error message. */ - version?: number | null; - } - /** - * Request message for `SetIamPolicy` method. - */ - export interface Schema$SetIamPolicyRequest { + lastBackupError?: Schema$Status; /** - * REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them. + * Output only. The status of the last backup to this BackupVault */ - policy?: Schema$Policy; + lastBackupState?: string | null; /** - * OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: "bindings, etag"` + * Output only. If the last backup were successful, this field has the consistency date. */ - updateMask?: string | null; + lastSuccessfulBackupConsistencyTime?: 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). + * BackupLock represents a single lock on a Backup resource. An unexpired lock on a Backup prevents the Backup from being deleted. */ - export interface Schema$Status { + export interface Schema$BackupLock { /** - * The status code, which should be an enum value of google.rpc.Code. + * If the client is a backup and recovery appliance, this contains metadata about why the lock exists. */ - code?: number | null; + backupApplianceLockInfo?: Schema$BackupApplianceLockInfo; /** - * A list of messages that carry the error details. There is a common set of message types for APIs to use. + * Required. The time after which this lock is not considered valid and will no longer protect the Backup from deletion. */ - details?: Array<{[key: string]: any}> | null; + lockUntilTime?: string | null; /** - * A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. + * Output only. Contains metadata about the lock exist for Google Cloud native backups. */ - message?: string | null; + serviceLockInfo?: Schema$ServiceLockInfo; } /** - * Request message for `TestIamPermissions` method. + * Message describing a BackupVault object. */ - export interface Schema$TestIamPermissionsRequest { + export interface Schema$BackupVault { /** - * The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + * Optional. User annotations. See https://google.aip.dev/128#annotations Stores small amounts of arbitrary data. */ - permissions?: string[] | null; - } - /** - * Response message for `TestIamPermissions` method. - */ - export interface Schema$TestIamPermissionsResponse { + annotations?: {[key: string]: string} | null; /** - * A subset of `TestPermissionsRequest.permissions` that the caller is allowed. + * Output only. The number of backups in this backup vault. */ - permissions?: string[] | null; - } - /** - * ManagementURI depending on the Workforce Identity i.e. either 1p or 3p. - */ - export interface Schema$WorkforceIdentityBasedManagementURI { + backupCount?: string | null; /** - * Output only. First party Management URI for Google Identities. + * Required. The default and minimum enforced retention for each backup within the backup vault. The enforced retention for each backup can be extended. */ - firstPartyManagementUri?: string | null; + backupMinimumEnforcedRetentionDuration?: string | null; + /** + * Output only. The time when the instance was created. + */ + createTime?: string | null; + /** + * Output only. Set to true when there are no backups nested under this resource. + */ + deletable?: boolean | null; + /** + * Optional. The description of the BackupVault instance (2048 characters or less). + */ + description?: string | null; + /** + * Optional. Time after which the BackupVault resource is locked. + */ + effectiveTime?: string | null; + /** + * Required. The default retention period for each backup in the backup vault (Deprecated). + */ + enforcedRetentionDuration?: string | null; + /** + * Optional. Server specified ETag for the backup vault resource to prevent simultaneous updates from overwiting each other. + */ + etag?: string | null; + /** + * Optional. Resource labels to represent user provided metadata. No labels currently defined: + */ + labels?: {[key: string]: string} | null; + /** + * Output only. The resource name. + */ + name?: string | null; + /** + * Output only. Service account used by the BackupVault Service for this BackupVault. The user should grant this account permissions in their workload project to enable the service to run backups and restores there. + */ + serviceAccount?: string | null; + /** + * Output only. The BackupVault resource instance state. + */ + state?: string | null; + /** + * Output only. Total size of the storage used by all backup resources. + */ + totalStoredBytes?: string | null; + /** + * Output only. Output only Immutable after resource creation until resource deletion. + */ + uid?: string | null; + /** + * Output only. The time when the instance was updated. + */ + updateTime?: string | null; + } + /** + * Associates `members`, or principals, with a `role`. + */ + export interface Schema$Binding { + /** + * The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + */ + condition?: Schema$Expr; + /** + * Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid\}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid\}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid\}.svc.id.goog[{namespace\}/{kubernetes-sa\}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid\}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain\}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/subject/{subject_attribute_value\}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/group/{group_id\}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/attribute.{attribute_name\}/{attribute_value\}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/x`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/subject/{subject_attribute_value\}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/group/{group_id\}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/attribute.{attribute_name\}/{attribute_value\}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/x`: All identities in a workload identity pool. * `deleted:user:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid\}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid\}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid\}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/subject/{subject_attribute_value\}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. + */ + members?: string[] | null; + /** + * Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles). + */ + role?: string | null; + } + /** + * The request message for Operations.CancelOperation. + */ + export interface Schema$CancelOperationRequest {} + /** + * ComputeInstanceBackupProperties represents Compute Engine instance backup properties. + */ + export interface Schema$ComputeInstanceBackupProperties { + /** + * Enables instances created based on these properties to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own. If these instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, specify `true`. If unsure, leave this set to `false`. See the https://cloud.google.com/vpc/docs/using-routes#canipforward documentation for more information. + */ + canIpForward?: boolean | null; + /** + * An optional text description for the instances that are created from these properties. + */ + description?: string | null; + /** + * An array of disks that are associated with the instances that are created from these properties. + */ + disk?: Schema$AttachedDisk[]; + /** + * A list of guest accelerator cards' type and count to use for instances created from these properties. + */ + guestAccelerator?: Schema$AcceleratorConfig[]; + /** + * KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. + */ + keyRevocationActionType?: string | null; + /** + * The machine type to use for instances that are created from these properties. + */ + machineType?: string | null; + /** + * The metadata key/value pairs to assign to instances that are created from these properties. These pairs can consist of custom metadata or predefined keys. See https://cloud.google.com/compute/docs/metadata/overview for more information. + */ + metadata?: Schema$Metadata; + /** + * Minimum cpu/platform to be used by instances. The instance may be scheduled on the specified or newer cpu/platform. Applicable values are the friendly names of CPU platforms, such as `minCpuPlatform: Intel Haswell` or `minCpuPlatform: Intel Sandy Bridge`. For more information, read https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform. + */ + minCpuPlatform?: string | null; + /** + * An array of network access configurations for this interface. + */ + networkInterface?: Schema$NetworkInterface[]; + /** + * Specifies the scheduling options for the instances that are created from these properties. + */ + scheduling?: Schema$Scheduling; + /** + * A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances. + */ + serviceAccount?: Schema$ServiceAccount[]; + /** + * Name of the source instance at the time of backup. The name is 1-63 characters long, and complies with RFC1035. + */ + sourceInstanceName?: string | null; + /** + * A list of tags to apply to the instances that are created from these properties. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035 (https://www.ietf.org/rfc/rfc1035.txt). + */ + tags?: Schema$Tags; + } + /** + * ComputeInstanceDataSourceProperties represents the properties of a ComputeEngine resource that are stored in the DataSource. + */ + export interface Schema$ComputeInstanceDataSourceProperties { + /** + * The description of the Compute Engine instance. + */ + description?: string | null; + /** + * The machine type of the instance. + */ + machineType?: string | null; + /** + * Name of the compute instance backed up by the datasource. + */ + name?: string | null; + /** + * The total number of disks attached to the Instance. + */ + totalDiskCount?: string | null; + /** + * The sum of all the disk sizes. + */ + totalDiskSizeGb?: string | null; + } + /** + * A customer-supplied encryption key. + */ + export interface Schema$CustomerEncryptionKey { + /** + * Optional. The name of the encryption key that is stored in Google Cloud KMS. + */ + kmsKeyName?: string | null; + /** + * Optional. The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used. + */ + kmsKeyServiceAccount?: string | null; + /** + * Optional. Specifies a 256-bit customer-supplied encryption key. + */ + rawKey?: string | null; + /** + * Optional. RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource. + */ + rsaEncryptedKey?: string | null; + } + /** + * Message describing a DataSource object. Datasource object used to represent Datasource details for both admin and basic view. + */ + export interface Schema$DataSource { + /** + * Output only. Details of how the resource is configured for backup. + */ + backupConfigInfo?: Schema$BackupConfigInfo; + /** + * Number of backups in the data source. + */ + backupCount?: string | null; + /** + * The backup configuration state. + */ + configState?: string | null; + /** + * Output only. The time when the instance was created. + */ + createTime?: string | null; + /** + * The backed up resource is a backup appliance application. + */ + dataSourceBackupApplianceApplication?: Schema$DataSourceBackupApplianceApplication; + /** + * The backed up resource is a Google Cloud resource. The word 'DataSource' was included in the names to indicate that this is the representation of the Google Cloud resource used within the DataSource object. + */ + dataSourceGcpResource?: Schema$DataSourceGcpResource; + /** + * Server specified ETag for the ManagementServer resource to prevent simultaneous updates from overwiting each other. + */ + etag?: string | null; + /** + * Optional. Resource labels to represent user provided metadata. No labels currently defined: + */ + labels?: {[key: string]: string} | null; + /** + * Output only. The resource name. + */ + name?: string | null; + /** + * Output only. The DataSource resource instance state. + */ + state?: string | null; + /** + * The number of bytes (metadata and data) stored in this datasource. + */ + totalStoredBytes?: string | null; + /** + * Output only. The time when the instance was updated. + */ + updateTime?: string | null; + } + /** + * BackupApplianceApplication describes a Source Resource when it is an application backed up by a BackupAppliance. + */ + export interface Schema$DataSourceBackupApplianceApplication { + /** + * Appliance Id of the Backup Appliance. + */ + applianceId?: string | null; + /** + * The appid field of the application within the Backup Appliance. + */ + applicationId?: string | null; + /** + * The name of the Application as known to the Backup Appliance. + */ + applicationName?: string | null; + /** + * Appliance name. + */ + backupAppliance?: string | null; + /** + * Hostid of the application host. + */ + hostId?: string | null; + /** + * Hostname of the host where the application is running. + */ + hostname?: string | null; + /** + * The type of the application. e.g. VMBackup + */ + type?: string | null; + } + /** + * DataSourceGcpResource is used for protected resources that are Google Cloud Resources. This name is easeier to understand than GcpResourceDataSource or GcpDataSourceResource + */ + export interface Schema$DataSourceGcpResource { + /** + * ComputeInstanceDataSourceProperties has a subset of Compute Instance properties that are useful at the Datasource level. + */ + computeInstanceDatasourceProperties?: Schema$ComputeInstanceDataSourceProperties; + /** + * Output only. Full resource pathname URL of the source Google Cloud resource. + */ + gcpResourcename?: string | null; + /** + * Location of the resource: //"global"/"unspecified". + */ + location?: string | null; + /** + * The type of the Google Cloud resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance. + */ + type?: string | null; + } + /** + * A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \} + */ + export interface Schema$Empty {} + /** + * A key/value pair to be used for storing metadata. + */ + export interface Schema$Entry { + /** + * Optional. Key for the metadata entry. + */ + key?: string | null; + /** + * Optional. Value for the metadata entry. These are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on values is that their size must be less than or equal to 262144 bytes (256 KiB). + */ + value?: string | null; + } + /** + * Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. + */ + export interface Schema$Expr { + /** + * Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. + */ + description?: string | null; + /** + * Textual representation of an expression in Common Expression Language syntax. + */ + expression?: string | null; + /** + * Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. + */ + location?: string | null; + /** + * Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. + */ + title?: string | null; + } + /** + * Request message for FetchAccessToken. + */ + export interface Schema$FetchAccessTokenRequest { + /** + * Required. The generation of the backup to update. + */ + generationId?: number | null; + } + /** + * Response message for FetchAccessToken. + */ + export interface Schema$FetchAccessTokenResponse { + /** + * The token is valid until this time. + */ + expireTime?: string | null; + /** + * The location in bucket that can be used for reading. + */ + readLocation?: string | null; + /** + * The downscoped token that was created. + */ + token?: string | null; + /** + * The location in bucket that can be used for writing. + */ + writeLocation?: string | null; + } + /** + * Response message for fetching usable BackupVaults. + */ + export interface Schema$FetchUsableBackupVaultsResponse { + /** + * The list of BackupVault instances in the project for the specified location. If the '{location\}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return backup vaults in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations. + */ + backupVaults?: Schema$BackupVault[]; + /** + * A token identifying a page of results the server should return. + */ + nextPageToken?: string | null; + /** + * Locations that could not be reached. + */ + unreachable?: string[] | null; + } + /** + * Message for finalizing a Backup. + */ + export interface Schema$FinalizeBackupRequest { + /** + * Required. Resource ID of the Backup resource to be finalized. This must be the same backup_id that was used in the InitiateBackupRequest. + */ + backupId?: string | null; + /** + * The point in time when this backup was captured from the source. This will be assigned to the consistency_time field of the newly created Backup. + */ + consistencyTime?: string | null; + /** + * This will be assigned to the description field of the newly created Backup. + */ + description?: string | null; + /** + * The latest timestamp of data available in this Backup. This will be set on the newly created Backup. + */ + recoveryRangeEndTime?: string | null; + /** + * The earliest timestamp of data available in this Backup. This will set on the newly created Backup. + */ + recoveryRangeStartTime?: string | null; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string | null; + /** + * The ExpireTime on the backup will be set to FinalizeTime plus this duration. If the resulting ExpireTime is less than EnforcedRetentionEndTime, then ExpireTime is set to EnforcedRetentionEndTime. + */ + retentionDuration?: string | null; + } + /** + * GcpBackupConfig captures the Backup configuration details for Google Cloud resources. All Google Cloud resources regardless of type are protected with backup plan associations. + */ + export interface Schema$GcpBackupConfig { + /** + * The name of the backup plan. + */ + backupPlan?: string | null; + /** + * The name of the backup plan association. + */ + backupPlanAssociation?: string | null; + /** + * The description of the backup plan. + */ + backupPlanDescription?: string | null; + /** + * The names of the backup plan rules which point to this backupvault + */ + backupPlanRules?: string[] | null; + } + /** + * GCPBackupPlanInfo captures the plan configuration details of Google Cloud resources at the time of backup. + */ + export interface Schema$GCPBackupPlanInfo { + /** + * Resource name of backup plan by which workload is protected at the time of the backup. Format: projects/{project\}/locations/{location\}/backupPlans/{backupPlanId\} + */ + backupPlan?: string | null; + /** + * The rule id of the backup plan which triggered this backup in case of scheduled backup or used for + */ + backupPlanRuleId?: string | null; + } + /** + * Feature type of the Guest OS. + */ + export interface Schema$GuestOsFeature { + /** + * The ID of a supported feature. + */ + type?: string | null; + } + /** + * Specifies the parameters to initialize this disk. + */ + export interface Schema$InitializeParams { + /** + * Optional. Specifies the disk name. If not specified, the default is to use the name of the instance. + */ + diskName?: string | null; + /** + * Optional. URL of the zone where the disk should be created. Required for each regional disk associated with the instance. + */ + replicaZones?: string[] | null; + } + /** + * request message for InitiateBackup. + */ + export interface Schema$InitiateBackupRequest { + /** + * Required. Resource ID of the Backup resource. + */ + backupId?: string | null; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string | null; + } + /** + * Response message for InitiateBackup. + */ + export interface Schema$InitiateBackupResponse { + /** + * The name of the backup that was created. + */ + backup?: string | null; + /** + * The generation id of the base backup. It is needed for the incremental backups. + */ + baseBackupGenerationId?: number | null; + /** + * The generation id of the new backup. + */ + newBackupGenerationId?: number | null; + } + /** + * Response message for listing Backups. + */ + export interface Schema$ListBackupsResponse { + /** + * The list of Backup instances in the project for the specified location. If the '{location\}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return data sources in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations. + */ + backups?: Schema$Backup[]; + /** + * A token identifying a page of results the server should return. + */ + nextPageToken?: string | null; + /** + * Locations that could not be reached. + */ + unreachable?: string[] | null; + } + /** + * Response message for listing BackupVaults. + */ + export interface Schema$ListBackupVaultsResponse { + /** + * The list of BackupVault instances in the project for the specified location. If the '{location\}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return backup vaults in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations. + */ + backupVaults?: Schema$BackupVault[]; + /** + * A token identifying a page of results the server should return. + */ + nextPageToken?: string | null; + /** + * Locations that could not be reached. + */ + unreachable?: string[] | null; + } + /** + * Response message for listing DataSources. + */ + export interface Schema$ListDataSourcesResponse { + /** + * The list of DataSource instances in the project for the specified location. If the '{location\}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return data sources in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations. + */ + dataSources?: Schema$DataSource[]; + /** + * A token identifying a page of results the server should return. + */ + nextPageToken?: string | null; + /** + * Locations that could not be reached. + */ + unreachable?: string[] | null; + } + /** + * The response message for Locations.ListLocations. + */ + export interface Schema$ListLocationsResponse { + /** + * A list of locations that matches the specified filter in the request. + */ + locations?: Schema$Location[]; + /** + * The standard List next-page token. + */ + nextPageToken?: string | null; + } + /** + * Response message for listing management servers. + */ + export interface Schema$ListManagementServersResponse { + /** + * The list of ManagementServer instances in the project for the specified location. If the '{location\}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return management servers in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations. + */ + managementServers?: Schema$ManagementServer[]; + /** + * A token identifying a page of results the server should return. + */ + nextPageToken?: string | null; + /** + * Locations that could not be reached. + */ + unreachable?: string[] | null; + } + /** + * The response message for Operations.ListOperations. + */ + export interface Schema$ListOperationsResponse { + /** + * The standard List next-page token. + */ + nextPageToken?: string | null; + /** + * A list of operations that matches the specified filter in the request. + */ + operations?: Schema$Operation[]; + } + /** + * A resource that represents a Google Cloud location. + */ + export interface Schema$Location { + /** + * The friendly name for this location, typically a nearby city name. For example, "Tokyo". + */ + displayName?: string | null; + /** + * Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"\} + */ + labels?: {[key: string]: string} | null; + /** + * The canonical id for this location. For example: `"us-east1"`. + */ + locationId?: string | null; + /** + * Service-specific metadata. For example the available capacity at the given location. + */ + metadata?: {[key: string]: any} | null; + /** + * Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` + */ + name?: string | null; + } + /** + * ManagementServer describes a single BackupDR ManagementServer instance. + */ + export interface Schema$ManagementServer { + /** + * Output only. The hostname or ip address of the exposed AGM endpoints, used by BAs to connect to BA proxy. + */ + baProxyUri?: string[] | null; + /** + * Output only. The time when the instance was created. + */ + createTime?: string | null; + /** + * Optional. The description of the ManagementServer instance (2048 characters or less). + */ + description?: string | null; + /** + * Optional. Server specified ETag for the ManagementServer resource to prevent simultaneous updates from overwiting each other. + */ + etag?: string | null; + /** + * Optional. Resource labels to represent user provided metadata. Labels currently defined: 1. migrate_from_go= If set to true, the MS is created in migration ready mode. + */ + labels?: {[key: string]: string} | null; + /** + * Output only. The hostname or ip address of the exposed AGM endpoints, used by clients to connect to AGM/RD graphical user interface and APIs. + */ + managementUri?: Schema$ManagementURI; + /** + * Output only. Identifier. The resource name. + */ + name?: string | null; + /** + * Required. VPC networks to which the ManagementServer instance is connected. For this version, only a single network is supported. + */ + networks?: Schema$NetworkConfig[]; + /** + * Output only. The OAuth 2.0 client id is required to make API calls to the BackupDR instance API of this ManagementServer. This is the value that should be provided in the 'aud' field of the OIDC ID Token (see openid specification https://openid.net/specs/openid-connect-core-1_0.html#IDToken). + */ + oauth2ClientId?: string | null; + /** + * Output only. Reserved for future use. + */ + satisfiesPzi?: boolean | null; + /** + * Output only. Reserved for future use. + */ + satisfiesPzs?: boolean | null; + /** + * Output only. The ManagementServer state. + */ + state?: string | null; + /** + * Optional. The type of the ManagementServer resource. + */ + type?: string | null; + /** + * Output only. The time when the instance was updated. + */ + updateTime?: string | null; + /** + * Output only. The hostnames of the exposed AGM endpoints for both types of user i.e. 1p and 3p, used to connect AGM/RM UI. + */ + workforceIdentityBasedManagementUri?: Schema$WorkforceIdentityBasedManagementURI; + /** + * Output only. The OAuth client IDs for both types of user i.e. 1p and 3p. + */ + workforceIdentityBasedOauth2ClientId?: Schema$WorkforceIdentityBasedOAuth2ClientID; + } + /** + * ManagementURI for the Management Server resource. + */ + export interface Schema$ManagementURI { + /** + * Output only. The ManagementServer AGM/RD API URL. + */ + api?: string | null; + /** + * Output only. The ManagementServer AGM/RD WebUI URL. + */ + webUi?: string | null; + } + /** + * A metadata key/value entry. + */ + export interface Schema$Metadata { + /** + * Optional. Array of key/value pairs. The total size of all keys and values must be less than 512 KB. + */ + items?: Schema$Entry[]; + } + /** + * Network configuration for ManagementServer instance. + */ + export interface Schema$NetworkConfig { + /** + * Optional. The resource name of the Google Compute Engine VPC network to which the ManagementServer instance is connected. + */ + network?: string | null; + /** + * Optional. The network connect mode of the ManagementServer instance. For this version, only PRIVATE_SERVICE_ACCESS is supported. + */ + peeringMode?: string | null; + } + /** + * A network interface resource attached to an instance. s + */ + export interface Schema$NetworkInterface { + /** + * Optional. An array of configurations for this interface. Currently, only one access config,ONE_TO_ONE_NAT is supported. If there are no accessConfigs specified, then this instance will have no external internet access. + */ + accessConfigs?: Schema$AccessConfig[]; + /** + * Optional. An array of alias IP ranges for this network interface. You can only specify this field for network interfaces in VPC networks. + */ + aliasIpRanges?: Schema$AliasIpRange[]; + /** + * Optional. The prefix length of the primary internal IPv6 range. + */ + internalIpv6PrefixLength?: number | null; + /** + * Optional. An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access. + */ + ipv6AccessConfigs?: Schema$AccessConfig[]; + /** + * Optional. [Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork. + */ + ipv6AccessType?: string | null; + /** + * Optional. An IPv6 internal network address for this network interface. To use a static internal IP address, it must be unused and in the same region as the instance's zone. If not specified, Google Cloud will automatically assign an internal IPv6 address from the instance's subnetwork. + */ + ipv6Address?: string | null; + /** + * Output only. [Output Only] The name of the network interface, which is generated by the server. + */ + name?: string | null; + /** + * Optional. URL of the VPC network resource for this instance. + */ + network?: string | null; + /** + * Optional. The URL of the network attachment that this interface should connect to in the following format: projects/{project_number\}/regions/{region_name\}/networkAttachments/{network_attachment_name\}. + */ + networkAttachment?: string | null; + /** + * Optional. An IPv4 internal IP address to assign to the instance for this network interface. If not specified by the user, an unused internal IP is assigned by the system. + */ + networkIP?: string | null; + /** + * Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet. + */ + nicType?: string | null; + /** + * Optional. The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It'll be empty if not specified by the users. + */ + queueCount?: number | null; + /** + * The stack type for this network interface. + */ + stackType?: string | null; + /** + * Optional. The URL of the Subnetwork resource for this instance. + */ + subnetwork?: string | null; + } + /** + * Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled. + */ + export interface Schema$NodeAffinity { + /** + * Optional. Corresponds to the label key of Node resource. + */ + key?: string | null; + /** + * Optional. Defines the operation of node selection. + */ + operator?: string | null; + /** + * Optional. Corresponds to the label values of Node resource. + */ + values?: string[] | null; + } + /** + * This resource represents a long-running operation that is the result of a network API call. + */ + export interface Schema$Operation { + /** + * If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. + */ + done?: boolean | null; + /** + * The error result of the operation in case of failure or cancellation. + */ + error?: Schema$Status; + /** + * Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. + */ + metadata?: {[key: string]: any} | null; + /** + * The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id\}`. + */ + name?: string | null; + /** + * The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. + */ + response?: {[key: string]: any} | null; + } + /** + * Represents the metadata of the long-running operation. + */ + export interface Schema$OperationMetadata { + /** + * Output only. AdditionalInfo contains additional Info related to backup plan association resource. + */ + additionalInfo?: {[key: string]: string} | null; + /** + * Output only. API version used to start the operation. + */ + apiVersion?: string | null; + /** + * Output only. The time the operation was created. + */ + createTime?: string | null; + /** + * Output only. The time the operation finished running. + */ + endTime?: string | null; + /** + * Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to 'Code.CANCELLED'. + */ + requestedCancellation?: boolean | null; + /** + * Output only. Human-readable status of the operation, if any. + */ + statusMessage?: string | null; + /** + * Output only. Server-defined resource path for the target of the operation. + */ + target?: string | null; + /** + * Output only. Name of the verb executed by the operation. + */ + verb?: string | null; + } + /** + * An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] \}, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", \} \} ], "etag": "BwWWja0YfJA=", "version": 3 \} ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/). + */ + export interface Schema$Policy { + /** + * Specifies cloud audit logging configuration for this policy. + */ + auditConfigs?: Schema$AuditConfig[]; + /** + * Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. + */ + bindings?: Schema$Binding[]; + /** + * `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. + */ + etag?: string | null; + /** + * Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + */ + version?: number | null; + } + /** + * Message for deleting a DataSource. + */ + export interface Schema$RemoveDataSourceRequest { + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string | null; + } + /** + * Sets the scheduling options for an Instance. + */ + export interface Schema$Scheduling { + /** + * Optional. Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). + */ + automaticRestart?: boolean | null; + /** + * Optional. Specifies the termination action for the instance. + */ + instanceTerminationAction?: string | null; + /** + * Optional. Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted. Its value should be in between 0 and 168 hours with hour granularity and the default value being 1 hour. + */ + localSsdRecoveryTimeout?: Schema$SchedulingDuration; + /** + * Optional. The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. + */ + minNodeCpus?: number | null; + /** + * Optional. A set of node affinity and anti-affinity configurations. Overrides reservationAffinity. + */ + nodeAffinities?: Schema$NodeAffinity[]; + /** + * Optional. Defines the maintenance behavior for this instance. + */ + onHostMaintenance?: string | null; + /** + * Optional. Defines whether the instance is preemptible. + */ + preemptible?: boolean | null; + /** + * Optional. Specifies the provisioning model of the instance. + */ + provisioningModel?: string | null; + } + /** + * A SchedulingDuration represents a fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution. It is independent of any calendar and concepts like "day" or "month". Range is approximately 10,000 years. + */ + export interface Schema$SchedulingDuration { + /** + * Optional. Span of time that's a fraction of a second at nanosecond resolution. + */ + nanos?: number | null; + /** + * Optional. Span of time at a resolution of a second. + */ + seconds?: string | null; + } + /** + * A service account. + */ + export interface Schema$ServiceAccount { + /** + * Optional. Email address of the service account. + */ + email?: string | null; + /** + * Optional. The list of scopes to be made available for this service account. + */ + scopes?: string[] | null; + } + /** + * ServiceLockInfo represents the details of a lock taken by the service on a Backup resource. + */ + export interface Schema$ServiceLockInfo { + /** + * Output only. The name of the operation that created this lock. The lock will automatically be released when the operation completes. + */ + operation?: string | null; + } + /** + * Request message for `SetIamPolicy` method. + */ + export interface Schema$SetIamPolicyRequest { + /** + * REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them. + */ + policy?: Schema$Policy; + /** + * OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: "bindings, etag"` + */ + updateMask?: string | null; + } + /** + * Request message for SetStatusInternal method. + */ + export interface Schema$SetInternalStatusRequest { + /** + * Required. The new BackupConfigState to set for the DataSource. + */ + backupConfigState?: string | null; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string | null; + /** + * Required. The value required for this method to work. This field must be the 32-byte SHA256 hash of the DataSourceID. The DataSourceID used here is only the final piece of the fully qualified resource path for this DataSource (i.e. the part after '.../dataSources/'). This field exists to make this method difficult to call since it is intended for use only by Backup Appliances. + */ + value?: 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). + */ + export interface Schema$Status { + /** + * The status code, which should be an enum value of google.rpc.Code. + */ + code?: number | null; + /** + * A list of messages that carry the error details. There is a common set of message types for APIs to use. + */ + details?: Array<{[key: string]: any}> | null; + /** + * A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. + */ + message?: string | null; + } + /** + * A set of instance tags. + */ + export interface Schema$Tags { + /** + * Optional. An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035. + */ + items?: string[] | null; + } + /** + * Request message for `TestIamPermissions` method. + */ + export interface Schema$TestIamPermissionsRequest { + /** + * The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + */ + permissions?: string[] | null; + } + /** + * Response message for `TestIamPermissions` method. + */ + export interface Schema$TestIamPermissionsResponse { + /** + * A subset of `TestPermissionsRequest.permissions` that the caller is allowed. + */ + permissions?: string[] | null; + } + /** + * ManagementURI depending on the Workforce Identity i.e. either 1p or 3p. + */ + export interface Schema$WorkforceIdentityBasedManagementURI { + /** + * Output only. First party Management URI for Google Identities. + */ + firstPartyManagementUri?: string | null; /** * Output only. Third party Management URI for External Identity Providers. */ - thirdPartyManagementUri?: string | null; + thirdPartyManagementUri?: string | null; + } + /** + * OAuth Client ID depending on the Workforce Identity i.e. either 1p or 3p, + */ + export interface Schema$WorkforceIdentityBasedOAuth2ClientID { + /** + * Output only. First party OAuth Client ID for Google Identities. + */ + firstPartyOauth2ClientId?: string | null; + /** + * Output only. Third party OAuth Client ID for External Identity Providers. + */ + thirdPartyOauth2ClientId?: string | null; + } + + 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; + backupVaults: Resource$Projects$Locations$Backupvaults; + managementServers: Resource$Projects$Locations$Managementservers; + operations: Resource$Projects$Locations$Operations; + constructor(context: APIRequestContext) { + this.context = context; + this.backupVaults = new Resource$Projects$Locations$Backupvaults( + this.context + ); + this.managementServers = + new Resource$Projects$Locations$Managementservers(this.context); + this.operations = new Resource$Projects$Locations$Operations( + this.context + ); + } + + /** + * Gets information about a location. + * + * @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 + ): GaxiosPromise; + get( + params?: Params$Resource$Projects$Locations$Get, + options?: MethodOptions + ): GaxiosPromise; + 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 | GaxiosPromise | GaxiosPromise { + 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://backupdr.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. + * + * @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 + ): GaxiosPromise; + list( + params?: Params$Resource$Projects$Locations$List, + options?: MethodOptions + ): GaxiosPromise; + 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 + | GaxiosPromise + | GaxiosPromise { + 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://backupdr.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); + } + } + } + + export interface Params$Resource$Projects$Locations$Get + extends StandardParameters { + /** + * Resource name for the location. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$List + extends StandardParameters { + /** + * 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. + */ + pageSize?: number; + /** + * A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. + */ + pageToken?: string; + } + + export class Resource$Projects$Locations$Backupvaults { + context: APIRequestContext; + dataSources: Resource$Projects$Locations$Backupvaults$Datasources; + constructor(context: APIRequestContext) { + this.context = context; + this.dataSources = + new Resource$Projects$Locations$Backupvaults$Datasources(this.context); + } + + /** + * + * @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$Backupvaults$Create, + options: StreamMethodOptions + ): GaxiosPromise; + create( + params?: Params$Resource$Projects$Locations$Backupvaults$Create, + options?: MethodOptions + ): GaxiosPromise; + create( + params: Params$Resource$Projects$Locations$Backupvaults$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Backupvaults$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Backupvaults$Create, + callback: BodyResponseCallback + ): void; + create(callback: BodyResponseCallback): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backupvaults$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backupvaults$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Backupvaults$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://backupdr.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/backupVaults').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 BackupVault. + * + * @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$Backupvaults$Delete, + options: StreamMethodOptions + ): GaxiosPromise; + delete( + params?: Params$Resource$Projects$Locations$Backupvaults$Delete, + options?: MethodOptions + ): GaxiosPromise; + delete( + params: Params$Resource$Projects$Locations$Backupvaults$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Backupvaults$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Backupvaults$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backupvaults$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backupvaults$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Backupvaults$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://backupdr.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+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); + } + } + + /** + * FetchUsableBackupVaults lists usable BackupVaults in a given project and location. Usable BackupVault are the ones that user has backupdr.backupVaults.get permission. + * + * @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. + */ + fetchUsable( + params: Params$Resource$Projects$Locations$Backupvaults$Fetchusable, + options: StreamMethodOptions + ): GaxiosPromise; + fetchUsable( + params?: Params$Resource$Projects$Locations$Backupvaults$Fetchusable, + options?: MethodOptions + ): GaxiosPromise; + fetchUsable( + params: Params$Resource$Projects$Locations$Backupvaults$Fetchusable, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + fetchUsable( + params: Params$Resource$Projects$Locations$Backupvaults$Fetchusable, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + fetchUsable( + params: Params$Resource$Projects$Locations$Backupvaults$Fetchusable, + callback: BodyResponseCallback + ): void; + fetchUsable( + callback: BodyResponseCallback + ): void; + fetchUsable( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backupvaults$Fetchusable + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backupvaults$Fetchusable; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Backupvaults$Fetchusable; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://backupdr.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/backupVaults:fetchUsable').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 + ); + } + } + + /** + * Gets details of a BackupVault. + * + * @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$Backupvaults$Get, + options: StreamMethodOptions + ): GaxiosPromise; + get( + params?: Params$Resource$Projects$Locations$Backupvaults$Get, + options?: MethodOptions + ): GaxiosPromise; + get( + params: Params$Resource$Projects$Locations$Backupvaults$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Backupvaults$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Backupvaults$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backupvaults$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backupvaults$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Backupvaults$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://backupdr.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 BackupVaults in a given project and location. + * + * @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$Backupvaults$List, + options: StreamMethodOptions + ): GaxiosPromise; + list( + params?: Params$Resource$Projects$Locations$Backupvaults$List, + options?: MethodOptions + ): GaxiosPromise; + list( + params: Params$Resource$Projects$Locations$Backupvaults$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Backupvaults$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Backupvaults$List, + callback: BodyResponseCallback + ): void; + list(callback: BodyResponseCallback): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backupvaults$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backupvaults$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Backupvaults$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://backupdr.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/backupVaults').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 the settings of a BackupVault. + * + * @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$Backupvaults$Patch, + options: StreamMethodOptions + ): GaxiosPromise; + patch( + params?: Params$Resource$Projects$Locations$Backupvaults$Patch, + options?: MethodOptions + ): GaxiosPromise; + patch( + params: Params$Resource$Projects$Locations$Backupvaults$Patch, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Backupvaults$Patch, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Backupvaults$Patch, + callback: BodyResponseCallback + ): void; + patch(callback: BodyResponseCallback): void; + patch( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backupvaults$Patch + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backupvaults$Patch; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Backupvaults$Patch; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://backupdr.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); + } + } + + /** + * Returns the caller's permissions on a BackupVault resource. A caller is not required to have Google IAM permission to make this request. + * + * @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. + */ + testIamPermissions( + params: Params$Resource$Projects$Locations$Backupvaults$Testiampermissions, + options: StreamMethodOptions + ): GaxiosPromise; + testIamPermissions( + params?: Params$Resource$Projects$Locations$Backupvaults$Testiampermissions, + options?: MethodOptions + ): GaxiosPromise; + testIamPermissions( + params: Params$Resource$Projects$Locations$Backupvaults$Testiampermissions, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + testIamPermissions( + params: Params$Resource$Projects$Locations$Backupvaults$Testiampermissions, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + testIamPermissions( + params: Params$Resource$Projects$Locations$Backupvaults$Testiampermissions, + callback: BodyResponseCallback + ): void; + testIamPermissions( + callback: BodyResponseCallback + ): void; + testIamPermissions( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backupvaults$Testiampermissions + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backupvaults$Testiampermissions; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Backupvaults$Testiampermissions; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://backupdr.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Projects$Locations$Backupvaults$Create + extends StandardParameters { + /** + * Required. ID of the requesting object If auto-generating ID server-side, remove this field and backup_vault_id from the method_signature of Create RPC + */ + backupVaultId?: string; + /** + * Required. Value for parent. + */ + parent?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Optional. Only validate the request, but do not perform mutations. The default is 'false'. + */ + validateOnly?: boolean; + + /** + * Request body metadata + */ + requestBody?: Schema$BackupVault; + } + export interface Params$Resource$Projects$Locations$Backupvaults$Delete + extends StandardParameters { + /** + * Optional. If true and the BackupVault is not found, the request will succeed but no action will be taken. + */ + allowMissing?: boolean; + /** + * The current etag of the backup vault. If an etag is provided and does not match the current etag of the connection, deletion will be blocked. + */ + etag?: string; + /** + * Optional. If set to true, any data source from this backup vault will also be deleted. + */ + force?: boolean; + /** + * Required. Name of the resource. + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Optional. Only validate the request, but do not perform mutations. The default is 'false'. + */ + validateOnly?: boolean; + } + export interface Params$Resource$Projects$Locations$Backupvaults$Fetchusable + extends StandardParameters { + /** + * Optional. Filtering results. + */ + filter?: string; + /** + * Optional. Hint for how to order the results. + */ + orderBy?: string; + /** + * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. + */ + pageSize?: number; + /** + * Optional. A token identifying a page of results the server should return. + */ + pageToken?: string; + /** + * Required. The project and location for which to retrieve backupvault stores information, in the format 'projects/{project_id\}/locations/{location\}'. In Cloud Backup and DR, locations map to Google Cloud regions, for example **us-central1**. To retrieve backupvault stores for all locations, use "-" for the '{location\}' value. + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Backupvaults$Get + extends StandardParameters { + /** + * Required. Name of the backupvault store resource name, in the format 'projects/{project_id\}/locations/{location\}/backupVaults/{resource_name\}' + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Backupvaults$List + extends StandardParameters { + /** + * Optional. Filtering results. + */ + filter?: string; + /** + * Optional. Hint for how to order the results. + */ + orderBy?: string; + /** + * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. + */ + pageSize?: number; + /** + * Optional. A token identifying a page of results the server should return. + */ + pageToken?: string; + /** + * Required. The project and location for which to retrieve backupvault stores information, in the format 'projects/{project_id\}/locations/{location\}'. In Cloud Backup and DR, locations map to Google Cloud regions, for example **us-central1**. To retrieve backupvault stores for all locations, use "-" for the '{location\}' value. + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Backupvaults$Patch + extends StandardParameters { + /** + * Output only. The resource name. + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Required. Field mask is used to specify the fields to be overwritten in the BackupVault resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then the request will fail. + */ + updateMask?: string; + /** + * Optional. Only validate the request, but do not perform mutations. The default is 'false'. + */ + validateOnly?: boolean; + + /** + * Request body metadata + */ + requestBody?: Schema$BackupVault; + } + export interface Params$Resource$Projects$Locations$Backupvaults$Testiampermissions + extends StandardParameters { + /** + * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + */ + resource?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$TestIamPermissionsRequest; + } + + export class Resource$Projects$Locations$Backupvaults$Datasources { + context: APIRequestContext; + backups: Resource$Projects$Locations$Backupvaults$Datasources$Backups; + constructor(context: APIRequestContext) { + this.context = context; + this.backups = + new Resource$Projects$Locations$Backupvaults$Datasources$Backups( + this.context + ); + } + + /** + * Internal only. Abandons a backup. + * + * @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. + */ + abandonBackup( + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Abandonbackup, + options: StreamMethodOptions + ): GaxiosPromise; + abandonBackup( + params?: Params$Resource$Projects$Locations$Backupvaults$Datasources$Abandonbackup, + options?: MethodOptions + ): GaxiosPromise; + abandonBackup( + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Abandonbackup, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + abandonBackup( + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Abandonbackup, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + abandonBackup( + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Abandonbackup, + callback: BodyResponseCallback + ): void; + abandonBackup(callback: BodyResponseCallback): void; + abandonBackup( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backupvaults$Datasources$Abandonbackup + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backupvaults$Datasources$Abandonbackup; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Backupvaults$Datasources$Abandonbackup; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://backupdr.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+dataSource}:abandonBackup').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['dataSource'], + pathParams: ['dataSource'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Internal only. Fetch access token for a given data source. + * + * @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. + */ + fetchAccessToken( + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Fetchaccesstoken, + options: StreamMethodOptions + ): GaxiosPromise; + fetchAccessToken( + params?: Params$Resource$Projects$Locations$Backupvaults$Datasources$Fetchaccesstoken, + options?: MethodOptions + ): GaxiosPromise; + fetchAccessToken( + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Fetchaccesstoken, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + fetchAccessToken( + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Fetchaccesstoken, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + fetchAccessToken( + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Fetchaccesstoken, + callback: BodyResponseCallback + ): void; + fetchAccessToken( + callback: BodyResponseCallback + ): void; + fetchAccessToken( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backupvaults$Datasources$Fetchaccesstoken + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backupvaults$Datasources$Fetchaccesstoken; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Backupvaults$Datasources$Fetchaccesstoken; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://backupdr.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}:fetchAccessToken').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Internal only. Finalize a backup that was started by a call to InitiateBackup. + * + * @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. + */ + finalizeBackup( + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Finalizebackup, + options: StreamMethodOptions + ): GaxiosPromise; + finalizeBackup( + params?: Params$Resource$Projects$Locations$Backupvaults$Datasources$Finalizebackup, + options?: MethodOptions + ): GaxiosPromise; + finalizeBackup( + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Finalizebackup, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + finalizeBackup( + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Finalizebackup, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + finalizeBackup( + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Finalizebackup, + callback: BodyResponseCallback + ): void; + finalizeBackup(callback: BodyResponseCallback): void; + finalizeBackup( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backupvaults$Datasources$Finalizebackup + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backupvaults$Datasources$Finalizebackup; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Backupvaults$Datasources$Finalizebackup; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://backupdr.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+dataSource}:finalizeBackup').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['dataSource'], + pathParams: ['dataSource'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Gets details of a DataSource. + * + * @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$Backupvaults$Datasources$Get, + options: StreamMethodOptions + ): GaxiosPromise; + get( + params?: Params$Resource$Projects$Locations$Backupvaults$Datasources$Get, + options?: MethodOptions + ): GaxiosPromise; + get( + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backupvaults$Datasources$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backupvaults$Datasources$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Backupvaults$Datasources$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://backupdr.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); + } + } + + /** + * Internal only. Initiates a backup. + * + * @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. + */ + initiateBackup( + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Initiatebackup, + options: StreamMethodOptions + ): GaxiosPromise; + initiateBackup( + params?: Params$Resource$Projects$Locations$Backupvaults$Datasources$Initiatebackup, + options?: MethodOptions + ): GaxiosPromise; + initiateBackup( + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Initiatebackup, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + initiateBackup( + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Initiatebackup, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + initiateBackup( + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Initiatebackup, + callback: BodyResponseCallback + ): void; + initiateBackup( + callback: BodyResponseCallback + ): void; + initiateBackup( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backupvaults$Datasources$Initiatebackup + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backupvaults$Datasources$Initiatebackup; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Backupvaults$Datasources$Initiatebackup; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://backupdr.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+dataSource}:initiateBackup').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['dataSource'], + pathParams: ['dataSource'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Lists DataSources in a given project and location. + * + * @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$Backupvaults$Datasources$List, + options: StreamMethodOptions + ): GaxiosPromise; + list( + params?: Params$Resource$Projects$Locations$Backupvaults$Datasources$List, + options?: MethodOptions + ): GaxiosPromise; + list( + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$List, + callback: BodyResponseCallback + ): void; + list(callback: BodyResponseCallback): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backupvaults$Datasources$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backupvaults$Datasources$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Backupvaults$Datasources$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://backupdr.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/dataSources').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 the settings of a DataSource. + * + * @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$Backupvaults$Datasources$Patch, + options: StreamMethodOptions + ): GaxiosPromise; + patch( + params?: Params$Resource$Projects$Locations$Backupvaults$Datasources$Patch, + options?: MethodOptions + ): GaxiosPromise; + patch( + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Patch, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Patch, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Patch, + callback: BodyResponseCallback + ): void; + patch(callback: BodyResponseCallback): void; + patch( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backupvaults$Datasources$Patch + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backupvaults$Datasources$Patch; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Backupvaults$Datasources$Patch; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://backupdr.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); + } + } + + /** + * Deletes a DataSource. This is a custom method instead of a standard delete method because external clients will not delete DataSources except for BackupDR backup appliances. + * + * @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. + */ + remove( + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Remove, + options: StreamMethodOptions + ): GaxiosPromise; + remove( + params?: Params$Resource$Projects$Locations$Backupvaults$Datasources$Remove, + options?: MethodOptions + ): GaxiosPromise; + remove( + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Remove, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + remove( + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Remove, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + remove( + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Remove, + callback: BodyResponseCallback + ): void; + remove(callback: BodyResponseCallback): void; + remove( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backupvaults$Datasources$Remove + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backupvaults$Datasources$Remove; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Backupvaults$Datasources$Remove; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://backupdr.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}:remove').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Sets the internal status of a DataSource. + * + * @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. + */ + setInternalStatus( + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Setinternalstatus, + options: StreamMethodOptions + ): GaxiosPromise; + setInternalStatus( + params?: Params$Resource$Projects$Locations$Backupvaults$Datasources$Setinternalstatus, + options?: MethodOptions + ): GaxiosPromise; + setInternalStatus( + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Setinternalstatus, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + setInternalStatus( + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Setinternalstatus, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + setInternalStatus( + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Setinternalstatus, + callback: BodyResponseCallback + ): void; + setInternalStatus(callback: BodyResponseCallback): void; + setInternalStatus( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backupvaults$Datasources$Setinternalstatus + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backupvaults$Datasources$Setinternalstatus; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Backupvaults$Datasources$Setinternalstatus; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://backupdr.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+dataSource}:setInternalStatus').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['dataSource'], + pathParams: ['dataSource'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Projects$Locations$Backupvaults$Datasources$Abandonbackup + extends StandardParameters { + /** + * Required. The resource name of the instance, in the format 'projects/x/locations/x/backupVaults/x/dataSources/'. + */ + dataSource?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$AbandonBackupRequest; + } + export interface Params$Resource$Projects$Locations$Backupvaults$Datasources$Fetchaccesstoken + extends StandardParameters { + /** + * Required. The resource name for the location for which static IPs should be returned. Must be in the format 'projects/x/locations/x/backupVaults/x/dataSources'. + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$FetchAccessTokenRequest; + } + export interface Params$Resource$Projects$Locations$Backupvaults$Datasources$Finalizebackup + extends StandardParameters { + /** + * Required. The resource name of the instance, in the format 'projects/x/locations/x/backupVaults/x/dataSources/'. + */ + dataSource?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$FinalizeBackupRequest; + } + export interface Params$Resource$Projects$Locations$Backupvaults$Datasources$Get + extends StandardParameters { + /** + * Required. Name of the data source resource name, in the format 'projects/{project_id\}/locations/{location\}/backupVaults/{resource_name\}/dataSource/{resource_name\}' + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Backupvaults$Datasources$Initiatebackup + extends StandardParameters { + /** + * Required. The resource name of the instance, in the format 'projects/x/locations/x/backupVaults/x/dataSources/'. + */ + dataSource?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$InitiateBackupRequest; + } + export interface Params$Resource$Projects$Locations$Backupvaults$Datasources$List + extends StandardParameters { + /** + * Optional. Filtering results. + */ + filter?: string; + /** + * Optional. Hint for how to order the results. + */ + orderBy?: string; + /** + * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. + */ + pageSize?: number; + /** + * Optional. A token identifying a page of results the server should return. + */ + pageToken?: string; + /** + * Required. The project and location for which to retrieve data sources information, in the format 'projects/{project_id\}/locations/{location\}'. In Cloud Backup and DR, locations map to Google Cloud regions, for example **us-central1**. To retrieve data sources for all locations, use "-" for the '{location\}' value. + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Backupvaults$Datasources$Patch + extends StandardParameters { + /** + * Optional. Enable upsert. + */ + allowMissing?: boolean; + /** + * Output only. The resource name. + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Required. Field mask is used to specify the fields to be overwritten in the DataSource resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then the request will fail. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$DataSource; + } + export interface Params$Resource$Projects$Locations$Backupvaults$Datasources$Remove + extends StandardParameters { + /** + * Required. Name of the resource. + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$RemoveDataSourceRequest; } - /** - * OAuth Client ID depending on the Workforce Identity i.e. either 1p or 3p, - */ - export interface Schema$WorkforceIdentityBasedOAuth2ClientID { + export interface Params$Resource$Projects$Locations$Backupvaults$Datasources$Setinternalstatus + extends StandardParameters { /** - * Output only. First party OAuth Client ID for Google Identities. + * Required. The resource name of the instance, in the format 'projects/x/locations/x/backupVaults/x/dataSources/'. */ - firstPartyOauth2ClientId?: string | null; + dataSource?: string; + /** - * Output only. Third party OAuth Client ID for External Identity Providers. + * Request body metadata */ - thirdPartyOauth2ClientId?: string | null; + requestBody?: Schema$SetInternalStatusRequest; } - export class Resource$Projects { + export class Resource$Projects$Locations$Backupvaults$Datasources$Backups { 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; - managementServers: Resource$Projects$Locations$Managementservers; - operations: Resource$Projects$Locations$Operations; - constructor(context: APIRequestContext) { - this.context = context; - this.managementServers = - new Resource$Projects$Locations$Managementservers(this.context); - this.operations = new Resource$Projects$Locations$Operations( - this.context - ); + /** + * Deletes a Backup. + * + * @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$Backupvaults$Datasources$Backups$Delete, + options: StreamMethodOptions + ): GaxiosPromise; + delete( + params?: Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$Delete, + options?: MethodOptions + ): GaxiosPromise; + delete( + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://backupdr.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+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 information about a location. + * Gets details of a Backup. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -548,49 +3609,50 @@ export namespace backupdr_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ get( - params: Params$Resource$Projects$Locations$Get, + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$Get, options: StreamMethodOptions ): GaxiosPromise; get( - params?: Params$Resource$Projects$Locations$Get, + params?: Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$Get, options?: MethodOptions - ): GaxiosPromise; + ): GaxiosPromise; get( - params: Params$Resource$Projects$Locations$Get, + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; get( - params: Params$Resource$Projects$Locations$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; get( - params: Params$Resource$Projects$Locations$Get, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$Get, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; + get(callback: BodyResponseCallback): void; get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Get; + {}) as Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Get; + params = + {} as Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$Get; options = {}; } @@ -615,17 +3677,17 @@ export namespace backupdr_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Lists information about the supported locations for this service. + * Lists Backups in a given project and location. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -633,54 +3695,53 @@ export namespace backupdr_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ list( - params: Params$Resource$Projects$Locations$List, + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$List, options: StreamMethodOptions ): GaxiosPromise; list( - params?: Params$Resource$Projects$Locations$List, + params?: Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$List, options?: MethodOptions - ): GaxiosPromise; + ): GaxiosPromise; list( - params: Params$Resource$Projects$Locations$List, + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$List, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$List, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$List, + callback: BodyResponseCallback ): void; - list(callback: BodyResponseCallback): void; + list(callback: BodyResponseCallback): void; list( paramsOrCallback?: - | Params$Resource$Projects$Locations$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | GaxiosPromise + | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$List; + {}) as Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$List; + params = + {} as Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$List; options = {}; } @@ -693,7 +3754,7 @@ export namespace backupdr_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}/locations').replace( + url: (rootUrl + '/v1/{+parent}/backups').replace( /([^:]\/)\/+/g, '$1' ), @@ -703,46 +3764,167 @@ export namespace backupdr_v1 { options ), params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Updates the settings of a Backup. + * + * @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$Backupvaults$Datasources$Backups$Patch, + options: StreamMethodOptions + ): GaxiosPromise; + patch( + params?: Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$Patch, + options?: MethodOptions + ): GaxiosPromise; + patch( + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$Patch, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$Patch, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$Patch, + callback: BodyResponseCallback + ): void; + patch(callback: BodyResponseCallback): void; + patch( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$Patch + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$Patch; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$Patch; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://backupdr.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( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } } - export interface Params$Resource$Projects$Locations$Get + export interface Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$Delete extends StandardParameters { /** - * Resource name for the location. + * Required. Name of the resource. */ name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; } - export interface Params$Resource$Projects$Locations$List + export interface Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$Get extends StandardParameters { /** - * 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). + * Required. Name of the data source resource name, in the format 'projects/{project_id\}/locations/{location\}/backupVaults/{backupVault\}/dataSources/{datasource\}/backups/{backup\}' + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$List + extends StandardParameters { + /** + * Optional. Filtering results. */ filter?: string; /** - * The resource that owns the locations collection, if applicable. + * Optional. Hint for how to order the results. */ - name?: string; + orderBy?: string; /** - * The maximum number of results to return. If not set, the service selects a default. + * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. */ pageSize?: number; /** - * A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. + * Optional. A token identifying a page of results the server should return. */ pageToken?: string; + /** + * Required. The project and location for which to retrieve backup information, in the format 'projects/{project_id\}/locations/{location\}'. In Cloud Backup and DR, locations map to Google Cloud regions, for example **us-central1**. To retrieve data sources for all locations, use "-" for the '{location\}' value. + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Backupvaults$Datasources$Backups$Patch + extends StandardParameters { + /** + * Output only. Name of the resource. + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Required. Field mask is used to specify the fields to be overwritten in the Backup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then the request will fail. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$Backup; } export class Resource$Projects$Locations$Managementservers { @@ -1391,7 +4573,7 @@ export namespace backupdr_v1 { */ managementServerId?: string; /** - * Required. The management server project and location in the format `projects/{project_id\}/locations/{location\}`. In Cloud Backup and DR locations map to GCP regions, for example **us-central1**. + * Required. The management server project and location in the format 'projects/{project_id\}/locations/{location\}'. In Cloud Backup and DR locations map to Google Cloud regions, for example **us-central1**. */ parent?: string; /** @@ -1418,7 +4600,7 @@ export namespace backupdr_v1 { export interface Params$Resource$Projects$Locations$Managementservers$Get extends StandardParameters { /** - * Required. Name of the management server resource name, in the format `projects/{project_id\}/locations/{location\}/managementServers/{resource_name\}` + * Required. Name of the management server resource name, in the format 'projects/{project_id\}/locations/{location\}/managementServers/{resource_name\}' */ name?: string; } @@ -1452,7 +4634,7 @@ export namespace backupdr_v1 { */ pageToken?: string; /** - * Required. The project and location for which to retrieve management servers information, in the format `projects/{project_id\}/locations/{location\}`. In Cloud BackupDR, locations map to GCP regions, for example **us-central1**. To retrieve management servers for all locations, use "-" for the `{location\}` value. + * Required. The project and location for which to retrieve management servers information, in the format 'projects/{project_id\}/locations/{location\}'. In Cloud BackupDR, locations map to Google Cloud regions, for example **us-central1**. To retrieve management servers for all locations, use "-" for the '{location\}' value. */ parent?: string; } diff --git a/src/apis/batch/v1.ts b/src/apis/batch/v1.ts index c7aa5c2996..e50cfc23a0 100644 --- a/src/apis/batch/v1.ts +++ b/src/apis/batch/v1.ts @@ -1151,7 +1151,7 @@ export namespace batch_v1 { message?: string | null; } /** - * Status event + * Status event. */ export interface Schema$StatusEvent { /** @@ -1163,11 +1163,11 @@ export namespace batch_v1 { */ eventTime?: string | null; /** - * Task Execution + * Task Execution. This field is only defined for task-level status events where the task fails. */ taskExecution?: Schema$TaskExecution; /** - * Task State + * Task State. This field is only defined for task-level status events. */ taskState?: string | null; /** @@ -1293,11 +1293,11 @@ export namespace batch_v1 { volumes?: Schema$Volume[]; } /** - * Status of a task + * Status of a task. */ export interface Schema$TaskStatus { /** - * Task state + * Task state. */ state?: string | null; /** diff --git a/src/apis/beyondcorp/v1alpha.ts b/src/apis/beyondcorp/v1alpha.ts index 2ce1b15eea..0e897e299d 100644 --- a/src/apis/beyondcorp/v1alpha.ts +++ b/src/apis/beyondcorp/v1alpha.ts @@ -5146,7 +5146,7 @@ export namespace beyondcorp_v1alpha { export interface Params$Resource$Organizations$Locations$Insights$List extends StandardParameters { /** - * Optional. Filter expression to restrict the insights returned. Supported filter fields: * `type` * `category` * `subCategory` Examples: * "category = application AND type = count" * "category = application AND subCategory = iap" * "type = status" Allowed values: * type: [count, latency, status, list] * category: [application, device, request, security] * subCategory: [iap, webprotect] NOTE: Only equality based comparison is allowed. Only `AND` conjunction is allowed. NOTE: The 'AND' in the filter field needs to be in capital letters only. NOTE: Just filtering on `subCategory` is not allowed. It should be passed in with the parent `category` too. (These expressions are based on the filter language described at https://google.aip.dev/160). + * Optional. Filter expression to restrict the insights returned. Supported filter fields: * `type` * `category` * `subCategory` Examples: * "category = application AND type = count" * "category = application AND subCategory = iap" * "type = status" Allowed values: * type: [count, latency, status, list] * category: [application, device, request, security] * subCategory: [iap, caa, webprotect] NOTE: Only equality based comparison is allowed. Only `AND` conjunction is allowed. NOTE: The 'AND' in the filter field needs to be in capital letters only. NOTE: Just filtering on `subCategory` is not allowed. It should be passed in with the parent `category` too. (These expressions are based on the filter language described at https://google.aip.dev/160). */ filter?: string; /** @@ -13170,7 +13170,7 @@ export namespace beyondcorp_v1alpha { export interface Params$Resource$Projects$Locations$Insights$List extends StandardParameters { /** - * Optional. Filter expression to restrict the insights returned. Supported filter fields: * `type` * `category` * `subCategory` Examples: * "category = application AND type = count" * "category = application AND subCategory = iap" * "type = status" Allowed values: * type: [count, latency, status, list] * category: [application, device, request, security] * subCategory: [iap, webprotect] NOTE: Only equality based comparison is allowed. Only `AND` conjunction is allowed. NOTE: The 'AND' in the filter field needs to be in capital letters only. NOTE: Just filtering on `subCategory` is not allowed. It should be passed in with the parent `category` too. (These expressions are based on the filter language described at https://google.aip.dev/160). + * Optional. Filter expression to restrict the insights returned. Supported filter fields: * `type` * `category` * `subCategory` Examples: * "category = application AND type = count" * "category = application AND subCategory = iap" * "type = status" Allowed values: * type: [count, latency, status, list] * category: [application, device, request, security] * subCategory: [iap, caa, webprotect] NOTE: Only equality based comparison is allowed. Only `AND` conjunction is allowed. NOTE: The 'AND' in the filter field needs to be in capital letters only. NOTE: Just filtering on `subCategory` is not allowed. It should be passed in with the parent `category` too. (These expressions are based on the filter language described at https://google.aip.dev/160). */ filter?: string; /** diff --git a/src/apis/bigquery/v2.ts b/src/apis/bigquery/v2.ts index 064ac527fe..424ac07f8c 100644 --- a/src/apis/bigquery/v2.ts +++ b/src/apis/bigquery/v2.ts @@ -458,7 +458,7 @@ export namespace bigquery_v2 { */ export interface Schema$BigLakeConfiguration { /** - * Required. The connection specifying the credentials to be used to read and write to external storage, such as Cloud Storage. The connection_id can have the form ".." or "projects//locations//connections/". + * Required. The connection specifying the credentials to be used to read and write to external storage, such as Cloud Storage. The connection_id can have the form `{project\}.{location\}.{connection_id\}` or `projects/{project\}/locations/{location\}/connections/{connection_id\}". */ connectionId?: string | null; /** @@ -466,7 +466,7 @@ export namespace bigquery_v2 { */ fileFormat?: string | null; /** - * Required. The fully qualified location prefix of the external folder where table data is stored. The '*' wildcard character is not allowed. The URI should be in the format "gs://bucket/path_to_table/" + * Required. The fully qualified location prefix of the external folder where table data is stored. The '*' wildcard character is not allowed. The URI should be in the format `gs://bucket/path_to_table/` */ storageUri?: string | null; /** @@ -501,7 +501,7 @@ export namespace bigquery_v2 { */ onlyReadLatest?: boolean | null; /** - * [Required] Qualifier of the column. Columns in the parent column family that has this exact qualifier are exposed as . field. If the qualifier is valid UTF-8 string, it can be specified in the qualifier_string field. Otherwise, a base-64 encoded value must be set to qualifier_encoded. The column field name is the same as the column qualifier. However, if the qualifier is not a valid BigQuery field identifier i.e. does not match a-zA-Z*, a valid identifier must be provided as field_name. + * [Required] Qualifier of the column. Columns in the parent column family that has this exact qualifier are exposed as `.` field. If the qualifier is valid UTF-8 string, it can be specified in the qualifier_string field. Otherwise, a base-64 encoded value must be set to qualifier_encoded. The column field name is the same as the column qualifier. However, if the qualifier is not a valid BigQuery field identifier i.e. does not match a-zA-Z*, a valid identifier must be provided as field_name. */ qualifierEncoded?: string | null; /** @@ -518,7 +518,7 @@ export namespace bigquery_v2 { */ export interface Schema$BigtableColumnFamily { /** - * Optional. Lists of columns that should be exposed as individual fields as opposed to a list of (column name, value) pairs. All columns whose qualifier matches a qualifier in this list can be accessed as .. Other columns can be accessed as a list through .Column field. + * Optional. Lists of columns that should be exposed as individual fields as opposed to a list of (column name, value) pairs. All columns whose qualifier matches a qualifier in this list can be accessed as `.`. Other columns can be accessed as a list through the `.Column` field. */ columns?: Schema$BigtableColumn[]; /** @@ -864,6 +864,9 @@ export namespace bigquery_v2 { */ dataMaskingApplied?: boolean | null; } + /** + * Represents a BigQuery dataset. + */ export interface Schema$Dataset { /** * Optional. An array of objects that define dataset access for one or more entities. You can set this property when inserting or updating a dataset in order to control who is allowed to access the data. If unspecified at dataset creation time, BigQuery adds default dataset access for the following entities: access.specialGroup: projectReaders; access.role: READER; access.specialGroup: projectWriters; access.role: WRITER; access.specialGroup: projectOwners; access.role: OWNER; access.userByEmail: [dataset creator email]; access.role: OWNER; @@ -940,7 +943,7 @@ export namespace bigquery_v2 { */ kind?: string | null; /** - * The labels associated with this dataset. You can use these to organize and group your datasets. You can set this property when inserting or updating a dataset. See Creating and Updating Dataset Labels for more information. + * The labels associated with this dataset. You can use these to organize and group your datasets. You can set this property when inserting or updating a dataset. See [Creating and Updating Dataset Labels](https://cloud.google.com/bigquery/docs/creating-managing-labels#creating_and_updating_dataset_labels) for more information. */ labels?: {[key: string]: string} | null; /** @@ -1041,6 +1044,9 @@ export namespace bigquery_v2 { */ unreachable?: string[] | null; } + /** + * Identifier for a dataset. + */ export interface Schema$DatasetReference { /** * Required. A unique ID for this dataset, without the project name. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters. @@ -1187,6 +1193,9 @@ export namespace bigquery_v2 { */ min?: number | null; } + /** + * Configuration for Cloud KMS encryption settings. + */ export interface Schema$EncryptionConfiguration { /** * Optional. Describes the Cloud KMS encryption key that will be used to protect destination BigQuery table. The BigQuery Service Account associated with your project requires access to this encryption key. @@ -1497,7 +1506,7 @@ export namespace bigquery_v2 { */ compression?: string | null; /** - * Optional. The connection specifying the credentials to be used to read external storage, such as Azure Blob, Cloud Storage, or S3. The connection_id can have the form ".." or "projects//locations//connections/". + * Optional. The connection specifying the credentials to be used to read external storage, such as Azure Blob, Cloud Storage, or S3. The connection_id can have the form `{project_id\}.{location_id\};{connection_id\}` or `projects/{project_id\}/locations/{location_id\}/connections/{connection_id\}`. */ connectionId?: string | null; /** @@ -4737,6 +4746,10 @@ export namespace bigquery_v2 { * Free form human-readable reason metadata caching was unused for the job. */ explanation?: string | null; + /** + * Duration since last refresh as of this job for managed tables (indicates metadata cache staleness as seen by this job). + */ + staleness?: string | null; /** * Metadata caching eligible table referenced in the query. */ @@ -5987,7 +6000,7 @@ export namespace bigquery_v2 { */ all?: boolean; /** - * An expression for filtering the results of the request by label. The syntax is \"labels.[:]\". Multiple filters can be ANDed together by connecting with a space. Example: \"labels.department:receiving labels.active\". See [Filtering datasets using labels](/bigquery/docs/filtering-labels#filtering_datasets_using_labels) for details. + * An expression for filtering the results of the request by label. The syntax is `labels.[:]`. Multiple filters can be ANDed together by connecting with a space. Example: `labels.department:receiving labels.active`. See [Filtering datasets using labels](https://cloud.google.com/bigquery/docs/filtering-labels#filtering_datasets_using_labels) for details. */ filter?: string; /** @@ -6681,7 +6694,7 @@ export namespace bigquery_v2 { */ jobId?: string; /** - * The geographic location of the job. You must specify the location to run the job for the following scenarios: - If the location to run a job is not in the `us` or the `eu` multi-regional location - If the job's location is in a single region (for example, `us-central1`) For more information, see https://cloud.google.com/bigquery/docs/locations#specifying_your_location. + * The geographic location of the job. You must specify the location to run the job for the following scenarios: * If the location to run a job is not in the `us` or the `eu` multi-regional location * If the job's location is in a single region (for example, `us-central1`) For more information, see https://cloud.google.com/bigquery/docs/locations#specifying_your_location. */ location?: string; /** @@ -6709,7 +6722,7 @@ export namespace bigquery_v2 { */ jobId?: string; /** - * The geographic location of the job. You must specify the location to run the job for the following scenarios: - If the location to run a job is not in the `us` or the `eu` multi-regional location - If the job's location is in a single region (for example, `us-central1`) For more information, see https://cloud.google.com/bigquery/docs/locations#specifying_your_location. + * The geographic location of the job. You must specify the location to run the job for the following scenarios: * If the location to run a job is not in the `us` or the `eu` multi-regional location * If the job's location is in a single region (for example, `us-central1`) For more information, see https://cloud.google.com/bigquery/docs/locations#specifying_your_location. */ location?: string; /** @@ -6728,7 +6741,7 @@ export namespace bigquery_v2 { */ jobId?: string; /** - * The geographic location of the job. You must specify the location to run the job for the following scenarios: - If the location to run a job is not in the `us` or the `eu` multi-regional location - If the job's location is in a single region (for example, `us-central1`) For more information, see https://cloud.google.com/bigquery/docs/locations#specifying_your_location. + * The geographic location of the job. You must specify the location to run the job for the following scenarios: * If the location to run a job is not in the `us` or the `eu` multi-regional location * If the job's location is in a single region (for example, `us-central1`) For more information, see https://cloud.google.com/bigquery/docs/locations#specifying_your_location. */ location?: string; /** diff --git a/src/apis/bigtableadmin/v2.ts b/src/apis/bigtableadmin/v2.ts index 4b7329e44f..4e0f7e830c 100644 --- a/src/apis/bigtableadmin/v2.ts +++ b/src/apis/bigtableadmin/v2.ts @@ -812,10 +812,22 @@ export namespace bigtableadmin_v2 { * A value that combines incremental updates into a summarized value. Data is never directly written or read using type `Aggregate`. Writes will provide either the `input_type` or `state_type`, and reads will always return the `state_type` . */ export interface Schema$GoogleBigtableAdminV2TypeAggregate { + /** + * HyperLogLogPlusPlusUniqueCount aggregator. + */ + hllppUniqueCount?: Schema$GoogleBigtableAdminV2TypeAggregateHyperLogLogPlusPlusUniqueCount; /** * Type of the inputs that are accumulated by this `Aggregate`, which must specify a full encoding. Use `AddInput` mutations to accumulate new inputs. */ inputType?: Schema$Type; + /** + * Max aggregator. + */ + max?: Schema$GoogleBigtableAdminV2TypeAggregateMax; + /** + * Min aggregator. + */ + min?: Schema$GoogleBigtableAdminV2TypeAggregateMin; /** * Output only. Type that holds the internal accumulator state for the `Aggregate`. This is a function of the `input_type` and `aggregator` chosen, and will always specify a full encoding. */ @@ -825,10 +837,35 @@ export namespace bigtableadmin_v2 { */ sum?: Schema$GoogleBigtableAdminV2TypeAggregateSum; } + /** + * Computes an approximate unique count over the input values. When using raw data as input, be careful to use a consistent encoding. Otherwise the same value encoded differently could count more than once, or two distinct values could count as identical. Input: Any, or omit for Raw State: TBD Special state conversions: `Int64` (the unique count estimate) + */ + export interface Schema$GoogleBigtableAdminV2TypeAggregateHyperLogLogPlusPlusUniqueCount {} + /** + * Computes the max of the input values. Allowed input: `Int64` State: same as input + */ + export interface Schema$GoogleBigtableAdminV2TypeAggregateMax {} + /** + * Computes the min of the input values. Allowed input: `Int64` State: same as input + */ + export interface Schema$GoogleBigtableAdminV2TypeAggregateMin {} /** * Computes the sum of the input values. Allowed input: `Int64` State: same as input */ export interface Schema$GoogleBigtableAdminV2TypeAggregateSum {} + /** + * An ordered list of elements of a given type. Values of type `Array` are stored in `Value.array_value`. + */ + export interface Schema$GoogleBigtableAdminV2TypeArray { + /** + * The type of the elements in the array. This must not be `Array`. + */ + elementType?: Schema$Type; + } + /** + * bool Values of type `Bool` are stored in `Value.bool_value`. + */ + export interface Schema$GoogleBigtableAdminV2TypeBool {} /** * Bytes Values of type `Bytes` are stored in `Value.bytes_value`. */ @@ -848,9 +885,21 @@ export namespace bigtableadmin_v2 { raw?: Schema$GoogleBigtableAdminV2TypeBytesEncodingRaw; } /** - * Leaves the value "as-is" * Natural sort? Yes * Self-delimiting? No * Compatibility? N/A + * Leaves the value "as-is" * Order-preserving? Yes * Self-delimiting? No * Compatibility? N/A */ export interface Schema$GoogleBigtableAdminV2TypeBytesEncodingRaw {} + /** + * Date Values of type `Date` are stored in `Value.date_value`. + */ + export interface Schema$GoogleBigtableAdminV2TypeDate {} + /** + * Float32 Values of type `Float32` are stored in `Value.float_value`. + */ + export interface Schema$GoogleBigtableAdminV2TypeFloat32 {} + /** + * Float64 Values of type `Float64` are stored in `Value.float_value`. + */ + export interface Schema$GoogleBigtableAdminV2TypeFloat64 {} /** * Int64 Values of type `Int64` are stored in `Value.int_value`. */ @@ -870,14 +919,75 @@ export namespace bigtableadmin_v2 { bigEndianBytes?: Schema$GoogleBigtableAdminV2TypeInt64EncodingBigEndianBytes; } /** - * Encodes the value as an 8-byte big endian twos complement `Bytes` value. * Natural sort? No (positive values only) * Self-delimiting? Yes * Compatibility? - BigQuery Federation `BINARY` encoding - HBase `Bytes.toBytes` - Java `ByteBuffer.putLong()` with `ByteOrder.BIG_ENDIAN` + * Encodes the value as an 8-byte big endian twos complement `Bytes` value. * Order-preserving? No (positive values only) * Self-delimiting? Yes * Compatibility? - BigQuery Federation `BINARY` encoding - HBase `Bytes.toBytes` - Java `ByteBuffer.putLong()` with `ByteOrder.BIG_ENDIAN` */ export interface Schema$GoogleBigtableAdminV2TypeInt64EncodingBigEndianBytes { /** - * The underlying `Bytes` type, which may be able to encode further. + * Deprecated: ignored if set. */ bytesType?: Schema$GoogleBigtableAdminV2TypeBytes; } + /** + * A mapping of keys to values of a given type. Values of type `Map` are stored in a `Value.array_value` where each entry is another `Value.array_value` with two elements (the key and the value, in that order). Normally encoded Map values won't have repeated keys, however, clients are expected to handle the case in which they do. If the same key appears multiple times, the _last_ value takes precedence. + */ + export interface Schema$GoogleBigtableAdminV2TypeMap { + /** + * The type of a map key. Only `Bytes`, `String`, and `Int64` are allowed as key types. + */ + keyType?: Schema$Type; + /** + * The type of the values in a map. + */ + valueType?: Schema$Type; + } + /** + * String Values of type `String` are stored in `Value.string_value`. + */ + export interface Schema$GoogleBigtableAdminV2TypeString { + /** + * The encoding to use when converting to/from lower level types. + */ + encoding?: Schema$GoogleBigtableAdminV2TypeStringEncoding; + } + /** + * Rules used to convert to/from lower level types. + */ + export interface Schema$GoogleBigtableAdminV2TypeStringEncoding { + /** + * Use `Utf8Bytes` encoding. + */ + utf8Bytes?: Schema$GoogleBigtableAdminV2TypeStringEncodingUtf8Bytes; + } + /** + * UTF-8 encoding * Order-preserving? Yes (code point order) * Self-delimiting? No * Compatibility? - BigQuery Federation `TEXT` encoding - HBase `Bytes.toBytes` - Java `String#getBytes(StandardCharsets.UTF_8)` + */ + export interface Schema$GoogleBigtableAdminV2TypeStringEncodingUtf8Bytes {} + /** + * A structured data value, consisting of fields which map to dynamically typed values. Values of type `Struct` are stored in `Value.array_value` where entries are in the same order and number as `field_types`. + */ + export interface Schema$GoogleBigtableAdminV2TypeStruct { + /** + * The names and types of the fields in this struct. + */ + fields?: Schema$GoogleBigtableAdminV2TypeStructField[]; + } + /** + * A struct field and its type. + */ + export interface Schema$GoogleBigtableAdminV2TypeStructField { + /** + * The field name (optional). Fields without a `field_name` are considered anonymous and cannot be referenced by name. + */ + fieldName?: string | null; + /** + * The type of values in this field. + */ + type?: Schema$Type; + } + /** + * Timestamp Values of type `Timestamp` are stored in `Value.timestamp_value`. + */ + export interface Schema$GoogleBigtableAdminV2TypeTimestamp {} /** * A tablet is a defined by a start and end key and is explained in https://cloud.google.com/bigtable/docs/overview#architecture and https://cloud.google.com/bigtable/docs/performance#optimization. A Hot tablet is a tablet that exhibits high average cpu usage during the time interval from start time to end time. */ @@ -1485,21 +1595,57 @@ export namespace bigtableadmin_v2 { permissions?: string[] | null; } /** - * `Type` represents the type of data that is written to, read from, or stored in Bigtable. It is heavily based on the GoogleSQL standard to help maintain familiarity and consistency across products and features. For compatibility with Bigtable's existing untyped APIs, each `Type` includes an `Encoding` which describes how to convert to/from the underlying data. This might involve composing a series of steps into an "encoding chain," for example to convert from INT64 -\> STRING -\> raw bytes. In most cases, a "link" in the encoding chain will be based an on existing GoogleSQL conversion function like `CAST`. Each link in the encoding chain also defines the following properties: * Natural sort: Does the encoded value sort consistently with the original typed value? Note that Bigtable will always sort data based on the raw encoded value, *not* the decoded type. - Example: BYTES values sort in the same order as their raw encodings. - Counterexample: Encoding INT64 to a fixed-width STRING does *not* preserve sort order when dealing with negative numbers. INT64(1) \> INT64(-1), but STRING("-00001") \> STRING("00001). - The overall encoding chain has this property if *every* link does. * Self-delimiting: If we concatenate two encoded values, can we always tell where the first one ends and the second one begins? - Example: If we encode INT64s to fixed-width STRINGs, the first value will always contain exactly N digits, possibly preceded by a sign. - Counterexample: If we concatenate two UTF-8 encoded STRINGs, we have no way to tell where the first one ends. - The overall encoding chain has this property if *any* link does. * Compatibility: Which other systems have matching encoding schemes? For example, does this encoding have a GoogleSQL equivalent? HBase? Java? + * `Type` represents the type of data that is written to, read from, or stored in Bigtable. It is heavily based on the GoogleSQL standard to help maintain familiarity and consistency across products and features. For compatibility with Bigtable's existing untyped APIs, each `Type` includes an `Encoding` which describes how to convert to/from the underlying data. Each encoding also defines the following properties: * Order-preserving: Does the encoded value sort consistently with the original typed value? Note that Bigtable will always sort data based on the raw encoded value, *not* the decoded type. - Example: BYTES values sort in the same order as their raw encodings. - Counterexample: Encoding INT64 as a fixed-width decimal string does *not* preserve sort order when dealing with negative numbers. INT64(1) \> INT64(-1), but STRING("-00001") \> STRING("00001). * Self-delimiting: If we concatenate two encoded values, can we always tell where the first one ends and the second one begins? - Example: If we encode INT64s to fixed-width STRINGs, the first value will always contain exactly N digits, possibly preceded by a sign. - Counterexample: If we concatenate two UTF-8 encoded STRINGs, we have no way to tell where the first one ends. * Compatibility: Which other systems have matching encoding schemes? For example, does this encoding have a GoogleSQL equivalent? HBase? Java? */ export interface Schema$Type { /** * Aggregate */ aggregateType?: Schema$GoogleBigtableAdminV2TypeAggregate; + /** + * Array + */ + arrayType?: Schema$GoogleBigtableAdminV2TypeArray; + /** + * Bool + */ + boolType?: Schema$GoogleBigtableAdminV2TypeBool; /** * Bytes */ bytesType?: Schema$GoogleBigtableAdminV2TypeBytes; + /** + * Date + */ + dateType?: Schema$GoogleBigtableAdminV2TypeDate; + /** + * Float32 + */ + float32Type?: Schema$GoogleBigtableAdminV2TypeFloat32; + /** + * Float64 + */ + float64Type?: Schema$GoogleBigtableAdminV2TypeFloat64; /** * Int64 */ int64Type?: Schema$GoogleBigtableAdminV2TypeInt64; + /** + * Map + */ + mapType?: Schema$GoogleBigtableAdminV2TypeMap; + /** + * String + */ + stringType?: Schema$GoogleBigtableAdminV2TypeString; + /** + * Struct + */ + structType?: Schema$GoogleBigtableAdminV2TypeStruct; + /** + * Timestamp + */ + timestampType?: Schema$GoogleBigtableAdminV2TypeTimestamp; } /** * Metadata type for the operation returned by google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable. @@ -4740,7 +4886,7 @@ export namespace bigtableadmin_v2 { export interface Params$Resource$Projects$Instances$Clusters$Backups$Copy extends StandardParameters { /** - * Required. The name of the destination cluster that will contain the backup copy. The cluster must already exists. Values are of the form: `projects/{project\}/instances/{instance\}/clusters/{cluster\}`. + * Required. The name of the destination cluster that will contain the backup copy. The cluster must already exist. Values are of the form: `projects/{project\}/instances/{instance\}/clusters/{cluster\}`. */ parent?: string; diff --git a/src/apis/calendar/v3.ts b/src/apis/calendar/v3.ts index 241d5a583c..7abcc4f2c1 100644 --- a/src/apis/calendar/v3.ts +++ b/src/apis/calendar/v3.ts @@ -760,7 +760,7 @@ export namespace calendar_v3 { */ recurringEventId?: string | null; /** - * Information about the event's reminders for the authenticated user. + * Information about the event's reminders for the authenticated user. Note that changing reminders does not also change the updated property of the enclosing event. */ reminders?: { overrides?: Schema$EventReminder[]; @@ -802,7 +802,7 @@ export namespace calendar_v3 { */ transparency?: string | null; /** - * Last modification time of the event (as a RFC3339 timestamp). Read-only. + * Last modification time of the main event data (as a RFC3339 timestamp). Updating event reminders will not cause this to change. Read-only. */ updated?: string | null; /** diff --git a/src/apis/chat/v1.ts b/src/apis/chat/v1.ts index 7f6100df47..82ac41dde2 100644 --- a/src/apis/chat/v1.ts +++ b/src/apis/chat/v1.ts @@ -146,7 +146,7 @@ export namespace chat_v1 { */ accessState?: string | null; /** - * Optional. The resource name of the [target audience](https://support.google.com/a/answer/9934697) who can discover the space, join the space, and preview the messages in the space. For details, see [Make a space discoverable to a target audience](https://developers.google.com/workspace/chat/space-target-audience). Format: `audiences/{audience\}` To use the default target audience for the Google Workspace organization, set to `audiences/default`. + * Optional. The resource name of the [target audience](https://support.google.com/a/answer/9934697) who can discover the space, join the space, and preview the messages in the space. If unset, only users or Google Groups who have been individually invited or added to the space can access it. For details, see [Make a space discoverable to a target audience](https://developers.google.com/workspace/chat/space-target-audience). Format: `audiences/{audience\}` To use the default target audience for the Google Workspace organization, set to `audiences/default`. */ audience?: string | null; } @@ -501,7 +501,7 @@ export namespace chat_v1 { deletionType?: string | null; } /** - * A Google Chat app interaction event. To learn about interaction events, see [Receive and respond to interactions with your Google Chat app](https://developers.google.com/workspace/chat/api/guides/message-formats). To learn about event types and for example event payloads, see [Types of Google Chat app interaction events](https://developers.google.com/workspace/chat/events). In addition to receiving events from user interactions, Chat apps can receive events about changes to spaces, such as when a new member is added to a space. To learn about space events, see [Work with events from Google Chat](https://developers.google.com/workspace/chat/events-overview). + * A Google Chat app interaction event that represents and contains data about a user's interaction with a Chat app. To configure your Chat app to receive interaction events, see [Receive and respond to user interactions](https://developers.google.com/workspace/chat/receive-respond-interactions). In addition to receiving events from user interactions, Chat apps can receive events about changes to spaces, such as when a new member is added to a space. To learn about space events, see [Work with events from Google Chat](https://developers.google.com/workspace/chat/events-overview). */ export interface Schema$DeprecatedEvent { /** @@ -509,7 +509,7 @@ export namespace chat_v1 { */ action?: Schema$FormAction; /** - * Represents informatmessage_visibilityion about the user's client, such as locale, host app, and platform. For Chat apps, `CommonEventObject` includes information submitted by users interacting with [dialogs](https://developers.google.com/workspace/chat/dialogs), like data entered on a card. + * Represents information about the user's client, such as locale, host app, and platform. For Chat apps, `CommonEventObject` includes information submitted by users interacting with [dialogs](https://developers.google.com/workspace/chat/dialogs), like data entered on a card. */ common?: Schema$CommonEventObject; /** @@ -533,7 +533,7 @@ export namespace chat_v1 { */ message?: Schema$Message; /** - * The space in which the interaction event occurred. + * The space in which the user interacted with the Chat app. */ space?: Schema$Space; /** @@ -545,11 +545,11 @@ export namespace chat_v1 { */ token?: string | null; /** - * The type of interaction event. For details, see [Types of Google Chat app interaction events](https://developers.google.com/workspace/chat/events). + * The [type](/workspace/chat/api/reference/rest/v1/EventType) of user interaction with the Chat app, such as `MESSAGE` or `ADDED_TO_SPACE`. */ type?: string | null; /** - * The user that triggered the interaction event. + * The user that interacted with the Chat app. */ user?: Schema$User; } @@ -2035,7 +2035,7 @@ export namespace chat_v1 { */ displayName?: string | null; /** - * Immutable. Whether this space permits any Google Chat user as a member. Input when creating a space in a Google Workspace organization. Omit this field when creating spaces in the following conditions: * The authenticated user uses a consumer account (unmanaged user account). By default, a space created by a consumer account permits any Google Chat user. * The space is used to [import data to Google Chat] (https://developers.google.com/chat/api/guides/import-data-overview) because import mode spaces must only permit members from the same Google Workspace organization. However, as part of the [Google Workspace Developer Preview Program](https://developers.google.com/workspace/preview), import mode spaces can permit any Google Chat user so this field can then be set for import mode spaces. For existing spaces, this field is output only. + * Immutable. Whether this space permits any Google Chat user as a member. Input when creating a space in a Google Workspace organization. Omit this field when creating spaces in the following conditions: * The authenticated user uses a consumer account (unmanaged user account). By default, a space created by a consumer account permits any Google Chat user. For existing spaces, this field is output only. */ externalUserAllowed?: boolean | null; /** @@ -3399,7 +3399,7 @@ export namespace chat_v1 { */ name?: string; /** - * Required. The updated field paths, comma separated if there are multiple. Currently supported field paths: - `display_name` (Only supports changing the display name of a space with the `SPACE` type, or when also including the `space_type` mask to change a `GROUP_CHAT` space type to `SPACE`. Trying to update the display name of a `GROUP_CHAT` or a `DIRECT_MESSAGE` space results in an invalid argument error. If you receive the error message `ALREADY_EXISTS` when updating the `displayName`, try a different `displayName`. An existing space within the Google Workspace organization might already use this display name.) - `space_type` (Only supports changing a `GROUP_CHAT` space type to `SPACE`. Include `display_name` together with `space_type` in the update mask and ensure that the specified space has a non-empty display name and the `SPACE` space type. Including the `space_type` mask and the `SPACE` type in the specified space when updating the display name is optional if the existing space already has the `SPACE` type. Trying to update the space type in other ways results in an invalid argument error). `space_type` is not supported with admin access. - `space_details` - `space_history_state` (Supports [turning history on or off for the space](https://support.google.com/chat/answer/7664687) if [the organization allows users to change their history setting](https://support.google.com/a/answer/7664184). Warning: mutually exclusive with all other field paths.) `space_history_state` is not supported with admin access. - `access_settings.audience` (Supports changing the [access setting](https://support.google.com/chat/answer/11971020) of who can discover the space, join the space, and preview the messages in space. If no audience is specified in the access setting, the space's access setting is updated to private. Warning: mutually exclusive with all other field paths.) `access_settings.audience` is not supported with admin access. - Developer Preview: Supports changing the [permission settings](https://support.google.com/chat/answer/13340792) of a space, supported field paths include: `permission_settings.manage_members_and_groups`, `permission_settings.modify_space_details`, `permission_settings.toggle_history`, `permission_settings.use_at_mention_all`, `permission_settings.manage_apps`, `permission_settings.manage_webhooks`, `permission_settings.reply_messages` (Warning: mutually exclusive with all other non-permission settings field paths). `permission_settings` is not supported with admin access. + * Required. The updated field paths, comma separated if there are multiple. You can update the following fields for a space: - `space_details` - `display_name`: Only supports updating the display name for spaces where `spaceType` field is `SPACE`. If you receive the error message `ALREADY_EXISTS`, try a different value. An existing space within the Google Workspace organization might already use this display name. - `space_type`: Only supports changing a `GROUP_CHAT` space type to `SPACE`. Include `display_name` together with `space_type` in the update mask and ensure that the specified space has a non-empty display name and the `SPACE` space type. Including the `space_type` mask and the `SPACE` type in the specified space when updating the display name is optional if the existing space already has the `SPACE` type. Trying to update the space type in other ways results in an invalid argument error. `space_type` is not supported with admin access. - `space_history_state`: Updates [space history settings](https://support.google.com/chat/answer/7664687) by turning history on or off for the space. Only supported if history settings are enabled for the Google Workspace organization. To update the space history state, you must omit all other field masks in your request. `space_history_state` is not supported with admin access. - `access_settings.audience`: Updates the [access setting](https://support.google.com/chat/answer/11971020) of who can discover the space, join the space, and preview the messages in named space where `spaceType` field is `SPACE`. If the existing space has a target audience, you can remove the audience and restrict space access by omitting a value for this field mask. To update access settings for a space, the authenticating user must be a space manager and omit all other field masks in your request. You can't update this field if the space is in [import mode](https://developers.google.com/workspace/chat/import-data-overview). To learn more, see [Make a space discoverable to specific users](https://developers.google.com/workspace/chat/space-target-audience). `access_settings.audience` is not supported with admin access. - Developer Preview: Supports changing the [permission settings](https://support.google.com/chat/answer/13340792) of a space, supported field paths include: `permission_settings.manage_members_and_groups`, `permission_settings.modify_space_details`, `permission_settings.toggle_history`, `permission_settings.use_at_mention_all`, `permission_settings.manage_apps`, `permission_settings.manage_webhooks`, `permission_settings.reply_messages` (Warning: mutually exclusive with all other non-permission settings field paths). `permission_settings` is not supported with admin access. */ updateMask?: string; diff --git a/src/apis/chromemanagement/v1.ts b/src/apis/chromemanagement/v1.ts index 393699e8b3..ee67fb5953 100644 --- a/src/apis/chromemanagement/v1.ts +++ b/src/apis/chromemanagement/v1.ts @@ -4122,11 +4122,11 @@ export namespace chromemanagement_v1 { */ customer?: string; /** - * Query string to filter results, AND-separated fields in EBNF syntax. Note: OR operations are not supported in this filter. Supported filter fields: * app_name * app_type * install_type * number_of_permissions * total_install_count * latest_profile_active_date * permission_name * app_id + * Query string to filter results, AND-separated fields in EBNF syntax. Note: OR operations are not supported in this filter. Supported filter fields: * app_name * app_type * install_type * number_of_permissions * total_install_count * latest_profile_active_date * permission_name * app_id * manifest_versions */ filter?: string; /** - * Field used to order results. Supported order by fields: * app_name * app_type * install_type * number_of_permissions * total_install_count * app_id + * Field used to order results. Supported order by fields: * app_name * app_type * install_type * number_of_permissions * total_install_count * app_id * manifest_versions */ orderBy?: string; /** @@ -4634,7 +4634,7 @@ export namespace chromemanagement_v1 { */ parent?: string; /** - * Required. Read mask to specify which fields to return. Although currently required, this field will become optional, while the filter parameter with an event type will be come required. Supported read_mask paths are: - device - user - audio_severe_underrun_event - usb_peripherals_event - https_latency_change_event - network_state_change_event - wifi_signal_strength_event - vpn_connection_state_change_event - app_install_event - app_uninstall_event - app_launch_event + * Required. Read mask to specify which fields to return. Although currently required, this field will become optional, while the filter parameter with an event type will be come required. Supported read_mask paths are: - device - user - audio_severe_underrun_event - usb_peripherals_event - https_latency_change_event - network_state_change_event - wifi_signal_strength_event - vpn_connection_state_change_event - app_install_event - app_uninstall_event - app_launch_event - os_crash_event */ readMask?: string; } diff --git a/src/apis/classroom/v1.ts b/src/apis/classroom/v1.ts index 599569f9a4..54f7c432d7 100644 --- a/src/apis/classroom/v1.ts +++ b/src/apis/classroom/v1.ts @@ -4277,7 +4277,7 @@ export namespace classroom_v1 { } /** - * Updates one or more fields of a course work. See google.classroom.v1.CourseWork for details of which fields may be updated and who may change them. This request must be made by the Developer Console project of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the corresponding course work item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project did not create the corresponding course work, if the user is not permitted to make the requested modification to the student submission, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `FAILED_PRECONDITION` if the requested course work has already been deleted. * `NOT_FOUND` if the requested course, course work, or student submission does not exist. + * Updates one or more fields of a course work. See google.classroom.v1.CourseWork for details of which fields may be updated and who may change them. This request must be made by the Developer Console project of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the corresponding course work item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project did not create the corresponding course work, if the user is not permitted to make the requested modification to the student submission, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `FAILED_PRECONDITION` if the requested course work has already been deleted. * `NOT_FOUND` if the requested course or course work does not exist. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -4472,7 +4472,7 @@ export namespace classroom_v1 { */ id?: string; /** - * Mask that identifies which fields on the course work to update. This field is required to do an update. The update fails if invalid fields are specified. If a field supports empty values, it can be cleared by specifying it in the update mask and not in the `CourseWork` object. If a field that does not support empty values is included in the update mask and not set in the `CourseWork` object, an `INVALID_ARGUMENT` error is returned. The following fields may be specified by teachers: * `title` * `description` * `state` * `due_date` * `due_time` * `max_points` * `scheduled_time` * `submission_modification_mode` * `topic_id` + * Mask that identifies which fields on the course work to update. This field is required to do an update. The update fails if invalid fields are specified. If a field supports empty values, it can be cleared by specifying it in the update mask and not in the `CourseWork` object. If a field that does not support empty values is included in the update mask and not set in the `CourseWork` object, an `INVALID_ARGUMENT` error is returned. The following fields may be specified by teachers: * `title` * `description` * `state` * `due_date` * `due_time` * `max_points` * `scheduled_time` * `submission_modification_mode` * `topic_id` * `grading_period_id` Available in [V1_20240401_PREVIEW](https://developers.google.com/classroom/reference/preview) and later. */ updateMask?: string; diff --git a/src/apis/cloudasset/v1.ts b/src/apis/cloudasset/v1.ts index a099d5e498..c976bda561 100644 --- a/src/apis/cloudasset/v1.ts +++ b/src/apis/cloudasset/v1.ts @@ -1384,7 +1384,7 @@ export namespace cloudasset_v1 { */ sourceRestriction?: string | null; /** - * Sources that this EgressPolicy authorizes access from. If this field is not empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`. + * Sources that this EgressPolicy authorizes access from. If this field is not empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`. TODO (b/332744441): annotate this field with custom_org_policy_accessibility when cl/640698580 will be rolled out. */ sources?: Schema$GoogleIdentityAccesscontextmanagerV1EgressSource[]; } @@ -1406,7 +1406,7 @@ export namespace cloudasset_v1 { */ export interface Schema$GoogleIdentityAccesscontextmanagerV1EgressSource { /** - * An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel name is not specified, only resources within the perimeter can be accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all EgressSources will be allowed. + * An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel name is not specified, only resources within the perimeter can be accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all EgressSources will be allowed. TODO (b/332744441): annotate this field with custom_org_policy_accessibility when cl/640698580 will be rolled out. */ accessLevel?: string | null; } @@ -1593,7 +1593,7 @@ export namespace cloudasset_v1 { */ export interface Schema$GoogleIdentityAccesscontextmanagerV1VpcNetworkSource { /** - * Sub-segment ranges of a VPC network. + * Sub-segment ranges of a VPC network. TODO (b/332744441): annotate this field with custom_org_policy_accessibility when cl/640698580 will be rolled out. */ vpcSubnetwork?: Schema$GoogleIdentityAccesscontextmanagerV1VpcSubNetwork; } diff --git a/src/apis/cloudasset/v1beta1.ts b/src/apis/cloudasset/v1beta1.ts index bcd126f93a..82dfe85aaf 100644 --- a/src/apis/cloudasset/v1beta1.ts +++ b/src/apis/cloudasset/v1beta1.ts @@ -653,7 +653,7 @@ export namespace cloudasset_v1beta1 { */ sourceRestriction?: string | null; /** - * Sources that this EgressPolicy authorizes access from. If this field is not empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`. + * Sources that this EgressPolicy authorizes access from. If this field is not empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`. TODO (b/332744441): annotate this field with custom_org_policy_accessibility when cl/640698580 will be rolled out. */ sources?: Schema$GoogleIdentityAccesscontextmanagerV1EgressSource[]; } @@ -675,7 +675,7 @@ export namespace cloudasset_v1beta1 { */ export interface Schema$GoogleIdentityAccesscontextmanagerV1EgressSource { /** - * An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel name is not specified, only resources within the perimeter can be accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all EgressSources will be allowed. + * An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel name is not specified, only resources within the perimeter can be accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all EgressSources will be allowed. TODO (b/332744441): annotate this field with custom_org_policy_accessibility when cl/640698580 will be rolled out. */ accessLevel?: string | null; } @@ -862,7 +862,7 @@ export namespace cloudasset_v1beta1 { */ export interface Schema$GoogleIdentityAccesscontextmanagerV1VpcNetworkSource { /** - * Sub-segment ranges of a VPC network. + * Sub-segment ranges of a VPC network. TODO (b/332744441): annotate this field with custom_org_policy_accessibility when cl/640698580 will be rolled out. */ vpcSubnetwork?: Schema$GoogleIdentityAccesscontextmanagerV1VpcSubNetwork; } diff --git a/src/apis/cloudasset/v1p1beta1.ts b/src/apis/cloudasset/v1p1beta1.ts index 543c72f327..4008b6b479 100644 --- a/src/apis/cloudasset/v1p1beta1.ts +++ b/src/apis/cloudasset/v1p1beta1.ts @@ -580,7 +580,7 @@ export namespace cloudasset_v1p1beta1 { */ sourceRestriction?: string | null; /** - * Sources that this EgressPolicy authorizes access from. If this field is not empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`. + * Sources that this EgressPolicy authorizes access from. If this field is not empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`. TODO (b/332744441): annotate this field with custom_org_policy_accessibility when cl/640698580 will be rolled out. */ sources?: Schema$GoogleIdentityAccesscontextmanagerV1EgressSource[]; } @@ -602,7 +602,7 @@ export namespace cloudasset_v1p1beta1 { */ export interface Schema$GoogleIdentityAccesscontextmanagerV1EgressSource { /** - * An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel name is not specified, only resources within the perimeter can be accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all EgressSources will be allowed. + * An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel name is not specified, only resources within the perimeter can be accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all EgressSources will be allowed. TODO (b/332744441): annotate this field with custom_org_policy_accessibility when cl/640698580 will be rolled out. */ accessLevel?: string | null; } @@ -789,7 +789,7 @@ export namespace cloudasset_v1p1beta1 { */ export interface Schema$GoogleIdentityAccesscontextmanagerV1VpcNetworkSource { /** - * Sub-segment ranges of a VPC network. + * Sub-segment ranges of a VPC network. TODO (b/332744441): annotate this field with custom_org_policy_accessibility when cl/640698580 will be rolled out. */ vpcSubnetwork?: Schema$GoogleIdentityAccesscontextmanagerV1VpcSubNetwork; } diff --git a/src/apis/cloudasset/v1p5beta1.ts b/src/apis/cloudasset/v1p5beta1.ts index c27d43edb3..3f4afe54c8 100644 --- a/src/apis/cloudasset/v1p5beta1.ts +++ b/src/apis/cloudasset/v1p5beta1.ts @@ -610,7 +610,7 @@ export namespace cloudasset_v1p5beta1 { */ sourceRestriction?: string | null; /** - * Sources that this EgressPolicy authorizes access from. If this field is not empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`. + * Sources that this EgressPolicy authorizes access from. If this field is not empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`. TODO (b/332744441): annotate this field with custom_org_policy_accessibility when cl/640698580 will be rolled out. */ sources?: Schema$GoogleIdentityAccesscontextmanagerV1EgressSource[]; } @@ -632,7 +632,7 @@ export namespace cloudasset_v1p5beta1 { */ export interface Schema$GoogleIdentityAccesscontextmanagerV1EgressSource { /** - * An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel name is not specified, only resources within the perimeter can be accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all EgressSources will be allowed. + * An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel name is not specified, only resources within the perimeter can be accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all EgressSources will be allowed. TODO (b/332744441): annotate this field with custom_org_policy_accessibility when cl/640698580 will be rolled out. */ accessLevel?: string | null; } @@ -819,7 +819,7 @@ export namespace cloudasset_v1p5beta1 { */ export interface Schema$GoogleIdentityAccesscontextmanagerV1VpcNetworkSource { /** - * Sub-segment ranges of a VPC network. + * Sub-segment ranges of a VPC network. TODO (b/332744441): annotate this field with custom_org_policy_accessibility when cl/640698580 will be rolled out. */ vpcSubnetwork?: Schema$GoogleIdentityAccesscontextmanagerV1VpcSubNetwork; } diff --git a/src/apis/cloudasset/v1p7beta1.ts b/src/apis/cloudasset/v1p7beta1.ts index 6e4b62544e..406fb63aca 100644 --- a/src/apis/cloudasset/v1p7beta1.ts +++ b/src/apis/cloudasset/v1p7beta1.ts @@ -656,7 +656,7 @@ export namespace cloudasset_v1p7beta1 { */ sourceRestriction?: string | null; /** - * Sources that this EgressPolicy authorizes access from. If this field is not empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`. + * Sources that this EgressPolicy authorizes access from. If this field is not empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`. TODO (b/332744441): annotate this field with custom_org_policy_accessibility when cl/640698580 will be rolled out. */ sources?: Schema$GoogleIdentityAccesscontextmanagerV1EgressSource[]; } @@ -678,7 +678,7 @@ export namespace cloudasset_v1p7beta1 { */ export interface Schema$GoogleIdentityAccesscontextmanagerV1EgressSource { /** - * An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel name is not specified, only resources within the perimeter can be accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all EgressSources will be allowed. + * An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel name is not specified, only resources within the perimeter can be accessed through Google Cloud calls with request origins within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified for `access_level`, then all EgressSources will be allowed. TODO (b/332744441): annotate this field with custom_org_policy_accessibility when cl/640698580 will be rolled out. */ accessLevel?: string | null; } @@ -865,7 +865,7 @@ export namespace cloudasset_v1p7beta1 { */ export interface Schema$GoogleIdentityAccesscontextmanagerV1VpcNetworkSource { /** - * Sub-segment ranges of a VPC network. + * Sub-segment ranges of a VPC network. TODO (b/332744441): annotate this field with custom_org_policy_accessibility when cl/640698580 will be rolled out. */ vpcSubnetwork?: Schema$GoogleIdentityAccesscontextmanagerV1VpcSubNetwork; } diff --git a/src/apis/cloudbuild/v1.ts b/src/apis/cloudbuild/v1.ts index 50082a93c6..63dffae3db 100644 --- a/src/apis/cloudbuild/v1.ts +++ b/src/apis/cloudbuild/v1.ts @@ -1514,7 +1514,7 @@ export namespace cloudbuild_v1 { */ export interface Schema$HttpConfig { /** - * SecretVersion resource of the HTTP proxy URL. The Service Account should have accessor permissions on this secret. The proxy URL should be in format protocol://@]proxyhost[:port]. + * SecretVersion resource of the HTTP proxy URL. The Service Account used in the build (either the default Service Account or user-specified Service Account) should have `secretmanager.versions.access` permissions on this secret. The proxy URL should be in format `protocol://@]proxyhost[:port]`. */ proxySecretVersionName?: string | null; } diff --git a/src/apis/cloudbuild/v2.ts b/src/apis/cloudbuild/v2.ts index 9cb109be63..cca9bb6c5c 100644 --- a/src/apis/cloudbuild/v2.ts +++ b/src/apis/cloudbuild/v2.ts @@ -848,6 +848,10 @@ export namespace cloudbuild_v2 { * Value of the parameter if type is array. */ arrayVal?: string[] | null; + /** + * Optional. Value of the parameter if type is object. + */ + objectVal?: {[key: string]: string} | null; /** * Value of the parameter if type is string. */ diff --git a/src/apis/clouderrorreporting/v1beta1.ts b/src/apis/clouderrorreporting/v1beta1.ts index 431b27fa29..ddb1bb8dbc 100644 --- a/src/apis/clouderrorreporting/v1beta1.ts +++ b/src/apis/clouderrorreporting/v1beta1.ts @@ -179,7 +179,7 @@ export namespace clouderrorreporting_v1beta1 { */ groupId?: string | null; /** - * The group resource name. Written as `projects/{projectID\}/groups/{group_id\}`. Example: `projects/my-project-123/groups/my-group` In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). + * The group resource name. Written as `projects/{projectID\}/groups/{group_id\}` or `projects/{projectID\}/locations/{location\}/groups/{group_id\}` Examples: `projects/my-project-123/groups/my-group`, `projects/my-project-123/locations/us-central1/groups/my-group` In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified. */ name?: string | null; /** @@ -308,7 +308,7 @@ export namespace clouderrorreporting_v1beta1 { */ eventTime?: string | null; /** - * Required. The error message. If no `context.reportLocation` is provided, the message must contain a header (typically consisting of the exception type name and an error message) and an exception stack trace in one of the supported programming languages and formats. Supported languages are Java, Python, JavaScript, Ruby, C#, PHP, and Go. Supported stack trace formats are: * **Java**: Must be the return value of [`Throwable.printStackTrace()`](https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html#printStackTrace%28%29). * **Python**: Must be the return value of [`traceback.format_exc()`](https://docs.python.org/2/library/traceback.html#traceback.format_exc). * **JavaScript**: Must be the value of [`error.stack`](https://github.com/v8/v8/wiki/Stack-Trace-API) as returned by V8. * **Ruby**: Must contain frames returned by [`Exception.backtrace`](https://ruby-doc.org/core-2.2.0/Exception.html#method-i-backtrace). * **C#**: Must be the return value of [`Exception.ToString()`](https://msdn.microsoft.com/en-us/library/system.exception.tostring.aspx). * **PHP**: Must be prefixed with `"PHP (Notice|Parse error|Fatal error|Warning): "` and contain the result of [`(string)$exception`](https://php.net/manual/en/exception.tostring.php). * **Go**: Must be the return value of [`runtime.Stack()`](https://golang.org/pkg/runtime/debug/#Stack). + * Required. The error message. If no `context.reportLocation` is provided, the message must contain a header (typically consisting of the exception type name and an error message) and an exception stack trace in one of the supported programming languages and formats. Supported languages are Java, Python, JavaScript, Ruby, C#, PHP, and Go. Supported stack trace formats are: * **Java**: Must be the return value of [`Throwable.printStackTrace()`](https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html#printStackTrace%28%29). * **Python**: Must be the return value of [`traceback.format_exc()`](https://docs.python.org/2/library/traceback.html#traceback.format_exc). * **JavaScript**: Must be the value of [`error.stack`](https://github.com/v8/v8/wiki/Stack-Trace-API) as returned by V8. * **Ruby**: Must contain frames returned by [`Exception.backtrace`](https://ruby-doc.org/core-2.2.0/Exception.html#method-i-backtrace). * **C#**: Must be the return value of [`Exception.ToString()`](https://msdn.microsoft.com/en-us/library/system.exception.tostring.aspx). * **PHP**: Must be prefixed with `"PHP (Notice|Parse error|Fatal error|Warning): "` and contain the result of [`(string)$exception`](https://php.net/manual/en/exception.tostring.php). * **Go**: Must be the return value of [`debug.Stack()`](https://pkg.go.dev/runtime/debug#Stack). */ message?: string | null; /** @@ -399,11 +399,13 @@ export namespace clouderrorreporting_v1beta1 { events: Resource$Projects$Events; groups: Resource$Projects$Groups; groupStats: Resource$Projects$Groupstats; + locations: Resource$Projects$Locations; constructor(context: APIRequestContext) { this.context = context; this.events = new Resource$Projects$Events(this.context); this.groups = new Resource$Projects$Groups(this.context); this.groupStats = new Resource$Projects$Groupstats(this.context); + this.locations = new Resource$Projects$Locations(this.context); } /** @@ -506,7 +508,7 @@ export namespace clouderrorreporting_v1beta1 { export interface Params$Resource$Projects$Deleteevents extends StandardParameters { /** - * Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID\}`, where `{projectID\}` is the [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840). Example: `projects/my-project-123`. + * Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID\}` or `projects/{projectID\}/locations/{location\}`, where `{projectID\}` is the [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840) and `{location\}` is a Cloud region. Examples: `projects/my-project-123`, `projects/my-project-123/locations/global`. For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified. */ projectName?: string; } @@ -610,7 +612,7 @@ export namespace clouderrorreporting_v1beta1 { } /** - * Report an individual error event and record the event to a log. This endpoint accepts **either** an OAuth token, **or** an [API key](https://support.google.com/cloud/answer/6158862) for authentication. To use an API key, append it to the URL as the value of a `key` parameter. For example: `POST https://clouderrorreporting.googleapis.com/v1beta1/{projectName\}/events:report?key=123ABC456` **Note:** [Error Reporting] (https://cloud.google.com/error-reporting) is a global service built on Cloud Logging and can analyze log entries when all of the following are true: * The log entries are stored in a log bucket in the `global` location. * Customer-managed encryption keys (CMEK) are disabled on the log bucket. * The log bucket satisfies one of the following: * The log bucket is stored in the same project where the logs originated. * The logs were routed to a project, and then that project stored those logs in a log bucket that it owns. + * Report an individual error event and record the event to a log. This endpoint accepts **either** an OAuth token, **or** an [API key](https://support.google.com/cloud/answer/6158862) for authentication. To use an API key, append it to the URL as the value of a `key` parameter. For example: `POST https://clouderrorreporting.googleapis.com/v1beta1/{projectName\}/events:report?key=123ABC456` **Note:** [Error Reporting] (https://cloud.google.com/error-reporting) is a service built on Cloud Logging and can analyze log entries when all of the following are true: * Customer-managed encryption keys (CMEK) are disabled on the log bucket. * The log bucket satisfies one of the following: * The log bucket is stored in the same project where the logs originated. * The logs were routed to a project, and then that project stored those logs in a log bucket that it owns. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -721,7 +723,7 @@ export namespace clouderrorreporting_v1beta1 { */ pageToken?: string; /** - * Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID\}`, where `{projectID\}` is the [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840). Example: `projects/my-project-123`. + * Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID\}` or `projects/{projectID\}/locations/{location\}`, where `{projectID\}` is the [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840) and `{location\}` is a Cloud region. Examples: `projects/my-project-123`, `projects/my-project-123/locations/global`. For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified. */ projectName?: string; /** @@ -939,14 +941,14 @@ export namespace clouderrorreporting_v1beta1 { export interface Params$Resource$Projects$Groups$Get extends StandardParameters { /** - * Required. The group resource name. Written as `projects/{projectID\}/groups/{group_id\}`. Call groupStats.list to return a list of groups belonging to this project. Example: `projects/my-project-123/groups/my-group` In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). + * Required. The group resource name. Written as either `projects/{projectID\}/groups/{group_id\}` or `projects/{projectID\}/locations/{location\}/groups/{group_id\}`. Call groupStats.list to return a list of groups belonging to this project. Examples: `projects/my-project-123/groups/my-group`, `projects/my-project-123/locations/global/groups/my-group` In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified. */ groupName?: string; } export interface Params$Resource$Projects$Groups$Update extends StandardParameters { /** - * The group resource name. Written as `projects/{projectID\}/groups/{group_id\}`. Example: `projects/my-project-123/groups/my-group` In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). + * The group resource name. Written as `projects/{projectID\}/groups/{group_id\}` or `projects/{projectID\}/locations/{location\}/groups/{group_id\}` Examples: `projects/my-project-123/groups/my-group`, `projects/my-project-123/locations/us-central1/groups/my-group` In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified. */ name?: string; @@ -1084,7 +1086,616 @@ export namespace clouderrorreporting_v1beta1 { */ pageToken?: string; /** - * Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID\}` or `projects/{projectNumber\}`, where `{projectID\}` and `{projectNumber\}` can be found in the [Google Cloud console](https://support.google.com/cloud/answer/6158840). Examples: `projects/my-project-123`, `projects/5551234`. + * Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID\}` or `projects/{projectNumber\}`, where `{projectID\}` and `{projectNumber\}` can be found in the [Google Cloud console](https://support.google.com/cloud/answer/6158840). It may also include a location, such as `projects/{projectID\}/locations/{location\}` where `{location\}` is a cloud region. Examples: `projects/my-project-123`, `projects/5551234`, `projects/my-project-123/locations/us-central1`, `projects/5551234/locations/us-central1`. For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified. Use `-` as a wildcard to request group stats from all regions. + */ + projectName?: string; + /** + * Optional. The exact value to match against [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type). + */ + 'serviceFilter.resourceType'?: string; + /** + * Optional. The exact value to match against [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service). + */ + 'serviceFilter.service'?: string; + /** + * Optional. The exact value to match against [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version). + */ + 'serviceFilter.version'?: string; + /** + * Optional. The preferred duration for a single returned TimedCount. If not set, no timed counts are returned. + */ + timedCountDuration?: string; + /** + * Restricts the query to the specified time range. + */ + 'timeRange.period'?: string; + } + + export class Resource$Projects$Locations { + context: APIRequestContext; + events: Resource$Projects$Locations$Events; + groups: Resource$Projects$Locations$Groups; + groupStats: Resource$Projects$Locations$Groupstats; + constructor(context: APIRequestContext) { + this.context = context; + this.events = new Resource$Projects$Locations$Events(this.context); + this.groups = new Resource$Projects$Locations$Groups(this.context); + this.groupStats = new Resource$Projects$Locations$Groupstats( + this.context + ); + } + + /** + * Deletes all error events of a given project. + * + * @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. + */ + deleteEvents( + params: Params$Resource$Projects$Locations$Deleteevents, + options: StreamMethodOptions + ): GaxiosPromise; + deleteEvents( + params?: Params$Resource$Projects$Locations$Deleteevents, + options?: MethodOptions + ): GaxiosPromise; + deleteEvents( + params: Params$Resource$Projects$Locations$Deleteevents, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + deleteEvents( + params: Params$Resource$Projects$Locations$Deleteevents, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + deleteEvents( + params: Params$Resource$Projects$Locations$Deleteevents, + callback: BodyResponseCallback + ): void; + deleteEvents( + callback: BodyResponseCallback + ): void; + deleteEvents( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Deleteevents + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Deleteevents; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Deleteevents; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://clouderrorreporting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta1/{+projectName}/events').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'DELETE', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['projectName'], + pathParams: ['projectName'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Projects$Locations$Deleteevents + extends StandardParameters { + /** + * Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID\}` or `projects/{projectID\}/locations/{location\}`, where `{projectID\}` is the [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840) and `{location\}` is a Cloud region. Examples: `projects/my-project-123`, `projects/my-project-123/locations/global`. For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified. + */ + projectName?: string; + } + + export class Resource$Projects$Locations$Events { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Lists the specified events. + * + * @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$Events$List, + options: StreamMethodOptions + ): GaxiosPromise; + list( + params?: Params$Resource$Projects$Locations$Events$List, + options?: MethodOptions + ): GaxiosPromise; + list( + params: Params$Resource$Projects$Locations$Events$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Events$List, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Events$List, + callback: BodyResponseCallback + ): void; + list(callback: BodyResponseCallback): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Events$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Events$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Events$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://clouderrorreporting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta1/{+projectName}/events').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['projectName'], + pathParams: ['projectName'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Projects$Locations$Events$List + extends StandardParameters { + /** + * Required. The group for which events shall be returned. The `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). + */ + groupId?: string; + /** + * Optional. The maximum number of results to return per response. + */ + pageSize?: number; + /** + * Optional. A `next_page_token` provided by a previous response. + */ + pageToken?: string; + /** + * Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID\}` or `projects/{projectID\}/locations/{location\}`, where `{projectID\}` is the [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840) and `{location\}` is a Cloud region. Examples: `projects/my-project-123`, `projects/my-project-123/locations/global`. For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified. + */ + projectName?: string; + /** + * Optional. The exact value to match against [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type). + */ + 'serviceFilter.resourceType'?: string; + /** + * Optional. The exact value to match against [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service). + */ + 'serviceFilter.service'?: string; + /** + * Optional. The exact value to match against [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version). + */ + 'serviceFilter.version'?: string; + /** + * Restricts the query to the specified time range. + */ + 'timeRange.period'?: string; + } + + export class Resource$Projects$Locations$Groups { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Get the specified group. + * + * @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$Groups$Get, + options: StreamMethodOptions + ): GaxiosPromise; + get( + params?: Params$Resource$Projects$Locations$Groups$Get, + options?: MethodOptions + ): GaxiosPromise; + get( + params: Params$Resource$Projects$Locations$Groups$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Groups$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Groups$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Groups$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Groups$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Groups$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://clouderrorreporting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta1/{+groupName}').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['groupName'], + pathParams: ['groupName'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Replace the data for the specified group. Fails if the group does not exist. + * + * @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. + */ + update( + params: Params$Resource$Projects$Locations$Groups$Update, + options: StreamMethodOptions + ): GaxiosPromise; + update( + params?: Params$Resource$Projects$Locations$Groups$Update, + options?: MethodOptions + ): GaxiosPromise; + update( + params: Params$Resource$Projects$Locations$Groups$Update, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + update( + params: Params$Resource$Projects$Locations$Groups$Update, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + update( + params: Params$Resource$Projects$Locations$Groups$Update, + callback: BodyResponseCallback + ): void; + update(callback: BodyResponseCallback): void; + update( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Groups$Update + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Groups$Update; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Groups$Update; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://clouderrorreporting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + 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$Groups$Get + extends StandardParameters { + /** + * Required. The group resource name. Written as either `projects/{projectID\}/groups/{group_id\}` or `projects/{projectID\}/locations/{location\}/groups/{group_id\}`. Call groupStats.list to return a list of groups belonging to this project. Examples: `projects/my-project-123/groups/my-group`, `projects/my-project-123/locations/global/groups/my-group` In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified. + */ + groupName?: string; + } + export interface Params$Resource$Projects$Locations$Groups$Update + extends StandardParameters { + /** + * The group resource name. Written as `projects/{projectID\}/groups/{group_id\}` or `projects/{projectID\}/locations/{location\}/groups/{group_id\}` Examples: `projects/my-project-123/groups/my-group`, `projects/my-project-123/locations/us-central1/groups/my-group` In the group resource name, the `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified. + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$ErrorGroup; + } + + export class Resource$Projects$Locations$Groupstats { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Lists the specified groups. + * + * @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$Groupstats$List, + options: StreamMethodOptions + ): GaxiosPromise; + list( + params?: Params$Resource$Projects$Locations$Groupstats$List, + options?: MethodOptions + ): GaxiosPromise; + list( + params: Params$Resource$Projects$Locations$Groupstats$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Groupstats$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Groupstats$List, + callback: BodyResponseCallback + ): void; + list(callback: BodyResponseCallback): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Groupstats$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Groupstats$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Groupstats$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://clouderrorreporting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta1/{+projectName}/groupStats').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['projectName'], + pathParams: ['projectName'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Projects$Locations$Groupstats$List + extends StandardParameters { + /** + * Optional. The alignment of the timed counts to be returned. Default is `ALIGNMENT_EQUAL_AT_END`. + */ + alignment?: string; + /** + * Optional. Time where the timed counts shall be aligned if rounded alignment is chosen. Default is 00:00 UTC. + */ + alignmentTime?: string; + /** + * Optional. List all ErrorGroupStats with these IDs. The `group_id` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice] (https://cloud.google.com/terms/cloud-privacy-notice). + */ + groupId?: string[]; + /** + * Optional. The sort order in which the results are returned. Default is `COUNT_DESC`. + */ + order?: string; + /** + * Optional. The maximum number of results to return per response. Default is 20. + */ + pageSize?: number; + /** + * Optional. A next_page_token provided by a previous response. To view additional results, pass this token along with the identical query parameters as the first request. + */ + pageToken?: string; + /** + * Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID\}` or `projects/{projectNumber\}`, where `{projectID\}` and `{projectNumber\}` can be found in the [Google Cloud console](https://support.google.com/cloud/answer/6158840). It may also include a location, such as `projects/{projectID\}/locations/{location\}` where `{location\}` is a cloud region. Examples: `projects/my-project-123`, `projects/5551234`, `projects/my-project-123/locations/us-central1`, `projects/5551234/locations/us-central1`. For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified. Use `-` as a wildcard to request group stats from all regions. */ projectName?: string; /** diff --git a/src/apis/compute/alpha.ts b/src/apis/compute/alpha.ts index 5524f4e740..255430f225 100644 --- a/src/apis/compute/alpha.ts +++ b/src/apis/compute/alpha.ts @@ -867,6 +867,10 @@ export namespace compute_alpha { * ID of the instance template used to populate reservation properties. */ sourceInstanceTemplateId?: string | null; + /** + * Per service utilization breakdown. The Key is the Google Cloud managed service name. + */ + utilizations?: {[key: string]: string} | null; } export interface Schema$AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk { /** @@ -1520,6 +1524,10 @@ export namespace compute_alpha { * A multiplier applied to the backend's target capacity of its balancing mode. The default value is 1, which means the group serves up to 100% of its configured capacity (depending on balancingMode). A setting of 0 means the group is completely drained, offering 0% of its available capacity. The valid ranges are 0.0 and [0.1,1.0]. You cannot configure a setting larger than 0 and smaller than 0.1. You cannot configure a setting of 0 when there is only one backend attached to the backend service. Not available with backends that don't support using a balancingMode. This includes backends such as global internet NEGs, regional serverless NEGs, and PSC NEGs. */ capacityScaler?: number | null; + /** + * List of custom metrics that are used for CUSTOM_METRICS BalancingMode and WEIGHTED_ROUND_ROBIN BackendService locality_lb_policy. + */ + customMetrics?: Schema$BackendCustomMetric[]; /** * An optional description of this resource. Provide this property when you create the resource. */ @@ -1747,6 +1755,23 @@ export namespace compute_alpha { message?: string; } | null; } + /** + * Custom Metrics are used for CUSTOM_METRICS balancing_mode and WEIGHTED_ROUND_ROBIN BackendService locality_lb_policy. + */ + export interface Schema$BackendCustomMetric { + /** + * If true, the metric data is collected and reported to Cloud Monitoring, but is not used for load balancing. + */ + dryRun?: boolean | null; + /** + * Optional parameter to define a target utilization for the Custom Metrics balancing mode. The valid range is [0.0, 1.0]. + */ + maxUtilization?: number | null; + /** + * Name of a custom utilization signal. The name must be 1-24 characters long, and comply with RFC1035. Specifically, the name must be 1-24 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. For usage guidelines, see Custom Metrics balancing mode. This field can only be used for a global or regional backend service with the loadBalancingScheme set to EXTERNAL_MANAGED, INTERNAL_MANAGED INTERNAL_SELF_MANAGED. + */ + name?: string | null; + } /** * Represents a Backend Service resource. A backend service defines how Google Cloud load balancers distribute traffic. The backend service configuration contains a set of values, such as the protocol used to connect to backends, various distribution and session settings, health checks, and timeouts. These settings provide fine-grained control over how your load balancer behaves. Most of the settings have default values that allow for easy configuration if you need to get started quickly. Backend services in Google Compute Engine can be either regionally or globally scoped. * [Global](https://cloud.google.com/compute/docs/reference/rest/alpha/backendServices) * [Regional](https://cloud.google.com/compute/docs/reference/rest/alpha/regionBackendServices) For more information, see Backend Services. */ @@ -1934,6 +1959,9 @@ export namespace compute_alpha { * The backend service timeout has a different meaning depending on the type of load balancer. For more information see, Backend service settings. The default is 30 seconds. The full range of timeout values allowed goes from 1 through 2,147,483,647 seconds. This value can be overridden in the PathMatcher configuration of the UrlMap that references this backend service. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. Instead, use maxStreamDuration. */ timeoutSec?: number | null; + /** + * [Output Only] List of resources referencing given backend service. + */ usedBy?: Schema$BackendServiceUsedBy[]; /** * The network scope of the backends that can be added to the backend service. This field can be either GLOBAL_VPC_NETWORK or REGIONAL_VPC_NETWORK. A backend service with the VPC scope set to GLOBAL_VPC_NETWORK is only allowed to have backends in global VPC networks. When the VPC scope is set to REGIONAL_VPC_NETWORK the backend service is only allowed to have backends in regional networks in the same scope as the backend service. Note: if not specified then GLOBAL_VPC_NETWORK will be used. @@ -2340,6 +2368,9 @@ export namespace compute_alpha { } | null; } export interface Schema$BackendServiceUsedBy { + /** + * [Output Only] Server-defined URL for resources referencing given BackendService like UrlMaps, TargetTcpProxies, TargetSslProxies and ForwardingRule. + */ reference?: string | null; } export interface Schema$BfdPacket { @@ -2774,6 +2805,10 @@ export namespace compute_alpha { * [Output Only] Creation timestamp in RFC3339 text format. */ creationTimestamp?: string | null; + /** + * [Input Only] Optional, specifies the CUD end time requested by the customer in RFC3339 text format. Needed when the customer wants CUD's end date is later than the start date + term duration. + */ + customEndTimestamp?: string | null; /** * An optional description of this resource. Provide this property when you create the resource. */ @@ -2930,6 +2965,10 @@ export namespace compute_alpha { * [Output Only] An optional, contains all the needed information of cancellation. */ cancellationInformation?: Schema$CommitmentResourceStatusCancellationInformation; + /** + * [Output Only] Indicates the end time of customer's eligibility to send custom term requests in RFC3339 text format. Term extension requests that (not the end time in the request) after this time will be rejected. + */ + customTermEligibilityEndTimestamp?: string | null; } export interface Schema$CommitmentResourceStatusCancellationInformation { /** @@ -6814,7 +6853,7 @@ export namespace compute_alpha { */ autoHealingPolicies?: Schema$InstanceGroupManagerAutoHealingPolicy[]; /** - * The base instance name to use for instances in this group. The value must be 1-58 characters long. Instances are named by appending a hyphen and a random four-character string to the base instance name. The base instance name must comply with RFC1035. + * The base instance name is a prefix that you want to attach to the names of all VMs in a MIG. The maximum character length is 58 and the name must comply with RFC1035 format. When a VM is created in the group, the MIG appends a hyphen and a random four-character string to the base instance name. If you want the MIG to assign sequential numbers instead of a random string, then end the base instance name with a hyphen followed by one or more hash symbols. The hash symbols indicate the number of digits. For example, a base instance name of "vm-###" results in "vm-001" as a VM name. @pattern [a-z](([-a-z0-9]{0,57\})|([-a-z0-9]{0,52\}-#{1,10\}(\\[[0-9]{1,10\}\\])?)) */ baseInstanceName?: string | null; /** @@ -10951,10 +10990,6 @@ export namespace compute_alpha { * Represents the port number to which PSC consumer sends packets. Only valid for network endpoint groups created with GCE_VM_IP_PORTMAP endpoint type. */ clientDestinationPort?: number | null; - /** - * Represents the port number to which PSC consumer sends packets. Only valid for network endpoint groups created with CLIENT_PORT_PER_ENDPOINT mapping mode. - */ - clientPort?: number | null; /** * Optional fully qualified domain name of network endpoint. This can only be specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT. */ @@ -10992,10 +11027,6 @@ export namespace compute_alpha { * Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or cloudFunction may be set. */ appEngine?: Schema$NetworkEndpointGroupAppEngine; - /** - * Only valid when networkEndpointType is GCE_VM_IP_PORT and the NEG is regional. - */ - clientPortMappingMode?: string | null; /** * Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or cloudFunction may be set. */ @@ -15060,6 +15091,7 @@ export namespace compute_alpha { * Resource policy applicable to VMs for infrastructure maintenance. */ vmMaintenancePolicy?: Schema$ResourcePolicyVmMaintenancePolicy; + workloadPolicy?: Schema$ResourcePolicyWorkloadPolicy; } /** * Contains a list of resourcePolicies. @@ -15356,6 +15388,12 @@ export namespace compute_alpha { */ startTime?: string | null; } + /** + * Represents the workload policy. + */ + export interface Schema$ResourcePolicyWorkloadPolicy { + type?: string | null; + } /** * Contains output only fields. Use this sub-message for actual values set on Instance attributes as compared to the value requested by the user (intent) in their instance CRUD calls. */ @@ -15389,7 +15427,7 @@ export namespace compute_alpha { } export interface Schema$ResourceStatusScheduling { /** - * Specifies the availability domain (AD), which this instance should be scheduled on. The AD belongs to the spread GroupPlacementPolicy resource policy that has been assigned to the instance. Specify a value between 1-max count of availability domains in your GroupPlacementPolicy. See go/placement-policy-extension for more details. + * Specifies the availability domain to place the instance in. The value must be a number between 1 and the number of availability domains specified in the spread placement policy attached to the instance. */ availabilityDomain?: number | null; /** @@ -16608,7 +16646,7 @@ export namespace compute_alpha { */ automaticRestart?: boolean | null; /** - * Specifies the availability domain (AD), which this instance should be scheduled on. The AD belongs to the spread GroupPlacementPolicy resource policy that has been assigned to the instance. Specify a value between 1-max count of availability domains in your GroupPlacementPolicy. See go/placement-policy-extension for more details. + * Specifies the availability domain to place the instance in. The value must be a number between 1 and the number of availability domains specified in the spread placement policy attached to the instance. */ availabilityDomain?: number | null; /** @@ -21365,7 +21403,7 @@ export namespace compute_alpha { */ selfLink?: string | null; /** - * The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified, IPV4_ONLY will be used. + * The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6, IPV6_ONLY. If not specified, IPV4_ONLY is used if the gateway IP version is IPV4, or IPV4_IPV6 if the gateway IP version is IPV6. */ stackType?: string | null; /** @@ -93981,7 +94019,7 @@ export namespace compute_alpha { } /** - * Returns the specified Region resource. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request. + * Returns the specified Region resource. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request. This method fails if the quota information is unavailable for the region and if the organization policy constraint compute.requireBasicQuotaInResponse is enforced. This constraint, when enforced, disables the fail-open behaviour when quota information (the `items.quotas` field) is unavailable for the region. It is recommended to use the default setting for the constraint unless your application requires the fail-closed behaviour for this method. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. diff --git a/src/apis/compute/beta.ts b/src/apis/compute/beta.ts index 3b6366009f..f2ef635068 100644 --- a/src/apis/compute/beta.ts +++ b/src/apis/compute/beta.ts @@ -1803,11 +1803,18 @@ export namespace compute_beta { * Type of session affinity to use. The default is NONE. Only NONE and HEADER_FIELD are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. For more details, see: [Session Affinity](https://cloud.google.com/load-balancing/docs/backend-service#session_affinity). */ sessionAffinity?: string | null; + /** + * Describes the HTTP cookie used for stateful session affinity. This field is applicable and required if the sessionAffinity is set to STRONG_COOKIE_AFFINITY. + */ + strongSessionAffinityCookie?: Schema$BackendServiceHttpCookie; subsetting?: Schema$Subsetting; /** * The backend service timeout has a different meaning depending on the type of load balancer. For more information see, Backend service settings. The default is 30 seconds. The full range of timeout values allowed goes from 1 through 2,147,483,647 seconds. This value can be overridden in the PathMatcher configuration of the UrlMap that references this backend service. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. Instead, use maxStreamDuration. */ timeoutSec?: number | null; + /** + * [Output Only] List of resources referencing given backend service. + */ usedBy?: Schema$BackendServiceUsedBy[]; } /** @@ -1974,6 +1981,23 @@ export namespace compute_beta { */ kind?: string | null; } + /** + * The HTTP cookie used for stateful session affinity. + */ + export interface Schema$BackendServiceHttpCookie { + /** + * Name of the cookie. + */ + name?: string | null; + /** + * Path to set for the cookie. + */ + path?: string | null; + /** + * Lifetime of the cookie. + */ + ttl?: Schema$Duration; + } /** * Identity-Aware Proxy */ @@ -2129,6 +2153,9 @@ export namespace compute_beta { } | null; } export interface Schema$BackendServiceUsedBy { + /** + * [Output Only] Server-defined URL for resources referencing given BackendService like UrlMaps, TargetTcpProxies, TargetSslProxies and ForwardingRule. + */ reference?: string | null; } export interface Schema$BfdPacket { @@ -3822,6 +3849,10 @@ export namespace compute_beta { * Name of the resource. For Organization Firewall Policies it's a [Output Only] numeric ID allocated by Google Cloud which uniquely identifies the Organization Firewall Policy. */ name?: string | null; + /** + * A list of packet mirroring rules that belong to this policy. + */ + packetMirroringRules?: Schema$FirewallPolicyRule[]; /** * [Output Only] The parent of the firewall policy. This field is not applicable to network firewall policies. */ @@ -6252,7 +6283,7 @@ export namespace compute_beta { */ autoHealingPolicies?: Schema$InstanceGroupManagerAutoHealingPolicy[]; /** - * The base instance name to use for instances in this group. The value must be 1-58 characters long. Instances are named by appending a hyphen and a random four-character string to the base instance name. The base instance name must comply with RFC1035. + * The base instance name is a prefix that you want to attach to the names of all VMs in a MIG. The maximum character length is 58 and the name must comply with RFC1035 format. When a VM is created in the group, the MIG appends a hyphen and a random four-character string to the base instance name. If you want the MIG to assign sequential numbers instead of a random string, then end the base instance name with a hyphen followed by one or more hash symbols. The hash symbols indicate the number of digits. For example, a base instance name of "vm-###" results in "vm-001" as a VM name. @pattern [a-z](([-a-z0-9]{0,57\})|([-a-z0-9]{0,52\}-#{1,10\}(\\[[0-9]{1,10\}\\])?)) */ baseInstanceName?: string | null; /** @@ -7400,6 +7431,10 @@ export namespace compute_beta { * [Output Only] The name of the firewall policy. */ name?: string | null; + /** + * [Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY. + */ + priority?: number | null; /** * The rules that apply to the network. */ @@ -9875,10 +9910,6 @@ export namespace compute_beta { * Represents the port number to which PSC consumer sends packets. Only valid for network endpoint groups created with GCE_VM_IP_PORTMAP endpoint type. */ clientDestinationPort?: number | null; - /** - * Represents the port number to which PSC consumer sends packets. Only valid for network endpoint groups created with CLIENT_PORT_PER_ENDPOINT mapping mode. - */ - clientPort?: number | null; /** * Optional fully qualified domain name of network endpoint. This can only be specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT. */ @@ -9912,10 +9943,6 @@ export namespace compute_beta { * Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or cloudFunction may be set. */ appEngine?: Schema$NetworkEndpointGroupAppEngine; - /** - * Only valid when networkEndpointType is GCE_VM_IP_PORT and the NEG is regional. - */ - clientPortMappingMode?: string | null; /** * Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or cloudFunction may be set. */ @@ -12843,6 +12870,10 @@ export namespace compute_beta { * [Output Only] The name of the firewall policy. */ name?: string | null; + /** + * [Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY. + */ + priority?: number | null; /** * The rules that apply to the network. */ @@ -13449,6 +13480,10 @@ export namespace compute_beta { upcomingMaintenance?: Schema$UpcomingMaintenance; } export interface Schema$ResourceStatusScheduling { + /** + * Specifies the availability domain to place the instance in. The value must be a number between 1 and the number of availability domains specified in the spread placement policy attached to the instance. + */ + availabilityDomain?: number | null; /** * Time in future when the instance will be terminated in RFC3339 text format. */ @@ -14538,6 +14573,10 @@ export namespace compute_beta { * Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). You can only set the automatic restart option for standard instances. Preemptible instances cannot be automatically restarted. By default, this is set to true so an instance is automatically restarted if it is terminated by Compute Engine. */ automaticRestart?: boolean | null; + /** + * Specifies the availability domain to place the instance in. The value must be a number between 1 and the number of availability domains specified in the spread placement policy attached to the instance. + */ + availabilityDomain?: number | null; /** * Specify the time in seconds for host error detection, the value must be within the range of [90, 330] with the increment of 30, if unset, the default behavior of host error recovery will be used. */ @@ -18817,7 +18856,7 @@ export namespace compute_beta { */ selfLink?: string | null; /** - * The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified, IPV4_ONLY will be used. + * The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6, IPV6_ONLY. If not specified, IPV4_ONLY is used if the gateway IP version is IPV4, or IPV4_IPV6 if the gateway IP version is IPV6. */ stackType?: string | null; /** @@ -27707,6 +27746,96 @@ export namespace compute_beta { } } + /** + * Inserts a packet mirroring rule into a firewall policy. + * + * @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. + */ + addPacketMirroringRule( + params: Params$Resource$Firewallpolicies$Addpacketmirroringrule, + options: StreamMethodOptions + ): GaxiosPromise; + addPacketMirroringRule( + params?: Params$Resource$Firewallpolicies$Addpacketmirroringrule, + options?: MethodOptions + ): GaxiosPromise; + addPacketMirroringRule( + params: Params$Resource$Firewallpolicies$Addpacketmirroringrule, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + addPacketMirroringRule( + params: Params$Resource$Firewallpolicies$Addpacketmirroringrule, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + addPacketMirroringRule( + params: Params$Resource$Firewallpolicies$Addpacketmirroringrule, + callback: BodyResponseCallback + ): void; + addPacketMirroringRule( + callback: BodyResponseCallback + ): void; + addPacketMirroringRule( + paramsOrCallback?: + | Params$Resource$Firewallpolicies$Addpacketmirroringrule + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Firewallpolicies$Addpacketmirroringrule; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Firewallpolicies$Addpacketmirroringrule; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + + '/compute/beta/locations/global/firewallPolicies/{firewallPolicy}/addPacketMirroringRule' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['firewallPolicy'], + pathParams: ['firewallPolicy'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + /** * Inserts a rule into a firewall policy. * @@ -28242,6 +28371,99 @@ export namespace compute_beta { } } + /** + * Gets a packet mirroring rule of the specified priority. + * + * @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. + */ + getPacketMirroringRule( + params: Params$Resource$Firewallpolicies$Getpacketmirroringrule, + options: StreamMethodOptions + ): GaxiosPromise; + getPacketMirroringRule( + params?: Params$Resource$Firewallpolicies$Getpacketmirroringrule, + options?: MethodOptions + ): GaxiosPromise; + getPacketMirroringRule( + params: Params$Resource$Firewallpolicies$Getpacketmirroringrule, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + getPacketMirroringRule( + params: Params$Resource$Firewallpolicies$Getpacketmirroringrule, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + getPacketMirroringRule( + params: Params$Resource$Firewallpolicies$Getpacketmirroringrule, + callback: BodyResponseCallback + ): void; + getPacketMirroringRule( + callback: BodyResponseCallback + ): void; + getPacketMirroringRule( + paramsOrCallback?: + | Params$Resource$Firewallpolicies$Getpacketmirroringrule + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Firewallpolicies$Getpacketmirroringrule; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Firewallpolicies$Getpacketmirroringrule; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + + '/compute/beta/locations/global/firewallPolicies/{firewallPolicy}/getPacketMirroringRule' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['firewallPolicy'], + pathParams: ['firewallPolicy'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + /** * Gets a rule of the specified priority. * @@ -28783,6 +29005,97 @@ export namespace compute_beta { } } + /** + * Patches a packet mirroring rule of the specified priority. + * + * @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. + */ + patchPacketMirroringRule( + params: Params$Resource$Firewallpolicies$Patchpacketmirroringrule, + options: StreamMethodOptions + ): GaxiosPromise; + patchPacketMirroringRule( + params?: Params$Resource$Firewallpolicies$Patchpacketmirroringrule, + options?: MethodOptions + ): GaxiosPromise; + patchPacketMirroringRule( + params: Params$Resource$Firewallpolicies$Patchpacketmirroringrule, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patchPacketMirroringRule( + params: Params$Resource$Firewallpolicies$Patchpacketmirroringrule, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patchPacketMirroringRule( + params: Params$Resource$Firewallpolicies$Patchpacketmirroringrule, + callback: BodyResponseCallback + ): void; + patchPacketMirroringRule( + callback: BodyResponseCallback + ): void; + patchPacketMirroringRule( + paramsOrCallback?: + | Params$Resource$Firewallpolicies$Patchpacketmirroringrule + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Firewallpolicies$Patchpacketmirroringrule; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Firewallpolicies$Patchpacketmirroringrule; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + + '/compute/beta/locations/global/firewallPolicies/{firewallPolicy}/patchPacketMirroringRule' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['firewallPolicy'], + pathParams: ['firewallPolicy'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + /** * Patches a rule of the specified priority. * @@ -28959,6 +29272,97 @@ export namespace compute_beta { } } + /** + * Deletes a packet mirroring rule of the specified priority. + * + * @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. + */ + removePacketMirroringRule( + params: Params$Resource$Firewallpolicies$Removepacketmirroringrule, + options: StreamMethodOptions + ): GaxiosPromise; + removePacketMirroringRule( + params?: Params$Resource$Firewallpolicies$Removepacketmirroringrule, + options?: MethodOptions + ): GaxiosPromise; + removePacketMirroringRule( + params: Params$Resource$Firewallpolicies$Removepacketmirroringrule, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + removePacketMirroringRule( + params: Params$Resource$Firewallpolicies$Removepacketmirroringrule, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + removePacketMirroringRule( + params: Params$Resource$Firewallpolicies$Removepacketmirroringrule, + callback: BodyResponseCallback + ): void; + removePacketMirroringRule( + callback: BodyResponseCallback + ): void; + removePacketMirroringRule( + paramsOrCallback?: + | Params$Resource$Firewallpolicies$Removepacketmirroringrule + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Firewallpolicies$Removepacketmirroringrule; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Firewallpolicies$Removepacketmirroringrule; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + + '/compute/beta/locations/global/firewallPolicies/{firewallPolicy}/removePacketMirroringRule' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['firewallPolicy'], + pathParams: ['firewallPolicy'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + /** * Deletes a rule of the specified priority. * @@ -29251,6 +29655,22 @@ export namespace compute_beta { */ requestBody?: Schema$FirewallPolicyAssociation; } + export interface Params$Resource$Firewallpolicies$Addpacketmirroringrule + extends StandardParameters { + /** + * Name of the firewall policy to update. + */ + firewallPolicy?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$FirewallPolicyRule; + } export interface Params$Resource$Firewallpolicies$Addrule extends StandardParameters { /** @@ -29322,6 +29742,17 @@ export namespace compute_beta { */ resource?: string; } + export interface Params$Resource$Firewallpolicies$Getpacketmirroringrule + extends StandardParameters { + /** + * Name of the firewall policy to which the queried rule belongs. + */ + firewallPolicy?: string; + /** + * The priority of the rule to get from the firewall policy. + */ + priority?: number; + } export interface Params$Resource$Firewallpolicies$Getrule extends StandardParameters { /** @@ -29414,6 +29845,26 @@ export namespace compute_beta { */ requestBody?: Schema$FirewallPolicy; } + export interface Params$Resource$Firewallpolicies$Patchpacketmirroringrule + extends StandardParameters { + /** + * Name of the firewall policy to update. + */ + firewallPolicy?: string; + /** + * The priority of the rule to patch. + */ + priority?: number; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$FirewallPolicyRule; + } export interface Params$Resource$Firewallpolicies$Patchrule extends StandardParameters { /** @@ -29449,6 +29900,21 @@ export namespace compute_beta { */ requestId?: string; } + export interface Params$Resource$Firewallpolicies$Removepacketmirroringrule + extends StandardParameters { + /** + * Name of the firewall policy to update. + */ + firewallPolicy?: string; + /** + * The priority of the rule to remove from the firewall policy. + */ + priority?: number; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + } export interface Params$Resource$Firewallpolicies$Removerule extends StandardParameters { /** @@ -59902,6 +60368,97 @@ export namespace compute_beta { } } + /** + * Inserts a packet mirroring rule into a firewall policy. + * + * @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. + */ + addPacketMirroringRule( + params: Params$Resource$Networkfirewallpolicies$Addpacketmirroringrule, + options: StreamMethodOptions + ): GaxiosPromise; + addPacketMirroringRule( + params?: Params$Resource$Networkfirewallpolicies$Addpacketmirroringrule, + options?: MethodOptions + ): GaxiosPromise; + addPacketMirroringRule( + params: Params$Resource$Networkfirewallpolicies$Addpacketmirroringrule, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + addPacketMirroringRule( + params: Params$Resource$Networkfirewallpolicies$Addpacketmirroringrule, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + addPacketMirroringRule( + params: Params$Resource$Networkfirewallpolicies$Addpacketmirroringrule, + callback: BodyResponseCallback + ): void; + addPacketMirroringRule( + callback: BodyResponseCallback + ): void; + addPacketMirroringRule( + paramsOrCallback?: + | Params$Resource$Networkfirewallpolicies$Addpacketmirroringrule + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Networkfirewallpolicies$Addpacketmirroringrule; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Networkfirewallpolicies$Addpacketmirroringrule; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + + '/compute/beta/projects/{project}/global/firewallPolicies/{firewallPolicy}/addPacketMirroringRule' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['project', 'firewallPolicy'], + pathParams: ['firewallPolicy', 'project'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + /** * Inserts a rule into a firewall policy. * @@ -60437,6 +60994,100 @@ export namespace compute_beta { } } + /** + * Gets a packet mirroring rule of the specified priority. + * + * @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. + */ + getPacketMirroringRule( + params: Params$Resource$Networkfirewallpolicies$Getpacketmirroringrule, + options: StreamMethodOptions + ): GaxiosPromise; + getPacketMirroringRule( + params?: Params$Resource$Networkfirewallpolicies$Getpacketmirroringrule, + options?: MethodOptions + ): GaxiosPromise; + getPacketMirroringRule( + params: Params$Resource$Networkfirewallpolicies$Getpacketmirroringrule, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + getPacketMirroringRule( + params: Params$Resource$Networkfirewallpolicies$Getpacketmirroringrule, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + getPacketMirroringRule( + params: Params$Resource$Networkfirewallpolicies$Getpacketmirroringrule, + callback: BodyResponseCallback + ): void; + getPacketMirroringRule( + callback: BodyResponseCallback + ): void; + getPacketMirroringRule( + paramsOrCallback?: + | Params$Resource$Networkfirewallpolicies$Getpacketmirroringrule + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Networkfirewallpolicies$Getpacketmirroringrule; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Networkfirewallpolicies$Getpacketmirroringrule; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + + '/compute/beta/projects/{project}/global/firewallPolicies/{firewallPolicy}/getPacketMirroringRule' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['project', 'firewallPolicy'], + pathParams: ['firewallPolicy', 'project'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + /** * Gets a rule of the specified priority. * @@ -60795,6 +61446,97 @@ export namespace compute_beta { } } + /** + * Patches a packet mirroring rule of the specified priority. + * + * @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. + */ + patchPacketMirroringRule( + params: Params$Resource$Networkfirewallpolicies$Patchpacketmirroringrule, + options: StreamMethodOptions + ): GaxiosPromise; + patchPacketMirroringRule( + params?: Params$Resource$Networkfirewallpolicies$Patchpacketmirroringrule, + options?: MethodOptions + ): GaxiosPromise; + patchPacketMirroringRule( + params: Params$Resource$Networkfirewallpolicies$Patchpacketmirroringrule, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patchPacketMirroringRule( + params: Params$Resource$Networkfirewallpolicies$Patchpacketmirroringrule, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patchPacketMirroringRule( + params: Params$Resource$Networkfirewallpolicies$Patchpacketmirroringrule, + callback: BodyResponseCallback + ): void; + patchPacketMirroringRule( + callback: BodyResponseCallback + ): void; + patchPacketMirroringRule( + paramsOrCallback?: + | Params$Resource$Networkfirewallpolicies$Patchpacketmirroringrule + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Networkfirewallpolicies$Patchpacketmirroringrule; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Networkfirewallpolicies$Patchpacketmirroringrule; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + + '/compute/beta/projects/{project}/global/firewallPolicies/{firewallPolicy}/patchPacketMirroringRule' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['project', 'firewallPolicy'], + pathParams: ['firewallPolicy', 'project'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + /** * Patches a rule of the specified priority. * @@ -60972,6 +61714,97 @@ export namespace compute_beta { } } + /** + * Deletes a packet mirroring rule of the specified priority. + * + * @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. + */ + removePacketMirroringRule( + params: Params$Resource$Networkfirewallpolicies$Removepacketmirroringrule, + options: StreamMethodOptions + ): GaxiosPromise; + removePacketMirroringRule( + params?: Params$Resource$Networkfirewallpolicies$Removepacketmirroringrule, + options?: MethodOptions + ): GaxiosPromise; + removePacketMirroringRule( + params: Params$Resource$Networkfirewallpolicies$Removepacketmirroringrule, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + removePacketMirroringRule( + params: Params$Resource$Networkfirewallpolicies$Removepacketmirroringrule, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + removePacketMirroringRule( + params: Params$Resource$Networkfirewallpolicies$Removepacketmirroringrule, + callback: BodyResponseCallback + ): void; + removePacketMirroringRule( + callback: BodyResponseCallback + ): void; + removePacketMirroringRule( + paramsOrCallback?: + | Params$Resource$Networkfirewallpolicies$Removepacketmirroringrule + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Networkfirewallpolicies$Removepacketmirroringrule; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Networkfirewallpolicies$Removepacketmirroringrule; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + + '/compute/beta/projects/{project}/global/firewallPolicies/{firewallPolicy}/removePacketMirroringRule' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['project', 'firewallPolicy'], + pathParams: ['firewallPolicy', 'project'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + /** * Deletes a rule of the specified priority. * @@ -61269,6 +62102,34 @@ export namespace compute_beta { */ requestBody?: Schema$FirewallPolicyAssociation; } + export interface Params$Resource$Networkfirewallpolicies$Addpacketmirroringrule + extends StandardParameters { + /** + * Name of the firewall policy to update. + */ + firewallPolicy?: string; + /** + * When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority\>. This field is exclusive with rule.priority. + */ + maxPriority?: number; + /** + * When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority\>. This field is exclusive with rule.priority. + */ + minPriority?: number; + /** + * Project ID for this request. + */ + project?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$FirewallPolicyRule; + } export interface Params$Resource$Networkfirewallpolicies$Addrule extends StandardParameters { /** @@ -61372,6 +62233,21 @@ export namespace compute_beta { */ resource?: string; } + export interface Params$Resource$Networkfirewallpolicies$Getpacketmirroringrule + extends StandardParameters { + /** + * Name of the firewall policy to which the queried rule belongs. + */ + firewallPolicy?: string; + /** + * The priority of the rule to get from the firewall policy. + */ + priority?: number; + /** + * Project ID for this request. + */ + project?: string; + } export interface Params$Resource$Networkfirewallpolicies$Getrule extends StandardParameters { /** @@ -61450,6 +62326,30 @@ export namespace compute_beta { */ requestBody?: Schema$FirewallPolicy; } + export interface Params$Resource$Networkfirewallpolicies$Patchpacketmirroringrule + extends StandardParameters { + /** + * Name of the firewall policy to update. + */ + firewallPolicy?: string; + /** + * The priority of the rule to patch. + */ + priority?: number; + /** + * Project ID for this request. + */ + project?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$FirewallPolicyRule; + } export interface Params$Resource$Networkfirewallpolicies$Patchrule extends StandardParameters { /** @@ -61493,6 +62393,25 @@ export namespace compute_beta { */ requestId?: string; } + export interface Params$Resource$Networkfirewallpolicies$Removepacketmirroringrule + extends StandardParameters { + /** + * Name of the firewall policy to update. + */ + firewallPolicy?: string; + /** + * The priority of the rule to remove from the firewall policy. + */ + priority?: number; + /** + * Project ID for this request. + */ + project?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + } export interface Params$Resource$Networkfirewallpolicies$Removerule extends StandardParameters { /** @@ -86920,7 +87839,7 @@ export namespace compute_beta { } /** - * Returns the specified Region resource. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request. + * Returns the specified Region resource. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request. This method fails if the quota information is unavailable for the region and if the organization policy constraint compute.requireBasicQuotaInResponse is enforced. This constraint, when enforced, disables the fail-open behaviour when quota information (the `items.quotas` field) is unavailable for the region. It is recommended to use the default setting for the constraint unless your application requires the fail-closed behaviour for this method. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. diff --git a/src/apis/compute/v1.ts b/src/apis/compute/v1.ts index a5f20c9eab..35fc1b3801 100644 --- a/src/apis/compute/v1.ts +++ b/src/apis/compute/v1.ts @@ -1757,6 +1757,9 @@ export namespace compute_v1 { * The backend service timeout has a different meaning depending on the type of load balancer. For more information see, Backend service settings. The default is 30 seconds. The full range of timeout values allowed goes from 1 through 2,147,483,647 seconds. This value can be overridden in the PathMatcher configuration of the UrlMap that references this backend service. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. Instead, use maxStreamDuration. */ timeoutSec?: number | null; + /** + * [Output Only] List of resources referencing given backend service. + */ usedBy?: Schema$BackendServiceUsedBy[]; } /** @@ -2078,6 +2081,9 @@ export namespace compute_v1 { } | null; } export interface Schema$BackendServiceUsedBy { + /** + * [Output Only] Server-defined URL for resources referencing given BackendService like UrlMaps, TargetTcpProxies, TargetSslProxies and ForwardingRule. + */ reference?: string | null; } export interface Schema$BfdPacket { @@ -5775,7 +5781,7 @@ export namespace compute_v1 { */ autoHealingPolicies?: Schema$InstanceGroupManagerAutoHealingPolicy[]; /** - * The base instance name to use for instances in this group. The value must be 1-58 characters long. Instances are named by appending a hyphen and a random four-character string to the base instance name. The base instance name must comply with RFC1035. + * The base instance name is a prefix that you want to attach to the names of all VMs in a MIG. The maximum character length is 58 and the name must comply with RFC1035 format. When a VM is created in the group, the MIG appends a hyphen and a random four-character string to the base instance name. If you want the MIG to assign sequential numbers instead of a random string, then end the base instance name with a hyphen followed by one or more hash symbols. The hash symbols indicate the number of digits. For example, a base instance name of "vm-###" results in "vm-001" as a VM name. @pattern [a-z](([-a-z0-9]{0,57\})|([-a-z0-9]{0,52\}-#{1,10\}(\\[[0-9]{1,10\}\\])?)) */ baseInstanceName?: string | null; /** @@ -13518,6 +13524,10 @@ export namespace compute_v1 { * Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). You can only set the automatic restart option for standard instances. Preemptible instances cannot be automatically restarted. By default, this is set to true so an instance is automatically restarted if it is terminated by Compute Engine. */ automaticRestart?: boolean | null; + /** + * Specifies the availability domain to place the instance in. The value must be a number between 1 and the number of availability domains specified in the spread placement policy attached to the instance. + */ + availabilityDomain?: number | null; /** * Specifies the termination action for the instance. */ @@ -17540,7 +17550,7 @@ export namespace compute_v1 { */ selfLink?: string | null; /** - * The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified, IPV4_ONLY will be used. + * The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6, IPV6_ONLY. If not specified, IPV4_ONLY is used if the gateway IP version is IPV4, or IPV4_IPV6 if the gateway IP version is IPV6. */ stackType?: string | null; /** @@ -78463,7 +78473,7 @@ export namespace compute_v1 { } /** - * Returns the specified Region resource. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request. + * Returns the specified Region resource. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request. This method fails if the quota information is unavailable for the region and if the organization policy constraint compute.requireBasicQuotaInResponse is enforced. This constraint, when enforced, disables the fail-open behaviour when quota information (the `items.quotas` field) is unavailable for the region. It is recommended to use the default setting for the constraint unless your application requires the fail-closed behaviour for this method. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. diff --git a/src/apis/connectors/v1.ts b/src/apis/connectors/v1.ts index 15d7b90c18..769a500723 100644 --- a/src/apis/connectors/v1.ts +++ b/src/apis/connectors/v1.ts @@ -227,7 +227,7 @@ export namespace connectors_v1 { /** * Optional. Omit query params from the redirect URI. */ - omitQueryParams?: string | null; + omitQueryParams?: boolean | null; /** * The scopes for which the user will authorize Google Cloud Connectors on the connector data source. */ @@ -2134,7 +2134,7 @@ export namespace connectors_v1 { */ multipleSelectOptions?: Schema$MultipleSelectOption[]; /** - * Required. Value separator. + * Required. Value separator. Only "," can be used for OAuth auth code flow scope field. */ valueSeparator?: string | null; } @@ -2496,6 +2496,10 @@ export namespace connectors_v1 { * The data type of the field. */ dataType?: string | null; + /** + * The following field specifies the default value of the Parameter provided by the external system if a value is not provided. + */ + defaultValue?: any | null; /** * A brief description of the field. */ @@ -2508,6 +2512,10 @@ export namespace connectors_v1 { * JsonSchema representation of this action's result */ jsonSchema?: Schema$JsonSchema; + /** + * Specifies whether a null value is allowed. + */ + nullable?: boolean | null; } /** * Request message for ConnectorsService.RefreshEventSubscription diff --git a/src/apis/connectors/v2.ts b/src/apis/connectors/v2.ts index fdd3293a54..8861e291d8 100644 --- a/src/apis/connectors/v2.ts +++ b/src/apis/connectors/v2.ts @@ -754,6 +754,10 @@ export namespace connectors_v2 { * The data type of the metadata field */ dataType?: string | null; + /** + * The following field specifies the default value of the Parameter provided by the external system if a value is not provided. + */ + defaultValue?: any | null; /** * A brief description of the metadata field. */ @@ -766,6 +770,10 @@ export namespace connectors_v2 { * Name of the metadata field. */ name?: string | null; + /** + * Specifies whether a null value is allowed. + */ + nullable?: boolean | null; } /** * Configure the schedule. diff --git a/src/apis/contactcenterinsights/v1.ts b/src/apis/contactcenterinsights/v1.ts index 29293368f7..0a36ff1597 100644 --- a/src/apis/contactcenterinsights/v1.ts +++ b/src/apis/contactcenterinsights/v1.ts @@ -1580,6 +1580,10 @@ export namespace contactcenterinsights_v1 { * Query text. Article Search uses this to store the input query used to generate the search results. */ query?: string | null; + /** + * Query source for the answer. + */ + querySource?: string | null; } /** * The data for a sentiment annotation. @@ -3449,6 +3453,10 @@ export namespace contactcenterinsights_v1 { * Query text. Article Search uses this to store the input query used to generate the search results. */ query?: string | null; + /** + * Query source for the answer. + */ + querySource?: string | null; } /** * The data for a sentiment annotation. diff --git a/src/apis/container/v1.ts b/src/apis/container/v1.ts index 7be0c5cdf0..c1332b9a84 100644 --- a/src/apis/container/v1.ts +++ b/src/apis/container/v1.ts @@ -167,15 +167,15 @@ export namespace container_v1 { */ export interface Schema$AdditionalPodNetworkConfig { /** - * The maximum number of pods per node which use this pod network + * The maximum number of pods per node which use this pod network. */ maxPodsPerNode?: Schema$MaxPodsConstraint; /** - * The name of the secondary range on the subnet which provides IP address for this pod range + * The name of the secondary range on the subnet which provides IP address for this pod range. */ secondaryPodRange?: string | null; /** - * Name of the subnetwork where the additional pod network belongs + * Name of the subnetwork where the additional pod network belongs. */ subnetwork?: string | null; } @@ -240,6 +240,10 @@ export namespace container_v1 { * Configuration for NetworkPolicy. This only tracks whether the addon is enabled or not on the Master, it does not track whether network policy is enabled for the nodes. */ networkPolicyConfig?: Schema$NetworkPolicyConfig; + /** + * Optional. Configuration for Ray Operator addon. + */ + rayOperatorConfig?: Schema$RayOperatorConfig; /** * Optional. Configuration for the StatefulHA add-on. */ @@ -2800,6 +2804,41 @@ export namespace container_v1 { */ utilization?: number | null; } + /** + * RayClusterLoggingConfig specifies configuration of Ray logging. + */ + export interface Schema$RayClusterLoggingConfig { + /** + * Enable log collection for Ray clusters. + */ + enabled?: boolean | null; + } + /** + * RayClusterMonitoringConfig specifies monitoring configuration for Ray clusters. + */ + export interface Schema$RayClusterMonitoringConfig { + /** + * Enable metrics collection for Ray clusters. + */ + enabled?: boolean | null; + } + /** + * Configuration options for the Ray Operator add-on. + */ + export interface Schema$RayOperatorConfig { + /** + * Whether the Ray Operator addon is enabled for this cluster. + */ + enabled?: boolean | null; + /** + * Optional. Logging configuration for Ray clusters. + */ + rayClusterLoggingConfig?: Schema$RayClusterLoggingConfig; + /** + * Optional. Monitoring configuration for Ray clusters. + */ + rayClusterMonitoringConfig?: Schema$RayClusterMonitoringConfig; + } /** * Represents an arbitrary window of time that recurs. */ diff --git a/src/apis/container/v1beta1.ts b/src/apis/container/v1beta1.ts index 36d273378a..f1cb54f034 100644 --- a/src/apis/container/v1beta1.ts +++ b/src/apis/container/v1beta1.ts @@ -252,6 +252,10 @@ export namespace container_v1beta1 { * Configuration for NetworkPolicy. This only tracks whether the addon is enabled or not on the Master, it does not track whether network policy is enabled for the nodes. */ networkPolicyConfig?: Schema$NetworkPolicyConfig; + /** + * Optional. Configuration for Ray Operator addon. + */ + rayOperatorConfig?: Schema$RayOperatorConfig; /** * Optional. Configuration for the StatefulHA add-on. */ @@ -3125,6 +3129,41 @@ export namespace container_v1beta1 { */ utilization?: number | null; } + /** + * RayClusterLoggingConfig specifies logging configuration for Ray clusters. + */ + export interface Schema$RayClusterLoggingConfig { + /** + * Enable log collection for Ray clusters. + */ + enabled?: boolean | null; + } + /** + * RayClusterMonitoringConfig specifies monitoring configuration for Ray clusters. + */ + export interface Schema$RayClusterMonitoringConfig { + /** + * Enable metrics collection for Ray clusters. + */ + enabled?: boolean | null; + } + /** + * Configuration options for the Ray Operator add-on. + */ + export interface Schema$RayOperatorConfig { + /** + * Whether the Ray addon is enabled for this cluster. + */ + enabled?: boolean | null; + /** + * Optional. Logging configuration for Ray clusters. + */ + rayClusterLoggingConfig?: Schema$RayClusterLoggingConfig; + /** + * Optional. Monitoring configuration for Ray clusters. + */ + rayClusterMonitoringConfig?: Schema$RayClusterMonitoringConfig; + } /** * Represents an arbitrary window of time that recurs. */ diff --git a/src/apis/containeranalysis/v1.ts b/src/apis/containeranalysis/v1.ts index aecfcb2902..d743136678 100644 --- a/src/apis/containeranalysis/v1.ts +++ b/src/apis/containeranalysis/v1.ts @@ -1113,23 +1113,6 @@ export namespace containeranalysis_v1 { */ fileHash?: Schema$ContaineranalysisGoogleDevtoolsCloudbuildV1Hash[]; } - /** - * Represents a storage location in Cloud Storage - */ - export interface Schema$ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation { - /** - * Cloud Storage bucket. See https://cloud.google.com/storage/docs/naming#requirements - */ - bucket?: string | null; - /** - * Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - */ - generation?: string | null; - /** - * Cloud Storage object. See https://cloud.google.com/storage/docs/naming#objectnames - */ - object?: string | null; - } /** * GitConfig is a configuration for git operations. */ @@ -1144,13 +1127,9 @@ export namespace containeranalysis_v1 { */ export interface Schema$ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig { /** - * SecretVersion resource of the HTTP proxy URL. The proxy URL should be in format protocol://@]proxyhost[:port]. + * SecretVersion resource of the HTTP proxy URL. The Service Account used in the build (either the default Service Account or user-specified Service Account) should have `secretmanager.versions.access` permissions on this secret. The proxy URL should be in format `protocol://@]proxyhost[:port]`. */ proxySecretVersionName?: string | null; - /** - * Optional. Cloud Storage object storing the certificate to use with the HTTP proxy. - */ - proxySslCaInfo?: Schema$ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation; } /** * Location of the source in any accessible Git repository. @@ -1696,10 +1675,6 @@ export namespace containeranalysis_v1 { * The status of an SBOM generation. */ sbomStatus?: Schema$SBOMStatus; - /** - * The status of an vulnerability attestation generation. - */ - vulnerabilityAttestation?: Schema$VulnerabilityAttestation; } /** * This represents a particular channel of distribution for a given package. E.g., Debian's jessie-backports dpkg mirror. @@ -3175,23 +3150,6 @@ export namespace containeranalysis_v1 { */ title?: string | null; } - /** - * The status of an vulnerability attestation generation. - */ - export interface Schema$VulnerabilityAttestation { - /** - * If failure, the error reason for why the attestation generation failed. - */ - error?: string | null; - /** - * The last time we attempted to generate an attestation. - */ - lastAttemptTime?: string | null; - /** - * The success/failure state of the latest attestation attempt. - */ - state?: string | null; - } /** * A security vulnerability that can be found in resources. */ diff --git a/src/apis/containeranalysis/v1alpha1.ts b/src/apis/containeranalysis/v1alpha1.ts index 543aa56214..35b902ae01 100644 --- a/src/apis/containeranalysis/v1alpha1.ts +++ b/src/apis/containeranalysis/v1alpha1.ts @@ -1093,23 +1093,6 @@ export namespace containeranalysis_v1alpha1 { */ fileHash?: Schema$ContaineranalysisGoogleDevtoolsCloudbuildV1Hash[]; } - /** - * Represents a storage location in Cloud Storage - */ - export interface Schema$ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation { - /** - * Cloud Storage bucket. See https://cloud.google.com/storage/docs/naming#requirements - */ - bucket?: string | null; - /** - * Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - */ - generation?: string | null; - /** - * Cloud Storage object. See https://cloud.google.com/storage/docs/naming#objectnames - */ - object?: string | null; - } /** * GitConfig is a configuration for git operations. */ @@ -1124,13 +1107,9 @@ export namespace containeranalysis_v1alpha1 { */ export interface Schema$ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig { /** - * SecretVersion resource of the HTTP proxy URL. The proxy URL should be in format protocol://@]proxyhost[:port]. + * SecretVersion resource of the HTTP proxy URL. The Service Account used in the build (either the default Service Account or user-specified Service Account) should have `secretmanager.versions.access` permissions on this secret. The proxy URL should be in format `protocol://@]proxyhost[:port]`. */ proxySecretVersionName?: string | null; - /** - * Optional. Cloud Storage object storing the certificate to use with the HTTP proxy. - */ - proxySslCaInfo?: Schema$ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation; } /** * Location of the source in any accessible Git repository. diff --git a/src/apis/containeranalysis/v1beta1.ts b/src/apis/containeranalysis/v1beta1.ts index ab5692d094..c6ed110874 100644 --- a/src/apis/containeranalysis/v1beta1.ts +++ b/src/apis/containeranalysis/v1beta1.ts @@ -1037,23 +1037,6 @@ export namespace containeranalysis_v1beta1 { */ fileHash?: Schema$ContaineranalysisGoogleDevtoolsCloudbuildV1Hash[]; } - /** - * Represents a storage location in Cloud Storage - */ - export interface Schema$ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation { - /** - * Cloud Storage bucket. See https://cloud.google.com/storage/docs/naming#requirements - */ - bucket?: string | null; - /** - * Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - */ - generation?: string | null; - /** - * Cloud Storage object. See https://cloud.google.com/storage/docs/naming#objectnames - */ - object?: string | null; - } /** * GitConfig is a configuration for git operations. */ @@ -1068,13 +1051,9 @@ export namespace containeranalysis_v1beta1 { */ export interface Schema$ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig { /** - * SecretVersion resource of the HTTP proxy URL. The proxy URL should be in format protocol://@]proxyhost[:port]. + * SecretVersion resource of the HTTP proxy URL. The Service Account used in the build (either the default Service Account or user-specified Service Account) should have `secretmanager.versions.access` permissions on this secret. The proxy URL should be in format `protocol://@]proxyhost[:port]`. */ proxySecretVersionName?: string | null; - /** - * Optional. Cloud Storage object storing the certificate to use with the HTTP proxy. - */ - proxySslCaInfo?: Schema$ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation; } /** * Location of the source in any accessible Git repository. diff --git a/src/apis/css/README.md b/src/apis/css/README.md new file mode 100644 index 0000000000..3ee0d3d019 --- /dev/null +++ b/src/apis/css/README.md @@ -0,0 +1,28 @@ +Google Inc. logo + +# css + +> Programmatically manage your Comparison Shopping Service (CSS) account data at scale. + +## Installation + +```sh +$ npm install @googleapis/css +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/googleapis/google-api-nodejs-client). +Information on classes can be found in [Googleapis Documentation](https://googleapis.dev/nodejs/googleapis/latest/css/classes/Css.html). + +## License +This library is licensed under Apache 2.0. Full license text is available in [LICENSE](https://github.com/googleapis/google-api-nodejs-client/blob/main/LICENSE). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/main/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/googleapis/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/css/index.ts b/src/apis/css/index.ts new file mode 100644 index 0000000000..839020f224 --- /dev/null +++ b/src/apis/css/index.ts @@ -0,0 +1,44 @@ +// Copyright 2020 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +/*! THIS FILE IS AUTO-GENERATED */ + +import {AuthPlus, getAPI, GoogleConfigurable} from 'googleapis-common'; +import {css_v1} from './v1'; + +export const VERSIONS = { + v1: css_v1.Css, +}; + +export function css(version: 'v1'): css_v1.Css; +export function css(options: css_v1.Options): css_v1.Css; +export function css( + this: GoogleConfigurable, + versionOrOptions: 'v1' | css_v1.Options +) { + return getAPI('css', versionOrOptions, VERSIONS, this); +} + +const auth = new AuthPlus(); +export {auth}; +export {css_v1}; +export { + AuthPlus, + GlobalOptions, + APIRequestContext, + GoogleConfigurable, + StreamMethodOptions, + GaxiosPromise, + MethodOptions, + BodyResponseCallback, +} from 'googleapis-common'; diff --git a/src/apis/css/package.json b/src/apis/css/package.json new file mode 100644 index 0000000000..8926e93759 --- /dev/null +++ b/src/apis/css/package.json @@ -0,0 +1,43 @@ +{ + "name": "@googleapis/css", + "version": "0.1.0", + "description": "css", + "main": "build/index.js", + "types": "build/index.d.ts", + "keywords": [ + "google" + ], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/googleapis/google-api-nodejs-client", + "bugs": { + "url": "https://github.com/googleapis/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/googleapis/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=12.0.0" + }, + "scripts": { + "fix": "gts fix", + "lint": "gts check", + "compile": "tsc -p .", + "prepare": "npm run compile", + "webpack": "webpack" + }, + "dependencies": { + "googleapis-common": "^7.0.0" + }, + "devDependencies": { + "@microsoft/api-documenter": "^7.8.10", + "@microsoft/api-extractor": "^7.8.10", + "gts": "^5.0.0", + "null-loader": "^4.0.0", + "ts-loader": "^9.0.0", + "typescript": "~4.8.4", + "webpack": "^5.0.0", + "webpack-cli": "^5.0.0" + } +} diff --git a/src/apis/css/tsconfig.json b/src/apis/css/tsconfig.json new file mode 100644 index 0000000000..e081090496 --- /dev/null +++ b/src/apis/css/tsconfig.json @@ -0,0 +1,10 @@ +{ + "extends": "./node_modules/gts/tsconfig-google.json", + "compilerOptions": { + "rootDir": ".", + "outDir": "build" + }, + "include": [ + "*.ts", + ] +} diff --git a/src/apis/css/v1.ts b/src/apis/css/v1.ts new file mode 100644 index 0000000000..a7bad11b32 --- /dev/null +++ b/src/apis/css/v1.ts @@ -0,0 +1,1844 @@ +// Copyright 2020 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +/* eslint-disable @typescript-eslint/no-explicit-any */ +/* eslint-disable @typescript-eslint/no-unused-vars */ +/* eslint-disable @typescript-eslint/no-empty-interface */ +/* eslint-disable @typescript-eslint/no-namespace */ +/* eslint-disable no-irregular-whitespace */ + +import { + OAuth2Client, + JWT, + Compute, + UserRefreshClient, + BaseExternalAccountClient, + GaxiosPromise, + GoogleConfigurable, + createAPIRequest, + MethodOptions, + StreamMethodOptions, + GlobalOptions, + GoogleAuth, + BodyResponseCallback, + APIRequestContext, +} from 'googleapis-common'; +import {Readable} from 'stream'; + +export namespace css_v1 { + export interface Options extends GlobalOptions { + version: 'v1'; + } + + interface StandardParameters { + /** + * Auth client or API Key for the request + */ + auth?: + | string + | OAuth2Client + | JWT + | Compute + | UserRefreshClient + | BaseExternalAccountClient + | GoogleAuth; + + /** + * V1 error format. + */ + '$.xgafv'?: string; + /** + * OAuth access token. + */ + access_token?: string; + /** + * Data format for response. + */ + alt?: string; + /** + * JSONP + */ + callback?: string; + /** + * Selector specifying which fields to include in a partial response. + */ + fields?: string; + /** + * API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. + */ + key?: string; + /** + * OAuth 2.0 token for the current user. + */ + oauth_token?: string; + /** + * Returns response with indentations and line breaks. + */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + */ + quotaUser?: string; + /** + * Legacy upload protocol for media (e.g. "media", "multipart"). + */ + uploadType?: string; + /** + * Upload protocol for media (e.g. "raw", "multipart"). + */ + upload_protocol?: string; + } + + /** + * CSS API + * + * Programmatically manage your Comparison Shopping Service (CSS) account data at scale. + * + * @example + * ```js + * const {google} = require('googleapis'); + * const css = google.css('v1'); + * ``` + */ + export class Css { + context: APIRequestContext; + accounts: Resource$Accounts; + + constructor(options: GlobalOptions, google?: GoogleConfigurable) { + this.context = { + _options: options || {}, + google, + }; + + this.accounts = new Resource$Accounts(this.context); + } + } + + /** + * Information about CSS/MC account. + */ + export interface Schema$Account { + /** + * Output only. The type of this account. + */ + accountType?: string | null; + /** + * Automatically created label IDs assigned to the MC account by CSS Center. + */ + automaticLabelIds?: string[] | null; + /** + * The CSS/MC account's short display name. + */ + displayName?: string | null; + /** + * Output only. Immutable. The CSS/MC account's full name. + */ + fullName?: string | null; + /** + * Output only. Immutable. The CSS/MC account's homepage. + */ + homepageUri?: string | null; + /** + * Manually created label IDs assigned to the CSS/MC account by a CSS parent account. + */ + labelIds?: string[] | null; + /** + * The label resource name. Format: accounts/{account\} + */ + name?: string | null; + /** + * The CSS/MC account's parent resource. CSS group for CSS domains; CSS domain for MC accounts. Returned only if the user has access to the parent account. + */ + parent?: string | null; + } + /** + * Label assigned by CSS domain or CSS group to one of its sub-accounts. + */ + export interface Schema$AccountLabel { + /** + * Output only. The ID of account this label belongs to. + */ + accountId?: string | null; + /** + * The description of this label. + */ + description?: string | null; + /** + * The display name of this label. + */ + displayName?: string | null; + /** + * Output only. The ID of the label. + */ + labelId?: string | null; + /** + * Output only. The type of this label. + */ + labelType?: string | null; + /** + * The resource name of the label. Format: accounts/{account\}/labels/{label\} + */ + name?: string | null; + } + /** + * Attributes for CSS Product. + */ + export interface Schema$Attributes { + /** + * Additional URL of images of the item. + */ + additionalImageLinks?: string[] | null; + /** + * Set to true if the item is targeted towards adults. + */ + adult?: boolean | null; + /** + * Target age group of the item. + */ + ageGroup?: string | null; + /** + * Product Related Attributes.[14-36] Brand of the item. + */ + brand?: string | null; + /** + * A list of certificates claimed by the CSS for the given product. + */ + certifications?: Schema$Certification[]; + /** + * Color of the item. + */ + color?: string | null; + /** + * Allows advertisers to override the item URL when the product is shown within the context of Product Ads. + */ + cppAdsRedirect?: string | null; + /** + * URL directly linking to your the Product Detail Page of the CSS. + */ + cppLink?: string | null; + /** + * URL for the mobile-optimized version of the Product Detail Page of the CSS. + */ + cppMobileLink?: string | null; + /** + * Custom label 0 for custom grouping of items in a Shopping campaign. + */ + customLabel0?: string | null; + /** + * Custom label 1 for custom grouping of items in a Shopping campaign. + */ + customLabel1?: string | null; + /** + * Custom label 2 for custom grouping of items in a Shopping campaign. + */ + customLabel2?: string | null; + /** + * Custom label 3 for custom grouping of items in a Shopping campaign. + */ + customLabel3?: string | null; + /** + * Custom label 4 for custom grouping of items in a Shopping campaign. + */ + customLabel4?: string | null; + /** + * Description of the item. + */ + description?: string | null; + /** + * The list of destinations to exclude for this target (corresponds to unchecked check boxes in Merchant Center). + */ + excludedDestinations?: string[] | null; + /** + * Date on which the item should expire, as specified upon insertion, in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format. The actual expiration date is exposed in `productstatuses` as [googleExpirationDate](https://support.google.com/merchants/answer/6324499) and might be earlier if `expirationDate` is too far in the future. Note: It may take 2+ days from the expiration date for the item to actually get deleted. + */ + expirationDate?: string | null; + /** + * Target gender of the item. + */ + gender?: string | null; + /** + * Google's category of the item (see [Google product taxonomy](https://support.google.com/merchants/answer/1705911)). When querying products, this field will contain the user provided value. There is currently no way to get back the auto assigned google product categories through the API. + */ + googleProductCategory?: string | null; + /** + * Global Trade Item Number ([GTIN](https://support.google.com/merchants/answer/188494#gtin)) of the item. + */ + gtin?: string | null; + /** + * Condition of the headline offer. + */ + headlineOfferCondition?: string | null; + /** + * Link to the headline offer. + */ + headlineOfferLink?: string | null; + /** + * Mobile Link to the headline offer. + */ + headlineOfferMobileLink?: string | null; + /** + * Headline Price of the aggregate offer. + */ + headlineOfferPrice?: Schema$Price; + /** + * Headline Price of the aggregate offer. + */ + headlineOfferShippingPrice?: Schema$Price; + /** + * High Price of the aggregate offer. + */ + highPrice?: Schema$Price; + /** + * URL of an image of the item. + */ + imageLink?: string | null; + /** + * The list of destinations to include for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included unless provided in `excludedDestinations`. + */ + includedDestinations?: string[] | null; + /** + * Whether the item is a merchant-defined bundle. A bundle is a custom grouping of different products sold by a merchant for a single price. + */ + isBundle?: boolean | null; + /** + * Shared identifier for all variants of the same product. + */ + itemGroupId?: string | null; + /** + * Low Price of the aggregate offer. + */ + lowPrice?: Schema$Price; + /** + * The material of which the item is made. + */ + material?: string | null; + /** + * Manufacturer Part Number ([MPN](https://support.google.com/merchants/answer/188494#mpn)) of the item. + */ + mpn?: string | null; + /** + * The number of identical products in a merchant-defined multipack. + */ + multipack?: string | null; + /** + * The number of aggregate offers. + */ + numberOfOffers?: string | null; + /** + * The item's pattern (e.g. polka dots). + */ + pattern?: string | null; + /** + * Publication of this item will be temporarily paused. + */ + pause?: string | null; + /** + * Technical specification or additional product details. + */ + productDetails?: Schema$ProductDetail[]; + /** + * The height of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive). + */ + productHeight?: Schema$ProductDimension; + /** + * Bullet points describing the most relevant highlights of a product. + */ + productHighlights?: string[] | null; + /** + * The length of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive). + */ + productLength?: Schema$ProductDimension; + /** + * Categories of the item (formatted as in [products data specification](https://support.google.com/merchants/answer/6324406)). + */ + productTypes?: string[] | null; + /** + * The weight of the product in the units provided. The value must be between 0 (exclusive) and 2000 (inclusive). + */ + productWeight?: Schema$ProductWeight; + /** + * The width of the product in the units provided. The value must be between 0 (exclusive) and 3000 (inclusive). + */ + productWidth?: Schema$ProductDimension; + /** + * Size of the item. Only one value is allowed. For variants with different sizes, insert a separate product for each size with the same `itemGroupId` value (see [https://support.google.com/merchants/answer/6324492](size definition)). + */ + size?: string | null; + /** + * System in which the size is specified. Recommended for apparel items. + */ + sizeSystem?: string | null; + /** + * The cut of the item. It can be used to represent combined size types for apparel items. Maximum two of size types can be provided (see [https://support.google.com/merchants/answer/6324497](size type)). + */ + sizeTypes?: string[] | null; + /** + * Title of the item. + */ + title?: string | null; + } + /** + * The certification for the product. + */ + export interface Schema$Certification { + /** + * Name of the certification body. + */ + authority?: string | null; + /** + * A unique code to identify the certification. + */ + code?: string | null; + /** + * Name of the certification. + */ + name?: string | null; + } + /** + * The processed CSS Product(a.k.a Aggregate Offer internally). + */ + export interface Schema$CssProduct { + /** + * Output only. A list of product attributes. + */ + attributes?: Schema$Attributes; + /** + * Output only. The two-letter [ISO 639-1](http://en.wikipedia.org/wiki/ISO_639-1) language code for the product. + */ + contentLanguage?: string | null; + /** + * Output only. The status of a product, data validation issues, that is, information about a product computed asynchronously. + */ + cssProductStatus?: Schema$CssProductStatus; + /** + * Output only. A list of custom (CSS-provided) attributes. It can also be used to submit any attribute of the feed specification in its generic form (for example, `{ "name": "size type", "value": "regular" \}`). This is useful for submitting attributes not explicitly exposed by the API, such as additional attributes used for Buy on Google. + */ + customAttributes?: Schema$CustomAttribute[]; + /** + * Output only. The feed label for the product. + */ + feedLabel?: string | null; + /** + * The name of the CSS Product. Format: `"accounts/{account\}/cssProducts/{css_product\}"` + */ + name?: string | null; + /** + * Output only. Your unique raw identifier for the product. + */ + rawProvidedId?: string | null; + } + /** + * This resource represents input data you submit for a CSS Product, not the processed CSS Product that you see in CSS Center, in Shopping Ads, or across Google surfaces. + */ + export interface Schema$CssProductInput { + /** + * A list of CSS Product attributes. + */ + attributes?: Schema$Attributes; + /** + * Required. The two-letter [ISO 639-1](http://en.wikipedia.org/wiki/ISO_639-1) language code for the CSS Product. + */ + contentLanguage?: string | null; + /** + * A list of custom (CSS-provided) attributes. It can also be used for submitting any attribute of the feed specification in its generic form (for example: `{ "name": "size type", "value": "regular" \}`). This is useful for submitting attributes not explicitly exposed by the API, such as additional attributes used for Buy on Google. + */ + customAttributes?: Schema$CustomAttribute[]; + /** + * Required. The [feed label](https://developers.google.com/shopping-content/guides/products/feed-labels) for the CSS Product. Feed Label is synonymous to "target country" and hence should always be a valid region code. For example: 'DE' for Germany, 'FR' for France. + */ + feedLabel?: string | null; + /** + * Output only. The name of the processed CSS Product. Format: `accounts/{account\}/cssProducts/{css_product\}` " + */ + finalName?: string | null; + /** + * Represents the existing version (freshness) of the CSS Product, which can be used to preserve the right order when multiple updates are done at the same time. This field must not be set to the future time. If set, the update is prevented if a newer version of the item already exists in our system (that is the last update time of the existing CSS products is later than the freshness time set in the update). If the update happens, the last update time is then set to this freshness time. If not set, the update will not be prevented and the last update time will default to when this request was received by the CSS API. If the operation is prevented, the aborted exception will be thrown. + */ + freshnessTime?: string | null; + /** + * The name of the CSS Product input. Format: `accounts/{account\}/cssProductInputs/{css_product_input\}` + */ + name?: string | null; + /** + * Required. Your unique identifier for the CSS Product. This is the same for the CSS Product input and processed CSS Product. We only allow ids with alphanumerics, underscores and dashes. See the [products feed specification](https://support.google.com/merchants/answer/188494#id) for details. + */ + rawProvidedId?: string | null; + } + /** + * The status of the Css Product, data validation issues, that is, information about the Css Product computed asynchronously. + */ + export interface Schema$CssProductStatus { + /** + * Date on which the item has been created, in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format. + */ + creationDate?: string | null; + /** + * The intended destinations for the product. + */ + destinationStatuses?: Schema$DestinationStatus[]; + /** + * Date on which the item expires, in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format. + */ + googleExpirationDate?: string | null; + /** + * A list of all issues associated with the product. + */ + itemLevelIssues?: Schema$ItemLevelIssue[]; + /** + * Date on which the item has been last updated, in [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) format. + */ + lastUpdateDate?: string | null; + } + /** + * A message that represents custom attributes. Exactly one of `value` or `group_values` must not be empty. + */ + export interface Schema$CustomAttribute { + /** + * Subattributes within this attribute group. If `group_values` is not empty, `value` must be empty. + */ + groupValues?: Schema$CustomAttribute[]; + /** + * The name of the attribute. + */ + name?: string | null; + /** + * The value of the attribute. If `value` is not empty, `group_values` must be empty. + */ + value?: string | null; + } + /** + * The destination status of the product status. + */ + export interface Schema$DestinationStatus { + /** + * List of country codes (ISO 3166-1 alpha-2) where the aggregate offer is approved. + */ + approvedCountries?: string[] | null; + /** + * The name of the destination + */ + destination?: string | null; + /** + * List of country codes (ISO 3166-1 alpha-2) where the aggregate offer is disapproved. + */ + disapprovedCountries?: string[] | null; + /** + * List of country codes (ISO 3166-1 alpha-2) where the aggregate offer is pending approval. + */ + pendingCountries?: string[] | null; + } + /** + * A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \} + */ + export interface Schema$Empty {} + /** + * The ItemLevelIssue of the product status. + */ + export interface Schema$ItemLevelIssue { + /** + * List of country codes (ISO 3166-1 alpha-2) where issue applies to the aggregate offer. + */ + applicableCountries?: string[] | null; + /** + * The attribute's name, if the issue is caused by a single attribute. + */ + attribute?: string | null; + /** + * The error code of the issue. + */ + code?: string | null; + /** + * A short issue description in English. + */ + description?: string | null; + /** + * The destination the issue applies to. + */ + destination?: string | null; + /** + * A detailed issue description in English. + */ + detail?: string | null; + /** + * The URL of a web page to help with resolving this issue. + */ + documentation?: string | null; + /** + * Whether the issue can be resolved by the merchant. + */ + resolution?: string | null; + /** + * How this issue affects serving of the aggregate offer. + */ + servability?: string | null; + } + /** + * Response message for the `ListAccountLabels` method. + */ + export interface Schema$ListAccountLabelsResponse { + /** + * The labels from the specified account. + */ + accountLabels?: Schema$AccountLabel[]; + /** + * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. + */ + nextPageToken?: string | null; + } + /** + * Response message for the `ListChildAccounts` method. + */ + export interface Schema$ListChildAccountsResponse { + /** + * The CSS/MC accounts returned for the specified CSS parent account. + */ + accounts?: Schema$Account[]; + /** + * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. + */ + nextPageToken?: string | null; + } + /** + * Response message for the ListCssProducts method. + */ + export interface Schema$ListCssProductsResponse { + /** + * The processed CSS products from the specified account. These are your processed CSS products after applying rules and supplemental feeds. + */ + cssProducts?: Schema$CssProduct[]; + /** + * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. + */ + nextPageToken?: string | null; + } + /** + * The price represented as a number and currency. + */ + export interface Schema$Price { + /** + * The price represented as a number in micros (1 million micros is an equivalent to one's currency standard unit, for example, 1 USD = 1000000 micros). + */ + amountMicros?: string | null; + /** + * The currency of the price using three-letter acronyms according to [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217). + */ + currencyCode?: string | null; + } + /** + * The product details. + */ + export interface Schema$ProductDetail { + /** + * The name of the product detail. + */ + attributeName?: string | null; + /** + * The value of the product detail. + */ + attributeValue?: string | null; + /** + * The section header used to group a set of product details. + */ + sectionName?: string | null; + } + /** + * The dimension of the product. + */ + export interface Schema$ProductDimension { + /** + * Required. The dimension units. Acceptable values are: * "`in`" * "`cm`" + */ + unit?: string | null; + /** + * Required. The dimension value represented as a number. The value can have a maximum precision of four decimal places. + */ + value?: number | null; + } + /** + * The weight of the product. + */ + export interface Schema$ProductWeight { + /** + * Required. The weight unit. Acceptable values are: * "`g`" * "`kg`" * "`oz`" * "`lb`" + */ + unit?: string | null; + /** + * Required. The weight represented as a number. The weight can have a maximum precision of four decimal places. + */ + value?: number | null; + } + /** + * The request message for the `UpdateLabels` method. + */ + export interface Schema$UpdateAccountLabelsRequest { + /** + * The list of label IDs to overwrite the existing account label IDs. If the list is empty, all currently assigned label IDs will be deleted. + */ + labelIds?: string[] | null; + /** + * Optional. Only required when updating MC account labels. The CSS domain that is the parent resource of the MC account. Format: accounts/{account\} + */ + parent?: string | null; + } + + export class Resource$Accounts { + context: APIRequestContext; + cssProductInputs: Resource$Accounts$Cssproductinputs; + cssProducts: Resource$Accounts$Cssproducts; + labels: Resource$Accounts$Labels; + constructor(context: APIRequestContext) { + this.context = context; + this.cssProductInputs = new Resource$Accounts$Cssproductinputs( + this.context + ); + this.cssProducts = new Resource$Accounts$Cssproducts(this.context); + this.labels = new Resource$Accounts$Labels(this.context); + } + + /** + * Retrieves a single CSS/MC account by ID. + * + * @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$Accounts$Get, + options: StreamMethodOptions + ): GaxiosPromise; + get( + params?: Params$Resource$Accounts$Get, + options?: MethodOptions + ): GaxiosPromise; + get( + params: Params$Resource$Accounts$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Accounts$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Accounts$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Accounts$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Accounts$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://css.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 all the accounts under the specified CSS account ID, and optionally filters by label ID and account name. + * + * @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. + */ + listChildAccounts( + params: Params$Resource$Accounts$Listchildaccounts, + options: StreamMethodOptions + ): GaxiosPromise; + listChildAccounts( + params?: Params$Resource$Accounts$Listchildaccounts, + options?: MethodOptions + ): GaxiosPromise; + listChildAccounts( + params: Params$Resource$Accounts$Listchildaccounts, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + listChildAccounts( + params: Params$Resource$Accounts$Listchildaccounts, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + listChildAccounts( + params: Params$Resource$Accounts$Listchildaccounts, + callback: BodyResponseCallback + ): void; + listChildAccounts( + callback: BodyResponseCallback + ): void; + listChildAccounts( + paramsOrCallback?: + | Params$Resource$Accounts$Listchildaccounts + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Accounts$Listchildaccounts; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Accounts$Listchildaccounts; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://css.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}:listChildAccounts').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 labels assigned to CSS/MC accounts by a CSS domain. + * + * @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. + */ + updateLabels( + params: Params$Resource$Accounts$Updatelabels, + options: StreamMethodOptions + ): GaxiosPromise; + updateLabels( + params?: Params$Resource$Accounts$Updatelabels, + options?: MethodOptions + ): GaxiosPromise; + updateLabels( + params: Params$Resource$Accounts$Updatelabels, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + updateLabels( + params: Params$Resource$Accounts$Updatelabels, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + updateLabels( + params: Params$Resource$Accounts$Updatelabels, + callback: BodyResponseCallback + ): void; + updateLabels(callback: BodyResponseCallback): void; + updateLabels( + paramsOrCallback?: + | Params$Resource$Accounts$Updatelabels + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Accounts$Updatelabels; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Accounts$Updatelabels; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://css.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}:updateLabels').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + 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$Accounts$Get extends StandardParameters { + /** + * Required. The name of the managed CSS/MC account. Format: accounts/{account\} + */ + name?: string; + /** + * Optional. Only required when retrieving MC account information. The CSS domain that is the parent resource of the MC account. Format: accounts/{account\} + */ + parent?: string; + } + export interface Params$Resource$Accounts$Listchildaccounts + extends StandardParameters { + /** + * If set, only the MC accounts with the given name (case sensitive) will be returned. + */ + fullName?: string; + /** + * If set, only the MC accounts with the given label ID will be returned. + */ + labelId?: string; + /** + * Optional. The maximum number of accounts to return. The service may return fewer than this value. If unspecified, at most 50 accounts will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + */ + pageSize?: number; + /** + * Optional. A page token, received from a previous `ListChildAccounts` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListChildAccounts` must match the call that provided the page token. + */ + pageToken?: string; + /** + * Required. The parent account. Must be a CSS group or domain. Format: accounts/{account\} + */ + parent?: string; + } + export interface Params$Resource$Accounts$Updatelabels + extends StandardParameters { + /** + * Required. The label resource name. Format: accounts/{account\} + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$UpdateAccountLabelsRequest; + } + + export class Resource$Accounts$Cssproductinputs { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Deletes a CSS Product input from your CSS Center account. After a delete it may take several minutes until the input is no longer available. + * + * @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$Accounts$Cssproductinputs$Delete, + options: StreamMethodOptions + ): GaxiosPromise; + delete( + params?: Params$Resource$Accounts$Cssproductinputs$Delete, + options?: MethodOptions + ): GaxiosPromise; + delete( + params: Params$Resource$Accounts$Cssproductinputs$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Accounts$Cssproductinputs$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Accounts$Cssproductinputs$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Accounts$Cssproductinputs$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Accounts$Cssproductinputs$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Accounts$Cssproductinputs$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://css.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+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); + } + } + + /** + * Uploads a CssProductInput to your CSS Center account. If an input with the same contentLanguage, identity, feedLabel and feedId already exists, this method replaces that entry. After inserting, updating, or deleting a CSS Product input, it may take several minutes before the processed CSS Product can be retrieved. + * + * @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. + */ + insert( + params: Params$Resource$Accounts$Cssproductinputs$Insert, + options: StreamMethodOptions + ): GaxiosPromise; + insert( + params?: Params$Resource$Accounts$Cssproductinputs$Insert, + options?: MethodOptions + ): GaxiosPromise; + insert( + params: Params$Resource$Accounts$Cssproductinputs$Insert, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + insert( + params: Params$Resource$Accounts$Cssproductinputs$Insert, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + insert( + params: Params$Resource$Accounts$Cssproductinputs$Insert, + callback: BodyResponseCallback + ): void; + insert(callback: BodyResponseCallback): void; + insert( + paramsOrCallback?: + | Params$Resource$Accounts$Cssproductinputs$Insert + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Accounts$Cssproductinputs$Insert; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Accounts$Cssproductinputs$Insert; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://css.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/cssProductInputs:insert').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); + } + } + } + + export interface Params$Resource$Accounts$Cssproductinputs$Delete + extends StandardParameters { + /** + * Required. The name of the CSS product input resource to delete. Format: accounts/{account\}/cssProductInputs/{css_product_input\} + */ + name?: string; + /** + * The Content API Supplemental Feed ID. The field must not be set if the action applies to a primary feed. If the field is set, then product action applies to a supplemental feed instead of primary Content API feed. + */ + supplementalFeedId?: string; + } + export interface Params$Resource$Accounts$Cssproductinputs$Insert + extends StandardParameters { + /** + * Required. The primary or supplemental feed id. If CSS Product already exists and feed id provided is different, then the CSS Product will be moved to a new feed. Note: For now, CSSs do not need to provide feed ids as we create feeds on the fly. We do not have supplemental feed support for CSS Products yet. + */ + feedId?: string; + /** + * Required. The account where this CSS Product will be inserted. Format: accounts/{account\} + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$CssProductInput; + } + + export class Resource$Accounts$Cssproducts { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Retrieves the processed CSS Product from your CSS Center account. After inserting, updating, or deleting a product input, it may take several minutes before the updated final product can be retrieved. + * + * @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$Accounts$Cssproducts$Get, + options: StreamMethodOptions + ): GaxiosPromise; + get( + params?: Params$Resource$Accounts$Cssproducts$Get, + options?: MethodOptions + ): GaxiosPromise; + get( + params: Params$Resource$Accounts$Cssproducts$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Accounts$Cssproducts$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Accounts$Cssproducts$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Accounts$Cssproducts$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Accounts$Cssproducts$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Accounts$Cssproducts$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://css.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 the processed CSS Products in your CSS Center account. The response might contain fewer items than specified by pageSize. Rely on pageToken to determine if there are more items to be requested. After inserting, updating, or deleting a CSS product input, it may take several minutes before the updated processed CSS product can be retrieved. + * + * @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$Accounts$Cssproducts$List, + options: StreamMethodOptions + ): GaxiosPromise; + list( + params?: Params$Resource$Accounts$Cssproducts$List, + options?: MethodOptions + ): GaxiosPromise; + list( + params: Params$Resource$Accounts$Cssproducts$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Accounts$Cssproducts$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Accounts$Cssproducts$List, + callback: BodyResponseCallback + ): void; + list(callback: BodyResponseCallback): void; + list( + paramsOrCallback?: + | Params$Resource$Accounts$Cssproducts$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Accounts$Cssproducts$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Accounts$Cssproducts$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://css.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/cssProducts').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); + } + } + } + + export interface Params$Resource$Accounts$Cssproducts$Get + extends StandardParameters { + /** + * Required. The name of the CSS product to retrieve. + */ + name?: string; + } + export interface Params$Resource$Accounts$Cssproducts$List + extends StandardParameters { + /** + * The maximum number of CSS Products to return. The service may return fewer than this value. The maximum value is 1000; values above 1000 will be coerced to 1000. If unspecified, the maximum number of CSS products will be returned. + */ + pageSize?: number; + /** + * A page token, received from a previous `ListCssProducts` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListCssProducts` must match the call that provided the page token. + */ + pageToken?: string; + /** + * Required. The account/domain to list processed CSS Products for. Format: accounts/{account\} + */ + parent?: string; + } + + export class Resource$Accounts$Labels { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Creates a new label, not assigned to any account. + * + * @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$Accounts$Labels$Create, + options: StreamMethodOptions + ): GaxiosPromise; + create( + params?: Params$Resource$Accounts$Labels$Create, + options?: MethodOptions + ): GaxiosPromise; + create( + params: Params$Resource$Accounts$Labels$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Accounts$Labels$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Accounts$Labels$Create, + callback: BodyResponseCallback + ): void; + create(callback: BodyResponseCallback): void; + create( + paramsOrCallback?: + | Params$Resource$Accounts$Labels$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Accounts$Labels$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Accounts$Labels$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://css.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/labels').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 label and removes it from all accounts to which it was assigned. + * + * @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$Accounts$Labels$Delete, + options: StreamMethodOptions + ): GaxiosPromise; + delete( + params?: Params$Resource$Accounts$Labels$Delete, + options?: MethodOptions + ): GaxiosPromise; + delete( + params: Params$Resource$Accounts$Labels$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Accounts$Labels$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Accounts$Labels$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Accounts$Labels$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Accounts$Labels$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Accounts$Labels$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://css.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+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); + } + } + + /** + * Lists the labels assigned to an account. + * + * @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$Accounts$Labels$List, + options: StreamMethodOptions + ): GaxiosPromise; + list( + params?: Params$Resource$Accounts$Labels$List, + options?: MethodOptions + ): GaxiosPromise; + list( + params: Params$Resource$Accounts$Labels$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Accounts$Labels$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Accounts$Labels$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Accounts$Labels$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Accounts$Labels$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Accounts$Labels$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://css.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/labels').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 label. + * + * @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$Accounts$Labels$Patch, + options: StreamMethodOptions + ): GaxiosPromise; + patch( + params?: Params$Resource$Accounts$Labels$Patch, + options?: MethodOptions + ): GaxiosPromise; + patch( + params: Params$Resource$Accounts$Labels$Patch, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Accounts$Labels$Patch, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Accounts$Labels$Patch, + callback: BodyResponseCallback + ): void; + patch(callback: BodyResponseCallback): void; + patch( + paramsOrCallback?: + | Params$Resource$Accounts$Labels$Patch + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Accounts$Labels$Patch; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Accounts$Labels$Patch; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://css.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$Accounts$Labels$Create + extends StandardParameters { + /** + * Required. The parent account. Format: accounts/{account\} + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$AccountLabel; + } + export interface Params$Resource$Accounts$Labels$Delete + extends StandardParameters { + /** + * Required. The name of the label to delete. Format: accounts/{account\}/labels/{label\} + */ + name?: string; + } + export interface Params$Resource$Accounts$Labels$List + extends StandardParameters { + /** + * The maximum number of labels to return. The service may return fewer than this value. If unspecified, at most 50 labels will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + */ + pageSize?: number; + /** + * A page token, received from a previous `ListAccountLabels` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAccountLabels` must match the call that provided the page token. + */ + pageToken?: string; + /** + * Required. The parent account. Format: accounts/{account\} + */ + parent?: string; + } + export interface Params$Resource$Accounts$Labels$Patch + extends StandardParameters { + /** + * The resource name of the label. Format: accounts/{account\}/labels/{label\} + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$AccountLabel; + } +} diff --git a/src/apis/css/webpack.config.js b/src/apis/css/webpack.config.js new file mode 100644 index 0000000000..625b3a2497 --- /dev/null +++ b/src/apis/css/webpack.config.js @@ -0,0 +1,79 @@ +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Use `npm run webpack` to produce Webpack bundle for this library. + +const path = require('path'); + +module.exports = { + entry: './index.ts', + resolve: { + extensions: ['.ts', '.js', '.json'], + fallback: { + crypto: false, + child_process: false, + fs: false, + http2: false, + buffer: 'browserify', + process: false, + os: false, + querystring: false, + path: false, + stream: 'stream-browserify', + url: false, + util: false, + zlib: false, + }, + }, + output: { + library: 'Css', + filename: 'css.min.js', + path: path.resolve(__dirname, 'dist'), + }, + module: { + rules: [ + { + test: /node_modules[\\/]google-auth-library[\\/]src[\\/]crypto[\\/]node[\\/]crypto/, + use: 'null-loader', + }, + { + test: /node_modules[\\/]https-proxy-agent[\\/]/, + use: 'null-loader', + }, + { + test: /node_modules[\\/]gcp-metadata[\\/]/, + use: 'null-loader', + }, + { + test: /node_modules[\\/]gtoken[\\/]/, + use: 'null-loader', + }, + { + test: /node_modules[\\/]pkginfo[\\/]/, + use: 'null-loader', + }, + { + test: /node_modules[\\/]semver[\\/]/, + use: 'null-loader', + }, + { + test: /\.ts$/, + use: 'ts-loader', + exclude: /node_modules/, + }, + ], + }, + mode: 'production', + plugins: [], +}; diff --git a/src/apis/dataform/v1beta1.ts b/src/apis/dataform/v1beta1.ts index f80f6c9e40..f19b6be436 100644 --- a/src/apis/dataform/v1beta1.ts +++ b/src/apis/dataform/v1beta1.ts @@ -365,6 +365,10 @@ export namespace dataform_v1beta1 { * Output only. Errors encountered during project compilation. */ compilationErrors?: Schema$CompilationError[]; + /** + * Output only. The timestamp of when the compilation result was created. + */ + createTime?: string | null; /** * Output only. Only set if the repository has a KMS Key. */ @@ -1429,6 +1433,10 @@ export namespace dataform_v1beta1 { * Represents a Dataform workflow configuration. */ export interface Schema$WorkflowConfig { + /** + * Output only. The timestamp of when the WorkflowConfig was created. + */ + createTime?: string | null; /** * Optional. Optional schedule (in cron format) for automatic execution of this workflow config. */ @@ -1453,6 +1461,10 @@ export namespace dataform_v1beta1 { * Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time zone name from the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the default is UTC. */ timeZone?: string | null; + /** + * Output only. The timestamp of when the WorkflowConfig was last updated. + */ + updateTime?: string | null; } /** * Represents a single invocation of a compilation result. diff --git a/src/apis/datafusion/v1.ts b/src/apis/datafusion/v1.ts index aa1bb6667c..de8f95523d 100644 --- a/src/apis/datafusion/v1.ts +++ b/src/apis/datafusion/v1.ts @@ -137,6 +137,27 @@ export namespace datafusion_v1 { */ state?: string | null; } + /** + * Provides the mapping of a cloud asset to a direct physical location or to a proxy that defines the location on its behalf. + */ + export interface Schema$AssetLocation { + /** + * Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state of the region at the time of asset creation. + */ + expected?: Schema$IsolationExpectations; + /** + * Defines extra parameters required for specific asset types. + */ + extraParameters?: Schema$ExtraParameter[]; + /** + * Contains all kinds of physical location definitions for this asset. + */ + locationData?: Schema$LocationData[]; + /** + * Defines parents assets if any in order to allow later generation of child_asset_location data via child assets. + */ + parentAsset?: Schema$CloudAsset[]; + } /** * Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] \}, { "log_type": "DATA_WRITE" \}, { "log_type": "ADMIN_READ" \} ] \}, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" \}, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] \} ] \} ] \} For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. */ @@ -180,10 +201,23 @@ export namespace datafusion_v1 { */ role?: string | null; } + /** + * Policy ID that identified data placement in Blobstore as per go/blobstore-user-guide#data-metadata-placement-and-failure-domains + */ + export interface Schema$BlobstoreLocation { + policyId?: string[] | null; + } /** * The request message for Operations.CancelOperation. */ export interface Schema$CancelOperationRequest {} + export interface Schema$CloudAsset { + assetName?: string | null; + assetType?: string | null; + } + export interface Schema$CloudAssetComposition { + childAsset?: Schema$CloudAsset[]; + } /** * The crypto key configuration. This field is used by the Customer-managed encryption keys (CMEK) feature. */ @@ -193,6 +227,9 @@ export namespace datafusion_v1 { */ keyReference?: string | null; } + export interface Schema$DirectLocationAssignment { + location?: Schema$LocationAssignment[]; + } /** * DNS peering configuration. These configurations are used to create DNS peering with the customer Cloud DNS. */ @@ -256,6 +293,15 @@ export namespace datafusion_v1 { */ title?: string | null; } + /** + * Defines parameters that should only be used for specific asset types. + */ + export interface Schema$ExtraParameter { + /** + * Details about zones used by regional compute.googleapis.com/InstanceGroupManager to create instances. + */ + regionalMigDistributionPolicy?: Schema$RegionalMigDistributionPolicy; + } /** * Represents a Data Fusion instance. */ @@ -401,6 +447,21 @@ export namespace datafusion_v1 { */ zone?: string | null; } + export interface Schema$IsolationExpectations { + ziOrgPolicy?: string | null; + ziRegionPolicy?: string | null; + ziRegionState?: string | null; + /** + * Deprecated: use zi_org_policy, zi_region_policy and zi_region_state instead for setting ZI expectations as per go/zicy-publish-physical-location. + */ + zoneIsolation?: string | null; + /** + * Deprecated: use zs_org_policy, and zs_region_stateinstead for setting Zs expectations as per go/zicy-publish-physical-location. + */ + zoneSeparation?: string | null; + zsOrgPolicy?: string | null; + zsRegionState?: string | null; + } /** * Response message for the list available versions request. */ @@ -495,6 +556,18 @@ export namespace datafusion_v1 { */ name?: string | null; } + export interface Schema$LocationAssignment { + location?: string | null; + locationType?: string | null; + } + export interface Schema$LocationData { + blobstoreLocation?: Schema$BlobstoreLocation; + childAssetLocation?: Schema$CloudAssetComposition; + directLocation?: Schema$DirectLocationAssignment; + gcpProjectProxy?: Schema$TenantProjectProxy; + placerLocation?: Schema$PlacerLocation; + spannerLocation?: Schema$SpannerLocation; + } /** * Maintenance policy of the instance. */ @@ -600,6 +673,15 @@ export namespace datafusion_v1 { */ verb?: string | null; } + /** + * Message describing that the location of the customer resource is tied to placer allocations + */ + export interface Schema$PlacerLocation { + /** + * Directory with a config related to it in placer (e.g. "/placer/prod/home/my-root/my-dir") + */ + placerConfig?: string | null; + } /** * An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] \}, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", \} \} ], "etag": "BwWWja0YfJA=", "version": 3 \} ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/). */ @@ -651,6 +733,19 @@ export namespace datafusion_v1 { */ window?: Schema$TimeWindow; } + /** + * To be used for specifying the intended distribution of regional compute.googleapis.com/InstanceGroupManager instances + */ + export interface Schema$RegionalMigDistributionPolicy { + /** + * The shape in which the group converges around distribution of resources. Instance of proto2 enum + */ + targetShape?: number | null; + /** + * Cloud zones used by regional MIG to create instances. + */ + zones?: Schema$ZoneConfiguration[]; + } /** * Request message for restarting a Data Fusion instance. */ @@ -668,6 +763,16 @@ export namespace datafusion_v1 { */ updateMask?: string | null; } + export interface Schema$SpannerLocation { + /** + * Set of backups used by the resource with name in the same format as what is available at http://table/spanner_automon.backup_metadata + */ + backupName?: string[] | null; + /** + * Set of databases used by the resource in format /span// + */ + dbName?: 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). */ @@ -685,6 +790,9 @@ export namespace datafusion_v1 { */ message?: string | null; } + export interface Schema$TenantProjectProxy { + projectNumbers?: string[] | null; + } /** * Request message for `TestIamPermissions` method. */ @@ -737,6 +845,9 @@ export namespace datafusion_v1 { */ versionNumber?: string | null; } + export interface Schema$ZoneConfiguration { + zone?: string | null; + } export class Resource$Projects { context: APIRequestContext; diff --git a/src/apis/datafusion/v1beta1.ts b/src/apis/datafusion/v1beta1.ts index 832e1b62af..68c644122e 100644 --- a/src/apis/datafusion/v1beta1.ts +++ b/src/apis/datafusion/v1beta1.ts @@ -137,6 +137,27 @@ export namespace datafusion_v1beta1 { */ state?: string | null; } + /** + * Provides the mapping of a cloud asset to a direct physical location or to a proxy that defines the location on its behalf. + */ + export interface Schema$AssetLocation { + /** + * Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state of the region at the time of asset creation. + */ + expected?: Schema$IsolationExpectations; + /** + * Defines extra parameters required for specific asset types. + */ + extraParameters?: Schema$ExtraParameter[]; + /** + * Contains all kinds of physical location definitions for this asset. + */ + locationData?: Schema$LocationData[]; + /** + * Defines parents assets if any in order to allow later generation of child_asset_location data via child assets. + */ + parentAsset?: Schema$CloudAsset[]; + } /** * Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] \}, { "log_type": "DATA_WRITE" \}, { "log_type": "ADMIN_READ" \} ] \}, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" \}, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] \} ] \} ] \} For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. */ @@ -180,10 +201,23 @@ export namespace datafusion_v1beta1 { */ role?: string | null; } + /** + * Policy ID that identified data placement in Blobstore as per go/blobstore-user-guide#data-metadata-placement-and-failure-domains + */ + export interface Schema$BlobstoreLocation { + policyId?: string[] | null; + } /** * The request message for Operations.CancelOperation. */ export interface Schema$CancelOperationRequest {} + export interface Schema$CloudAsset { + assetName?: string | null; + assetType?: string | null; + } + export interface Schema$CloudAssetComposition { + childAsset?: Schema$CloudAsset[]; + } /** * The crypto key configuration. This field is used by the Customer-managed encryption keys (CMEK) feature. */ @@ -193,6 +227,9 @@ export namespace datafusion_v1beta1 { */ keyReference?: string | null; } + export interface Schema$DirectLocationAssignment { + location?: Schema$LocationAssignment[]; + } /** * DNS peering configuration. These configurations are used to create DNS peering with the customer Cloud DNS. */ @@ -256,6 +293,15 @@ export namespace datafusion_v1beta1 { */ title?: string | null; } + /** + * Defines parameters that should only be used for specific asset types. + */ + export interface Schema$ExtraParameter { + /** + * Details about zones used by regional compute.googleapis.com/InstanceGroupManager to create instances. + */ + regionalMigDistributionPolicy?: Schema$RegionalMigDistributionPolicy; + } /** * IAMPolicy encapsulates the IAM policy name, definition and status of policy fetching. */ @@ -414,6 +460,21 @@ export namespace datafusion_v1beta1 { */ zone?: string | null; } + export interface Schema$IsolationExpectations { + ziOrgPolicy?: string | null; + ziRegionPolicy?: string | null; + ziRegionState?: string | null; + /** + * Deprecated: use zi_org_policy, zi_region_policy and zi_region_state instead for setting ZI expectations as per go/zicy-publish-physical-location. + */ + zoneIsolation?: string | null; + /** + * Deprecated: use zs_org_policy, and zs_region_stateinstead for setting Zs expectations as per go/zicy-publish-physical-location. + */ + zoneSeparation?: string | null; + zsOrgPolicy?: string | null; + zsRegionState?: string | null; + } /** * Response message for the list available versions request. */ @@ -521,6 +582,18 @@ export namespace datafusion_v1beta1 { */ name?: string | null; } + export interface Schema$LocationAssignment { + location?: string | null; + locationType?: string | null; + } + export interface Schema$LocationData { + blobstoreLocation?: Schema$BlobstoreLocation; + childAssetLocation?: Schema$CloudAssetComposition; + directLocation?: Schema$DirectLocationAssignment; + gcpProjectProxy?: Schema$TenantProjectProxy; + placerLocation?: Schema$PlacerLocation; + spannerLocation?: Schema$SpannerLocation; + } /** * Maintenance policy of the instance. */ @@ -639,6 +712,15 @@ export namespace datafusion_v1beta1 { */ verb?: string | null; } + /** + * Message describing that the location of the customer resource is tied to placer allocations + */ + export interface Schema$PlacerLocation { + /** + * Directory with a config related to it in placer (e.g. "/placer/prod/home/my-root/my-dir") + */ + placerConfig?: string | null; + } /** * An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] \}, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", \} \} ], "etag": "BwWWja0YfJA=", "version": 3 \} ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/). */ @@ -690,6 +772,19 @@ export namespace datafusion_v1beta1 { */ window?: Schema$TimeWindow; } + /** + * To be used for specifying the intended distribution of regional compute.googleapis.com/InstanceGroupManager instances + */ + export interface Schema$RegionalMigDistributionPolicy { + /** + * The shape in which the group converges around distribution of resources. Instance of proto2 enum + */ + targetShape?: number | null; + /** + * Cloud zones used by regional MIG to create instances. + */ + zones?: Schema$ZoneConfiguration[]; + } /** * Request message for RemoveIamPolicy method. */ @@ -715,6 +810,16 @@ export namespace datafusion_v1beta1 { */ updateMask?: string | null; } + export interface Schema$SpannerLocation { + /** + * Set of backups used by the resource with name in the same format as what is available at http://table/spanner_automon.backup_metadata + */ + backupName?: string[] | null; + /** + * Set of databases used by the resource in format /span// + */ + dbName?: 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). */ @@ -732,6 +837,9 @@ export namespace datafusion_v1beta1 { */ message?: string | null; } + export interface Schema$TenantProjectProxy { + projectNumbers?: string[] | null; + } /** * Request message for `TestIamPermissions` method. */ @@ -788,6 +896,9 @@ export namespace datafusion_v1beta1 { */ versionNumber?: string | null; } + export interface Schema$ZoneConfiguration { + zone?: string | null; + } export class Resource$Projects { context: APIRequestContext; diff --git a/src/apis/dataplex/v1.ts b/src/apis/dataplex/v1.ts index bd2eca6908..300ba031d3 100644 --- a/src/apis/dataplex/v1.ts +++ b/src/apis/dataplex/v1.ts @@ -287,7 +287,7 @@ export namespace dataplex_v1 { */ createTime?: string | null; /** - * Required. The content of the aspect, according to its aspect type schema. This will replace content. The maximum size of the field is 120KB (encoded as UTF-8). + * Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8). */ data?: {[key: string]: any} | null; /** @@ -300,7 +300,7 @@ export namespace dataplex_v1 { updateTime?: string | null; } /** - * AspectSource contains source system related information for the aspect. + * AspectSource contains information related to the source system of the Aspect. */ export interface Schema$GoogleCloudDataplexV1AspectSource { /** @@ -313,11 +313,11 @@ export namespace dataplex_v1 { updateTime?: string | null; } /** - * Aspect Type is a template for creating Aspects, and represents the JSON-schema for a given Entry, e.g., BigQuery Table Schema. + * AspectType is a template for creating Aspects, and represents the JSON-schema for a given Entry, for example, BigQuery Table Schema. */ export interface Schema$GoogleCloudDataplexV1AspectType { /** - * Immutable. Authorization defined for this type. + * Immutable. Defines the Authorization for this type. */ authorization?: Schema$GoogleCloudDataplexV1AspectTypeAuthorization; /** @@ -333,7 +333,7 @@ export namespace dataplex_v1 { */ displayName?: string | null; /** - * This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. + * The service computes this checksum. The client may send it on update and delete requests to ensure it has an up-to-date value before proceeding. */ etag?: string | null; /** @@ -349,11 +349,7 @@ export namespace dataplex_v1 { */ name?: string | null; /** - * Output only. Denotes the transfer status of the Aspect Type. It is unspecified for Aspect Types created from Dataplex API. - */ - transferStatus?: string | null; - /** - * Output only. System generated globally unique ID for the AspectType. This ID will be different if the AspectType is deleted and re-created with the same name. + * Output only. System generated globally unique ID for the AspectType. If you delete and recreate the AspectType with the same name, then this ID will be different. */ uid?: string | null; /** @@ -362,16 +358,16 @@ export namespace dataplex_v1 { updateTime?: string | null; } /** - * Autorization for an Aspect Type. + * Autorization for an AspectType. */ export interface Schema$GoogleCloudDataplexV1AspectTypeAuthorization { /** - * Immutable. The IAM permission grantable on the Entry Group to allow access to instantiate Aspects of Dataplex owned Aspect Types, only settable for Dataplex owned Types. + * Immutable. The IAM permission grantable on the EntryGroup to allow access to instantiate Aspects of Dataplex owned AspectTypes, only settable for Dataplex owned Types. */ alternateUsePermission?: string | null; } /** - * MetadataTemplate definition for AspectType + * MetadataTemplate definition for an AspectType. */ export interface Schema$GoogleCloudDataplexV1AspectTypeMetadataTemplate { /** @@ -379,7 +375,7 @@ export namespace dataplex_v1 { */ annotations?: Schema$GoogleCloudDataplexV1AspectTypeMetadataTemplateAnnotations; /** - * Optional. array_items needs to be set if the type is array. array_items can refer to a primitive field or a complex (record only) field. To specify a primitive field, just name and type needs to be set in the nested MetadataTemplate. The recommended value for the name field is item, as this is not used in the actual payload. + * Optional. If the type is array, set array_items. array_items can refer to a primitive field or a complex (record only) field. To specify a primitive field, you only need to set name and type in the nested MetadataTemplate. The recommended value for the name field is item, as this isn't used in the actual payload. */ arrayItems?: Schema$GoogleCloudDataplexV1AspectTypeMetadataTemplate; /** @@ -387,7 +383,7 @@ export namespace dataplex_v1 { */ constraints?: Schema$GoogleCloudDataplexV1AspectTypeMetadataTemplateConstraints; /** - * Optional. The list of values for an enum type. Needs to be defined if the type is enum. + * Optional. The list of values for an enum type. You must define it if the type is enum. */ enumValues?: Schema$GoogleCloudDataplexV1AspectTypeMetadataTemplateEnumValue[]; /** @@ -395,7 +391,7 @@ export namespace dataplex_v1 { */ index?: number | null; /** - * Optional. map_items needs to be set if the type is map. map_items can refer to a primitive field or a complex (record only) field. To specify a primitive field, just name and type needs to be set in the nested MetadataTemplate. The recommended value for the name field is item, as this is not used in the actual payload. + * Optional. If the type is map, set map_items. map_items can refer to a primitive field or a complex (record only) field. To specify a primitive field, you only need to set name and type in the nested MetadataTemplate. The recommended value for the name field is item, as this isn't used in the actual payload. */ mapItems?: Schema$GoogleCloudDataplexV1AspectTypeMetadataTemplate; /** @@ -403,74 +399,74 @@ export namespace dataplex_v1 { */ name?: string | null; /** - * Optional. Field definition, needs to be specified if the type is record. Defines the nested fields. + * Optional. Field definition. You must specify it if the type is record. It defines the nested fields. */ recordFields?: Schema$GoogleCloudDataplexV1AspectTypeMetadataTemplate[]; /** - * Required. The datatype of this field. The following values are supported: Primitive types (string, integer, boolean, double, datetime); datetime must be of the format RFC3339 UTC "Zulu" (Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"). Complex types (enum, array, map, record). + * Required. The datatype of this field. The following values are supported:Primitive types: string integer boolean double datetime. Must be of the format RFC3339 UTC "Zulu" (Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z").Complex types: enum array map record */ type?: string | null; /** - * Optional. Id can be used if this definition of the field needs to be reused later. Id needs to be unique across the entire template. Id can only be specified if the field type is record. + * Optional. You can use type id if this definition of the field needs to be reused later. The type id must be unique across the entire template. You can only specify it if the field type is record. */ typeId?: string | null; /** - * Optional. A reference to another field definition (instead of an inline definition). The value must be equal to the value of an id field defined elsewhere in the MetadataTemplate. Only fields with type as record can refer to other fields. + * Optional. A reference to another field definition (not an inline definition). The value must be equal to the value of an id field defined elsewhere in the MetadataTemplate. Only fields with record type can refer to other fields. */ typeRef?: string | null; } /** - * Definition of the annotations of a field + * Definition of the annotations of a field. */ export interface Schema$GoogleCloudDataplexV1AspectTypeMetadataTemplateAnnotations { /** - * Optional. Marks a field as deprecated, a deprecation message can be included. + * Optional. Marks a field as deprecated. You can include a deprecation message. */ deprecated?: string | null; /** - * Optional. Specify a description for a field + * Optional. Description for a field. */ description?: string | null; /** - * Optional. Specify a displayname for a field. + * Optional. Display name for a field. */ displayName?: string | null; /** - * Optional. Specify a display order for a field. Display order can be used to reorder where a field is rendered + * Optional. Display order for a field. You can use this to reorder where a field is rendered. */ displayOrder?: number | null; /** - * Optional. String Type annotations can be used to specify special meaning to string fields. The following values are supported: richText: The field must be interpreted as a rich text field. url: A fully qualified url link. resource: A service qualified resource reference. + * Optional. You can use String Type annotations to specify special meaning to string fields. The following values are supported: richText: The field must be interpreted as a rich text field. url: A fully qualified URL link. resource: A service qualified resource reference. */ stringType?: string | null; /** - * Optional. Suggested hints for string fields. These can be used to suggest values to users, through an UI for example. + * Optional. Suggested hints for string fields. You can use them to suggest values to users through console. */ stringValues?: string[] | null; } /** - * Definition of the constraints of a field + * Definition of the constraints of a field. */ export interface Schema$GoogleCloudDataplexV1AspectTypeMetadataTemplateConstraints { /** - * Optional. Marks this as an optional/required field. + * Optional. Marks this field as optional or required. */ required?: boolean | null; } /** - * Definition of Enumvalue (to be used by enum fields) + * Definition of Enumvalue, to be used for enum fields. */ export interface Schema$GoogleCloudDataplexV1AspectTypeMetadataTemplateEnumValue { /** - * Optional. Optional deprecation message to be set if an enum value needs to be deprecated. + * Optional. You can set this message if you need to deprecate an enum value. */ deprecated?: string | null; /** - * Required. Index for the enum. Cannot be modified. + * Required. Index for the enum value. It can't be modified. */ index?: number | null; /** - * Required. Name of the enumvalue. This is the actual value that the aspect will contain. + * Required. Name of the enumvalue. This is the actual value that the aspect can contain. */ name?: string | null; } @@ -1853,6 +1849,10 @@ export namespace dataplex_v1 { * A DataScanJob represents an instance of DataScan execution. */ export interface Schema$GoogleCloudDataplexV1DataScanJob { + /** + * Output only. The time when the DataScanJob was created. + */ + createTime?: string | null; /** * Output only. The result of the data profile scan. */ @@ -2161,7 +2161,7 @@ export namespace dataplex_v1 { */ export interface Schema$GoogleCloudDataplexV1Entry { /** - * Optional. The Aspects attached to the Entry. The format for the key can be one of the following: 1. {projectId\}.{locationId\}.{aspectTypeId\} (if the aspect is attached directly to the entry) 2. {projectId\}.{locationId\}.{aspectTypeId\}@{path\} (if the aspect is attached to an entry's path) + * Optional. The Aspects attached to the Entry. The format for the key can be one of the following: {projectId\}.{locationId\}.{aspectTypeId\} (if the aspect is attached directly to the entry) {projectId\}.{locationId\}.{aspectTypeId\}@{path\} (if the aspect is attached to an entry's path) */ aspects?: {[key: string]: Schema$GoogleCloudDataplexV1Aspect} | null; /** @@ -2169,7 +2169,7 @@ export namespace dataplex_v1 { */ createTime?: string | null; /** - * Optional. Source system related information for an entry. + * Optional. Information related to the source system for an entry. */ entrySource?: Schema$GoogleCloudDataplexV1EntrySource; /** @@ -2210,7 +2210,7 @@ export namespace dataplex_v1 { */ displayName?: string | null; /** - * This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. + * This checksum is computed by the service, and might be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. */ etag?: string | null; /** @@ -2222,11 +2222,7 @@ export namespace dataplex_v1 { */ name?: string | null; /** - * Output only. Denotes the transfer status of the Entry Group. It is unspecified for Entry Group created from Dataplex API. - */ - transferStatus?: string | null; - /** - * Output only. System generated globally unique ID for the EntryGroup. This ID will be different if the EntryGroup is deleted and re-created with the same name. + * Output only. System generated globally unique ID for the EntryGroup. If you delete and recreate the EntryGroup with the same name, this ID will be different. */ uid?: string | null; /** @@ -2235,7 +2231,7 @@ export namespace dataplex_v1 { updateTime?: string | null; } /** - * EntrySource contains source system related information for the entry. + * EntrySource contains information related to the source system of the Entry. */ export interface Schema$GoogleCloudDataplexV1EntrySource { /** @@ -2259,7 +2255,7 @@ export namespace dataplex_v1 { */ labels?: {[key: string]: string} | null; /** - * Output only. Location of the resource in the source system. Entry will be searchable by this location. By default, this should match the location of the EntryGroup containing this entry. A different value allows capturing source location for data external to GCP. + * Output only. Location of the resource in the source system. You can search the Entry by this location. By default, this should match the location of the EntryGroup containing this entry. A different value allows capturing the source location for data external to Google Cloud. */ location?: string | null; /** @@ -2313,7 +2309,7 @@ export namespace dataplex_v1 { */ displayName?: string | null; /** - * Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. + * Optional. This checksum is computed by the service, and might be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. */ etag?: string | null; /** @@ -2337,7 +2333,7 @@ export namespace dataplex_v1 { */ system?: string | null; /** - * Optional. Indicates the class this Entry Type belongs to, for example, TABLE, DATABASE, MODEL. + * Optional. Indicates the classes this Entry Type belongs to, for example, TABLE, DATABASE, MODEL. */ typeAliases?: string[] | null; /** @@ -2741,11 +2737,11 @@ export namespace dataplex_v1 { nextPageToken?: string | null; } /** - * List AspectTypes response + * List AspectTypes response. */ export interface Schema$GoogleCloudDataplexV1ListAspectTypesResponse { /** - * ListAspectTypes under the given parent location. + * AspectTypes under the given parent location. */ aspectTypes?: Schema$GoogleCloudDataplexV1AspectType[]; /** @@ -2753,7 +2749,7 @@ export namespace dataplex_v1 { */ nextPageToken?: string | null; /** - * Locations that could not be reached. + * Locations that the service couldn't reach. */ unreachableLocations?: string[] | null; } @@ -2877,22 +2873,25 @@ export namespace dataplex_v1 { */ nextPageToken?: string | null; } + /** + * List Entries response. + */ export interface Schema$GoogleCloudDataplexV1ListEntriesResponse { /** - * The list of entries. + * The list of entries under the given parent location. */ entries?: Schema$GoogleCloudDataplexV1Entry[]; /** - * Pagination token. + * Token to retrieve the next page of results, or empty if there are no more results in the list. */ nextPageToken?: string | null; } /** - * List ListEntryGroups response. + * List entry groups response. */ export interface Schema$GoogleCloudDataplexV1ListEntryGroupsResponse { /** - * ListEntryGroups under the given parent location. + * Entry groups under the given parent location. */ entryGroups?: Schema$GoogleCloudDataplexV1EntryGroup[]; /** @@ -2900,16 +2899,16 @@ export namespace dataplex_v1 { */ nextPageToken?: string | null; /** - * Locations that could not be reached. + * Locations that the service couldn't reach. */ unreachableLocations?: string[] | null; } /** - * List EntryTypes response + * List EntryTypes response. */ export interface Schema$GoogleCloudDataplexV1ListEntryTypesResponse { /** - * ListEntryTypes under the given parent location. + * EntryTypes under the given parent location. */ entryTypes?: Schema$GoogleCloudDataplexV1EntryType[]; /** @@ -2917,7 +2916,7 @@ export namespace dataplex_v1 { */ nextPageToken?: string | null; /** - * Locations that could not be reached. + * Locations that the service couldn't reach. */ unreachableLocations?: string[] | null; } @@ -3207,7 +3206,7 @@ export namespace dataplex_v1 { } export interface Schema$GoogleCloudDataplexV1SearchEntriesResponse { /** - * Pagination token. + * Token to retrieve the next page of results, or empty if there are no more results in the list. */ nextPageToken?: string | null; /** @@ -3215,11 +3214,11 @@ export namespace dataplex_v1 { */ results?: Schema$GoogleCloudDataplexV1SearchEntriesResult[]; /** - * The estimated total number of matching entries. Not guaranteed to be accurate. + * The estimated total number of matching entries. This number isn't guaranteed to be accurate. */ totalSize?: number | null; /** - * Unreachable locations. Search results don't include data from those locations. + * Locations that the service couldn't reach. Search results don't include data from these locations. */ unreachable?: string[] | null; } @@ -4257,7 +4256,7 @@ export namespace dataplex_v1 { } /** - * Looks up a single entry. + * Looks up a single Entry by name using the permission on the source system. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -4352,7 +4351,7 @@ export namespace dataplex_v1 { } /** - * Searches for entries matching given query and scope. + * Searches for Entries matching the given query and scope. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -4478,7 +4477,7 @@ export namespace dataplex_v1 { export interface Params$Resource$Projects$Locations$Lookupentry extends StandardParameters { /** - * Optional. Limits the aspects returned to the provided aspect types. Only works if the CUSTOM view is selected. + * Optional. Limits the aspects returned to the provided aspect types. It only works for CUSTOM view. */ aspectTypes?: string[]; /** @@ -4490,11 +4489,11 @@ export namespace dataplex_v1 { */ name?: string; /** - * Optional. Limits the aspects returned to those associated with the provided paths within the Entry. Only works if the CUSTOM view is selected. + * Optional. Limits the aspects returned to those associated with the provided paths within the Entry. It only works for CUSTOM view. */ paths?: string[]; /** - * Optional. View for controlling which parts of an entry are to be returned. + * Optional. View to control which parts of an entry the service should return. */ view?: string; } @@ -4505,15 +4504,15 @@ export namespace dataplex_v1 { */ name?: string; /** - * Optional. Ordering of the results. Supported options to be added later. + * Optional. Specifies the ordering of results. */ orderBy?: string; /** - * Optional. Pagination. + * Optional. Number of results in the search page. If <=0, then defaults to 10. Max limit for page_size is 1000. Throws an invalid argument for page_size \> 1000. */ pageSize?: number; /** - * + * Optional. Page token received from a previous SearchEntries call. Provide this to retrieve the subsequent page. */ pageToken?: string; /** @@ -4521,7 +4520,7 @@ export namespace dataplex_v1 { */ query?: string; /** - * Optional. The scope under which the search should be operating. Should either be organizations/ or projects/. If left unspecified, it will default to the organization where the project provided in name is located. + * Optional. The scope under which the search should be operating. It must either be organizations/ or projects/. If it is unspecified, it defaults to the organization where the project provided in name is located. */ scope?: string; } @@ -4533,7 +4532,7 @@ export namespace dataplex_v1 { } /** - * Creates an AspectType + * Creates an AspectType. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -4628,7 +4627,7 @@ export namespace dataplex_v1 { } /** - * Deletes a AspectType resource. + * Deletes an AspectType. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -4720,7 +4719,7 @@ export namespace dataplex_v1 { } /** - * Retrieves a AspectType resource. + * Gets an AspectType. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -5005,7 +5004,7 @@ export namespace dataplex_v1 { } /** - * Updates a AspectType resource. + * Updates an AspectType. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -5296,11 +5295,11 @@ export namespace dataplex_v1 { */ aspectTypeId?: string; /** - * Required. The resource name of the AspectType, of the form: projects/{project_number\}/locations/{location_id\} where location_id refers to a GCP region. + * Required. The resource name of the AspectType, of the form: projects/{project_number\}/locations/{location_id\} where location_id refers to a Google Cloud region. */ parent?: string; /** - * Optional. Only validate the request, but do not perform mutations. The default is false. + * Optional. The service validates the request without performing any mutations. The default is false. */ validateOnly?: boolean; @@ -5312,7 +5311,7 @@ export namespace dataplex_v1 { export interface Params$Resource$Projects$Locations$Aspecttypes$Delete extends StandardParameters { /** - * Optional. If the client provided etag value does not match the current etag value, the DeleteAspectTypeRequest method returns an ABORTED error response + * Optional. If the client provided etag value does not match the current etag value, the DeleteAspectTypeRequest method returns an ABORTED error response. */ etag?: string; /** @@ -5341,23 +5340,23 @@ export namespace dataplex_v1 { export interface Params$Resource$Projects$Locations$Aspecttypes$List extends StandardParameters { /** - * Optional. Filter request. Filters are case-sensitive. The following formats are supported:labels.key1 = "value1" labels:key1 name = "value" These restrictions can be coinjoined with AND, OR and NOT conjunctions. + * Optional. Filter request. Filters are case-sensitive. The service supports the following formats: labels.key1 = "value1" labels:key1 name = "value"These restrictions can be conjoined with AND, OR, and NOT conjunctions. */ filter?: string; /** - * Optional. Order by fields (name or create_time) for the result. If not specified, the ordering is undefined. + * Optional. Orders the result by name or create_time fields. If not specified, the ordering is undefined. */ orderBy?: string; /** - * Optional. Maximum number of AspectTypes to return. The service may return fewer than this value. If unspecified, at most 10 AspectTypes will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + * Optional. Maximum number of AspectTypes to return. The service may return fewer than this value. If unspecified, the service returns at most 10 AspectTypes. The maximum value is 1000; values above 1000 will be coerced to 1000. */ pageSize?: number; /** - * Optional. Page token received from a previous ListAspectTypes call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListAspectTypes must match the call that provided the page token. + * Optional. Page token received from a previous ListAspectTypes call. Provide this to retrieve the subsequent page. When paginating, all other parameters you provide to ListAspectTypes must match the call that provided the page token. */ pageToken?: string; /** - * Required. The resource name of the AspectType location, of the form: projects/{project_number\}/locations/{location_id\} where location_id refers to a GCP region. + * Required. The resource name of the AspectType location, of the form: projects/{project_number\}/locations/{location_id\} where location_id refers to a Google Cloud region. */ parent?: string; } @@ -9504,7 +9503,7 @@ export namespace dataplex_v1 { } /** - * Creates an EntryGroup + * Creates an EntryGroup. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -9599,7 +9598,7 @@ export namespace dataplex_v1 { } /** - * Deletes a EntryGroup resource. + * Deletes an EntryGroup. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -9691,7 +9690,7 @@ export namespace dataplex_v1 { } /** - * Retrieves a EntryGroup resource. + * Gets an EntryGroup. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -9976,7 +9975,7 @@ export namespace dataplex_v1 { } /** - * Updates a EntryGroup resource. + * Updates an EntryGroup. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -10271,7 +10270,7 @@ export namespace dataplex_v1 { */ parent?: string; /** - * Optional. Only validate the request, but do not perform mutations. The default is false. + * Optional. The service validates the request without performing any mutations. The default is false. */ validateOnly?: boolean; @@ -10283,7 +10282,7 @@ export namespace dataplex_v1 { export interface Params$Resource$Projects$Locations$Entrygroups$Delete extends StandardParameters { /** - * Optional. If the client provided etag value does not match the current etag value, the DeleteEntryGroupRequest method returns an ABORTED error response + * Optional. If the client provided etag value does not match the current etag value, the DeleteEntryGroupRequest method returns an ABORTED error response. */ etag?: string; /** @@ -10320,15 +10319,15 @@ export namespace dataplex_v1 { */ orderBy?: string; /** - * Optional. Maximum number of EntryGroups to return. The service may return fewer than this value. If unspecified, at most 10 EntryGroups will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + * Optional. Maximum number of EntryGroups to return. The service may return fewer than this value. If unspecified, the service returns at most 10 EntryGroups. The maximum value is 1000; values above 1000 will be coerced to 1000. */ pageSize?: number; /** - * Optional. Page token received from a previous ListEntryGroups call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListEntryGroups must match the call that provided the page token. + * Optional. Page token received from a previous ListEntryGroups call. Provide this to retrieve the subsequent page. When paginating, all other parameters you provide to ListEntryGroups must match the call that provided the page token. */ pageToken?: string; /** - * Required. The resource name of the entryGroup location, of the form: projects/{project_number\}/locations/{location_id\} where location_id refers to a GCP region. + * Required. The resource name of the entryGroup location, of the form: projects/{project_number\}/locations/{location_id\} where location_id refers to a Google Cloud region. */ parent?: string; } @@ -10343,7 +10342,7 @@ export namespace dataplex_v1 { */ updateMask?: string; /** - * Optional. Only validate the request, but do not perform mutations. The default is false. + * Optional. The service validates the request, without performing any mutations. The default is false. */ validateOnly?: boolean; @@ -10573,7 +10572,7 @@ export namespace dataplex_v1 { } /** - * Gets a single entry. + * Gets an Entry. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -10666,7 +10665,7 @@ export namespace dataplex_v1 { } /** - * Lists entries within an entry group. + * Lists Entries within an EntryGroup. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -10860,7 +10859,7 @@ export namespace dataplex_v1 { export interface Params$Resource$Projects$Locations$Entrygroups$Entries$Create extends StandardParameters { /** - * Required. Entry identifier. It has to be unique within an Entry Group.Entries corresponding to Google Cloud resources use Entry ID format based on Full Resource Names (https://cloud.google.com/apis/design/resource_names#full_resource_name). The format is a Full Resource Name of the resource without the prefix double slashes in the API Service Name part of Full Resource Name. This allows retrieval of entries using their associated resource name.For example if the Full Resource Name of a resource is //library.googleapis.com/shelves/shelf1/books/book2, then the suggested entry_id is library.googleapis.com/shelves/shelf1/books/book2.It is also suggested to follow the same convention for entries corresponding to resources from other providers or systems than Google Cloud.The maximum size of the field is 4000 characters. + * Required. Entry identifier. It has to be unique within an Entry Group.Entries corresponding to Google Cloud resources use an Entry ID format based on full resource names (https://cloud.google.com/apis/design/resource_names#full_resource_name). The format is a full resource name of the resource without the prefix double slashes in the API service name part of the full resource name. This allows retrieval of entries using their associated resource name.For example, if the full resource name of a resource is //library.googleapis.com/shelves/shelf1/books/book2, then the suggested entry_id is library.googleapis.com/shelves/shelf1/books/book2.It is also suggested to follow the same convention for entries corresponding to resources from providers or systems other than Google Cloud.The maximum size of the field is 4000 characters. */ entryId?: string; /** @@ -10883,7 +10882,7 @@ export namespace dataplex_v1 { export interface Params$Resource$Projects$Locations$Entrygroups$Entries$Get extends StandardParameters { /** - * Optional. Limits the aspects returned to the provided aspect types. Only works if the CUSTOM view is selected. + * Optional. Limits the aspects returned to the provided aspect types. It only works for CUSTOM view. */ aspectTypes?: string[]; /** @@ -10891,26 +10890,26 @@ export namespace dataplex_v1 { */ name?: string; /** - * Optional. Limits the aspects returned to those associated with the provided paths within the Entry. Only works if the CUSTOM view is selected. + * Optional. Limits the aspects returned to those associated with the provided paths within the Entry. It only works for CUSTOM view. */ paths?: string[]; /** - * Optional. View for controlling which parts of an entry are to be returned. + * Optional. View to control which parts of an entry the service should return. */ view?: string; } export interface Params$Resource$Projects$Locations$Entrygroups$Entries$List extends StandardParameters { /** - * Optional. A filter on the entries to return. Filters are case-sensitive. The request can be filtered by the following fields: entry_type, entry_source.display_name. The comparison operators are =, !=, <, \>, <=, \>= (strings are compared according to lexical order) The logical operators AND, OR, NOT can be used in the filter. Wildcard "*" can be used, but for entry_type the full project id or number needs to be provided. Example filter expressions: "entry_source.display_name=AnExampleDisplayName" "entry_type=projects/example-project/locations/global/entryTypes/example-entry_type" "entry_type=projects/example-project/locations/us/entryTypes/a* OR entry_type=projects/another-project/locations/x" "NOT entry_source.display_name=AnotherExampleDisplayName" + * Optional. A filter on the entries to return. Filters are case-sensitive. You can filter the request by the following fields: entry_type entry_source.display_nameThe comparison operators are =, !=, <, \>, <=, \>=. The service compares strings according to lexical order.You can use the logical operators AND, OR, NOT in the filter.You can use Wildcard "*", but for entry_type you need to provide the full project id or number.Example filter expressions: "entry_source.display_name=AnExampleDisplayName" "entry_type=projects/example-project/locations/global/entryTypes/example-entry_type" "entry_type=projects/example-project/locations/us/entryTypes/a* OR entry_type=projects/another-project/locations/x" "NOT entry_source.display_name=AnotherExampleDisplayName" */ filter?: string; /** - * + * Optional. Number of items to return per page. If there are remaining results, the service returns a next_page_token. If unspecified, the service returns at most 10 Entries. The maximum value is 100; values above 100 will be coerced to 100. */ pageSize?: number; /** - * Optional. The pagination token returned by a previous request. + * Optional. Page token received from a previous ListEntries call. Provide this to retrieve the subsequent page. */ pageToken?: string; /** @@ -10921,15 +10920,15 @@ export namespace dataplex_v1 { export interface Params$Resource$Projects$Locations$Entrygroups$Entries$Patch extends StandardParameters { /** - * Optional. If set to true and the entry does not exist, it will be created. + * Optional. If set to true and the entry doesn't exist, the service will create it. */ allowMissing?: boolean; /** - * Optional. The map keys of the Aspects which should be modified. Supports the following syntaxes: * - matches aspect on given type and empty path * @path - matches aspect on given type and specified path * * - matches aspects on given type for all paths * *@path - matches aspects of all types on the given pathExisting aspects matching the syntax will not be removed unless delete_missing_aspects is set to true.If this field is left empty, it will be treated as specifying exactly those Aspects present in the request. + * Optional. The map keys of the Aspects which the service should modify. It supports the following syntaxes: - matches an aspect of the given type and empty path. @path - matches an aspect of the given type and specified path. * - matches aspects of the given type for all paths. *@path - matches aspects of all types on the given path.The service will not remove existing aspects matching the syntax unless delete_missing_aspects is set to true.If this field is left empty, the service treats it as specifying exactly those Aspects present in the request. */ aspectKeys?: string[]; /** - * Optional. If set to true and the aspect_keys specify aspect ranges, any existing aspects from that range not provided in the request will be deleted. + * Optional. If set to true and the aspect_keys specify aspect ranges, the service deletes any existing aspects from that range that weren't provided in the request. */ deleteMissingAspects?: boolean; /** @@ -10937,7 +10936,7 @@ export namespace dataplex_v1 { */ name?: string; /** - * Optional. Mask of fields to update. To update Aspects, the update_mask must contain the value "aspects".If the update_mask is empty, all modifiable fields present in the request will be updated. + * Optional. Mask of fields to update. To update Aspects, the update_mask must contain the value "aspects".If the update_mask is empty, the service will update all modifiable fields present in the request. */ updateMask?: string; @@ -10954,7 +10953,7 @@ export namespace dataplex_v1 { } /** - * Creates an EntryType + * Creates an EntryType. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -11049,7 +11048,7 @@ export namespace dataplex_v1 { } /** - * Deletes a EntryType resource. + * Deletes an EntryType. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -11141,7 +11140,7 @@ export namespace dataplex_v1 { } /** - * Retrieves a EntryType resource. + * Gets an EntryType. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -11426,7 +11425,7 @@ export namespace dataplex_v1 { } /** - * Updates a EntryType resource. + * Updates an EntryType. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -11717,11 +11716,11 @@ export namespace dataplex_v1 { */ entryTypeId?: string; /** - * Required. The resource name of the EntryType, of the form: projects/{project_number\}/locations/{location_id\} where location_id refers to a GCP region. + * Required. The resource name of the EntryType, of the form: projects/{project_number\}/locations/{location_id\} where location_id refers to a Google Cloud region. */ parent?: string; /** - * Optional. Only validate the request, but do not perform mutations. The default is false. + * Optional. The service validates the request without performing any mutations. The default is false. */ validateOnly?: boolean; @@ -11733,7 +11732,7 @@ export namespace dataplex_v1 { export interface Params$Resource$Projects$Locations$Entrytypes$Delete extends StandardParameters { /** - * Optional. If the client provided etag value does not match the current etag value, the DeleteEntryTypeRequest method returns an ABORTED error response + * Optional. If the client provided etag value does not match the current etag value, the DeleteEntryTypeRequest method returns an ABORTED error response. */ etag?: string; /** @@ -11762,23 +11761,23 @@ export namespace dataplex_v1 { export interface Params$Resource$Projects$Locations$Entrytypes$List extends StandardParameters { /** - * Optional. Filter request. Filters are case-sensitive. The following formats are supported:labels.key1 = "value1" labels:key1 name = "value" These restrictions can be coinjoined with AND, OR and NOT conjunctions. + * Optional. Filter request. Filters are case-sensitive. The service supports the following formats: labels.key1 = "value1" labels:key1 name = "value"These restrictions can be conjoined with AND, OR, and NOT conjunctions. */ filter?: string; /** - * Optional. Order by fields (name or create_time) for the result. If not specified, the ordering is undefined. + * Optional. Orders the result by name or create_time fields. If not specified, the ordering is undefined. */ orderBy?: string; /** - * Optional. Maximum number of EntryTypes to return. The service may return fewer than this value. If unspecified, at most 10 EntryTypes will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. + * Optional. Maximum number of EntryTypes to return. The service may return fewer than this value. If unspecified, the service returns at most 10 EntryTypes. The maximum value is 1000; values above 1000 will be coerced to 1000. */ pageSize?: number; /** - * Optional. Page token received from a previous ListEntryTypes call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListEntryTypes must match the call that provided the page token. + * Optional. Page token received from a previous ListEntryTypes call. Provide this to retrieve the subsequent page. When paginating, all other parameters you provided to ListEntryTypes must match the call that provided the page token. */ pageToken?: string; /** - * Required. The resource name of the EntryType location, of the form: projects/{project_number\}/locations/{location_id\} where location_id refers to a GCP region. + * Required. The resource name of the EntryType location, of the form: projects/{project_number\}/locations/{location_id\} where location_id refers to a Google Cloud region. */ parent?: string; } @@ -11793,7 +11792,7 @@ export namespace dataplex_v1 { */ updateMask?: string; /** - * Optional. Only validate the request, but do not perform mutations. The default is false. + * Optional. The service validates the request without performing any mutations. The default is false. */ validateOnly?: boolean; diff --git a/src/apis/dialogflow/v2.ts b/src/apis/dialogflow/v2.ts index 689fec9fed..b7506de591 100644 --- a/src/apis/dialogflow/v2.ts +++ b/src/apis/dialogflow/v2.ts @@ -632,6 +632,10 @@ export namespace dialogflow_v2 { * The target page to transition to. Format: `projects//locations//agents//flows//pages/`. */ targetPage?: string | null; + /** + * The target playbook to transition to. Format: `projects//locations//agents//playbooks/`. + */ + targetPlaybook?: string | null; /** * The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks. */ @@ -1602,11 +1606,11 @@ export namespace dialogflow_v2 { */ export interface Schema$GoogleCloudDialogflowCxV3beta1TestConfig { /** - * Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow. + * Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow. */ flow?: string | null; /** - * The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow. + * The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow. */ page?: string | null; /** @@ -2326,6 +2330,10 @@ export namespace dialogflow_v2 { * The target page to transition to. Format: `projects//locations//agents//flows//pages/`. */ targetPage?: string | null; + /** + * The target playbook to transition to. Format: `projects//locations//agents//playbooks/`. + */ + targetPlaybook?: string | null; /** * The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks. */ @@ -3292,11 +3300,11 @@ export namespace dialogflow_v2 { */ export interface Schema$GoogleCloudDialogflowCxV3TestConfig { /** - * Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow. + * Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow. */ flow?: string | null; /** - * The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow. + * The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow. */ page?: string | null; /** @@ -4327,6 +4335,19 @@ export namespace dialogflow_v2 { */ queryResult?: Schema$GoogleCloudDialogflowV2beta1QueryResult; } + /** + * A customer-managed encryption key specification that can be applied to all created resources (e.g. Conversation). + */ + export interface Schema$GoogleCloudDialogflowV2beta1EncryptionSpec { + /** + * Required. The name of customer-managed encryption key that is used to secure a resource and its sub-resources. If empty, the resource is secured by the default Google encryption key. Only the key in the same location as this resource is allowed to be used for encryption. Format: `projects/{project\}/locations/{location\}/keyRings/{keyRing\}/cryptoKeys/{key\}` + */ + kmsKey?: string | null; + /** + * Immutable. The resource name of the encryption key specification resource. Format: projects/{project\}/locations/{location\}/encryptionSpec + */ + name?: string | null; + } /** * Each intent parameter has a type, called the entity type, which dictates exactly how data from an end-user expression is extracted. Dialogflow provides predefined system entities that can match many common types of data. For example, there are system entities for matching dates, times, colors, email addresses, and so on. You can also create your own custom entities for matching custom data. For example, you could define a vegetable entity that can match the types of vegetables available for purchase with a grocery store agent. For more information, see the [Entity guide](https://cloud.google.com/dialogflow/docs/entities-overview). */ @@ -4472,6 +4493,24 @@ export namespace dialogflow_v2 { */ warnings?: Schema$GoogleRpcStatus[]; } + /** + * Metadata for initializing a location-level encryption specification. + */ + export interface Schema$GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata { + /** + * Output only. The original request for initialization. + */ + request?: Schema$GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest; + } + /** + * The request to initialize a location-level encryption specification. + */ + export interface Schema$GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest { + /** + * Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. If the kms_key_name is left empty, no encryption will be enforced. + */ + encryptionSpec?: Schema$GoogleCloudDialogflowV2beta1EncryptionSpec; + } /** * An intent categorizes an end-user's intention for one conversation turn. For each agent, you define many intents, where your combined intents can handle a complete conversation. When an end-user writes or says something, referred to as an end-user expression or end-user input, Dialogflow matches the end-user input to the best intent in your agent. Matching an intent is also known as intent classification. For more information, see the [intent guide](https://cloud.google.com/dialogflow/docs/intents-overview). */ @@ -5512,6 +5551,10 @@ export namespace dialogflow_v2 { * Output only. The role of the participant. */ participantRole?: string | null; + /** + * Optional. Automated agent responses. + */ + responseMessages?: Schema$GoogleCloudDialogflowV2beta1ResponseMessage[]; /** * Optional. The time when the message was sent. */ @@ -5624,6 +5667,96 @@ export namespace dialogflow_v2 { */ webhookSource?: string | null; } + /** + * Response messages from an automated agent. + */ + export interface Schema$GoogleCloudDialogflowV2beta1ResponseMessage { + /** + * A signal that indicates the interaction with the Dialogflow agent has ended. + */ + endInteraction?: Schema$GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction; + /** + * Hands off conversation to a live agent. + */ + liveAgentHandoff?: Schema$GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff; + /** + * An audio response message composed of both the synthesized Dialogflow agent responses and the audios hosted in places known to the client. + */ + mixedAudio?: Schema$GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio; + /** + * Returns a response containing a custom, platform-specific payload. + */ + payload?: {[key: string]: any} | null; + /** + * A signal that the client should transfer the phone call connected to this agent to a third-party endpoint. + */ + telephonyTransferCall?: Schema$GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall; + /** + * Returns a text response. + */ + text?: Schema$GoogleCloudDialogflowV2beta1ResponseMessageText; + } + /** + * Indicates that interaction with the Dialogflow agent has ended. + */ + export interface Schema$GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction {} + /** + * Indicates that the conversation should be handed off to a human agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example: * In the entry fulfillment of a CX Page if entering the page indicates something went extremely wrong in the conversation. * In a webhook response when you determine that the customer issue can only be handled by a human. + */ + export interface Schema$GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff { + /** + * Custom metadata for your handoff procedure. Dialogflow doesn't impose any structure on this. + */ + metadata?: {[key: string]: any} | null; + } + /** + * Represents an audio message that is composed of both segments synthesized from the Dialogflow agent prompts and ones hosted externally at the specified URIs. + */ + export interface Schema$GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio { + /** + * Segments this audio response is composed of. + */ + segments?: Schema$GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment[]; + } + /** + * Represents one segment of audio. + */ + export interface Schema$GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment { + /** + * Whether the playback of this segment can be interrupted by the end user's speech and the client should then start the next Dialogflow request. + */ + allowPlaybackInterruption?: boolean | null; + /** + * Raw audio synthesized from the Dialogflow agent's response using the output config specified in the request. + */ + audio?: string | null; + /** + * Client-specific URI that points to an audio clip accessible to the client. + */ + uri?: string | null; + } + /** + * Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint. + */ + export interface Schema$GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall { + /** + * Transfer the call to a phone number in [E.164 format](https://en.wikipedia.org/wiki/E.164). + */ + phoneNumber?: string | null; + /** + * Transfer the call to a SIP endpoint. + */ + sipUri?: string | null; + } + /** + * The text response message. + */ + export interface Schema$GoogleCloudDialogflowV2beta1ResponseMessageText { + /** + * A collection of text responses. + */ + text?: string[] | null; + } /** * The sentiment, such as positive/negative feeling or association, for a unit of analysis, such as the query text. See: https://cloud.google.com/natural-language/docs/basics#interpreting_sentiment_analysis_values for how to interpret the result. */ @@ -6409,6 +6542,19 @@ export namespace dialogflow_v2 { */ acceptsDtmfInput?: boolean | null; } + /** + * A customer-managed encryption key specification that can be applied to all created resources (e.g. Conversation). + */ + export interface Schema$GoogleCloudDialogflowV2EncryptionSpec { + /** + * Required. The name of customer-managed encryption key that is used to secure a resource and its sub-resources. If empty, the resource is secured by the default Google encryption key. Only the key in the same location as this resource is allowed to be used for encryption. Format: `projects/{project\}/locations/{location\}/keyRings/{keyRing\}/cryptoKeys/{key\}` + */ + kmsKey?: string | null; + /** + * Immutable. The resource name of the encryption key specification resource. Format: projects/{project\}/locations/{location\}/encryptionSpec + */ + name?: string | null; + } /** * Each intent parameter has a type, called the entity type, which dictates exactly how data from an end-user expression is extracted. Dialogflow provides predefined system entities that can match many common types of data. For example, there are system entities for matching dates, times, colors, email addresses, and so on. You can also create your own custom entities for matching custom data. For example, you could define a vegetable entity that can match the types of vegetables available for purchase with a grocery store agent. For more information, see the [Entity guide](https://cloud.google.com/dialogflow/docs/entities-overview). */ @@ -7308,6 +7454,24 @@ export namespace dialogflow_v2 { */ topP?: number | null; } + /** + * Metadata for initializing a location-level encryption specification. + */ + export interface Schema$GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata { + /** + * Output only. The original request for initialization. + */ + request?: Schema$GoogleCloudDialogflowV2InitializeEncryptionSpecRequest; + } + /** + * The request to initialize a location-level encryption specification. + */ + export interface Schema$GoogleCloudDialogflowV2InitializeEncryptionSpecRequest { + /** + * Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. If the kms_key_name is left empty, no encryption will be enforced. + */ + encryptionSpec?: Schema$GoogleCloudDialogflowV2EncryptionSpec; + } /** * Instructs the speech recognizer how to process the audio content. */ @@ -8961,10 +9125,30 @@ export namespace dialogflow_v2 { * Configures speech transcription for ConversationProfile. */ export interface Schema$GoogleCloudDialogflowV2SpeechToTextConfig { + /** + * Defines the list of other language codes in addition to the one provided by the conversation profile that may be detected as the language code for the utterances over the conversation. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. + */ + alternativeLanguageCodes?: string[] | null; + /** + * Audio encoding of the audio content to process. + */ + audioEncoding?: string | null; + /** + * If `true`, Dialogflow returns SpeechWordInfo in StreamingRecognitionResult with information about the recognized speech words, e.g. start and end time offsets. If false or unspecified, Speech doesn't return any word-level information. + */ + enableWordInfo?: boolean | null; + /** + * The language of the supplied audio. Dialogflow does not do translations. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language. + */ + languageCode?: string | null; /** * Which Speech model to select. Select the model best suited to your domain to get best results. If a model is not explicitly specified, then Dialogflow auto-selects a model based on other parameters in the SpeechToTextConfig and Agent settings. If enhanced speech model is enabled for the agent and an enhanced version of the specified model for the language does not exist, then the speech is recognized using the standard version of the specified model. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model) for more details. If you specify a model, the following models typically have the best performance: - phone_call (best for Agent Assist and telephony) - latest_short (best for Dialogflow non-telephony) - command_and_search Leave this field unspecified to use [Agent Speech settings](https://cloud.google.com/dialogflow/cx/docs/concept/agent#settings-speech) for model selection. */ model?: string | null; + /** + * Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics) for more details. + */ + sampleRateHertz?: number | null; /** * The speech model used in speech to text. `SPEECH_MODEL_VARIANT_UNSPECIFIED`, `USE_BEST_AVAILABLE` will be treated as `USE_ENHANCED`. It can be overridden in AnalyzeContentRequest and StreamingAnalyzeContentRequest request. If enhanced model variant is specified and an enhanced version of the specified model for the language does not exist, then it would emit an error. */ @@ -23596,6 +23780,7 @@ export namespace dialogflow_v2 { conversationModels: Resource$Projects$Locations$Conversationmodels; conversationProfiles: Resource$Projects$Locations$Conversationprofiles; conversations: Resource$Projects$Locations$Conversations; + encryptionSpec: Resource$Projects$Locations$Encryptionspec; generators: Resource$Projects$Locations$Generators; knowledgeBases: Resource$Projects$Locations$Knowledgebases; operations: Resource$Projects$Locations$Operations; @@ -23616,6 +23801,9 @@ export namespace dialogflow_v2 { this.conversations = new Resource$Projects$Locations$Conversations( this.context ); + this.encryptionSpec = new Resource$Projects$Locations$Encryptionspec( + this.context + ); this.generators = new Resource$Projects$Locations$Generators( this.context ); @@ -23914,6 +24102,100 @@ export namespace dialogflow_v2 { } } + /** + * Gets location-level encryption key specification. + * + * @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. + */ + getEncryptionSpec( + params: Params$Resource$Projects$Locations$Getencryptionspec, + options: StreamMethodOptions + ): GaxiosPromise; + getEncryptionSpec( + params?: Params$Resource$Projects$Locations$Getencryptionspec, + options?: MethodOptions + ): GaxiosPromise; + getEncryptionSpec( + params: Params$Resource$Projects$Locations$Getencryptionspec, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + getEncryptionSpec( + params: Params$Resource$Projects$Locations$Getencryptionspec, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + getEncryptionSpec( + params: Params$Resource$Projects$Locations$Getencryptionspec, + callback: BodyResponseCallback + ): void; + getEncryptionSpec( + callback: BodyResponseCallback + ): void; + getEncryptionSpec( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Getencryptionspec + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Getencryptionspec; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Getencryptionspec; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v2/{+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. * @@ -24130,6 +24412,13 @@ export namespace dialogflow_v2 { */ parent?: string; } + export interface Params$Resource$Projects$Locations$Getencryptionspec + extends StandardParameters { + /** + * Required. The name of the encryption spec resource to get. + */ + name?: string; + } export interface Params$Resource$Projects$Locations$List extends StandardParameters { /** @@ -35231,6 +35520,122 @@ export namespace dialogflow_v2 { requestBody?: Schema$GoogleCloudDialogflowV2SuggestConversationSummaryRequest; } + export class Resource$Projects$Locations$Encryptionspec { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Initializes a location-level encryption key specification. An error will be thrown if the location has resources already created before the initialization. Once the encryption specification is initialized at a location, it is immutable and all newly created resources under the location will be encrypted with the existing specification. + * + * @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. + */ + initialize( + params: Params$Resource$Projects$Locations$Encryptionspec$Initialize, + options: StreamMethodOptions + ): GaxiosPromise; + initialize( + params?: Params$Resource$Projects$Locations$Encryptionspec$Initialize, + options?: MethodOptions + ): GaxiosPromise; + initialize( + params: Params$Resource$Projects$Locations$Encryptionspec$Initialize, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + initialize( + params: Params$Resource$Projects$Locations$Encryptionspec$Initialize, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + initialize( + params: Params$Resource$Projects$Locations$Encryptionspec$Initialize, + callback: BodyResponseCallback + ): void; + initialize( + callback: BodyResponseCallback + ): void; + initialize( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Encryptionspec$Initialize + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Encryptionspec$Initialize; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Encryptionspec$Initialize; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v2/{+name}:initialize').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + 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$Encryptionspec$Initialize + extends StandardParameters { + /** + * Immutable. The resource name of the encryption key specification resource. Format: projects/{project\}/locations/{location\}/encryptionSpec + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudDialogflowV2InitializeEncryptionSpecRequest; + } + export class Resource$Projects$Locations$Generators { context: APIRequestContext; constructor(context: APIRequestContext) { diff --git a/src/apis/dialogflow/v2beta1.ts b/src/apis/dialogflow/v2beta1.ts index 2beff5da0d..c84c9dad25 100644 --- a/src/apis/dialogflow/v2beta1.ts +++ b/src/apis/dialogflow/v2beta1.ts @@ -632,6 +632,10 @@ export namespace dialogflow_v2beta1 { * The target page to transition to. Format: `projects//locations//agents//flows//pages/`. */ targetPage?: string | null; + /** + * The target playbook to transition to. Format: `projects//locations//agents//playbooks/`. + */ + targetPlaybook?: string | null; /** * The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks. */ @@ -1602,11 +1606,11 @@ export namespace dialogflow_v2beta1 { */ export interface Schema$GoogleCloudDialogflowCxV3beta1TestConfig { /** - * Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow. + * Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow. */ flow?: string | null; /** - * The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow. + * The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow. */ page?: string | null; /** @@ -2326,6 +2330,10 @@ export namespace dialogflow_v2beta1 { * The target page to transition to. Format: `projects//locations//agents//flows//pages/`. */ targetPage?: string | null; + /** + * The target playbook to transition to. Format: `projects//locations//agents//playbooks/`. + */ + targetPlaybook?: string | null; /** * The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks. */ @@ -3292,11 +3300,11 @@ export namespace dialogflow_v2beta1 { */ export interface Schema$GoogleCloudDialogflowCxV3TestConfig { /** - * Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow. + * Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow. */ flow?: string | null; /** - * The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow. + * The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow. */ page?: string | null; /** @@ -4719,6 +4727,19 @@ export namespace dialogflow_v2beta1 { */ acceptsDtmfInput?: boolean | null; } + /** + * A customer-managed encryption key specification that can be applied to all created resources (e.g. Conversation). + */ + export interface Schema$GoogleCloudDialogflowV2beta1EncryptionSpec { + /** + * Required. The name of customer-managed encryption key that is used to secure a resource and its sub-resources. If empty, the resource is secured by the default Google encryption key. Only the key in the same location as this resource is allowed to be used for encryption. Format: `projects/{project\}/locations/{location\}/keyRings/{keyRing\}/cryptoKeys/{key\}` + */ + kmsKey?: string | null; + /** + * Immutable. The resource name of the encryption key specification resource. Format: projects/{project\}/locations/{location\}/encryptionSpec + */ + name?: string | null; + } /** * Each intent parameter has a type, called the entity type, which dictates exactly how data from an end-user expression is extracted. Dialogflow provides predefined system entities that can match many common types of data. For example, there are system entities for matching dates, times, colors, email addresses, and so on. You can also create your own custom entities for matching custom data. For example, you could define a vegetable entity that can match the types of vegetables available for purchase with a grocery store agent. For more information, see the [Entity guide](https://cloud.google.com/dialogflow/docs/entities-overview). */ @@ -5528,6 +5549,24 @@ export namespace dialogflow_v2beta1 { */ topP?: number | null; } + /** + * Metadata for initializing a location-level encryption specification. + */ + export interface Schema$GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata { + /** + * Output only. The original request for initialization. + */ + request?: Schema$GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest; + } + /** + * The request to initialize a location-level encryption specification. + */ + export interface Schema$GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest { + /** + * Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. If the kms_key_name is left empty, no encryption will be enforced. + */ + encryptionSpec?: Schema$GoogleCloudDialogflowV2beta1EncryptionSpec; + } /** * Instructs the speech recognizer on how to process the audio content. */ @@ -6872,6 +6911,10 @@ export namespace dialogflow_v2beta1 { * Output only. The role of the participant. */ participantRole?: string | null; + /** + * Optional. Automated agent responses. + */ + responseMessages?: Schema$GoogleCloudDialogflowV2beta1ResponseMessage[]; /** * Optional. The time when the message was sent. */ @@ -7464,10 +7507,30 @@ export namespace dialogflow_v2beta1 { * Configures speech transcription for ConversationProfile. */ export interface Schema$GoogleCloudDialogflowV2beta1SpeechToTextConfig { + /** + * Defines the list of other language codes in addition to the one provided by the conversation profile that may be detected as the language code for the utterances over the conversation. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. + */ + alternativeLanguageCodes?: string[] | null; + /** + * Audio encoding of the audio content to process. + */ + audioEncoding?: string | null; + /** + * If `true`, Dialogflow returns SpeechWordInfo in StreamingRecognitionResult with information about the recognized speech words, e.g. start and end time offsets. If false or unspecified, Speech doesn't return any word-level information. + */ + enableWordInfo?: boolean | null; + /** + * The language of the supplied audio. Dialogflow does not do translations. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language. + */ + languageCode?: string | null; /** * Which Speech model to select. Select the model best suited to your domain to get best results. If a model is not explicitly specified, then Dialogflow auto-selects a model based on other parameters in the SpeechToTextConfig and Agent settings. If enhanced speech model is enabled for the agent and an enhanced version of the specified model for the language does not exist, then the speech is recognized using the standard version of the specified model. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model) for more details. If you specify a model, the following models typically have the best performance: - phone_call (best for Agent Assist and telephony) - latest_short (best for Dialogflow non-telephony) - command_and_search Leave this field unspecified to use [Agent Speech settings](https://cloud.google.com/dialogflow/cx/docs/concept/agent#settings-speech) for model selection. */ model?: string | null; + /** + * Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics) for more details. + */ + sampleRateHertz?: number | null; /** * The speech model used in speech to text. `SPEECH_MODEL_VARIANT_UNSPECIFIED`, `USE_BEST_AVAILABLE` will be treated as `USE_ENHANCED`. It can be overridden in AnalyzeContentRequest and StreamingAnalyzeContentRequest request. If enhanced model variant is specified and an enhanced version of the specified model for the language does not exist, then it would emit an error. */ @@ -8286,6 +8349,19 @@ export namespace dialogflow_v2beta1 { */ createTime?: string | null; } + /** + * A customer-managed encryption key specification that can be applied to all created resources (e.g. Conversation). + */ + export interface Schema$GoogleCloudDialogflowV2EncryptionSpec { + /** + * Required. The name of customer-managed encryption key that is used to secure a resource and its sub-resources. If empty, the resource is secured by the default Google encryption key. Only the key in the same location as this resource is allowed to be used for encryption. Format: `projects/{project\}/locations/{location\}/keyRings/{keyRing\}/cryptoKeys/{key\}` + */ + kmsKey?: string | null; + /** + * Immutable. The resource name of the encryption key specification resource. Format: projects/{project\}/locations/{location\}/encryptionSpec + */ + name?: string | null; + } /** * Each intent parameter has a type, called the entity type, which dictates exactly how data from an end-user expression is extracted. Dialogflow provides predefined system entities that can match many common types of data. For example, there are system entities for matching dates, times, colors, email addresses, and so on. You can also create your own custom entities for matching custom data. For example, you could define a vegetable entity that can match the types of vegetables available for purchase with a grocery store agent. For more information, see the [Entity guide](https://cloud.google.com/dialogflow/docs/entities-overview). */ @@ -8461,6 +8537,24 @@ export namespace dialogflow_v2beta1 { */ warnings?: Schema$GoogleRpcStatus[]; } + /** + * Metadata for initializing a location-level encryption specification. + */ + export interface Schema$GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata { + /** + * Output only. The original request for initialization. + */ + request?: Schema$GoogleCloudDialogflowV2InitializeEncryptionSpecRequest; + } + /** + * The request to initialize a location-level encryption specification. + */ + export interface Schema$GoogleCloudDialogflowV2InitializeEncryptionSpecRequest { + /** + * Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. If the kms_key_name is left empty, no encryption will be enforced. + */ + encryptionSpec?: Schema$GoogleCloudDialogflowV2EncryptionSpec; + } /** * InputDataset used to create model or do evaluation. NextID:5 */ @@ -22861,6 +22955,7 @@ export namespace dialogflow_v2beta1 { answerRecords: Resource$Projects$Locations$Answerrecords; conversationProfiles: Resource$Projects$Locations$Conversationprofiles; conversations: Resource$Projects$Locations$Conversations; + encryptionSpec: Resource$Projects$Locations$Encryptionspec; generators: Resource$Projects$Locations$Generators; knowledgeBases: Resource$Projects$Locations$Knowledgebases; operations: Resource$Projects$Locations$Operations; @@ -22877,6 +22972,9 @@ export namespace dialogflow_v2beta1 { this.conversations = new Resource$Projects$Locations$Conversations( this.context ); + this.encryptionSpec = new Resource$Projects$Locations$Encryptionspec( + this.context + ); this.generators = new Resource$Projects$Locations$Generators( this.context ); @@ -23175,6 +23273,100 @@ export namespace dialogflow_v2beta1 { } } + /** + * Gets location-level encryption key specification. + * + * @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. + */ + getEncryptionSpec( + params: Params$Resource$Projects$Locations$Getencryptionspec, + options: StreamMethodOptions + ): GaxiosPromise; + getEncryptionSpec( + params?: Params$Resource$Projects$Locations$Getencryptionspec, + options?: MethodOptions + ): GaxiosPromise; + getEncryptionSpec( + params: Params$Resource$Projects$Locations$Getencryptionspec, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + getEncryptionSpec( + params: Params$Resource$Projects$Locations$Getencryptionspec, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + getEncryptionSpec( + params: Params$Resource$Projects$Locations$Getencryptionspec, + callback: BodyResponseCallback + ): void; + getEncryptionSpec( + callback: BodyResponseCallback + ): void; + getEncryptionSpec( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Getencryptionspec + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Getencryptionspec; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Getencryptionspec; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v2beta1/{+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. * @@ -23391,6 +23583,13 @@ export namespace dialogflow_v2beta1 { */ parent?: string; } + export interface Params$Resource$Projects$Locations$Getencryptionspec + extends StandardParameters { + /** + * Required. The name of the encryption spec resource to get. + */ + name?: string; + } export interface Params$Resource$Projects$Locations$List extends StandardParameters { /** @@ -33182,6 +33381,122 @@ export namespace dialogflow_v2beta1 { requestBody?: Schema$GoogleCloudDialogflowV2beta1SuggestConversationSummaryRequest; } + export class Resource$Projects$Locations$Encryptionspec { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Initializes a location-level encryption key specification. An error will be thrown if the location has resources already created before the initialization. Once the encryption specification is initialized at a location, it is immutable and all newly created resources under the location will be encrypted with the existing specification. + * + * @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. + */ + initialize( + params: Params$Resource$Projects$Locations$Encryptionspec$Initialize, + options: StreamMethodOptions + ): GaxiosPromise; + initialize( + params?: Params$Resource$Projects$Locations$Encryptionspec$Initialize, + options?: MethodOptions + ): GaxiosPromise; + initialize( + params: Params$Resource$Projects$Locations$Encryptionspec$Initialize, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + initialize( + params: Params$Resource$Projects$Locations$Encryptionspec$Initialize, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + initialize( + params: Params$Resource$Projects$Locations$Encryptionspec$Initialize, + callback: BodyResponseCallback + ): void; + initialize( + callback: BodyResponseCallback + ): void; + initialize( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Encryptionspec$Initialize + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Encryptionspec$Initialize; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Encryptionspec$Initialize; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v2beta1/{+name}:initialize').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + 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$Encryptionspec$Initialize + extends StandardParameters { + /** + * Immutable. The resource name of the encryption key specification resource. Format: projects/{project\}/locations/{location\}/encryptionSpec + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest; + } + export class Resource$Projects$Locations$Generators { context: APIRequestContext; constructor(context: APIRequestContext) { diff --git a/src/apis/dialogflow/v3.ts b/src/apis/dialogflow/v3.ts index 16ea0dfd70..01ad16d6e6 100644 --- a/src/apis/dialogflow/v3.ts +++ b/src/apis/dialogflow/v3.ts @@ -843,6 +843,10 @@ export namespace dialogflow_v3 { * The target page to transition to. Format: `projects//locations//agents//flows//pages/`. */ targetPage?: string | null; + /** + * The target playbook to transition to. Format: `projects//locations//agents//playbooks/`. + */ + targetPlaybook?: string | null; /** * The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks. */ @@ -1813,11 +1817,11 @@ export namespace dialogflow_v3 { */ export interface Schema$GoogleCloudDialogflowCxV3beta1TestConfig { /** - * Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow. + * Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow. */ flow?: string | null; /** - * The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow. + * The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow. */ page?: string | null; /** @@ -2573,6 +2577,10 @@ export namespace dialogflow_v3 { * Diagnostic info related to the answer generation model call. */ export interface Schema$GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerGenerationModelCallSignals { + /** + * Name of the generative model. For example, "gemini-ultra", "gemini-pro", "gemini-1.5-flash" etc. Defaults to "Other" if the model is unknown. + */ + model?: string | null; /** * Output of the generative model. */ @@ -2625,6 +2633,10 @@ export namespace dialogflow_v3 { * Diagnostic info related to the rewriter model call. */ export interface Schema$GoogleCloudDialogflowCxV3DataStoreConnectionSignalsRewriterModelCallSignals { + /** + * Name of the generative model. For example, "gemini-ultra", "gemini-pro", "gemini-1.5-flash" etc. Defaults to "Other" if the model is unknown. + */ + model?: string | null; /** * Output of the generative model. */ @@ -2956,6 +2968,10 @@ export namespace dialogflow_v3 { * The target page to transition to. Format: `projects//locations//agents//flows//pages/`. */ targetPage?: string | null; + /** + * The target playbook to transition to. Format: `projects//locations//agents//playbooks/`. + */ + targetPlaybook?: string | null; /** * The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks. */ @@ -5384,11 +5400,11 @@ export namespace dialogflow_v3 { */ export interface Schema$GoogleCloudDialogflowCxV3TestConfig { /** - * Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow. + * Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow. */ flow?: string | null; /** - * The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow. + * The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow. */ page?: string | null; /** @@ -6264,6 +6280,19 @@ export namespace dialogflow_v3 { */ queryResult?: Schema$GoogleCloudDialogflowV2beta1QueryResult; } + /** + * A customer-managed encryption key specification that can be applied to all created resources (e.g. Conversation). + */ + export interface Schema$GoogleCloudDialogflowV2beta1EncryptionSpec { + /** + * Required. The name of customer-managed encryption key that is used to secure a resource and its sub-resources. If empty, the resource is secured by the default Google encryption key. Only the key in the same location as this resource is allowed to be used for encryption. Format: `projects/{project\}/locations/{location\}/keyRings/{keyRing\}/cryptoKeys/{key\}` + */ + kmsKey?: string | null; + /** + * Immutable. The resource name of the encryption key specification resource. Format: projects/{project\}/locations/{location\}/encryptionSpec + */ + name?: string | null; + } /** * Each intent parameter has a type, called the entity type, which dictates exactly how data from an end-user expression is extracted. Dialogflow provides predefined system entities that can match many common types of data. For example, there are system entities for matching dates, times, colors, email addresses, and so on. You can also create your own custom entities for matching custom data. For example, you could define a vegetable entity that can match the types of vegetables available for purchase with a grocery store agent. For more information, see the [Entity guide](https://cloud.google.com/dialogflow/docs/entities-overview). */ @@ -6409,6 +6438,24 @@ export namespace dialogflow_v3 { */ warnings?: Schema$GoogleRpcStatus[]; } + /** + * Metadata for initializing a location-level encryption specification. + */ + export interface Schema$GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata { + /** + * Output only. The original request for initialization. + */ + request?: Schema$GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest; + } + /** + * The request to initialize a location-level encryption specification. + */ + export interface Schema$GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest { + /** + * Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. If the kms_key_name is left empty, no encryption will be enforced. + */ + encryptionSpec?: Schema$GoogleCloudDialogflowV2beta1EncryptionSpec; + } /** * An intent categorizes an end-user's intention for one conversation turn. For each agent, you define many intents, where your combined intents can handle a complete conversation. When an end-user writes or says something, referred to as an end-user expression or end-user input, Dialogflow matches the end-user input to the best intent in your agent. Matching an intent is also known as intent classification. For more information, see the [intent guide](https://cloud.google.com/dialogflow/docs/intents-overview). */ @@ -7449,6 +7496,10 @@ export namespace dialogflow_v3 { * Output only. The role of the participant. */ participantRole?: string | null; + /** + * Optional. Automated agent responses. + */ + responseMessages?: Schema$GoogleCloudDialogflowV2beta1ResponseMessage[]; /** * Optional. The time when the message was sent. */ @@ -7561,6 +7612,96 @@ export namespace dialogflow_v3 { */ webhookSource?: string | null; } + /** + * Response messages from an automated agent. + */ + export interface Schema$GoogleCloudDialogflowV2beta1ResponseMessage { + /** + * A signal that indicates the interaction with the Dialogflow agent has ended. + */ + endInteraction?: Schema$GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction; + /** + * Hands off conversation to a live agent. + */ + liveAgentHandoff?: Schema$GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff; + /** + * An audio response message composed of both the synthesized Dialogflow agent responses and the audios hosted in places known to the client. + */ + mixedAudio?: Schema$GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio; + /** + * Returns a response containing a custom, platform-specific payload. + */ + payload?: {[key: string]: any} | null; + /** + * A signal that the client should transfer the phone call connected to this agent to a third-party endpoint. + */ + telephonyTransferCall?: Schema$GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall; + /** + * Returns a text response. + */ + text?: Schema$GoogleCloudDialogflowV2beta1ResponseMessageText; + } + /** + * Indicates that interaction with the Dialogflow agent has ended. + */ + export interface Schema$GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction {} + /** + * Indicates that the conversation should be handed off to a human agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example: * In the entry fulfillment of a CX Page if entering the page indicates something went extremely wrong in the conversation. * In a webhook response when you determine that the customer issue can only be handled by a human. + */ + export interface Schema$GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff { + /** + * Custom metadata for your handoff procedure. Dialogflow doesn't impose any structure on this. + */ + metadata?: {[key: string]: any} | null; + } + /** + * Represents an audio message that is composed of both segments synthesized from the Dialogflow agent prompts and ones hosted externally at the specified URIs. + */ + export interface Schema$GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio { + /** + * Segments this audio response is composed of. + */ + segments?: Schema$GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment[]; + } + /** + * Represents one segment of audio. + */ + export interface Schema$GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment { + /** + * Whether the playback of this segment can be interrupted by the end user's speech and the client should then start the next Dialogflow request. + */ + allowPlaybackInterruption?: boolean | null; + /** + * Raw audio synthesized from the Dialogflow agent's response using the output config specified in the request. + */ + audio?: string | null; + /** + * Client-specific URI that points to an audio clip accessible to the client. + */ + uri?: string | null; + } + /** + * Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint. + */ + export interface Schema$GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall { + /** + * Transfer the call to a phone number in [E.164 format](https://en.wikipedia.org/wiki/E.164). + */ + phoneNumber?: string | null; + /** + * Transfer the call to a SIP endpoint. + */ + sipUri?: string | null; + } + /** + * The text response message. + */ + export interface Schema$GoogleCloudDialogflowV2beta1ResponseMessageText { + /** + * A collection of text responses. + */ + text?: string[] | null; + } /** * The sentiment, such as positive/negative feeling or association, for a unit of analysis, such as the query text. See: https://cloud.google.com/natural-language/docs/basics#interpreting_sentiment_analysis_values for how to interpret the result. */ @@ -7995,6 +8136,19 @@ export namespace dialogflow_v3 { */ createTime?: string | null; } + /** + * A customer-managed encryption key specification that can be applied to all created resources (e.g. Conversation). + */ + export interface Schema$GoogleCloudDialogflowV2EncryptionSpec { + /** + * Required. The name of customer-managed encryption key that is used to secure a resource and its sub-resources. If empty, the resource is secured by the default Google encryption key. Only the key in the same location as this resource is allowed to be used for encryption. Format: `projects/{project\}/locations/{location\}/keyRings/{keyRing\}/cryptoKeys/{key\}` + */ + kmsKey?: string | null; + /** + * Immutable. The resource name of the encryption key specification resource. Format: projects/{project\}/locations/{location\}/encryptionSpec + */ + name?: string | null; + } /** * Each intent parameter has a type, called the entity type, which dictates exactly how data from an end-user expression is extracted. Dialogflow provides predefined system entities that can match many common types of data. For example, there are system entities for matching dates, times, colors, email addresses, and so on. You can also create your own custom entities for matching custom data. For example, you could define a vegetable entity that can match the types of vegetables available for purchase with a grocery store agent. For more information, see the [Entity guide](https://cloud.google.com/dialogflow/docs/entities-overview). */ @@ -8170,6 +8324,24 @@ export namespace dialogflow_v3 { */ warnings?: Schema$GoogleRpcStatus[]; } + /** + * Metadata for initializing a location-level encryption specification. + */ + export interface Schema$GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata { + /** + * Output only. The original request for initialization. + */ + request?: Schema$GoogleCloudDialogflowV2InitializeEncryptionSpecRequest; + } + /** + * The request to initialize a location-level encryption specification. + */ + export interface Schema$GoogleCloudDialogflowV2InitializeEncryptionSpecRequest { + /** + * Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. If the kms_key_name is left empty, no encryption will be enforced. + */ + encryptionSpec?: Schema$GoogleCloudDialogflowV2EncryptionSpec; + } /** * InputDataset used to create model or do evaluation. NextID:5 */ diff --git a/src/apis/dialogflow/v3beta1.ts b/src/apis/dialogflow/v3beta1.ts index 95df81fe7a..80cc13034c 100644 --- a/src/apis/dialogflow/v3beta1.ts +++ b/src/apis/dialogflow/v3beta1.ts @@ -1115,6 +1115,10 @@ export namespace dialogflow_v3beta1 { * Diagnostic info related to the answer generation model call. */ export interface Schema$GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerGenerationModelCallSignals { + /** + * Name of the generative model. For example, "gemini-ultra", "gemini-pro", "gemini-1.5-flash" etc. Defaults to "Other" if the model is unknown. + */ + model?: string | null; /** * Output of the generative model. */ @@ -1167,6 +1171,10 @@ export namespace dialogflow_v3beta1 { * Diagnostic info related to the rewriter model call. */ export interface Schema$GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsRewriterModelCallSignals { + /** + * Name of the generative model. For example, "gemini-ultra", "gemini-pro", "gemini-1.5-flash" etc. Defaults to "Other" if the model is unknown. + */ + model?: string | null; /** * Output of the generative model. */ @@ -1502,6 +1510,10 @@ export namespace dialogflow_v3beta1 { * The target page to transition to. Format: `projects//locations//agents//flows//pages/`. */ targetPage?: string | null; + /** + * The target playbook to transition to. Format: `projects//locations//agents//playbooks/`. + */ + targetPlaybook?: string | null; /** * The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks. */ @@ -4324,11 +4336,11 @@ export namespace dialogflow_v3beta1 { */ export interface Schema$GoogleCloudDialogflowCxV3beta1TestConfig { /** - * Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow. + * Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow. */ flow?: string | null; /** - * The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow. + * The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow. */ page?: string | null; /** @@ -5508,6 +5520,10 @@ export namespace dialogflow_v3beta1 { * The target page to transition to. Format: `projects//locations//agents//flows//pages/`. */ targetPage?: string | null; + /** + * The target playbook to transition to. Format: `projects//locations//agents//playbooks/`. + */ + targetPlaybook?: string | null; /** * The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks. */ @@ -6474,11 +6490,11 @@ export namespace dialogflow_v3beta1 { */ export interface Schema$GoogleCloudDialogflowCxV3TestConfig { /** - * Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow. + * Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow. */ flow?: string | null; /** - * The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If both are set, `page` takes precedence over `flow`. If neither is set, the test case will start with start page on the default start flow. + * The page to start the test case with. Format: `projects//locations//agents//flows//pages/`. Only one of `flow` and `page` should be set to indicate the starting point of the test case. If neither is set, the test case will start with start page on the default start flow. */ page?: string | null; /** @@ -7100,6 +7116,19 @@ export namespace dialogflow_v3beta1 { */ queryResult?: Schema$GoogleCloudDialogflowV2beta1QueryResult; } + /** + * A customer-managed encryption key specification that can be applied to all created resources (e.g. Conversation). + */ + export interface Schema$GoogleCloudDialogflowV2beta1EncryptionSpec { + /** + * Required. The name of customer-managed encryption key that is used to secure a resource and its sub-resources. If empty, the resource is secured by the default Google encryption key. Only the key in the same location as this resource is allowed to be used for encryption. Format: `projects/{project\}/locations/{location\}/keyRings/{keyRing\}/cryptoKeys/{key\}` + */ + kmsKey?: string | null; + /** + * Immutable. The resource name of the encryption key specification resource. Format: projects/{project\}/locations/{location\}/encryptionSpec + */ + name?: string | null; + } /** * Each intent parameter has a type, called the entity type, which dictates exactly how data from an end-user expression is extracted. Dialogflow provides predefined system entities that can match many common types of data. For example, there are system entities for matching dates, times, colors, email addresses, and so on. You can also create your own custom entities for matching custom data. For example, you could define a vegetable entity that can match the types of vegetables available for purchase with a grocery store agent. For more information, see the [Entity guide](https://cloud.google.com/dialogflow/docs/entities-overview). */ @@ -7245,6 +7274,24 @@ export namespace dialogflow_v3beta1 { */ warnings?: Schema$GoogleRpcStatus[]; } + /** + * Metadata for initializing a location-level encryption specification. + */ + export interface Schema$GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata { + /** + * Output only. The original request for initialization. + */ + request?: Schema$GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest; + } + /** + * The request to initialize a location-level encryption specification. + */ + export interface Schema$GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest { + /** + * Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. If the kms_key_name is left empty, no encryption will be enforced. + */ + encryptionSpec?: Schema$GoogleCloudDialogflowV2beta1EncryptionSpec; + } /** * An intent categorizes an end-user's intention for one conversation turn. For each agent, you define many intents, where your combined intents can handle a complete conversation. When an end-user writes or says something, referred to as an end-user expression or end-user input, Dialogflow matches the end-user input to the best intent in your agent. Matching an intent is also known as intent classification. For more information, see the [intent guide](https://cloud.google.com/dialogflow/docs/intents-overview). */ @@ -8285,6 +8332,10 @@ export namespace dialogflow_v3beta1 { * Output only. The role of the participant. */ participantRole?: string | null; + /** + * Optional. Automated agent responses. + */ + responseMessages?: Schema$GoogleCloudDialogflowV2beta1ResponseMessage[]; /** * Optional. The time when the message was sent. */ @@ -8397,6 +8448,96 @@ export namespace dialogflow_v3beta1 { */ webhookSource?: string | null; } + /** + * Response messages from an automated agent. + */ + export interface Schema$GoogleCloudDialogflowV2beta1ResponseMessage { + /** + * A signal that indicates the interaction with the Dialogflow agent has ended. + */ + endInteraction?: Schema$GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction; + /** + * Hands off conversation to a live agent. + */ + liveAgentHandoff?: Schema$GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff; + /** + * An audio response message composed of both the synthesized Dialogflow agent responses and the audios hosted in places known to the client. + */ + mixedAudio?: Schema$GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio; + /** + * Returns a response containing a custom, platform-specific payload. + */ + payload?: {[key: string]: any} | null; + /** + * A signal that the client should transfer the phone call connected to this agent to a third-party endpoint. + */ + telephonyTransferCall?: Schema$GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall; + /** + * Returns a text response. + */ + text?: Schema$GoogleCloudDialogflowV2beta1ResponseMessageText; + } + /** + * Indicates that interaction with the Dialogflow agent has ended. + */ + export interface Schema$GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction {} + /** + * Indicates that the conversation should be handed off to a human agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example: * In the entry fulfillment of a CX Page if entering the page indicates something went extremely wrong in the conversation. * In a webhook response when you determine that the customer issue can only be handled by a human. + */ + export interface Schema$GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff { + /** + * Custom metadata for your handoff procedure. Dialogflow doesn't impose any structure on this. + */ + metadata?: {[key: string]: any} | null; + } + /** + * Represents an audio message that is composed of both segments synthesized from the Dialogflow agent prompts and ones hosted externally at the specified URIs. + */ + export interface Schema$GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio { + /** + * Segments this audio response is composed of. + */ + segments?: Schema$GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment[]; + } + /** + * Represents one segment of audio. + */ + export interface Schema$GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment { + /** + * Whether the playback of this segment can be interrupted by the end user's speech and the client should then start the next Dialogflow request. + */ + allowPlaybackInterruption?: boolean | null; + /** + * Raw audio synthesized from the Dialogflow agent's response using the output config specified in the request. + */ + audio?: string | null; + /** + * Client-specific URI that points to an audio clip accessible to the client. + */ + uri?: string | null; + } + /** + * Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint. + */ + export interface Schema$GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall { + /** + * Transfer the call to a phone number in [E.164 format](https://en.wikipedia.org/wiki/E.164). + */ + phoneNumber?: string | null; + /** + * Transfer the call to a SIP endpoint. + */ + sipUri?: string | null; + } + /** + * The text response message. + */ + export interface Schema$GoogleCloudDialogflowV2beta1ResponseMessageText { + /** + * A collection of text responses. + */ + text?: string[] | null; + } /** * The sentiment, such as positive/negative feeling or association, for a unit of analysis, such as the query text. See: https://cloud.google.com/natural-language/docs/basics#interpreting_sentiment_analysis_values for how to interpret the result. */ @@ -8831,6 +8972,19 @@ export namespace dialogflow_v3beta1 { */ createTime?: string | null; } + /** + * A customer-managed encryption key specification that can be applied to all created resources (e.g. Conversation). + */ + export interface Schema$GoogleCloudDialogflowV2EncryptionSpec { + /** + * Required. The name of customer-managed encryption key that is used to secure a resource and its sub-resources. If empty, the resource is secured by the default Google encryption key. Only the key in the same location as this resource is allowed to be used for encryption. Format: `projects/{project\}/locations/{location\}/keyRings/{keyRing\}/cryptoKeys/{key\}` + */ + kmsKey?: string | null; + /** + * Immutable. The resource name of the encryption key specification resource. Format: projects/{project\}/locations/{location\}/encryptionSpec + */ + name?: string | null; + } /** * Each intent parameter has a type, called the entity type, which dictates exactly how data from an end-user expression is extracted. Dialogflow provides predefined system entities that can match many common types of data. For example, there are system entities for matching dates, times, colors, email addresses, and so on. You can also create your own custom entities for matching custom data. For example, you could define a vegetable entity that can match the types of vegetables available for purchase with a grocery store agent. For more information, see the [Entity guide](https://cloud.google.com/dialogflow/docs/entities-overview). */ @@ -9006,6 +9160,24 @@ export namespace dialogflow_v3beta1 { */ warnings?: Schema$GoogleRpcStatus[]; } + /** + * Metadata for initializing a location-level encryption specification. + */ + export interface Schema$GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata { + /** + * Output only. The original request for initialization. + */ + request?: Schema$GoogleCloudDialogflowV2InitializeEncryptionSpecRequest; + } + /** + * The request to initialize a location-level encryption specification. + */ + export interface Schema$GoogleCloudDialogflowV2InitializeEncryptionSpecRequest { + /** + * Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. If the kms_key_name is left empty, no encryption will be enforced. + */ + encryptionSpec?: Schema$GoogleCloudDialogflowV2EncryptionSpec; + } /** * InputDataset used to create model or do evaluation. NextID:5 */ diff --git a/src/apis/discovery/v1.ts b/src/apis/discovery/v1.ts index 73935c1214..21f2e5d0ed 100644 --- a/src/apis/discovery/v1.ts +++ b/src/apis/discovery/v1.ts @@ -152,10 +152,6 @@ export namespace discovery_v1 { * The default value of this property (if one exists). */ default?: string | null; - /** - * Whether the parameter is deprecated. - */ - deprecated?: boolean | null; /** * A description of this object. */ @@ -164,10 +160,6 @@ export namespace discovery_v1 { * Values this parameter may take (if it is an enum). */ enum?: string[] | null; - /** - * The deprecation status for the enums. Each position maps to the corresponding value in the "enum" array. - */ - enumDeprecated?: boolean[] | null; /** * The descriptions for the enums. Each position maps to the corresponding value in the "enum" array. */ @@ -261,15 +253,6 @@ export namespace discovery_v1 { * A link to human readable documentation for the API. */ documentationLink?: string | null; - /** - * A list of location-based endpoint objects for this API. Each object contains the endpoint URL, location, description and deprecation status. - */ - endpoints?: Array<{ - deprecated?: boolean; - description?: string; - endpointUrl?: string; - location?: string; - }> | null; /** * The ETag for this response. */ @@ -357,14 +340,6 @@ export namespace discovery_v1 { version_module?: boolean | null; } export interface Schema$RestMethod { - /** - * The API Version of this method, as passed in via the `X-Goog-Api-Version` header or `$apiVersion` query parameter. - */ - apiVersion?: string | null; - /** - * Whether this method is deprecated. - */ - deprecated?: boolean | null; /** * Description of this method. */ @@ -438,10 +413,6 @@ export namespace discovery_v1 { useMediaDownloadService?: boolean | null; } export interface Schema$RestResource { - /** - * Whether this resource is deprecated. - */ - deprecated?: boolean | null; /** * Methods on this resource. */ diff --git a/src/apis/discoveryengine/v1.ts b/src/apis/discoveryengine/v1.ts index c9192db6cb..7a725c4edd 100644 --- a/src/apis/discoveryengine/v1.ts +++ b/src/apis/discoveryengine/v1.ts @@ -531,6 +531,10 @@ export namespace discoveryengine_v1 { * If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets. */ snippetInfo?: Schema$GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultSnippetInfo[]; + /** + * Data representation. The structured JSON data for the document. It's populated from the struct data from the Document (code pointer: http://shortn/_objzAfIiHq), or the Chunk in search result (code pointer: http://shortn/_Ipo6KFFGBL). + */ + structData?: {[key: string]: any} | null; /** * Title. */ @@ -797,6 +801,10 @@ export namespace discoveryengine_v1 { * The display name of the model. */ displayName?: string | null; + /** + * The metrics of the trained model. + */ + metrics?: {[key: string]: number} | null; /** * The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`). */ @@ -953,7 +961,7 @@ export namespace discoveryengine_v1 { */ name?: string | null; /** - * Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and or layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and or layout parsing are supported. + * Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported. */ parsingConfigOverrides?: { [ @@ -1245,6 +1253,32 @@ export namespace discoveryengine_v1 { */ documentCount?: string | null; } + /** + * Metadata related to the progress of the Export operation. This is returned by the google.longrunning.Operation.metadata field. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaExportUserEventsMetadata { + /** + * Operation create time. + */ + createTime?: string | null; + /** + * Operation last update time. If the operation is done, this is also the finish time. + */ + updateTime?: string | null; + } + /** + * Response of the ExportUserEventsRequest. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaExportUserEventsResponse { + /** + * Output result indicating where the data were exported to. + */ + outputResult?: Schema$GoogleCloudDiscoveryengineV1alphaOutputResult; + /** + * The status of the export operation. + */ + status?: Schema$GoogleRpcStatus; + } /** * Configurations for fields of a schema. For example, configuring a field is indexable, or searchable. */ @@ -1499,6 +1533,28 @@ export namespace discoveryengine_v1 { */ models?: Schema$GoogleCloudDiscoveryengineV1alphaCustomTuningModel[]; } + /** + * Output result that stores the information about where the exported data is stored. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaOutputResult { + /** + * The BigQuery location where the result is stored. + */ + bigqueryResult?: Schema$GoogleCloudDiscoveryengineV1alphaOutputResultBigQueryOutputResult; + } + /** + * A BigQuery output result. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaOutputResultBigQueryOutputResult { + /** + * The ID of a BigQuery Dataset. + */ + datasetId?: string | null; + /** + * The ID of a BigQuery Table. + */ + tableId?: string | null; + } /** * Metadata and configurations for a Google Cloud project in the service. */ @@ -2175,6 +2231,10 @@ export namespace discoveryengine_v1 { * Disable query rephraser. */ disable?: boolean | null; + /** + * Max rephrase steps. The max number is 5 steps. If not set or set to < 1, it will be set to 1 by default. + */ + maxRephraseSteps?: number | null; } /** * Related questions specification. @@ -2531,6 +2591,10 @@ export namespace discoveryengine_v1 { * If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets. */ snippetInfo?: Schema$GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResultSnippetInfo[]; + /** + * Data representation. The structured JSON data for the document. It's populated from the struct data from the Document (code pointer: http://shortn/_objzAfIiHq), or the Chunk in search result (code pointer: http://shortn/_Ipo6KFFGBL). + */ + structData?: {[key: string]: any} | null; /** * Title. */ @@ -2832,6 +2896,10 @@ export namespace discoveryengine_v1 { * The display name of the model. */ displayName?: string | null; + /** + * The metrics of the trained model. + */ + metrics?: {[key: string]: number} | null; /** * The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`). */ @@ -2980,7 +3048,7 @@ export namespace discoveryengine_v1 { */ name?: string | null; /** - * Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and or layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and or layout parsing are supported. + * Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported. */ parsingConfigOverrides?: { [ @@ -4547,7 +4615,7 @@ export namespace discoveryengine_v1 { */ name?: string | null; /** - * Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and or layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and or layout parsing are supported. + * Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported. */ parsingConfigOverrides?: { [ @@ -5776,6 +5844,18 @@ export namespace discoveryengine_v1 { * Whether to turn on safe search. This is only supported for website search. */ safeSearch?: boolean | null; + /** + * Search as you type configuration. Only supported for the IndustryVertical.MEDIA vertical. + */ + searchAsYouTypeSpec?: Schema$GoogleCloudDiscoveryengineV1SearchRequestSearchAsYouTypeSpec; + /** + * The session resource name. Optional. Session allows users to do multi-turn /search API calls or coordination between /search API calls and /answer API calls. Example #1 (multi-turn /search API calls): 1. Call /search API with the auto-session mode (see below). 2. Call /search API with the session ID generated in the first call. Here, the previous search query gets considered in query standing. I.e., if the first query is "How did Alphabet do in 2022?" and the current query is "How about 2023?", the current query will be interpreted as "How did Alphabet do in 2023?". Example #2 (coordination between /search API calls and /answer API calls): 1. Call /search API with the auto-session mode (see below). 2. Call /answer API with the session ID generated in the first call. Here, the answer generation happens in the context of the search results from the first search call. Auto-session mode: when `projects/.../sessions/-` is used, a new session gets automatically created. Otherwise, users can use the create-session API to create a session manually. Multi-turn Search feature is currently at private GA stage. Please use v1alpha or v1beta version instead before we launch this feature to public GA. Or ask for allowlisting through Google Support team. + */ + session?: string | null; + /** + * Session specification. Can be used only when `session` is set. + */ + sessionSpec?: Schema$GoogleCloudDiscoveryengineV1SearchRequestSessionSpec; /** * The spell correction specification that specifies the mode under which spell correction takes effect. */ @@ -5951,7 +6031,7 @@ export namespace discoveryengine_v1 { version?: string | null; } /** - * A struct to define data stores to filter on in a search call and configurations for those data stores. A maximum of 1 DataStoreSpec per data_store is allowed. Otherwise, an `INVALID_ARGUMENT` error is returned. + * A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned. */ export interface Schema$GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec { /** @@ -6035,6 +6115,28 @@ export namespace discoveryengine_v1 { */ pinUnexpandedResults?: boolean | null; } + /** + * Specification for search as you type in search requests. + */ + export interface Schema$GoogleCloudDiscoveryengineV1SearchRequestSearchAsYouTypeSpec { + /** + * The condition under which search as you type should occur. Default to Condition.DISABLED. + */ + condition?: string | null; + } + /** + * Session specification. Multi-turn Search feature is currently at private GA stage. Please use v1alpha or v1beta version instead before we launch this feature to public GA. Or ask for allowlisting through Google Support team. + */ + export interface Schema$GoogleCloudDiscoveryengineV1SearchRequestSessionSpec { + /** + * If set, the search result gets stored to the "turn" specified by this query ID. Example: Let's say the session looks like this: session { name: ".../sessions/xxx" turns { query { text: "What is foo?" query_id: ".../questions/yyy" \} answer: "Foo is ..." \} turns { query { text: "How about bar then?" query_id: ".../questions/zzz" \} \} \} The user can call /search API with a request like this: session: ".../sessions/xxx" session_spec { query_id: ".../questions/zzz" \} Then, the API stores the search result, associated with the last turn. The stored search result can be used by a subsequent /answer API call (with the session ID and the query ID specified). Also, it is possible to call /search and /answer in parallel with the same session ID & query ID. + */ + queryId?: string | null; + /** + * The number of top search results to persist. The persisted search results can be used for the subsequent /answer api call. This field is simliar to the `summary_result_count` field in SearchRequest.ContentSearchSpec.SummarySpec.summary_result_count. At most 10 results for documents mode, or 50 for chunks mode. + */ + searchResultPersistenceCount?: number | null; + } /** * The specification for query spell correction. */ @@ -6076,6 +6178,10 @@ export namespace discoveryengine_v1 { * A list of matched documents. The order represents the ranking. */ results?: Schema$GoogleCloudDiscoveryengineV1SearchResponseSearchResult[]; + /** + * Session information. Only set if SearchRequest.session is provided. See its description for more details. + */ + sessionInfo?: Schema$GoogleCloudDiscoveryengineV1SearchResponseSessionInfo; /** * A summary as part of the search results. This field is only returned if SearchRequest.ContentSearchSpec.summary_spec is set. */ @@ -6149,6 +6255,19 @@ export namespace discoveryengine_v1 { */ id?: string | null; } + /** + * Information about the session. + */ + export interface Schema$GoogleCloudDiscoveryengineV1SearchResponseSessionInfo { + /** + * Name of the session. If the auto-session mode is used (when SearchRequest.session ends with "-"), this field holds the newly generated session name. + */ + name?: string | null; + /** + * Query ID that corresponds to this search API call. One session can have multiple turns, each with a unique query ID. By specifying the session name and this query ID in the Answer API call, the answer generation happens in the context of the search results from this search call. + */ + queryId?: string | null; + } /** * Summary of the top N search results specified by the summary spec. */ diff --git a/src/apis/discoveryengine/v1alpha.ts b/src/apis/discoveryengine/v1alpha.ts index b22e3d126e..7618891128 100644 --- a/src/apis/discoveryengine/v1alpha.ts +++ b/src/apis/discoveryengine/v1alpha.ts @@ -982,6 +982,10 @@ export namespace discoveryengine_v1alpha { * If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets. */ snippetInfo?: Schema$GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultSnippetInfo[]; + /** + * Data representation. The structured JSON data for the document. It's populated from the struct data from the Document (code pointer: http://shortn/_objzAfIiHq), or the Chunk in search result (code pointer: http://shortn/_Ipo6KFFGBL). + */ + structData?: {[key: string]: any} | null; /** * Title. */ @@ -1255,7 +1259,7 @@ export namespace discoveryengine_v1alpha { */ requirementType?: string | null; /** - * The type needed for the monitored resources: * `discoveryengine.googleapis.com/Branch`. * The labels needed for this resource: * `project_number` * `location_id` * `collection_id` * `datastore_id` * `branch_id` * `discoveryengine.googleapis.com/DataStore` * The labels needed for this resource: * `project_number` * `location_id` * `collection_id` * `datastore_id` + * The type needed for the monitored resources: * `discoveryengine.googleapis.com/Branch`. * The labels needed for this resource: * `project`_`number` * `location`_`id` * `collection`_`id` * `datastore`_`id` * `branch`_`id` * `discoveryengine.googleapis.com/DataStore` * The labels needed for this resource: * `project`_`number` * `location`_`id` * `collection`_`id` * `datastore`_`id` */ resources?: Schema$GoogleApiMonitoredResource[]; } @@ -1838,6 +1842,10 @@ export namespace discoveryengine_v1alpha { * The display name of the model. */ displayName?: string | null; + /** + * The metrics of the trained model. + */ + metrics?: {[key: string]: number} | null; /** * The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`). */ @@ -2103,7 +2111,7 @@ export namespace discoveryengine_v1alpha { */ name?: string | null; /** - * Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and or layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and or layout parsing are supported. + * Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported. */ parsingConfigOverrides?: { [ @@ -2469,6 +2477,32 @@ export namespace discoveryengine_v1alpha { */ documentCount?: string | null; } + /** + * Metadata related to the progress of the Export operation. This is returned by the google.longrunning.Operation.metadata field. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaExportUserEventsMetadata { + /** + * Operation create time. + */ + createTime?: string | null; + /** + * Operation last update time. If the operation is done, this is also the finish time. + */ + updateTime?: string | null; + } + /** + * Response of the ExportUserEventsRequest. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaExportUserEventsResponse { + /** + * Output result indicating where the data were exported to. + */ + outputResult?: Schema$GoogleCloudDiscoveryengineV1alphaOutputResult; + /** + * The status of the export operation. + */ + status?: Schema$GoogleRpcStatus; + } /** * Fact Chunk. */ @@ -3158,6 +3192,28 @@ export namespace discoveryengine_v1alpha { */ mediaProgressPercentage?: number | null; } + /** + * Output result that stores the information about where the exported data is stored. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaOutputResult { + /** + * The BigQuery location where the result is stored. + */ + bigqueryResult?: Schema$GoogleCloudDiscoveryengineV1alphaOutputResultBigQueryOutputResult; + } + /** + * A BigQuery output result. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaOutputResultBigQueryOutputResult { + /** + * The ID of a BigQuery Dataset. + */ + datasetId?: string | null; + /** + * The ID of a BigQuery Table. + */ + tableId?: string | null; + } /** * Detailed page information. */ @@ -3902,7 +3958,7 @@ export namespace discoveryengine_v1alpha { */ contentSearchSpec?: Schema$GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec; /** - * Custom fine tuning configs. + * Custom fine tuning configs. If set, it has higher priority than the configs set in ServingConfig.custom_fine_tuning_spec. */ customFineTuningSpec?: Schema$GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec; /** @@ -3929,6 +3985,10 @@ export namespace discoveryengine_v1alpha { * The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see [Standard fields](https://cloud.google.com/apis/design/standard_fields). This field helps to better interpret the query. If a value isn't specified, the query language code is automatically detected, which may not be accurate. */ languageCode?: string | null; + /** + * If `naturalLanguageQueryUnderstandingSpec` is not specified, no additional natural language query understanding will be done. + */ + naturalLanguageQueryUnderstandingSpec?: Schema$GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec; /** * A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the Documents deemed by the API as relevant) in search results. This field is only considered if page_token is unset. If this field is negative, an `INVALID_ARGUMENT` is returned. */ @@ -3958,7 +4018,7 @@ export namespace discoveryengine_v1alpha { */ queryExpansionSpec?: Schema$GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec; /** - * The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The ranking expression is a single function or multiple functions that are joint by "+". * ranking_expression = function, { " + ", function \}; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: `relevance_score`: pre-defined keywords, used for measure relevance between query and document. `embedding_field_path`: the document embedding field used with query embedding vector. `dotProduct`: embedding function between embedding_field_path and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. + * The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The ranking expression is a single function or multiple functions that are joined by "+". * ranking_expression = function, { " + ", function \}; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between embedding_field_path and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. */ rankingExpression?: string | null; /** @@ -3977,6 +4037,14 @@ export namespace discoveryengine_v1alpha { * Search as you type configuration. Only supported for the IndustryVertical.MEDIA vertical. */ searchAsYouTypeSpec?: Schema$GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec; + /** + * The session resource name. Optional. Session allows users to do multi-turn /search API calls or coordination between /search API calls and /answer API calls. Example #1 (multi-turn /search API calls): 1. Call /search API with the auto-session mode (see below). 2. Call /search API with the session ID generated in the first call. Here, the previous search query gets considered in query standing. I.e., if the first query is "How did Alphabet do in 2022?" and the current query is "How about 2023?", the current query will be interpreted as "How did Alphabet do in 2023?". Example #2 (coordination between /search API calls and /answer API calls): 1. Call /search API with the auto-session mode (see below). 2. Call /answer API with the session ID generated in the first call. Here, the answer generation happens in the context of the search results from the first search call. Auto-session mode: when `projects/.../sessions/-` is used, a new session gets automatically created. Otherwise, users can use the create-session API to create a session manually. Multi-turn Search feature is currently at private GA stage. Please use v1alpha or v1beta version instead before we launch this feature to public GA. Or ask for allowlisting through Google Support team. + */ + session?: string | null; + /** + * Session specification. Can be used only when `session` is set. + */ + sessionSpec?: Schema$GoogleCloudDiscoveryengineV1alphaSearchRequestSessionSpec; /** * The spell correction specification that specifies the mode under which spell correction takes effect. */ @@ -4190,7 +4258,7 @@ export namespace discoveryengine_v1alpha { version?: string | null; } /** - * A struct to define data stores to filter on in a search call and configurations for those data stores. A maximum of 1 DataStoreSpec per data_store is allowed. Otherwise, an `INVALID_ARGUMENT` error is returned. + * A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned. */ export interface Schema$GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec { /** @@ -4283,6 +4351,19 @@ export namespace discoveryengine_v1alpha { */ imageBytes?: string | null; } + /** + * Specification to enable natural language understanding capabilities for search requests. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec { + /** + * The condition under which filter extraction should occur. Default to Condition.DISABLED. + */ + filterExtractionCondition?: string | null; + /** + * Field names used for location-based filtering, where geolocation filters are detected in natural language search queries. Only valid when the FilterExtractionCondition is set to `ENABLED`. If this field is set, it overrides the field names set in Servingconfig.geo_search_query_detection_field_names. + */ + geoSearchQueryDetectionFieldNames?: string[] | null; + } /** * Specification to determine under which conditions query expansion should occur. */ @@ -4305,6 +4386,19 @@ export namespace discoveryengine_v1alpha { */ condition?: string | null; } + /** + * Session specification. Multi-turn Search feature is currently at private GA stage. Please use v1alpha or v1beta version instead before we launch this feature to public GA. Or ask for allowlisting through Google Support team. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaSearchRequestSessionSpec { + /** + * If set, the search result gets stored to the "turn" specified by this query ID. Example: Let's say the session looks like this: session { name: ".../sessions/xxx" turns { query { text: "What is foo?" query_id: ".../questions/yyy" \} answer: "Foo is ..." \} turns { query { text: "How about bar then?" query_id: ".../questions/zzz" \} \} \} The user can call /search API with a request like this: session: ".../sessions/xxx" session_spec { query_id: ".../questions/zzz" \} Then, the API stores the search result, associated with the last turn. The stored search result can be used by a subsequent /answer API call (with the session ID and the query ID specified). Also, it is possible to call /search and /answer in parallel with the same session ID & query ID. + */ + queryId?: string | null; + /** + * The number of top search results to persist. The persisted search results can be used for the subsequent /answer api call. This field is simliar to the `summary_result_count` field in SearchRequest.ContentSearchSpec.SummarySpec.summary_result_count. At most 10 results for documents mode, or 50 for chunks mode. + */ + searchResultPersistenceCount?: number | null; + } /** * The specification for query spell correction. */ @@ -4339,6 +4433,10 @@ export namespace discoveryengine_v1alpha { * Guided search result. */ guidedSearchResult?: Schema$GoogleCloudDiscoveryengineV1alphaSearchResponseGuidedSearchResult; + /** + * Natural language query understanding information for the returned results. + */ + naturalLanguageQueryUnderstandingInfo?: Schema$GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfo; /** * A token that can be sent as SearchRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. */ @@ -4355,6 +4453,10 @@ export namespace discoveryengine_v1alpha { * A list of matched documents. The order represents the ranking. */ results?: Schema$GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResult[]; + /** + * Session information. Only set if SearchRequest.session is provided. See its description for more details. + */ + sessionInfo?: Schema$GoogleCloudDiscoveryengineV1alphaSearchResponseSessionInfo; /** * A summary as part of the search results. This field is only returned if SearchRequest.ContentSearchSpec.summary_spec is set. */ @@ -4437,6 +4539,122 @@ export namespace discoveryengine_v1alpha { */ attributeValue?: string | null; } + /** + * Information describing what natural language understanding was done on the input query. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfo { + /** + * The filters that were extracted from the input query. + */ + extractedFilters?: string | null; + /** + * Rewritten input query minus the extracted filters. + */ + rewrittenQuery?: string | null; + /** + * The filters that were extracted from the input query represented in a structured form. + */ + structuredExtractedFilter?: Schema$GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter; + } + /** + * The filters that were extracted from the input query represented in a structured form. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter { + /** + * The expression denoting the filter that was extracted from the input query in a structured form. It can be a simple expression denoting a single string, numerical or geolocation constraint or a compound expression which is a combination of multiple expressions connected using logical (OR and AND) operators. + */ + expression?: Schema$GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression; + } + /** + * Logical `And` operator. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression { + /** + * The expressions that were ANDed together. + */ + expressions?: Schema$GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression[]; + } + /** + * The expression denoting the filter that was extracted from the input query. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression { + /** + * Logical "And" compound operator connecting multiple expressions. + */ + andExpr?: Schema$GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression; + /** + * Geolocation constraint expression. + */ + geolocationConstraint?: Schema$GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint; + /** + * Numerical constraint expression. + */ + numberConstraint?: Schema$GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint; + /** + * Logical "Or" compound operator connecting multiple expressions. + */ + orExpr?: Schema$GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterOrExpression; + /** + * String constraint expression. + */ + stringConstraint?: Schema$GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint; + } + /** + * Constraint of a geolocation field. Name of the geolocation field as defined in the schema. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint { + /** + * The reference address that was inferred from the input query. The proximity of the reference address to the geolocation field will be used to filter the results. + */ + address?: string | null; + /** + * The name of the geolocation field as defined in the schema. + */ + fieldName?: string | null; + /** + * The radius in meters around the address. The record is returned if the location of the geolocation field is within the radius. + */ + radiusInMeters?: number | null; + } + /** + * Constraint expression of a number field. Example: price < 100. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint { + /** + * The comparison operation performed between the field value and the value specified in the constraint. + */ + comparison?: string | null; + /** + * Name of the numerical field as defined in the schema. + */ + fieldName?: string | null; + /** + * The value specified in the numerical constraint. + */ + value?: number | null; + } + /** + * Logical `Or` operator. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterOrExpression { + /** + * The expressions that were ORed together. + */ + expressions?: Schema$GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression[]; + } + /** + * Constraint expression of a string field. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint { + /** + * Name of the string field as defined in the schema. + */ + fieldName?: string | null; + /** + * Values of the string field. The record will only be returned if the field value matches one of the values specified here. + */ + values?: string[] | null; + } /** * Information describing query expansion including whether expansion has occurred. */ @@ -4473,6 +4691,19 @@ export namespace discoveryengine_v1alpha { [key: string]: Schema$GoogleCloudDiscoveryengineV1alphaDoubleList; } | null; } + /** + * Information about the session. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaSearchResponseSessionInfo { + /** + * Name of the session. If the auto-session mode is used (when SearchRequest.session ends with "-"), this field holds the newly generated session name. + */ + name?: string | null; + /** + * Query ID that corresponds to this search API call. One session can have multiple turns, each with a unique query ID. By specifying the session name and this query ID in the Answer API call, the answer generation happens in the context of the search results from this search call. + */ + queryId?: string | null; + } /** * Summary of the top N search results specified by the summary spec. */ @@ -4606,7 +4837,7 @@ export namespace discoveryengine_v1alpha { */ createTime?: string | null; /** - * Custom fine tuning configs. + * Custom fine tuning configs. If SearchRequest.custom_fine_tuning_spec is set, it has higher priority than the configs set here. */ customFineTuningSpec?: Schema$GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec; /** @@ -4658,7 +4889,7 @@ export namespace discoveryengine_v1alpha { */ onewaySynonymsControlIds?: string[] | null; /** - * The ranking expression controls the customized ranking on retrieval documents. To leverage this, document embedding is required. The ranking expression setting in ServingConfig applies to all search requests served by the serving config. However, if SearchRequest.ranking_expression is specified, it overrides the ServingConfig ranking expression. The ranking expression is a single function or multiple functions that are joined by "+". * ranking_expression = function, { " + ", function \}; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: relevance_score: pre-defined keywords, used for measure relevance between query and document. embedding_field_path: the document embedding field used with query embedding vector. dotProduct: embedding function between embedding_field_path and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be 0.5 * relevance_score + 0.3 * dotProduct(doc_embedding). + * The ranking expression controls the customized ranking on retrieval documents. To leverage this, document embedding is required. The ranking expression setting in ServingConfig applies to all search requests served by the serving config. However, if SearchRequest.ranking_expression is specified, it overrides the ServingConfig ranking expression. The ranking expression is a single function or multiple functions that are joined by "+". * ranking_expression = function, { " + ", function \}; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between embedding_field_path and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. */ rankingExpression?: string | null; /** @@ -5382,6 +5613,10 @@ export namespace discoveryengine_v1alpha { * The display name of the model. */ displayName?: string | null; + /** + * The metrics of the trained model. + */ + metrics?: {[key: string]: number} | null; /** * The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`). */ @@ -5530,7 +5765,7 @@ export namespace discoveryengine_v1alpha { */ name?: string | null; /** - * Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and or layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and or layout parsing are supported. + * Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported. */ parsingConfigOverrides?: { [ @@ -6509,7 +6744,7 @@ export namespace discoveryengine_v1alpha { */ name?: string | null; /** - * Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and or layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and or layout parsing are supported. + * Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported. */ parsingConfigOverrides?: { [ diff --git a/src/apis/discoveryengine/v1beta.ts b/src/apis/discoveryengine/v1beta.ts index 72aabf0456..b4a2694645 100644 --- a/src/apis/discoveryengine/v1beta.ts +++ b/src/apis/discoveryengine/v1beta.ts @@ -502,6 +502,10 @@ export namespace discoveryengine_v1beta { * If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets. */ snippetInfo?: Schema$GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultSnippetInfo[]; + /** + * Data representation. The structured JSON data for the document. It's populated from the struct data from the Document (code pointer: http://shortn/_objzAfIiHq), or the Chunk in search result (code pointer: http://shortn/_Ipo6KFFGBL). + */ + structData?: {[key: string]: any} | null; /** * Title. */ @@ -768,6 +772,10 @@ export namespace discoveryengine_v1beta { * The display name of the model. */ displayName?: string | null; + /** + * The metrics of the trained model. + */ + metrics?: {[key: string]: number} | null; /** * The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`). */ @@ -924,7 +932,7 @@ export namespace discoveryengine_v1beta { */ name?: string | null; /** - * Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and or layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and or layout parsing are supported. + * Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported. */ parsingConfigOverrides?: { [ @@ -1216,6 +1224,32 @@ export namespace discoveryengine_v1beta { */ documentCount?: string | null; } + /** + * Metadata related to the progress of the Export operation. This is returned by the google.longrunning.Operation.metadata field. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaExportUserEventsMetadata { + /** + * Operation create time. + */ + createTime?: string | null; + /** + * Operation last update time. If the operation is done, this is also the finish time. + */ + updateTime?: string | null; + } + /** + * Response of the ExportUserEventsRequest. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaExportUserEventsResponse { + /** + * Output result indicating where the data were exported to. + */ + outputResult?: Schema$GoogleCloudDiscoveryengineV1alphaOutputResult; + /** + * The status of the export operation. + */ + status?: Schema$GoogleRpcStatus; + } /** * Configurations for fields of a schema. For example, configuring a field is indexable, or searchable. */ @@ -1470,6 +1504,28 @@ export namespace discoveryengine_v1beta { */ models?: Schema$GoogleCloudDiscoveryengineV1alphaCustomTuningModel[]; } + /** + * Output result that stores the information about where the exported data is stored. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaOutputResult { + /** + * The BigQuery location where the result is stored. + */ + bigqueryResult?: Schema$GoogleCloudDiscoveryengineV1alphaOutputResultBigQueryOutputResult; + } + /** + * A BigQuery output result. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaOutputResultBigQueryOutputResult { + /** + * The ID of a BigQuery Dataset. + */ + datasetId?: string | null; + /** + * The ID of a BigQuery Table. + */ + tableId?: string | null; + } /** * Metadata and configurations for a Google Cloud project in the service. */ @@ -2557,6 +2613,10 @@ export namespace discoveryengine_v1beta { * If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets. */ snippetInfo?: Schema$GoogleCloudDiscoveryengineV1betaAnswerStepActionObservationSearchResultSnippetInfo[]; + /** + * Data representation. The structured JSON data for the document. It's populated from the struct data from the Document (code pointer: http://shortn/_objzAfIiHq), or the Chunk in search result (code pointer: http://shortn/_Ipo6KFFGBL). + */ + structData?: {[key: string]: any} | null; /** * Title. */ @@ -3341,6 +3401,10 @@ export namespace discoveryengine_v1beta { * The display name of the model. */ displayName?: string | null; + /** + * The metrics of the trained model. + */ + metrics?: {[key: string]: number} | null; /** * The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`). */ @@ -3576,7 +3640,7 @@ export namespace discoveryengine_v1beta { */ name?: string | null; /** - * Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and or layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and or layout parsing are supported. + * Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported. */ parsingConfigOverrides?: { [ @@ -4849,6 +4913,10 @@ export namespace discoveryengine_v1beta { * The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see [Standard fields](https://cloud.google.com/apis/design/standard_fields). This field helps to better interpret the query. If a value isn't specified, the query language code is automatically detected, which may not be accurate. */ languageCode?: string | null; + /** + * If `naturalLanguageQueryUnderstandingSpec` is not specified, no additional natural language query understanding will be done. + */ + naturalLanguageQueryUnderstandingSpec?: Schema$GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec; /** * A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the Documents deemed by the API as relevant) in search results. This field is only considered if page_token is unset. If this field is negative, an `INVALID_ARGUMENT` is returned. */ @@ -4878,7 +4946,7 @@ export namespace discoveryengine_v1beta { */ queryExpansionSpec?: Schema$GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec; /** - * The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The ranking expression is a single function or multiple functions that are joint by "+". * ranking_expression = function, { " + ", function \}; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: `relevance_score`: pre-defined keywords, used for measure relevance between query and document. `embedding_field_path`: the document embedding field used with query embedding vector. `dotProduct`: embedding function between embedding_field_path and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. + * The ranking expression controls the customized ranking on retrieval documents. This overrides ServingConfig.ranking_expression. The ranking expression is a single function or multiple functions that are joined by "+". * ranking_expression = function, { " + ", function \}; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between embedding_field_path and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. */ rankingExpression?: string | null; /** @@ -4889,6 +4957,18 @@ export namespace discoveryengine_v1beta { * Whether to turn on safe search. This is only supported for website search. */ safeSearch?: boolean | null; + /** + * Search as you type configuration. Only supported for the IndustryVertical.MEDIA vertical. + */ + searchAsYouTypeSpec?: Schema$GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec; + /** + * The session resource name. Optional. Session allows users to do multi-turn /search API calls or coordination between /search API calls and /answer API calls. Example #1 (multi-turn /search API calls): 1. Call /search API with the auto-session mode (see below). 2. Call /search API with the session ID generated in the first call. Here, the previous search query gets considered in query standing. I.e., if the first query is "How did Alphabet do in 2022?" and the current query is "How about 2023?", the current query will be interpreted as "How did Alphabet do in 2023?". Example #2 (coordination between /search API calls and /answer API calls): 1. Call /search API with the auto-session mode (see below). 2. Call /answer API with the session ID generated in the first call. Here, the answer generation happens in the context of the search results from the first search call. Auto-session mode: when `projects/.../sessions/-` is used, a new session gets automatically created. Otherwise, users can use the create-session API to create a session manually. Multi-turn Search feature is currently at private GA stage. Please use v1alpha or v1beta version instead before we launch this feature to public GA. Or ask for allowlisting through Google Support team. + */ + session?: string | null; + /** + * Session specification. Can be used only when `session` is set. + */ + sessionSpec?: Schema$GoogleCloudDiscoveryengineV1betaSearchRequestSessionSpec; /** * The spell correction specification that specifies the mode under which spell correction takes effect. */ @@ -5102,7 +5182,7 @@ export namespace discoveryengine_v1beta { version?: string | null; } /** - * A struct to define data stores to filter on in a search call and configurations for those data stores. A maximum of 1 DataStoreSpec per data_store is allowed. Otherwise, an `INVALID_ARGUMENT` error is returned. + * A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned. */ export interface Schema$GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec { /** @@ -5195,6 +5275,19 @@ export namespace discoveryengine_v1beta { */ imageBytes?: string | null; } + /** + * Specification to enable natural language understanding capabilities for search requests. + */ + export interface Schema$GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec { + /** + * The condition under which filter extraction should occur. Default to Condition.DISABLED. + */ + filterExtractionCondition?: string | null; + /** + * Field names used for location-based filtering, where geolocation filters are detected in natural language search queries. Only valid when the FilterExtractionCondition is set to `ENABLED`. If this field is set, it overrides the field names set in Servingconfig.geo_search_query_detection_field_names. + */ + geoSearchQueryDetectionFieldNames?: string[] | null; + } /** * Specification to determine under which conditions query expansion should occur. */ @@ -5208,6 +5301,28 @@ export namespace discoveryengine_v1beta { */ pinUnexpandedResults?: boolean | null; } + /** + * Specification for search as you type in search requests. + */ + export interface Schema$GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec { + /** + * The condition under which search as you type should occur. Default to Condition.DISABLED. + */ + condition?: string | null; + } + /** + * Session specification. Multi-turn Search feature is currently at private GA stage. Please use v1alpha or v1beta version instead before we launch this feature to public GA. Or ask for allowlisting through Google Support team. + */ + export interface Schema$GoogleCloudDiscoveryengineV1betaSearchRequestSessionSpec { + /** + * If set, the search result gets stored to the "turn" specified by this query ID. Example: Let's say the session looks like this: session { name: ".../sessions/xxx" turns { query { text: "What is foo?" query_id: ".../questions/yyy" \} answer: "Foo is ..." \} turns { query { text: "How about bar then?" query_id: ".../questions/zzz" \} \} \} The user can call /search API with a request like this: session: ".../sessions/xxx" session_spec { query_id: ".../questions/zzz" \} Then, the API stores the search result, associated with the last turn. The stored search result can be used by a subsequent /answer API call (with the session ID and the query ID specified). Also, it is possible to call /search and /answer in parallel with the same session ID & query ID. + */ + queryId?: string | null; + /** + * The number of top search results to persist. The persisted search results can be used for the subsequent /answer api call. This field is simliar to the `summary_result_count` field in SearchRequest.ContentSearchSpec.SummarySpec.summary_result_count. At most 10 results for documents mode, or 50 for chunks mode. + */ + searchResultPersistenceCount?: number | null; + } /** * The specification for query spell correction. */ @@ -5242,6 +5357,10 @@ export namespace discoveryengine_v1beta { * Guided search result. */ guidedSearchResult?: Schema$GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResult; + /** + * Natural language query understanding information for the returned results. + */ + naturalLanguageQueryUnderstandingInfo?: Schema$GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfo; /** * A token that can be sent as SearchRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. */ @@ -5258,6 +5377,10 @@ export namespace discoveryengine_v1beta { * A list of matched documents. The order represents the ranking. */ results?: Schema$GoogleCloudDiscoveryengineV1betaSearchResponseSearchResult[]; + /** + * Session information. Only set if SearchRequest.session is provided. See its description for more details. + */ + sessionInfo?: Schema$GoogleCloudDiscoveryengineV1betaSearchResponseSessionInfo; /** * A summary as part of the search results. This field is only returned if SearchRequest.ContentSearchSpec.summary_spec is set. */ @@ -5340,6 +5463,122 @@ export namespace discoveryengine_v1beta { */ attributeValue?: string | null; } + /** + * Information describing what natural language understanding was done on the input query. + */ + export interface Schema$GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfo { + /** + * The filters that were extracted from the input query. + */ + extractedFilters?: string | null; + /** + * Rewritten input query minus the extracted filters. + */ + rewrittenQuery?: string | null; + /** + * The filters that were extracted from the input query represented in a structured form. + */ + structuredExtractedFilter?: Schema$GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter; + } + /** + * The filters that were extracted from the input query represented in a structured form. + */ + export interface Schema$GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter { + /** + * The expression denoting the filter that was extracted from the input query in a structured form. It can be a simple expression denoting a single string, numerical or geolocation constraint or a compound expression which is a combination of multiple expressions connected using logical (OR and AND) operators. + */ + expression?: Schema$GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression; + } + /** + * Logical `And` operator. + */ + export interface Schema$GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression { + /** + * The expressions that were ANDed together. + */ + expressions?: Schema$GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression[]; + } + /** + * The expression denoting the filter that was extracted from the input query. + */ + export interface Schema$GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression { + /** + * Logical "And" compound operator connecting multiple expressions. + */ + andExpr?: Schema$GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression; + /** + * Geolocation constraint expression. + */ + geolocationConstraint?: Schema$GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint; + /** + * Numerical constraint expression. + */ + numberConstraint?: Schema$GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint; + /** + * Logical "Or" compound operator connecting multiple expressions. + */ + orExpr?: Schema$GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterOrExpression; + /** + * String constraint expression. + */ + stringConstraint?: Schema$GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint; + } + /** + * Constraint of a geolocation field. Name of the geolocation field as defined in the schema. + */ + export interface Schema$GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint { + /** + * The reference address that was inferred from the input query. The proximity of the reference address to the geolocation field will be used to filter the results. + */ + address?: string | null; + /** + * The name of the geolocation field as defined in the schema. + */ + fieldName?: string | null; + /** + * The radius in meters around the address. The record is returned if the location of the geolocation field is within the radius. + */ + radiusInMeters?: number | null; + } + /** + * Constraint expression of a number field. Example: price < 100. + */ + export interface Schema$GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint { + /** + * The comparison operation performed between the field value and the value specified in the constraint. + */ + comparison?: string | null; + /** + * Name of the numerical field as defined in the schema. + */ + fieldName?: string | null; + /** + * The value specified in the numerical constraint. + */ + value?: number | null; + } + /** + * Logical `Or` operator. + */ + export interface Schema$GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterOrExpression { + /** + * The expressions that were ORed together. + */ + expressions?: Schema$GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression[]; + } + /** + * Constraint expression of a string field. + */ + export interface Schema$GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint { + /** + * Name of the string field as defined in the schema. + */ + fieldName?: string | null; + /** + * Values of the string field. The record will only be returned if the field value matches one of the values specified here. + */ + values?: string[] | null; + } /** * Information describing query expansion including whether expansion has occurred. */ @@ -5376,6 +5615,19 @@ export namespace discoveryengine_v1beta { [key: string]: Schema$GoogleCloudDiscoveryengineV1betaDoubleList; } | null; } + /** + * Information about the session. + */ + export interface Schema$GoogleCloudDiscoveryengineV1betaSearchResponseSessionInfo { + /** + * Name of the session. If the auto-session mode is used (when SearchRequest.session ends with "-"), this field holds the newly generated session name. + */ + name?: string | null; + /** + * Query ID that corresponds to this search API call. One session can have multiple turns, each with a unique query ID. By specifying the session name and this query ID in the Answer API call, the answer generation happens in the context of the search results from this search call. + */ + queryId?: string | null; + } /** * Summary of the top N search results specified by the summary spec. */ @@ -5553,7 +5805,7 @@ export namespace discoveryengine_v1beta { */ onewaySynonymsControlIds?: string[] | null; /** - * The ranking expression controls the customized ranking on retrieval documents. To leverage this, document embedding is required. The ranking expression setting in ServingConfig applies to all search requests served by the serving config. However, if SearchRequest.ranking_expression is specified, it overrides the ServingConfig ranking expression. The ranking expression is a single function or multiple functions that are joined by "+". * ranking_expression = function, { " + ", function \}; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: relevance_score: pre-defined keywords, used for measure relevance between query and document. embedding_field_path: the document embedding field used with query embedding vector. dotProduct: embedding function between embedding_field_path and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be 0.5 * relevance_score + 0.3 * dotProduct(doc_embedding). + * The ranking expression controls the customized ranking on retrieval documents. To leverage this, document embedding is required. The ranking expression setting in ServingConfig applies to all search requests served by the serving config. However, if SearchRequest.ranking_expression is specified, it overrides the ServingConfig ranking expression. The ranking expression is a single function or multiple functions that are joined by "+". * ranking_expression = function, { " + ", function \}; Supported functions: * double * relevance_score * double * dotProduct(embedding_field_path) Function variables: * `relevance_score`: pre-defined keywords, used for measure relevance between query and document. * `embedding_field_path`: the document embedding field used with query embedding vector. * `dotProduct`: embedding function between embedding_field_path and query embedding vector. Example ranking expression: If document has an embedding field doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. */ rankingExpression?: string | null; /** @@ -6348,7 +6600,7 @@ export namespace discoveryengine_v1beta { */ name?: string | null; /** - * Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and or layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and or layout parsing are supported. + * Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported. */ parsingConfigOverrides?: { [ @@ -7166,9 +7418,11 @@ export namespace discoveryengine_v1beta { context: APIRequestContext; collections: Resource$Projects$Locations$Collections; dataStores: Resource$Projects$Locations$Datastores; + evaluations: Resource$Projects$Locations$Evaluations; groundingConfigs: Resource$Projects$Locations$Groundingconfigs; operations: Resource$Projects$Locations$Operations; rankingConfigs: Resource$Projects$Locations$Rankingconfigs; + sampleQuerySets: Resource$Projects$Locations$Samplequerysets; userEvents: Resource$Projects$Locations$Userevents; constructor(context: APIRequestContext) { this.context = context; @@ -7178,6 +7432,9 @@ export namespace discoveryengine_v1beta { this.dataStores = new Resource$Projects$Locations$Datastores( this.context ); + this.evaluations = new Resource$Projects$Locations$Evaluations( + this.context + ); this.groundingConfigs = new Resource$Projects$Locations$Groundingconfigs( this.context ); @@ -7187,6 +7444,9 @@ export namespace discoveryengine_v1beta { this.rankingConfigs = new Resource$Projects$Locations$Rankingconfigs( this.context ); + this.sampleQuerySets = new Resource$Projects$Locations$Samplequerysets( + this.context + ); this.userEvents = new Resource$Projects$Locations$Userevents( this.context ); @@ -27134,6 +27394,126 @@ export namespace discoveryengine_v1beta { requestBody?: Schema$GoogleCloudDiscoveryengineV1betaUserEvent; } + export class Resource$Projects$Locations$Evaluations { + context: APIRequestContext; + operations: Resource$Projects$Locations$Evaluations$Operations; + constructor(context: APIRequestContext) { + this.context = context; + this.operations = new Resource$Projects$Locations$Evaluations$Operations( + this.context + ); + } + } + + export class Resource$Projects$Locations$Evaluations$Operations { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. + * + * @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$Evaluations$Operations$Get, + options: StreamMethodOptions + ): GaxiosPromise; + get( + params?: Params$Resource$Projects$Locations$Evaluations$Operations$Get, + options?: MethodOptions + ): GaxiosPromise; + get( + params: Params$Resource$Projects$Locations$Evaluations$Operations$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Evaluations$Operations$Get, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Evaluations$Operations$Get, + callback: BodyResponseCallback + ): void; + get( + callback: BodyResponseCallback + ): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Evaluations$Operations$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Evaluations$Operations$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Evaluations$Operations$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://discoveryengine.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta/{+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); + } + } + } + + export interface Params$Resource$Projects$Locations$Evaluations$Operations$Get + extends StandardParameters { + /** + * The name of the operation resource. + */ + name?: string; + } + export class Resource$Projects$Locations$Groundingconfigs { context: APIRequestContext; constructor(context: APIRequestContext) { @@ -27596,6 +27976,127 @@ export namespace discoveryengine_v1beta { requestBody?: Schema$GoogleCloudDiscoveryengineV1betaRankRequest; } + export class Resource$Projects$Locations$Samplequerysets { + context: APIRequestContext; + operations: Resource$Projects$Locations$Samplequerysets$Operations; + constructor(context: APIRequestContext) { + this.context = context; + this.operations = + new Resource$Projects$Locations$Samplequerysets$Operations( + this.context + ); + } + } + + export class Resource$Projects$Locations$Samplequerysets$Operations { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. + * + * @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$Samplequerysets$Operations$Get, + options: StreamMethodOptions + ): GaxiosPromise; + get( + params?: Params$Resource$Projects$Locations$Samplequerysets$Operations$Get, + options?: MethodOptions + ): GaxiosPromise; + get( + params: Params$Resource$Projects$Locations$Samplequerysets$Operations$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Samplequerysets$Operations$Get, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Samplequerysets$Operations$Get, + callback: BodyResponseCallback + ): void; + get( + callback: BodyResponseCallback + ): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Samplequerysets$Operations$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Samplequerysets$Operations$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Samplequerysets$Operations$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://discoveryengine.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta/{+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); + } + } + } + + export interface Params$Resource$Projects$Locations$Samplequerysets$Operations$Get + extends StandardParameters { + /** + * The name of the operation resource. + */ + name?: string; + } + export class Resource$Projects$Locations$Userevents { context: APIRequestContext; constructor(context: APIRequestContext) { diff --git a/src/apis/dlp/v2.ts b/src/apis/dlp/v2.ts index 0d17e084c9..76fdf0834d 100644 --- a/src/apis/dlp/v2.ts +++ b/src/apis/dlp/v2.ts @@ -188,6 +188,10 @@ export namespace dlp_v2 { * Match database resources not covered by any other filter. */ export interface Schema$GooglePrivacyDlpV2AllOtherDatabaseResources {} + /** + * Match discovery resources not covered by any other filter. + */ + export interface Schema$GooglePrivacyDlpV2AllOtherResources {} /** * Apply to all text. */ @@ -582,6 +586,27 @@ export namespace dlp_v2 { */ usernamePassword?: Schema$GooglePrivacyDlpV2SecretManagerCredential; } + /** + * Target used to match against for discovery with Cloud Storage buckets. + */ + export interface Schema$GooglePrivacyDlpV2CloudStorageDiscoveryTarget { + /** + * Optional. In addition to matching the filter, these conditions must be true before a profile is generated. + */ + conditions?: Schema$GooglePrivacyDlpV2DiscoveryFileStoreConditions; + /** + * Optional. Disable profiling for buckets that match this filter. + */ + disabled?: Schema$GooglePrivacyDlpV2Disabled; + /** + * Required. The buckets the generation_cadence applies to. The first target with a matching filter will be the one to apply to a bucket. + */ + filter?: Schema$GooglePrivacyDlpV2DiscoveryCloudStorageFilter; + /** + * Optional. How often and when to update profiles. New buckets that match both the filter and conditions are scanned as quickly as possible depending on system capacity. + */ + generationCadence?: Schema$GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence; + } /** * Message representing a set of files in Cloud Storage. */ @@ -629,6 +654,19 @@ export namespace dlp_v2 { */ path?: string | null; } + /** + * A pattern to match against one or more file stores. At least one pattern must be specified. Regular expressions use RE2 [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found under the google/re2 repository on GitHub. + */ + export interface Schema$GooglePrivacyDlpV2CloudStorageRegex { + /** + * Optional. Regex to test the bucket name against. If empty, all buckets match. Example: "marketing2021" or "(marketing)\d{4\}" will both match the bucket gs://marketing2021 + */ + bucketNameRegex?: string | null; + /** + * Optional. For organizations, if unset, will match all projects. + */ + projectIdRegex?: string | null; + } /** * Message representing a set of files in a Cloud Storage bucket. Regular expressions are used to allow fine-grained control over which files in the bucket to include. Included files are those that match at least one item in `include_regex` and do not match any items in `exclude_regex`. Note that a file that matches items from both lists will _not_ be included. For a match to occur, the entire file path (i.e., everything in the url after the bucket name) must match the regular expression. For example, given the input `{bucket_name: "mybucket", include_regex: ["directory1/.*"], exclude_regex: ["directory1/excluded.*"]\}`: * `gs://mybucket/directory1/myfile` will be included * `gs://mybucket/directory1/directory2/myfile` will be included (`.*` matches across `/`) * `gs://mybucket/directory0/directory1/myfile` will _not_ be included (the full path doesn't match any items in `include_regex`) * `gs://mybucket/directory1/excludedfile` will _not_ be included (the path matches an item in `exclude_regex`) If `include_regex` is left empty, it will match all files by default (this is equivalent to setting `include_regex: [".*"]`). Some other common use cases: * `{bucket_name: "mybucket", exclude_regex: [".*\.pdf"]\}` will include all files in `mybucket` except for .pdf files * `{bucket_name: "mybucket", include_regex: ["directory/[^/]+"]\}` will include all files directly under `gs://mybucket/directory/`, without matching across `/` */ @@ -646,6 +684,19 @@ export namespace dlp_v2 { */ includeRegex?: string[] | null; } + /** + * Identifies a single Cloud Storage bucket. + */ + export interface Schema$GooglePrivacyDlpV2CloudStorageResourceReference { + /** + * Required. The bucket to scan. + */ + bucketName?: string | null; + /** + * Required. If within a project-level config, then this must match the config's project id. + */ + projectId?: string | null; + } /** * Represents a color in the RGB color space. */ @@ -1243,7 +1294,7 @@ export namespace dlp_v2 { */ export interface Schema$GooglePrivacyDlpV2DataProfileLocation { /** - * The ID of the Folder within an organization to scan. + * The ID of the folder within an organization to scan. */ folderId?: string | null; /** @@ -1364,11 +1415,11 @@ export namespace dlp_v2 { */ export interface Schema$GooglePrivacyDlpV2Deidentify { /** - * Required. User settable Cloud Storage bucket and folders to store de-identified files. This field must be set for cloud storage deidentification. The output Cloud Storage bucket must be different from the input bucket. De-identified files will overwrite files in the output path. Form of: gs://bucket/folder/ or gs://bucket + * Required. User settable Cloud Storage bucket and folders to store de-identified files. This field must be set for Cloud Storage deidentification. The output Cloud Storage bucket must be different from the input bucket. De-identified files will overwrite files in the output path. Form of: gs://bucket/folder/ or gs://bucket */ cloudStorageOutput?: string | null; /** - * List of user-specified file type groups to transform. If specified, only the files with these filetypes will be transformed. If empty, all supported files will be transformed. Supported types may be automatically added over time. If a file type is set in this field that isn't supported by the Deidentify action then the job will fail and will not be successfully created/started. Currently the only filetypes supported are: IMAGES, TEXT_FILES, CSV, TSV. + * List of user-specified file type groups to transform. If specified, only the files with these file types will be transformed. If empty, all supported files will be transformed. Supported types may be automatically added over time. If a file type is set in this field that isn't supported by the Deidentify action then the job will fail and will not be successfully created/started. Currently the only file types supported are: IMAGES, TEXT_FILES, CSV, TSV. */ fileTypesToTransform?: string[] | null; /** @@ -1673,6 +1724,49 @@ export namespace dlp_v2 { */ schemaModifiedCadence?: Schema$GooglePrivacyDlpV2SchemaModifiedCadence; } + /** + * Requirements that must be true before a Cloud Storage bucket or object is scanned in discovery for the first time. There is an AND relationship between the top-level attributes. + */ + export interface Schema$GooglePrivacyDlpV2DiscoveryCloudStorageConditions { + /** + * Required. Only objects with the specified attributes will be scanned. Defaults to [ALL_SUPPORTED_BUCKETS] if unset. + */ + includedBucketAttributes?: string[] | null; + /** + * Required. Only objects with the specified attributes will be scanned. If an object has one of the specified attributes but is inside an excluded bucket, it will not be scanned. Defaults to [ALL_SUPPORTED_OBJECTS]. A profile will be created even if no objects match the included_object_attributes. + */ + includedObjectAttributes?: string[] | null; + } + /** + * Determines which buckets will have profiles generated within an organization or project. Includes the ability to filter by regular expression patterns on project ID and bucket name. + */ + export interface Schema$GooglePrivacyDlpV2DiscoveryCloudStorageFilter { + /** + * Optional. The bucket to scan. Targets including this can only include one target (the target with this bucket). This enables profiling the contents of a single bucket, while the other options allow for easy profiling of many bucets within a project or an organization. + */ + cloudStorageResourceReference?: Schema$GooglePrivacyDlpV2CloudStorageResourceReference; + /** + * Optional. A specific set of buckets for this filter to apply to. + */ + collection?: Schema$GooglePrivacyDlpV2FileStoreCollection; + /** + * Optional. Catch-all. This should always be the last target in the list because anything above it will apply first. Should only appear once in a configuration. If none is specified, a default one will be added automatically. + */ + others?: Schema$GooglePrivacyDlpV2AllOtherResources; + } + /** + * How often existing buckets should have their profiles refreshed. New buckets are scanned as quickly as possible depending on system capacity. + */ + export interface Schema$GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence { + /** + * Optional. Governs when to update data profiles when the inspection rules defined by the `InspectTemplate` change. If not set, changing the template will not cause a data profile to update. + */ + inspectTemplateModifiedCadence?: Schema$GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence; + /** + * Optional. Data changes in Cloud Storage can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying buckets have changed. Defaults to never. + */ + refreshFrequency?: string | null; + } /** * Configuration for discovery to scan resources for profile generation. Only one discovery configuration may exist per organization, folder, or project. The generated data profiles are retained according to the [data retention policy] (https://cloud.google.com/sensitive-data-protection/docs/data-profiles#retention). */ @@ -1722,10 +1816,31 @@ export namespace dlp_v2 { */ updateTime?: string | null; } + /** + * Requirements that must be true before a file store is scanned in discovery for the first time. There is an AND relationship between the top-level attributes. + */ + export interface Schema$GooglePrivacyDlpV2DiscoveryFileStoreConditions { + /** + * Optional. Cloud Storage conditions. + */ + cloudStorageConditions?: Schema$GooglePrivacyDlpV2DiscoveryCloudStorageConditions; + /** + * Optional. File store must have been created after this date. Used to avoid backfilling. + */ + createdAfter?: string | null; + /** + * Optional. Minimum age a file store must have. If set, the value must be 1 hour or greater. + */ + minAge?: string | null; + } /** * What must take place for a profile to be updated and how frequently it should occur. New tables are scanned as quickly as possible depending on system capacity. */ export interface Schema$GooglePrivacyDlpV2DiscoveryGenerationCadence { + /** + * Governs when to update data profiles when the inspection rules defined by the `InspectTemplate` change. If not set, changing the template will not cause a data profile to update. + */ + inspectTemplateModifiedCadence?: Schema$GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence; /** * Governs when to update data profiles when a schema is modified. */ @@ -1735,6 +1850,15 @@ export namespace dlp_v2 { */ tableModifiedCadence?: Schema$GooglePrivacyDlpV2DiscoveryTableModifiedCadence; } + /** + * The cadence at which to update data profiles when the inspection rules defined by the `InspectTemplate` change. + */ + export interface Schema$GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence { + /** + * How frequently data profiles can be updated when the template is modified. Defaults to never. + */ + frequency?: string | null; + } /** * The cadence at which to update data profiles when a schema is modified. */ @@ -1753,7 +1877,7 @@ export namespace dlp_v2 { */ export interface Schema$GooglePrivacyDlpV2DiscoveryStartingLocation { /** - * The ID of the Folder within an organization to scan. + * The ID of the folder within an organization to scan. */ folderId?: string | null; /** @@ -1786,6 +1910,10 @@ export namespace dlp_v2 { * Cloud SQL target for Discovery. The first target to match a table will be the one applied. */ cloudSqlTarget?: Schema$GooglePrivacyDlpV2CloudSqlDiscoveryTarget; + /** + * Cloud Storage target for Discovery. The first target to match a table will be the one applied. + */ + cloudStorageTarget?: Schema$GooglePrivacyDlpV2CloudStorageDiscoveryTarget; /** * Discovery target that looks for credentials and secrets stored in cloud resource metadata and reports them as vulnerabilities to Security Command Center. Only one target of this type is allowed. */ @@ -1987,7 +2115,7 @@ export namespace dlp_v2 { */ dataRiskLevel?: Schema$GooglePrivacyDlpV2DataRiskLevel; /** - * A list of Errors detected while scanning this cluster. The list is truncated to 10 per cluster. + * A list of errors detected while scanning this cluster. The list is truncated to 10 per cluster. */ errors?: Schema$GooglePrivacyDlpV2Error[]; /** @@ -2047,7 +2175,16 @@ export namespace dlp_v2 { url?: string | null; } /** - * The profile for a file store. * Google Cloud Storage: maps 1:1 with a bucket. + * Match file stores (e.g. buckets) using regex filters. + */ + export interface Schema$GooglePrivacyDlpV2FileStoreCollection { + /** + * Optional. A collection of regular expressions to match a file store against. + */ + includeRegexes?: Schema$GooglePrivacyDlpV2FileStoreRegexes; + } + /** + * The profile for a file store. * Cloud Storage: maps 1:1 with a bucket. */ export interface Schema$GooglePrivacyDlpV2FileStoreDataProfile { /** @@ -2067,7 +2204,7 @@ export namespace dlp_v2 { */ dataSourceType?: Schema$GooglePrivacyDlpV2DataSourceType; /** - * For resources that have multiple storage locations, these are those regions. For Google Cloud Storage this is the list of regions chosen for dual-region storage. `file_store_location` will normally be the corresponding multi-region for the list of individual locations. The first region is always picked as the processing and storage location for the data profile. + * For resources that have multiple storage locations, these are those regions. For Cloud Storage this is the list of regions chosen for dual-region storage. `file_store_location` will normally be the corresponding multi-region for the list of individual locations. The first region is always picked as the processing and storage location for the data profile. */ dataStorageLocations?: string[] | null; /** @@ -2083,11 +2220,11 @@ export namespace dlp_v2 { */ fileStoreIsEmpty?: boolean | null; /** - * The location of the file store. * Google Cloud Storage: https://cloud.google.com/storage/docs/locations#available-locations + * The location of the file store. * Cloud Storage: https://cloud.google.com/storage/docs/locations#available-locations */ fileStoreLocation?: string | null; /** - * The file store path. * Google Cloud Storage: `gs://{bucket\}` + * The file store path. * Cloud Storage: `gs://{bucket\}` */ fileStorePath?: string | null; /** @@ -2115,7 +2252,7 @@ export namespace dlp_v2 { */ profileStatus?: Schema$GooglePrivacyDlpV2ProfileStatus; /** - * The resource name to the project data profile for this file store. + * The resource name of the project data profile for this file store. */ projectDataProfile?: string | null; /** @@ -2123,7 +2260,7 @@ export namespace dlp_v2 { */ projectId?: string | null; /** - * Attributes of the resource being profiled. Currently used attributes: - customer_managed_encryption: boolean true: the resource is encrypted with a customer-managed key. false: the resource is encrypted with a provider-managed key. + * Attributes of the resource being profiled. Currently used attributes: * customer_managed_encryption: boolean - true: the resource is encrypted with a customer-managed key. - false: the resource is encrypted with a provider-managed key. */ resourceAttributes?: {[key: string]: Schema$GooglePrivacyDlpV2Value} | null; /** @@ -2152,6 +2289,24 @@ export namespace dlp_v2 { */ infoType?: Schema$GooglePrivacyDlpV2InfoType; } + /** + * A pattern to match against one or more file stores. + */ + export interface Schema$GooglePrivacyDlpV2FileStoreRegex { + /** + * Optional. Regex for Cloud Storage. + */ + cloudStorageRegex?: Schema$GooglePrivacyDlpV2CloudStorageRegex; + } + /** + * A collection of regular expressions to determine what file store to match against. + */ + export interface Schema$GooglePrivacyDlpV2FileStoreRegexes { + /** + * Required. The group of regular expression patterns to match against one or more file stores. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB. + */ + patterns?: Schema$GooglePrivacyDlpV2FileStoreRegex[]; + } /** * Represents a piece of potentially sensitive content. */ @@ -4256,7 +4411,7 @@ export namespace dlp_v2 { */ profileStatus?: Schema$GooglePrivacyDlpV2ProfileStatus; /** - * The resource name to the project data profile for this table. + * The resource name of the project data profile for this table. */ projectDataProfile?: string | null; /** @@ -5576,7 +5731,7 @@ export namespace dlp_v2 { */ locationId?: string; /** - * Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name. + * Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name. */ orderBy?: string; /** @@ -6115,7 +6270,7 @@ export namespace dlp_v2 { */ locationId?: string; /** - * Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name. + * Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name. */ orderBy?: string; /** @@ -6401,7 +6556,7 @@ export namespace dlp_v2 { */ filter?: string; /** - * Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id asc` * `table_id` * `sensitivity_level desc` Supported fields are: - `project_id`: The Google Cloud project ID. - `dataset_id`: The ID of a BigQuery dataset. - `table_id`: The ID of a BigQuery table. - `sensitivity_level`: How sensitive the data in a column is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds. + * Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id asc` * `table_id` * `sensitivity_level desc` Supported fields are: - `project_id`: The Google Cloud project ID. - `dataset_id`: The ID of a BigQuery dataset. - `table_id`: The ID of a BigQuery table. - `sensitivity_level`: How sensitive the data in a column is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds. */ orderBy?: string; /** @@ -7472,7 +7627,7 @@ export namespace dlp_v2 { */ locationId?: string; /** - * Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name. + * Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name. */ orderBy?: string; /** @@ -8012,7 +8167,7 @@ export namespace dlp_v2 { export interface Params$Resource$Organizations$Locations$Discoveryconfigs$List extends StandardParameters { /** - * Comma separated list of config fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `last_run_time`: corresponds to the last time the DiscoveryConfig ran. - `name`: corresponds to the DiscoveryConfig's name. - `status`: corresponds to DiscoveryConfig's status. + * Comma-separated list of config fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `last_run_time`: corresponds to the last time the DiscoveryConfig ran. - `name`: corresponds to the DiscoveryConfig's name. - `status`: corresponds to DiscoveryConfig's status. */ orderBy?: string; /** @@ -8156,7 +8311,7 @@ export namespace dlp_v2 { */ locationId?: string; /** - * Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, end_time asc, create_time desc` Supported fields are: - `create_time`: corresponds to the time the job was created. - `end_time`: corresponds to the time the job ended. - `name`: corresponds to the job's name. - `state`: corresponds to `state` + * Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, end_time asc, create_time desc` Supported fields are: - `create_time`: corresponds to the time the job was created. - `end_time`: corresponds to the time the job ended. - `name`: corresponds to the job's name. - `state`: corresponds to `state` */ orderBy?: string; /** @@ -8483,11 +8638,11 @@ export namespace dlp_v2 { export interface Params$Resource$Organizations$Locations$Filestoredataprofiles$List extends StandardParameters { /** - * Optional. Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields/values: - `project_id` - The Google Cloud project ID. - `file_store_path` - The path like "gs://bucket". - `sensitivity_level` - HIGH|MODERATE|LOW - `data_risk_level` - HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code` - an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto * The operator must be `=` or `!=`. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = PUBLIC` . * 'file_store_path = "gs://mybucket"` The length of this field should be no more than 500 characters. + * Optional. Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields/values: - `project_id` - The Google Cloud project ID. - `file_store_path` - The path like "gs://bucket". - `sensitivity_level` - HIGH|MODERATE|LOW - `data_risk_level` - HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code` - an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto * The operator must be `=` or `!=`. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = PUBLIC` * `file_store_path = "gs://mybucket"` The length of this field should be no more than 500 characters. */ filter?: string; /** - * Optional. Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id asc` * `name` * `sensitivity_level desc` Supported fields are: - `project_id`: The Google Cloud project ID. - `sensitivity_level`: How sensitive the data in a table is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds. - `last_modified`: The last time the resource was modified. - `resource_visibility`: Visibility restriction for this resource. - `name`: The name of the profile. - `create_time`: The time the file store was first created. + * Optional. Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id asc` * `name` * `sensitivity_level desc` Supported fields are: - `project_id`: The Google Cloud project ID. - `sensitivity_level`: How sensitive the data in a table is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds. - `last_modified`: The last time the resource was modified. - `resource_visibility`: Visibility restriction for this resource. - `name`: The name of the profile. - `create_time`: The time the file store was first created. */ orderBy?: string; /** @@ -9019,7 +9174,7 @@ export namespace dlp_v2 { */ locationId?: string; /** - * Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name. + * Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name. */ orderBy?: string; /** @@ -9565,7 +9720,7 @@ export namespace dlp_v2 { */ locationId?: string; /** - * Comma separated list of triggeredJob fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the JobTrigger was created. - `update_time`: corresponds to the time the JobTrigger was last updated. - `last_run_time`: corresponds to the last time the JobTrigger ran. - `name`: corresponds to the JobTrigger's name. - `display_name`: corresponds to the JobTrigger's display name. - `status`: corresponds to JobTrigger's status. + * Comma-separated list of triggeredJob fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the JobTrigger was created. - `update_time`: corresponds to the time the JobTrigger was last updated. - `last_run_time`: corresponds to the last time the JobTrigger ran. - `name`: corresponds to the JobTrigger's name. - `display_name`: corresponds to the JobTrigger's display name. - `status`: corresponds to JobTrigger's status. */ orderBy?: string; /** @@ -9812,7 +9967,7 @@ export namespace dlp_v2 { */ filter?: string; /** - * Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id` * `sensitivity_level desc` Supported fields are: - `project_id`: Google Cloud project ID - `sensitivity_level`: How sensitive the data in a project is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds. + * Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id` * `sensitivity_level desc` Supported fields are: - `project_id`: Google Cloud project ID - `sensitivity_level`: How sensitive the data in a project is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds. */ orderBy?: string; /** @@ -10344,7 +10499,7 @@ export namespace dlp_v2 { */ locationId?: string; /** - * Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, display_name, create_time desc` Supported fields are: - `create_time`: corresponds to the time the most recent version of the resource was created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name. + * Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, display_name, create_time desc` Supported fields are: - `create_time`: corresponds to the time the most recent version of the resource was created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name. */ orderBy?: string; /** @@ -10683,7 +10838,7 @@ export namespace dlp_v2 { */ filter?: string; /** - * Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id asc` * `table_id` * `sensitivity_level desc` Supported fields are: - `project_id`: The Google Cloud project ID. - `dataset_id`: The ID of a BigQuery dataset. - `table_id`: The ID of a BigQuery table. - `sensitivity_level`: How sensitive the data in a table is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds. - `last_modified`: The last time the resource was modified. - `resource_visibility`: Visibility restriction for this resource. - `row_count`: Number of rows in this resource. + * Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id asc` * `table_id` * `sensitivity_level desc` Supported fields are: - `project_id`: The Google Cloud project ID. - `dataset_id`: The ID of a BigQuery dataset. - `table_id`: The ID of a BigQuery table. - `sensitivity_level`: How sensitive the data in a table is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds. - `last_modified`: The last time the resource was modified. - `resource_visibility`: Visibility restriction for this resource. - `row_count`: Number of rows in this resource. */ orderBy?: string; /** @@ -11210,7 +11365,7 @@ export namespace dlp_v2 { */ locationId?: string; /** - * Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, display_name, create_time desc` Supported fields are: - `create_time`: corresponds to the time the most recent version of the resource was created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name. + * Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, display_name, create_time desc` Supported fields are: - `create_time`: corresponds to the time the most recent version of the resource was created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name. */ orderBy?: string; /** @@ -12113,7 +12268,7 @@ export namespace dlp_v2 { */ locationId?: string; /** - * Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name. + * Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name. */ orderBy?: string; /** @@ -12656,7 +12811,7 @@ export namespace dlp_v2 { */ locationId?: string; /** - * Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, end_time asc, create_time desc` Supported fields are: - `create_time`: corresponds to the time the job was created. - `end_time`: corresponds to the time the job ended. - `name`: corresponds to the job's name. - `state`: corresponds to `state` + * Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, end_time asc, create_time desc` Supported fields are: - `create_time`: corresponds to the time the job was created. - `end_time`: corresponds to the time the job ended. - `name`: corresponds to the job's name. - `state`: corresponds to `state` */ orderBy?: string; /** @@ -13304,7 +13459,7 @@ export namespace dlp_v2 { */ locationId?: string; /** - * Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name. + * Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name. */ orderBy?: string; /** @@ -13954,7 +14109,7 @@ export namespace dlp_v2 { */ locationId?: string; /** - * Comma separated list of triggeredJob fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the JobTrigger was created. - `update_time`: corresponds to the time the JobTrigger was last updated. - `last_run_time`: corresponds to the last time the JobTrigger ran. - `name`: corresponds to the JobTrigger's name. - `display_name`: corresponds to the JobTrigger's display name. - `status`: corresponds to JobTrigger's status. + * Comma-separated list of triggeredJob fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the JobTrigger was created. - `update_time`: corresponds to the time the JobTrigger was last updated. - `last_run_time`: corresponds to the last time the JobTrigger ran. - `name`: corresponds to the JobTrigger's name. - `display_name`: corresponds to the JobTrigger's display name. - `status`: corresponds to JobTrigger's status. */ orderBy?: string; /** @@ -14249,7 +14404,7 @@ export namespace dlp_v2 { */ filter?: string; /** - * Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id asc` * `table_id` * `sensitivity_level desc` Supported fields are: - `project_id`: The Google Cloud project ID. - `dataset_id`: The ID of a BigQuery dataset. - `table_id`: The ID of a BigQuery table. - `sensitivity_level`: How sensitive the data in a column is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds. + * Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id asc` * `table_id` * `sensitivity_level desc` Supported fields are: - `project_id`: The Google Cloud project ID. - `dataset_id`: The ID of a BigQuery dataset. - `table_id`: The ID of a BigQuery table. - `sensitivity_level`: How sensitive the data in a column is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds. */ orderBy?: string; /** @@ -15767,7 +15922,7 @@ export namespace dlp_v2 { */ locationId?: string; /** - * Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name. + * Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name. */ orderBy?: string; /** @@ -16305,7 +16460,7 @@ export namespace dlp_v2 { export interface Params$Resource$Projects$Locations$Discoveryconfigs$List extends StandardParameters { /** - * Comma separated list of config fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `last_run_time`: corresponds to the last time the DiscoveryConfig ran. - `name`: corresponds to the DiscoveryConfig's name. - `status`: corresponds to DiscoveryConfig's status. + * Comma-separated list of config fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `last_run_time`: corresponds to the last time the DiscoveryConfig ran. - `name`: corresponds to the DiscoveryConfig's name. - `status`: corresponds to DiscoveryConfig's status. */ orderBy?: string; /** @@ -17057,7 +17212,7 @@ export namespace dlp_v2 { */ locationId?: string; /** - * Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, end_time asc, create_time desc` Supported fields are: - `create_time`: corresponds to the time the job was created. - `end_time`: corresponds to the time the job ended. - `name`: corresponds to the job's name. - `state`: corresponds to `state` + * Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, end_time asc, create_time desc` Supported fields are: - `create_time`: corresponds to the time the job was created. - `end_time`: corresponds to the time the job ended. - `name`: corresponds to the job's name. - `state`: corresponds to `state` */ orderBy?: string; /** @@ -17384,11 +17539,11 @@ export namespace dlp_v2 { export interface Params$Resource$Projects$Locations$Filestoredataprofiles$List extends StandardParameters { /** - * Optional. Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields/values: - `project_id` - The Google Cloud project ID. - `file_store_path` - The path like "gs://bucket". - `sensitivity_level` - HIGH|MODERATE|LOW - `data_risk_level` - HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code` - an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto * The operator must be `=` or `!=`. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = PUBLIC` . * 'file_store_path = "gs://mybucket"` The length of this field should be no more than 500 characters. + * Optional. Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields/values: - `project_id` - The Google Cloud project ID. - `file_store_path` - The path like "gs://bucket". - `sensitivity_level` - HIGH|MODERATE|LOW - `data_risk_level` - HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code` - an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto * The operator must be `=` or `!=`. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = PUBLIC` * `file_store_path = "gs://mybucket"` The length of this field should be no more than 500 characters. */ filter?: string; /** - * Optional. Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id asc` * `name` * `sensitivity_level desc` Supported fields are: - `project_id`: The Google Cloud project ID. - `sensitivity_level`: How sensitive the data in a table is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds. - `last_modified`: The last time the resource was modified. - `resource_visibility`: Visibility restriction for this resource. - `name`: The name of the profile. - `create_time`: The time the file store was first created. + * Optional. Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id asc` * `name` * `sensitivity_level desc` Supported fields are: - `project_id`: The Google Cloud project ID. - `sensitivity_level`: How sensitive the data in a table is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds. - `last_modified`: The last time the resource was modified. - `resource_visibility`: Visibility restriction for this resource. - `name`: The name of the profile. - `create_time`: The time the file store was first created. */ orderBy?: string; /** @@ -18035,7 +18190,7 @@ export namespace dlp_v2 { */ locationId?: string; /** - * Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name. + * Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the template was created. - `update_time`: corresponds to the time the template was last updated. - `name`: corresponds to the template's name. - `display_name`: corresponds to the template's display name. */ orderBy?: string; /** @@ -18795,7 +18950,7 @@ export namespace dlp_v2 { */ locationId?: string; /** - * Comma separated list of triggeredJob fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the JobTrigger was created. - `update_time`: corresponds to the time the JobTrigger was last updated. - `last_run_time`: corresponds to the last time the JobTrigger ran. - `name`: corresponds to the JobTrigger's name. - `display_name`: corresponds to the JobTrigger's display name. - `status`: corresponds to JobTrigger's status. + * Comma-separated list of triggeredJob fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to the time the JobTrigger was created. - `update_time`: corresponds to the time the JobTrigger was last updated. - `last_run_time`: corresponds to the last time the JobTrigger ran. - `name`: corresponds to the JobTrigger's name. - `display_name`: corresponds to the JobTrigger's display name. - `status`: corresponds to JobTrigger's status. */ orderBy?: string; /** @@ -19042,7 +19197,7 @@ export namespace dlp_v2 { */ filter?: string; /** - * Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id` * `sensitivity_level desc` Supported fields are: - `project_id`: Google Cloud project ID - `sensitivity_level`: How sensitive the data in a project is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds. + * Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id` * `sensitivity_level desc` Supported fields are: - `project_id`: Google Cloud project ID - `sensitivity_level`: How sensitive the data in a project is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds. */ orderBy?: string; /** @@ -19571,7 +19726,7 @@ export namespace dlp_v2 { */ locationId?: string; /** - * Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, display_name, create_time desc` Supported fields are: - `create_time`: corresponds to the time the most recent version of the resource was created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name. + * Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, display_name, create_time desc` Supported fields are: - `create_time`: corresponds to the time the most recent version of the resource was created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name. */ orderBy?: string; /** @@ -19909,7 +20064,7 @@ export namespace dlp_v2 { */ filter?: string; /** - * Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id asc` * `table_id` * `sensitivity_level desc` Supported fields are: - `project_id`: The Google Cloud project ID. - `dataset_id`: The ID of a BigQuery dataset. - `table_id`: The ID of a BigQuery table. - `sensitivity_level`: How sensitive the data in a table is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds. - `last_modified`: The last time the resource was modified. - `resource_visibility`: Visibility restriction for this resource. - `row_count`: Number of rows in this resource. + * Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id asc` * `table_id` * `sensitivity_level desc` Supported fields are: - `project_id`: The Google Cloud project ID. - `dataset_id`: The ID of a BigQuery dataset. - `table_id`: The ID of a BigQuery table. - `sensitivity_level`: How sensitive the data in a table is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds. - `last_modified`: The last time the resource was modified. - `resource_visibility`: Visibility restriction for this resource. - `row_count`: Number of rows in this resource. */ orderBy?: string; /** @@ -20436,7 +20591,7 @@ export namespace dlp_v2 { */ locationId?: string; /** - * Comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, display_name, create_time desc` Supported fields are: - `create_time`: corresponds to the time the most recent version of the resource was created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name. + * Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: `name asc, display_name, create_time desc` Supported fields are: - `create_time`: corresponds to the time the most recent version of the resource was created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name. */ orderBy?: string; /** diff --git a/src/apis/drive/v2.ts b/src/apis/drive/v2.ts index d73554f2d0..482e56546b 100644 --- a/src/apis/drive/v2.ts +++ b/src/apis/drive/v2.ts @@ -1206,7 +1206,7 @@ export namespace drive_v2 { */ sharingUser?: Schema$User; /** - * Shortcut file details. Only populated for shortcut files, which have the mimeType field set to `application/vnd.google-apps.shortcut`. + * Shortcut file details. Only populated for shortcut files, which have the mimeType field set to `application/vnd.google-apps.shortcut`. Can only be set on `files.insert` requests. */ shortcutDetails?: { targetId?: string; diff --git a/src/apis/drive/v3.ts b/src/apis/drive/v3.ts index 8c1cc0c0e5..62c95e1238 100644 --- a/src/apis/drive/v3.ts +++ b/src/apis/drive/v3.ts @@ -923,7 +923,7 @@ export namespace drive_v3 { */ sharingUser?: Schema$User; /** - * Shortcut file details. Only populated for shortcut files, which have the mimeType field set to `application/vnd.google-apps.shortcut`. + * Shortcut file details. Only populated for shortcut files, which have the mimeType field set to `application/vnd.google-apps.shortcut`. Can only be set on `files.create` requests. */ shortcutDetails?: { targetId?: string; diff --git a/src/apis/essentialcontacts/v1.ts b/src/apis/essentialcontacts/v1.ts index 00f461e258..3d57ab002a 100644 --- a/src/apis/essentialcontacts/v1.ts +++ b/src/apis/essentialcontacts/v1.ts @@ -166,7 +166,7 @@ export namespace essentialcontacts_v1 { */ validateTime?: string | null; /** - * The validity of the contact. A contact is considered valid if it is the correct recipient for notifications for a particular resource. + * Output only. The validity of the contact. A contact is considered valid if it is the correct recipient for notifications for a particular resource. */ validationState?: string | null; } diff --git a/src/apis/file/v1beta1.ts b/src/apis/file/v1beta1.ts index 6269356627..3da224f125 100644 --- a/src/apis/file/v1beta1.ts +++ b/src/apis/file/v1beta1.ts @@ -144,6 +144,10 @@ export namespace file_v1beta1 { * Output only. Amount of bytes that will be downloaded if the backup is restored */ downloadBytes?: string | null; + /** + * Output only. The file system protocol of the source Filestore instance that this backup is created from. + */ + fileSystemProtocol?: string | null; /** * Immutable. KMS key name used for data encryption. */ diff --git a/src/apis/firebaseappcheck/v1.ts b/src/apis/firebaseappcheck/v1.ts index cb4055dd75..4f16954c3f 100644 --- a/src/apis/firebaseappcheck/v1.ts +++ b/src/apis/firebaseappcheck/v1.ts @@ -208,6 +208,28 @@ export namespace firebaseappcheck_v1 { */ configs?: Schema$GoogleFirebaseAppcheckV1SafetyNetConfig[]; } + /** + * Request message for the BatchUpdateResourcePolicies method. + */ + export interface Schema$GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesRequest { + /** + * Required. The request messages specifying the ResourcePolicy objects to update. A maximum of 100 objects can be updated in a batch. + */ + requests?: Schema$GoogleFirebaseAppcheckV1UpdateResourcePolicyRequest[]; + /** + * Optional. A comma-separated list of names of fields in the ResourcePolicy objects to update. Example: `enforcement_mode`. If this field is present, the `update_mask` field in the UpdateResourcePolicyRequest messages must all match this field, or the entire batch fails and no updates will be committed. + */ + updateMask?: string | null; + } + /** + * Response message for the BatchUpdateResourcePolicies method. + */ + export interface Schema$GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesResponse { + /** + * ResourcePolicy objects after the updates have been applied. + */ + resourcePolicies?: Schema$GoogleFirebaseAppcheckV1ResourcePolicy[]; + } /** * Request message for the BatchUpdateServices method. */ @@ -465,6 +487,19 @@ export namespace firebaseappcheck_v1 { */ nextPageToken?: string | null; } + /** + * Response message for the ListResourcePolicies method. + */ + export interface Schema$GoogleFirebaseAppcheckV1ListResourcePoliciesResponse { + /** + * If the result list is too large to fit in a single response, then a token is returned. If the string is empty or omitted, then this response is the last page of results. This token can be used in a subsequent call to ListResourcePolicies to find the next group of ResourcePolicy objects. Page tokens are short-lived and should not be persisted. + */ + nextPageToken?: string | null; + /** + * The ResourcePolicy objects retrieved. + */ + resourcePolicies?: Schema$GoogleFirebaseAppcheckV1ResourcePolicy[]; + } /** * Response message for the ListServices method. */ @@ -567,6 +602,31 @@ export namespace firebaseappcheck_v1 { */ tokenTtl?: string | null; } + /** + * App Check enforcement policy for a specific resource of a Firebase service supported by App Check. Note that this policy will override the service-level configuration. + */ + export interface Schema$GoogleFirebaseAppcheckV1ResourcePolicy { + /** + * Required. The App Check enforcement mode for this resource. This will override the EnforcementMode setting on the service. + */ + enforcementMode?: string | null; + /** + * This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. This etag is strongly validated as defined by RFC 7232. + */ + etag?: string | null; + /** + * Required. Identifier. The relative name of the resource policy object, in the format: ``` projects/{project_number\}/services/{service_id\}/resourcePolicies/{resource_policy_id\} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `oauth2.googleapis.com` (Google Identity for iOS) `resource_policy_id` is a system-generated UID. + */ + name?: string | null; + /** + * Required. Service specific name of the resource object to which this policy applies, in the format: * `//oauth2.googleapis.com/projects/{project_number\}/oauthClients/{oauth_client_id\}` (Google Identity for iOS) Note that the resource must belong to the service specified in the `name` and be from the same project as this policy, but the resource is allowed to be missing at the time of creation of this policy; in that case, we make a best-effort attempt at respecting this policy, but it may not have any effect until the resource is fully created. + */ + targetResource?: string | null; + /** + * Output only. Timestamp when this resource policy configuration object was most recently updated. + */ + updateTime?: string | null; + } /** * An app's SafetyNet configuration object. This configuration controls certain properties of the `AppCheckToken` returned by ExchangeSafetyNetToken, such as its ttl. Note that your registered SHA-256 certificate fingerprints are used to validate tokens issued by SafetyNet; please register them via the Firebase Console or programmatically via the [Firebase Management Service](https://firebase.google.com/docs/projects/api/reference/rest/v11/projects.androidApps.sha/create). */ @@ -593,6 +653,19 @@ export namespace firebaseappcheck_v1 { */ name?: string | null; } + /** + * Request message for the UpdateResourcePolicy method as well as an individual update message for the BatchUpdateResourcePolicies method. + */ + export interface Schema$GoogleFirebaseAppcheckV1UpdateResourcePolicyRequest { + /** + * Required. The ResourcePolicy to update. The ResourcePolicy's `name` field is used to identify the ResourcePolicy to be updated, in the format: ``` projects/{project_number\}/services/{service_id\}/resourcePolicies/{resource_policy_id\} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `oauth2.googleapis.com` (Google Identity for iOS) + */ + resourcePolicy?: Schema$GoogleFirebaseAppcheckV1ResourcePolicy; + /** + * Required. A comma-separated list of names of fields in the ResourcePolicy to update. Example: `enforcement_mode`. + */ + updateMask?: string | null; + } /** * Request message for the UpdateService method as well as an individual update message for the BatchUpdateServices method. */ @@ -4944,8 +5017,12 @@ export namespace firebaseappcheck_v1 { export class Resource$Projects$Services { context: APIRequestContext; + resourcePolicies: Resource$Projects$Services$Resourcepolicies; constructor(context: APIRequestContext) { this.context = context; + this.resourcePolicies = new Resource$Projects$Services$Resourcepolicies( + this.context + ); } /** @@ -5385,4 +5462,664 @@ export namespace firebaseappcheck_v1 { */ requestBody?: Schema$GoogleFirebaseAppcheckV1Service; } + + export class Resource$Projects$Services$Resourcepolicies { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Atomically updates the specified ResourcePolicy configurations. + * + * @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. + */ + batchUpdate( + params: Params$Resource$Projects$Services$Resourcepolicies$Batchupdate, + options: StreamMethodOptions + ): GaxiosPromise; + batchUpdate( + params?: Params$Resource$Projects$Services$Resourcepolicies$Batchupdate, + options?: MethodOptions + ): GaxiosPromise; + batchUpdate( + params: Params$Resource$Projects$Services$Resourcepolicies$Batchupdate, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + batchUpdate( + params: Params$Resource$Projects$Services$Resourcepolicies$Batchupdate, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + batchUpdate( + params: Params$Resource$Projects$Services$Resourcepolicies$Batchupdate, + callback: BodyResponseCallback + ): void; + batchUpdate( + callback: BodyResponseCallback + ): void; + batchUpdate( + paramsOrCallback?: + | Params$Resource$Projects$Services$Resourcepolicies$Batchupdate + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Services$Resourcepolicies$Batchupdate; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Services$Resourcepolicies$Batchupdate; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseappcheck.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + '/v1/{+parent}/resourcePolicies:batchUpdate' + ).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 + ); + } + } + + /** + * Creates the specified ResourcePolicy configuration. + * + * @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$Services$Resourcepolicies$Create, + options: StreamMethodOptions + ): GaxiosPromise; + create( + params?: Params$Resource$Projects$Services$Resourcepolicies$Create, + options?: MethodOptions + ): GaxiosPromise; + create( + params: Params$Resource$Projects$Services$Resourcepolicies$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Services$Resourcepolicies$Create, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Services$Resourcepolicies$Create, + callback: BodyResponseCallback + ): void; + create( + callback: BodyResponseCallback + ): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Services$Resourcepolicies$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Services$Resourcepolicies$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Services$Resourcepolicies$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseappcheck.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/resourcePolicies').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 the specified ResourcePolicy configuration. + * + * @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$Services$Resourcepolicies$Delete, + options: StreamMethodOptions + ): GaxiosPromise; + delete( + params?: Params$Resource$Projects$Services$Resourcepolicies$Delete, + options?: MethodOptions + ): GaxiosPromise; + delete( + params: Params$Resource$Projects$Services$Resourcepolicies$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Services$Resourcepolicies$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Services$Resourcepolicies$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Services$Resourcepolicies$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Services$Resourcepolicies$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Services$Resourcepolicies$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseappcheck.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+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 the requested ResourcePolicy configuration. + * + * @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$Services$Resourcepolicies$Get, + options: StreamMethodOptions + ): GaxiosPromise; + get( + params?: Params$Resource$Projects$Services$Resourcepolicies$Get, + options?: MethodOptions + ): GaxiosPromise; + get( + params: Params$Resource$Projects$Services$Resourcepolicies$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Services$Resourcepolicies$Get, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Services$Resourcepolicies$Get, + callback: BodyResponseCallback + ): void; + get( + callback: BodyResponseCallback + ): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Services$Resourcepolicies$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Services$Resourcepolicies$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Services$Resourcepolicies$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseappcheck.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 all ResourcePolicy configurations for the specified project and service. + * + * @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$Services$Resourcepolicies$List, + options: StreamMethodOptions + ): GaxiosPromise; + list( + params?: Params$Resource$Projects$Services$Resourcepolicies$List, + options?: MethodOptions + ): GaxiosPromise; + list( + params: Params$Resource$Projects$Services$Resourcepolicies$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Services$Resourcepolicies$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Services$Resourcepolicies$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback + ): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Services$Resourcepolicies$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Services$Resourcepolicies$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Services$Resourcepolicies$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseappcheck.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/resourcePolicies').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 the specified ResourcePolicy configuration. + * + * @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$Services$Resourcepolicies$Patch, + options: StreamMethodOptions + ): GaxiosPromise; + patch( + params?: Params$Resource$Projects$Services$Resourcepolicies$Patch, + options?: MethodOptions + ): GaxiosPromise; + patch( + params: Params$Resource$Projects$Services$Resourcepolicies$Patch, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Services$Resourcepolicies$Patch, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Services$Resourcepolicies$Patch, + callback: BodyResponseCallback + ): void; + patch( + callback: BodyResponseCallback + ): void; + patch( + paramsOrCallback?: + | Params$Resource$Projects$Services$Resourcepolicies$Patch + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Services$Resourcepolicies$Patch; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Services$Resourcepolicies$Patch; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseappcheck.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$Services$Resourcepolicies$Batchupdate + extends StandardParameters { + /** + * Required. The parent service name, in the format ``` projects/{project_number\}/services/{service_id\} ``` The parent collection in the `name` field of any resource being updated must match this field, or the entire batch fails. + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesRequest; + } + export interface Params$Resource$Projects$Services$Resourcepolicies$Create + extends StandardParameters { + /** + * Required. The relative resource name of the parent Service in which the specified ResourcePolicy will be created, in the format: ``` projects/{project_number\}/services/{service_id\} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `oauth2.googleapis.com` (Google Identity for iOS) + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleFirebaseAppcheckV1ResourcePolicy; + } + export interface Params$Resource$Projects$Services$Resourcepolicies$Delete + extends StandardParameters { + /** + * The checksum to be validated against the current ResourcePolicy, to ensure the client has an up-to-date value before proceeding. This checksum is computed by the server based on the values of fields in the ResourcePolicy object, and can be obtained from the ResourcePolicy object received from the last CreateResourcePolicy, GetResourcePolicy, ListResourcePolicies, UpdateResourcePolicy, or BatchUpdateResourcePolicies call. This etag is strongly validated as defined by RFC 7232. + */ + etag?: string; + /** + * Required. The relative resource name of the ResourcePolicy to delete, in the format: ``` projects/{project_number\}/services/{service_id\}/resourcePolicies/{resource_policy_id\} ``` + */ + name?: string; + } + export interface Params$Resource$Projects$Services$Resourcepolicies$Get + extends StandardParameters { + /** + * Required. The relative resource name of the ResourcePolicy to retrieve, in the format: ``` projects/{project_number\}/services/{service_id\}/resourcePolicies/{resource_policy_id\} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `oauth2.googleapis.com` (Google Identity for iOS) + */ + name?: string; + } + export interface Params$Resource$Projects$Services$Resourcepolicies$List + extends StandardParameters { + /** + * Optional. Filters the results by the specified rule. For the exact syntax of this field, please consult the [AIP-160](https://google.aip.dev/160) standard. Currently, since the only fields in the ResourcePolicy resource are the scalar fields `enforcement_mode` and `target_resource`, this method does not support the traversal operator (`.`) or the has operator (`:`). Here are some examples of valid filters: * `enforcement_mode = ENFORCED` * `target_resource = "//oauth2.googleapis.com/projects/12345/oauthClients/"` * `enforcement_mode = ENFORCED AND target_resource = "//oauth2.googleapis.com/projects/12345/oauthClients/"` + */ + filter?: string; + /** + * The maximum number of ResourcePolicy objects to return in the response. The server may return fewer than this at its own discretion. If no value is specified (or too large a value is specified), the server will impose its own limit. + */ + pageSize?: number; + /** + * Token returned from a previous call to ListResourcePolicies indicating where in the set of ResourcePolicy objects to resume listing. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListResourcePolicies must match the call that provided the page token; if they do not match, the result is undefined. + */ + pageToken?: string; + /** + * Required. The relative resource name of the parent Service for which to list each associated ResourcePolicy, in the format: ``` projects/{project_number\}/services/{service_id\} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `oauth2.googleapis.com` (Google Identity for iOS) + */ + parent?: string; + } + export interface Params$Resource$Projects$Services$Resourcepolicies$Patch + extends StandardParameters { + /** + * Required. Identifier. The relative name of the resource policy object, in the format: ``` projects/{project_number\}/services/{service_id\}/resourcePolicies/{resource_policy_id\} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `oauth2.googleapis.com` (Google Identity for iOS) `resource_policy_id` is a system-generated UID. + */ + name?: string; + /** + * Required. A comma-separated list of names of fields in the ResourcePolicy to update. Example: `enforcement_mode`. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleFirebaseAppcheckV1ResourcePolicy; + } } diff --git a/src/apis/firebaseappdistribution/v1alpha.ts b/src/apis/firebaseappdistribution/v1alpha.ts index 126e6496e1..475ee21889 100644 --- a/src/apis/firebaseappdistribution/v1alpha.ts +++ b/src/apis/firebaseappdistribution/v1alpha.ts @@ -154,12 +154,12 @@ export namespace firebaseappdistribution_v1alpha { /** * Required. Steps to be accomplished by the AI */ - steps?: Schema$GoogleFirebaseAppdistroV1alphaAiInstructionsStep[]; + steps?: Schema$GoogleFirebaseAppdistroV1alphaAiStep[]; } /** * A step to be accomplished by the AI */ - export interface Schema$GoogleFirebaseAppdistroV1alphaAiInstructionsStep { + export interface Schema$GoogleFirebaseAppdistroV1alphaAiStep { /** * An assertion to be checked by the AI */ @@ -169,6 +169,19 @@ export namespace firebaseappdistribution_v1alpha { */ goal?: string | null; } + /** + * Captures the results of an AiStep + */ + export interface Schema$GoogleFirebaseAppdistroV1alphaAiStepResult { + /** + * Output only. The current state of the step + */ + state?: string | null; + /** + * Required. The step performed by the AI + */ + step?: Schema$GoogleFirebaseAppdistroV1alphaAiStep; + } export interface Schema$GoogleFirebaseAppdistroV1alphaApp { /** * App bundle test certificate generated for the app. @@ -223,6 +236,10 @@ export namespace firebaseappdistribution_v1alpha { * The results of running an automated test on a particular device. */ export interface Schema$GoogleFirebaseAppdistroV1alphaDeviceExecution { + /** + * Output only. Results of the AI steps if passed in + */ + aiStepResults?: Schema$GoogleFirebaseAppdistroV1alphaAiStepResult[]; /** * Output only. An app crash, if any occurred during the test. */ diff --git a/src/apis/firebaseml/v2beta.ts b/src/apis/firebaseml/v2beta.ts index d078af478c..4208c086a2 100644 --- a/src/apis/firebaseml/v2beta.ts +++ b/src/apis/firebaseml/v2beta.ts @@ -186,6 +186,10 @@ export namespace firebaseml_v2beta { * Output only. List of ratings for the safety of a response candidate. There is at most one rating per category. */ safetyRatings?: Schema$GoogleCloudAiplatformV1beta1SafetyRating[]; + /** + * Output only. Confidence score of the candidate. + */ + score?: number | null; } /** * Source attributions for content. @@ -243,17 +247,25 @@ export namespace firebaseml_v2beta { */ export interface Schema$GoogleCloudAiplatformV1beta1CountTokensRequest { /** - * Required. Input content. + * Optional. Input content. */ contents?: Schema$GoogleCloudAiplatformV1beta1Content[]; /** - * Required. The instances that are the input to token counting call. Schema is identical to the prediction schema of the underlying model. + * Optional. The instances that are the input to token counting call. Schema is identical to the prediction schema of the underlying model. */ instances?: any[] | null; /** - * Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project\}/locations/{location\}/publishers/x/models/x` + * Optional. The name of the publisher model requested to serve the prediction. Format: `projects/{project\}/locations/{location\}/publishers/x/models/x` */ model?: string | null; + /** + * Optional. The user provided system instructions for the model. Note: only text should be used in parts and content in each part will be in a separate paragraph. + */ + systemInstruction?: Schema$GoogleCloudAiplatformV1beta1Content; + /** + * Optional. A list of `Tools` the model may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the model. + */ + tools?: Schema$GoogleCloudAiplatformV1beta1Tool[]; } /** * Response message for PredictionService.CountTokens. @@ -471,53 +483,6 @@ export namespace firebaseml_v2beta { * Tool to retrieve public web data for grounding, powered by Google. */ export interface Schema$GoogleCloudAiplatformV1beta1GoogleSearchRetrieval {} - /** - * Grounding attribution. - */ - export interface Schema$GoogleCloudAiplatformV1beta1GroundingAttribution { - /** - * Optional. Output only. Confidence score of the attribution. Ranges from 0 to 1. 1 is the most confident. - */ - confidenceScore?: number | null; - /** - * Optional. Attribution from context retrieved by the retrieval tools. - */ - retrievedContext?: Schema$GoogleCloudAiplatformV1beta1GroundingAttributionRetrievedContext; - /** - * Output only. Segment of the content this attribution belongs to. - */ - segment?: Schema$GoogleCloudAiplatformV1beta1Segment; - /** - * Optional. Attribution from the web. - */ - web?: Schema$GoogleCloudAiplatformV1beta1GroundingAttributionWeb; - } - /** - * Attribution from context retrieved by the retrieval tools. - */ - export interface Schema$GoogleCloudAiplatformV1beta1GroundingAttributionRetrievedContext { - /** - * Output only. Title of the attribution. - */ - title?: string | null; - /** - * Output only. URI reference of the attribution. - */ - uri?: string | null; - } - /** - * Attribution from the web. - */ - export interface Schema$GoogleCloudAiplatformV1beta1GroundingAttributionWeb { - /** - * Output only. Title of the attribution. - */ - title?: string | null; - /** - * Output only. URI reference of the attribution. - */ - uri?: string | null; - } /** * Grounding chunk. */ @@ -561,10 +526,6 @@ export namespace firebaseml_v2beta { * Metadata returned to client when grounding is enabled. */ export interface Schema$GoogleCloudAiplatformV1beta1GroundingMetadata { - /** - * Optional. List of grounding attributions. - */ - groundingAttributions?: Schema$GoogleCloudAiplatformV1beta1GroundingAttribution[]; /** * List of supporting references retrieved from specified grounding source. */ diff --git a/src/apis/firestore/v1.ts b/src/apis/firestore/v1.ts index adfcc93ff1..ed578131ea 100644 --- a/src/apis/firestore/v1.ts +++ b/src/apis/firestore/v1.ts @@ -676,7 +676,7 @@ export namespace firestore_v1 { */ name?: string | null; /** - * At what relative time in the future, compared to its creation time, the backup should be deleted, e.g. keep backups for 7 days. + * At what relative time in the future, compared to its creation time, the backup should be deleted, e.g. keep backups for 7 days. The maximum supported retention is 14 weeks. */ retention?: string | null; /** @@ -1245,7 +1245,7 @@ export namespace firestore_v1 { */ export interface Schema$GoogleFirestoreAdminV1RestoreDatabaseRequest { /** - * Backup to restore from. Must be from the same project as the parent. Format is: `projects/{project_id\}/locations/{location\}/backups/{backup\}` + * Backup to restore from. Must be from the same project as the parent. The restored database will be created in the same location as the source backup. Format is: `projects/{project_id\}/locations/{location\}/backups/{backup\}` */ backup?: string | null; /** @@ -1253,7 +1253,7 @@ export namespace firestore_v1 { */ databaseId?: string | null; /** - * Use Customer Managed Encryption Keys (CMEK) for encryption. Only keys in the same location as this database are allowed to be used for encryption. For Firestore's nam5 multi-region, this corresponds to Cloud KMS multi-region us. For Firestore's eur3 multi-region, this corresponds to Cloud KMS multi-region europe. See https://cloud.google.com/kms/docs/locations. The expected format is `projects/{project_id\}/locations/{kms_location\}/keyRings/{key_ring\}/cryptoKeys/{crypto_key\}`. + * Use Customer Managed Encryption Keys (CMEK) for encryption. Only keys in the same location as the restored database are allowed to be used for encryption. For Firestore's nam5 multi-region, this corresponds to Cloud KMS multi-region us. For Firestore's eur3 multi-region, this corresponds to Cloud KMS multi-region europe. See https://cloud.google.com/kms/docs/locations. The expected format is `projects/{project_id\}/locations/{kms_location\}/keyRings/{key_ring\}/cryptoKeys/{crypto_key\}`. */ kmsKeyName?: string | null; /** diff --git a/src/apis/games/v1.ts b/src/apis/games/v1.ts index de323dc1b4..bdacf9392d 100644 --- a/src/apis/games/v1.ts +++ b/src/apis/games/v1.ts @@ -716,7 +716,7 @@ export namespace games_v1 { /** * Recall token data. */ - token?: Schema$RecallToken[]; + recallToken?: Schema$RecallToken; } /** * The payload to request to increment an achievement. @@ -1535,7 +1535,7 @@ export namespace games_v1 { /** * The recall token associated with the requested PGS Player principal. It can be unset if there is no recall token associated with the requested principal. */ - token?: Schema$RecallToken; + gamePlayerToken?: Schema$GamePlayerToken; } /** * A list of recall token data returned from the RetrieveGamesPlayerTokens RPC @@ -1544,7 +1544,7 @@ export namespace games_v1 { /** * The requested applications along with the recall tokens for the player. If the player does not have recall tokens for an application, that application is not included in the response. */ - applicationRecallTokens?: Schema$GamePlayerToken[]; + gamePlayerTokens?: Schema$GamePlayerToken[]; } /** * Response for the RetrievePlayerTokens RPC diff --git a/src/apis/gkebackup/v1.ts b/src/apis/gkebackup/v1.ts index 9f04512f3c..e98cc7c033 100644 --- a/src/apis/gkebackup/v1.ts +++ b/src/apis/gkebackup/v1.ts @@ -604,7 +604,7 @@ export namespace gkebackup_v1 { */ export interface Schema$GroupKind { /** - * Optional. API group string of a Kubernetes resource, e.g. "apiextensions.k8s.io", "storage.k8s.io", etc. Note: use empty string for core API group + * Optional. API group string of a Kubernetes resource, e.g. "apiextensions.k8s.io", "storage.k8s.io", etc. Note: use empty string for core API group. */ resourceGroup?: string | null; /** @@ -776,11 +776,11 @@ export namespace gkebackup_v1 { namespacedNames?: Schema$NamespacedName[]; } /** - * A list of Kubernetes Namespaces + * A list of Kubernetes Namespaces. */ export interface Schema$Namespaces { /** - * Optional. A list of Kubernetes Namespaces + * Optional. A list of Kubernetes Namespaces. */ namespaces?: string[] | null; } @@ -905,7 +905,7 @@ export namespace gkebackup_v1 { */ etag?: string | null; /** - * Optional. Immutable. Filters resources for `Restore`. If not specified, the scope of the restore will remain the same as defined in the `RestorePlan`. If this is specified, and no resources are matched by the `inclusion_filters` or everyting is excluded by the `exclusion_filters`, nothing will be restored. This filter can only be specified if the value of namespaced_resource_restore_mode is set to `MERGE_SKIP_ON_CONFLICT`, `MERGE_REPLACE_VOLUME_ON_CONFLICT` or `MERGE_REPLACE_ON_CONFLICT`. + * Optional. Immutable. Filters resources for `Restore`. If not specified, the scope of the restore will remain the same as defined in the `RestorePlan`. If this is specified and no resources are matched by the `inclusion_filters` or everyting is excluded by the `exclusion_filters`, nothing will be restored. This filter can only be specified if the value of namespaced_resource_restore_mode is set to `MERGE_SKIP_ON_CONFLICT`, `MERGE_REPLACE_VOLUME_ON_CONFLICT` or `MERGE_REPLACE_ON_CONFLICT`. */ filter?: Schema$Filter; /** diff --git a/src/apis/gkehub/v1.ts b/src/apis/gkehub/v1.ts index 25baf1248a..39615e411f 100644 --- a/src/apis/gkehub/v1.ts +++ b/src/apis/gkehub/v1.ts @@ -525,10 +525,18 @@ export namespace gkehub_v1 { * Deployment state of the monitor pod */ monitor?: string | null; + /** + * Deployment state of otel-collector + */ + otelCollector?: string | null; /** * Deployment state of reconciler-manager pod */ reconcilerManager?: string | null; + /** + * Deployment state of resource-group-controller-manager + */ + resourceGroupControllerManager?: string | null; /** * Deployment state of root-reconciler */ @@ -585,7 +593,7 @@ export namespace gkehub_v1 { */ export interface Schema$ConfigManagementConfigSyncVersion { /** - * Version of the deployed admission_webhook pod + * Version of the deployed admission-webhook pod */ admissionWebhook?: string | null; /** @@ -600,10 +608,18 @@ export namespace gkehub_v1 { * Version of the deployed monitor pod */ monitor?: string | null; + /** + * Version of the deployed otel-collector pod + */ + otelCollector?: string | null; /** * Version of the deployed reconciler-manager pod */ reconcilerManager?: string | null; + /** + * Version of the deployed resource-group-controller-manager pod + */ + resourceGroupControllerManager?: string | null; /** * Version of the deployed reconciler container in root-reconciler pod */ @@ -1320,6 +1336,15 @@ export namespace gkehub_v1 { */ manifest?: Schema$ConnectAgentResource[]; } + /** + * Response for GenerateRBACRoleBindingYAML. + */ + export interface Schema$GenerateMembershipRBACRoleBindingYAMLResponse { + /** + * a yaml text blob including the RBAC policies. + */ + roleBindingsYaml?: string | null; + } /** * GkeCluster contains information specific to GKE clusters. */ @@ -2793,7 +2818,7 @@ export namespace gkehub_v1 { */ controlPlane?: string | null; /** - * Enables automatic Service Mesh management. + * Optional. Enables automatic Service Mesh management. */ management?: string | null; } @@ -6090,6 +6115,365 @@ export namespace gkehub_v1 { this.context = context; } + /** + * Creates a Membership RBACRoleBinding. + * + * @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$Memberships$Rbacrolebindings$Create, + options: StreamMethodOptions + ): GaxiosPromise; + create( + params?: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Create, + options?: MethodOptions + ): GaxiosPromise; + create( + params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Create, + callback: BodyResponseCallback + ): void; + create(callback: BodyResponseCallback): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://gkehub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/rbacrolebindings').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 Membership RBACRoleBinding. + * + * @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$Memberships$Rbacrolebindings$Delete, + options: StreamMethodOptions + ): GaxiosPromise; + delete( + params?: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Delete, + options?: MethodOptions + ): GaxiosPromise; + delete( + params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://gkehub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+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); + } + } + + /** + * Generates a YAML of the RBAC policies for the specified RoleBinding and its associated impersonation resources. + * + * @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. + */ + generateMembershipRBACRoleBindingYAML( + params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Generatemembershiprbacrolebindingyaml, + options: StreamMethodOptions + ): GaxiosPromise; + generateMembershipRBACRoleBindingYAML( + params?: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Generatemembershiprbacrolebindingyaml, + options?: MethodOptions + ): GaxiosPromise; + generateMembershipRBACRoleBindingYAML( + params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Generatemembershiprbacrolebindingyaml, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + generateMembershipRBACRoleBindingYAML( + params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Generatemembershiprbacrolebindingyaml, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + generateMembershipRBACRoleBindingYAML( + params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Generatemembershiprbacrolebindingyaml, + callback: BodyResponseCallback + ): void; + generateMembershipRBACRoleBindingYAML( + callback: BodyResponseCallback + ): void; + generateMembershipRBACRoleBindingYAML( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Generatemembershiprbacrolebindingyaml + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Generatemembershiprbacrolebindingyaml; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Generatemembershiprbacrolebindingyaml; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://gkehub.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + + '/v1/{+parent}/rbacrolebindings:generateMembershipRBACRoleBindingYAML' + ).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 + ); + } + } + + /** + * Returns the details of a Membership RBACRoleBinding. + * + * @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$Memberships$Rbacrolebindings$Get, + options: StreamMethodOptions + ): GaxiosPromise; + get( + params?: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Get, + options?: MethodOptions + ): GaxiosPromise; + get( + params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://gkehub.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 all Membership RBACRoleBindings. * @@ -6187,8 +6571,140 @@ export namespace gkehub_v1 { ); } } + + /** + * Updates a Membership RBACRoleBinding. + * + * @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$Memberships$Rbacrolebindings$Patch, + options: StreamMethodOptions + ): GaxiosPromise; + patch( + params?: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Patch, + options?: MethodOptions + ): GaxiosPromise; + patch( + params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Patch, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Patch, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Patch, + callback: BodyResponseCallback + ): void; + patch(callback: BodyResponseCallback): void; + patch( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Patch + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Patch; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Patch; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://gkehub.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$Memberships$Rbacrolebindings$Create + extends StandardParameters { + /** + * Required. The parent (project and location) where the RBACRoleBinding will be created. Specified in the format `projects/x/locations/x/memberships/x`. + */ + parent?: string; + /** + * Required. Client chosen ID for the RBACRoleBinding. `rbacrolebinding_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters. + */ + rbacrolebindingId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$RBACRoleBinding; + } + export interface Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Delete + extends StandardParameters { + /** + * Required. The RBACRoleBinding resource name in the format `projects/x/locations/x/memberships/x/rbacrolebindings/x`. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Generatemembershiprbacrolebindingyaml + extends StandardParameters { + /** + * Required. The parent (project and location) where the RBACRoleBinding will be created. Specified in the format `projects/x/locations/x/memberships/x`. + */ + parent?: string; + /** + * Required. Client chosen ID for the RBACRoleBinding. `rbacrolebinding_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2. It must consist of lower case alphanumeric characters or `-` 3. It must start and end with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters. + */ + rbacrolebindingId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$RBACRoleBinding; + } + export interface Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Get + extends StandardParameters { + /** + * Required. The RBACRoleBinding resource name in the format `projects/x/locations/x/memberships/x/rbacrolebindings/x`. + */ + name?: string; + } export interface Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$List extends StandardParameters { /** @@ -6204,6 +6720,22 @@ export namespace gkehub_v1 { */ parent?: string; } + export interface Params$Resource$Projects$Locations$Memberships$Rbacrolebindings$Patch + extends StandardParameters { + /** + * The resource name for the rbacrolebinding `projects/{project\}/locations/{location\}/scopes/{scope\}/rbacrolebindings/{rbacrolebinding\}` or `projects/{project\}/locations/{location\}/memberships/{membership\}/rbacrolebindings/{rbacrolebinding\}` + */ + name?: string; + /** + * Required. The fields to be updated. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$RBACRoleBinding; + } export class Resource$Projects$Locations$Operations { context: APIRequestContext; diff --git a/src/apis/gkehub/v1alpha.ts b/src/apis/gkehub/v1alpha.ts index d43f058a46..03208682e9 100644 --- a/src/apis/gkehub/v1alpha.ts +++ b/src/apis/gkehub/v1alpha.ts @@ -666,10 +666,18 @@ export namespace gkehub_v1alpha { * Deployment state of the monitor pod */ monitor?: string | null; + /** + * Deployment state of otel-collector + */ + otelCollector?: string | null; /** * Deployment state of reconciler-manager pod */ reconcilerManager?: string | null; + /** + * Deployment state of resource-group-controller-manager + */ + resourceGroupControllerManager?: string | null; /** * Deployment state of root-reconciler */ @@ -726,7 +734,7 @@ export namespace gkehub_v1alpha { */ export interface Schema$ConfigManagementConfigSyncVersion { /** - * Version of the deployed admission_webhook pod + * Version of the deployed admission-webhook pod */ admissionWebhook?: string | null; /** @@ -741,10 +749,18 @@ export namespace gkehub_v1alpha { * Version of the deployed monitor pod */ monitor?: string | null; + /** + * Version of the deployed otel-collector pod + */ + otelCollector?: string | null; /** * Version of the deployed reconciler-manager pod */ reconcilerManager?: string | null; + /** + * Version of the deployed resource-group-controller-manager pod + */ + resourceGroupControllerManager?: string | null; /** * Version of the deployed reconciler container in root-reconciler pod */ @@ -3103,6 +3119,10 @@ export namespace gkehub_v1alpha { * **Service Mesh**: Spec for a single Membership for the servicemesh feature */ export interface Schema$ServiceMeshMembershipSpec { + /** + * Optional. Specifies the API that will be used for configuring the mesh workloads. + */ + configApi?: string | null; /** * Deprecated: use `management` instead Enables automatic control plane management. */ @@ -3112,7 +3132,7 @@ export namespace gkehub_v1alpha { */ defaultChannel?: string | null; /** - * Enables automatic Service Mesh management. + * Optional. Enables automatic Service Mesh management. */ management?: string | null; } diff --git a/src/apis/gkehub/v1beta.ts b/src/apis/gkehub/v1beta.ts index e80cc99959..969ab6670d 100644 --- a/src/apis/gkehub/v1beta.ts +++ b/src/apis/gkehub/v1beta.ts @@ -586,10 +586,18 @@ export namespace gkehub_v1beta { * Deployment state of the monitor pod */ monitor?: string | null; + /** + * Deployment state of otel-collector + */ + otelCollector?: string | null; /** * Deployment state of reconciler-manager pod */ reconcilerManager?: string | null; + /** + * Deployment state of resource-group-controller-manager + */ + resourceGroupControllerManager?: string | null; /** * Deployment state of root-reconciler */ @@ -646,7 +654,7 @@ export namespace gkehub_v1beta { */ export interface Schema$ConfigManagementConfigSyncVersion { /** - * Version of the deployed admission_webhook pod + * Version of the deployed admission-webhook pod */ admissionWebhook?: string | null; /** @@ -661,10 +669,18 @@ export namespace gkehub_v1beta { * Version of the deployed monitor pod */ monitor?: string | null; + /** + * Version of the deployed otel-collector pod + */ + otelCollector?: string | null; /** * Version of the deployed reconciler-manager pod */ reconcilerManager?: string | null; + /** + * Version of the deployed resource-group-controller-manager pod + */ + resourceGroupControllerManager?: string | null; /** * Version of the deployed reconciler container in root-reconciler pod */ @@ -2913,7 +2929,7 @@ export namespace gkehub_v1beta { */ controlPlane?: string | null; /** - * Enables automatic Service Mesh management. + * Optional. Enables automatic Service Mesh management. */ management?: string | null; } diff --git a/src/apis/index.ts b/src/apis/index.ts index b0c122c68b..45cb3d93c4 100644 --- a/src/apis/index.ts +++ b/src/apis/index.ts @@ -49,6 +49,10 @@ 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 { + VERSIONS as adsenseplatformVersions, + adsenseplatform, +} from './adsenseplatform'; import { VERSIONS as advisorynotificationsVersions, advisorynotifications, @@ -244,6 +248,7 @@ import { 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'; @@ -396,6 +401,7 @@ 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'; @@ -725,6 +731,7 @@ export const APIS: APIList = { admob: admobVersions, adsense: adsenseVersions, adsensehost: adsensehostVersions, + adsenseplatform: adsenseplatformVersions, advisorynotifications: advisorynotificationsVersions, aiplatform: aiplatformVersions, airquality: airqualityVersions, @@ -806,6 +813,7 @@ export const APIS: APIList = { containeranalysis: containeranalysisVersions, content: contentVersions, contentwarehouse: contentwarehouseVersions, + css: cssVersions, customsearch: customsearchVersions, datacatalog: datacatalogVersions, dataflow: dataflowVersions, @@ -880,6 +888,7 @@ export const APIS: APIList = { indexing: indexingVersions, integrations: integrationsVersions, jobs: jobsVersions, + keep: keepVersions, kgsearch: kgsearchVersions, kmsinventory: kmsinventoryVersions, language: languageVersions, @@ -1025,6 +1034,7 @@ export class GeneratedAPIs { admob = admob; adsense = adsense; adsensehost = adsensehost; + adsenseplatform = adsenseplatform; advisorynotifications = advisorynotifications; aiplatform = aiplatform; airquality = airquality; @@ -1106,6 +1116,7 @@ export class GeneratedAPIs { containeranalysis = containeranalysis; content = content; contentwarehouse = contentwarehouse; + css = css; customsearch = customsearch; datacatalog = datacatalog; dataflow = dataflow; @@ -1180,6 +1191,7 @@ export class GeneratedAPIs { indexing = indexing; integrations = integrations; jobs = jobs; + keep = keep; kgsearch = kgsearch; kmsinventory = kmsinventory; language = language; diff --git a/src/apis/keep/README.md b/src/apis/keep/README.md new file mode 100644 index 0000000000..98ca1857a3 --- /dev/null +++ b/src/apis/keep/README.md @@ -0,0 +1,28 @@ +Google Inc. logo + +# keep + +> The Google Keep API is used in an enterprise environment to manage Google Keep content and resolve issues identified by cloud security software. + +## Installation + +```sh +$ npm install @googleapis/keep +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/googleapis/google-api-nodejs-client). +Information on classes can be found in [Googleapis Documentation](https://googleapis.dev/nodejs/googleapis/latest/keep/classes/Keep.html). + +## License +This library is licensed under Apache 2.0. Full license text is available in [LICENSE](https://github.com/googleapis/google-api-nodejs-client/blob/main/LICENSE). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/main/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/googleapis/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/keep/index.ts b/src/apis/keep/index.ts new file mode 100644 index 0000000000..71d9ed8651 --- /dev/null +++ b/src/apis/keep/index.ts @@ -0,0 +1,44 @@ +// Copyright 2020 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +/*! THIS FILE IS AUTO-GENERATED */ + +import {AuthPlus, getAPI, GoogleConfigurable} from 'googleapis-common'; +import {keep_v1} from './v1'; + +export const VERSIONS = { + v1: keep_v1.Keep, +}; + +export function keep(version: 'v1'): keep_v1.Keep; +export function keep(options: keep_v1.Options): keep_v1.Keep; +export function keep( + this: GoogleConfigurable, + versionOrOptions: 'v1' | keep_v1.Options +) { + return getAPI('keep', versionOrOptions, VERSIONS, this); +} + +const auth = new AuthPlus(); +export {auth}; +export {keep_v1}; +export { + AuthPlus, + GlobalOptions, + APIRequestContext, + GoogleConfigurable, + StreamMethodOptions, + GaxiosPromise, + MethodOptions, + BodyResponseCallback, +} from 'googleapis-common'; diff --git a/src/apis/keep/package.json b/src/apis/keep/package.json new file mode 100644 index 0000000000..87bab67c1f --- /dev/null +++ b/src/apis/keep/package.json @@ -0,0 +1,43 @@ +{ + "name": "@googleapis/keep", + "version": "0.1.0", + "description": "keep", + "main": "build/index.js", + "types": "build/index.d.ts", + "keywords": [ + "google" + ], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/googleapis/google-api-nodejs-client", + "bugs": { + "url": "https://github.com/googleapis/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/googleapis/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=12.0.0" + }, + "scripts": { + "fix": "gts fix", + "lint": "gts check", + "compile": "tsc -p .", + "prepare": "npm run compile", + "webpack": "webpack" + }, + "dependencies": { + "googleapis-common": "^7.0.0" + }, + "devDependencies": { + "@microsoft/api-documenter": "^7.8.10", + "@microsoft/api-extractor": "^7.8.10", + "gts": "^5.0.0", + "null-loader": "^4.0.0", + "ts-loader": "^9.0.0", + "typescript": "~4.8.4", + "webpack": "^5.0.0", + "webpack-cli": "^5.0.0" + } +} diff --git a/src/apis/keep/tsconfig.json b/src/apis/keep/tsconfig.json new file mode 100644 index 0000000000..e081090496 --- /dev/null +++ b/src/apis/keep/tsconfig.json @@ -0,0 +1,10 @@ +{ + "extends": "./node_modules/gts/tsconfig-google.json", + "compilerOptions": { + "rootDir": ".", + "outDir": "build" + }, + "include": [ + "*.ts", + ] +} diff --git a/src/apis/keep/v1.ts b/src/apis/keep/v1.ts new file mode 100644 index 0000000000..8b7b1c23a5 --- /dev/null +++ b/src/apis/keep/v1.ts @@ -0,0 +1,1043 @@ +// Copyright 2020 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +/* eslint-disable @typescript-eslint/no-explicit-any */ +/* eslint-disable @typescript-eslint/no-unused-vars */ +/* eslint-disable @typescript-eslint/no-empty-interface */ +/* eslint-disable @typescript-eslint/no-namespace */ +/* eslint-disable no-irregular-whitespace */ + +import { + OAuth2Client, + JWT, + Compute, + UserRefreshClient, + BaseExternalAccountClient, + GaxiosPromise, + GoogleConfigurable, + createAPIRequest, + MethodOptions, + StreamMethodOptions, + GlobalOptions, + GoogleAuth, + BodyResponseCallback, + APIRequestContext, +} from 'googleapis-common'; +import {Readable} from 'stream'; + +export namespace keep_v1 { + export interface Options extends GlobalOptions { + version: 'v1'; + } + + interface StandardParameters { + /** + * Auth client or API Key for the request + */ + auth?: + | string + | OAuth2Client + | JWT + | Compute + | UserRefreshClient + | BaseExternalAccountClient + | GoogleAuth; + + /** + * V1 error format. + */ + '$.xgafv'?: string; + /** + * OAuth access token. + */ + access_token?: string; + /** + * Data format for response. + */ + alt?: string; + /** + * JSONP + */ + callback?: string; + /** + * Selector specifying which fields to include in a partial response. + */ + fields?: string; + /** + * API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. + */ + key?: string; + /** + * OAuth 2.0 token for the current user. + */ + oauth_token?: string; + /** + * Returns response with indentations and line breaks. + */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + */ + quotaUser?: string; + /** + * Legacy upload protocol for media (e.g. "media", "multipart"). + */ + uploadType?: string; + /** + * Upload protocol for media (e.g. "raw", "multipart"). + */ + upload_protocol?: string; + } + + /** + * Google Keep API + * + * The Google Keep API is used in an enterprise environment to manage Google Keep content and resolve issues identified by cloud security software. + * + * @example + * ```js + * const {google} = require('googleapis'); + * const keep = google.keep('v1'); + * ``` + */ + export class Keep { + context: APIRequestContext; + media: Resource$Media; + notes: Resource$Notes; + + constructor(options: GlobalOptions, google?: GoogleConfigurable) { + this.context = { + _options: options || {}, + google, + }; + + this.media = new Resource$Media(this.context); + this.notes = new Resource$Notes(this.context); + } + } + + /** + * An attachment to a note. + */ + export interface Schema$Attachment { + /** + * The MIME types (IANA media types) in which the attachment is available. + */ + mimeType?: string[] | null; + /** + * The resource name; + */ + name?: string | null; + } + /** + * The request to add one or more permissions on the note. Currently, only the `WRITER` role may be specified. If adding a permission fails, then the entire request fails and no changes are made. + */ + export interface Schema$BatchCreatePermissionsRequest { + /** + * The request message specifying the resources to create. + */ + requests?: Schema$CreatePermissionRequest[]; + } + /** + * The response for creating permissions on a note. + */ + export interface Schema$BatchCreatePermissionsResponse { + /** + * Permissions created. + */ + permissions?: Schema$Permission[]; + } + /** + * The request to remove one or more permissions from a note. A permission with the `OWNER` role can't be removed. If removing a permission fails, then the entire request fails and no changes are made. Returns a 400 bad request error if a specified permission does not exist on the note. + */ + export interface Schema$BatchDeletePermissionsRequest { + /** + * Required. The names of the permissions to delete. Format: `notes/{note\}/permissions/{permission\}` + */ + names?: string[] | null; + } + /** + * The request to add a single permission on the note. + */ + export interface Schema$CreatePermissionRequest { + /** + * Required. The parent note where this permission will be created. Format: `notes/{note\}` + */ + parent?: string | null; + /** + * Required. The permission to create. One of Permission.email, User.email or Group.email must be supplied. + */ + permission?: Schema$Permission; + } + /** + * A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \} + */ + export interface Schema$Empty {} + /** + * Describes a single Google Family. + */ + export interface Schema$Family {} + /** + * Describes a single Group. + */ + export interface Schema$Group { + /** + * The group email. + */ + email?: string | null; + } + /** + * The list of items for a single list note. + */ + export interface Schema$ListContent { + /** + * The items in the list. The number of items must be less than 1,000. + */ + listItems?: Schema$ListItem[]; + } + /** + * A single list item in a note's list. + */ + export interface Schema$ListItem { + /** + * Whether this item has been checked off or not. + */ + checked?: boolean | null; + /** + * If set, list of list items nested under this list item. Only one level of nesting is allowed. + */ + childListItems?: Schema$ListItem[]; + /** + * The text of this item. Length must be less than 1,000 characters. + */ + text?: Schema$TextContent; + } + /** + * The response when listing a page of notes. + */ + export interface Schema$ListNotesResponse { + /** + * Next page's `page_token` field. + */ + nextPageToken?: string | null; + /** + * A page of notes. + */ + notes?: Schema$Note[]; + } + /** + * A single note. + */ + export interface Schema$Note { + /** + * Output only. The attachments attached to this note. + */ + attachments?: Schema$Attachment[]; + /** + * The body of the note. + */ + body?: Schema$Section; + /** + * Output only. When this note was created. + */ + createTime?: string | null; + /** + * Output only. The resource name of this note. See general note on identifiers in KeepService. + */ + name?: string | null; + /** + * Output only. The list of permissions set on the note. Contains at least one entry for the note owner. + */ + permissions?: Schema$Permission[]; + /** + * The title of the note. Length must be less than 1,000 characters. + */ + title?: string | null; + /** + * Output only. `true` if this note has been trashed. If trashed, the note is eventually deleted. + */ + trashed?: boolean | null; + /** + * Output only. When this note was trashed. If `trashed`, the note is eventually deleted. If the note is not trashed, this field is not set (and the trashed field is `false`). + */ + trashTime?: string | null; + /** + * Output only. When this note was last modified. + */ + updateTime?: string | null; + } + /** + * A single permission on the note. Associates a `member` with a `role`. + */ + export interface Schema$Permission { + /** + * Output only. Whether this member has been deleted. If the member is recovered, this value is set to false and the recovered member retains the role on the note. + */ + deleted?: boolean | null; + /** + * The email associated with the member. If set on create, the `email` field in the `User` or `Group` message must either be empty or match this field. On read, may be unset if the member does not have an associated email. + */ + email?: string | null; + /** + * Output only. The Google Family to which this role applies. + */ + family?: Schema$Family; + /** + * Output only. The group to which this role applies. + */ + group?: Schema$Group; + /** + * Output only. The resource name. + */ + name?: string | null; + /** + * The role granted by this permission. The role determines the entity’s ability to read, write, and share notes. + */ + role?: string | null; + /** + * Output only. The user to whom this role applies. + */ + user?: Schema$User; + } + /** + * The content of the note. + */ + export interface Schema$Section { + /** + * Used if this section's content is a list. + */ + list?: Schema$ListContent; + /** + * Used if this section's content is a block of text. The length of the text content must be less than 20,000 characters. + */ + text?: Schema$TextContent; + } + /** + * The block of text for a single text section or list item. + */ + export interface Schema$TextContent { + /** + * The text of the note. The limits on this vary with the specific field using this type. + */ + text?: string | null; + } + /** + * Describes a single user. + */ + export interface Schema$User { + /** + * The user's email. + */ + email?: string | null; + } + + export class Resource$Media { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Gets an attachment. To download attachment media via REST requires the alt=media query parameter. Returns a 400 bad request error if attachment media is not available in the requested MIME type. + * + * @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. + */ + download( + params: Params$Resource$Media$Download, + options: StreamMethodOptions + ): GaxiosPromise; + download( + params?: Params$Resource$Media$Download, + options?: MethodOptions + ): GaxiosPromise; + download( + params: Params$Resource$Media$Download, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + download( + params: Params$Resource$Media$Download, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + download( + params: Params$Resource$Media$Download, + callback: BodyResponseCallback + ): void; + download(callback: BodyResponseCallback): void; + download( + paramsOrCallback?: + | Params$Resource$Media$Download + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || {}) as Params$Resource$Media$Download; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Media$Download; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://keep.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); + } + } + } + + export interface Params$Resource$Media$Download extends StandardParameters { + /** + * The IANA MIME type format requested. The requested MIME type must be one specified in the attachment.mime_type. Required when downloading attachment media and ignored otherwise. + */ + mimeType?: string; + /** + * Required. The name of the attachment. + */ + name?: string; + } + + export class Resource$Notes { + context: APIRequestContext; + permissions: Resource$Notes$Permissions; + constructor(context: APIRequestContext) { + this.context = context; + this.permissions = new Resource$Notes$Permissions(this.context); + } + + /** + * Creates a new note. + * + * @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$Notes$Create, + options: StreamMethodOptions + ): GaxiosPromise; + create( + params?: Params$Resource$Notes$Create, + options?: MethodOptions + ): GaxiosPromise; + create( + params: Params$Resource$Notes$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Notes$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Notes$Create, + callback: BodyResponseCallback + ): void; + create(callback: BodyResponseCallback): void; + create( + paramsOrCallback?: + | Params$Resource$Notes$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || {}) as Params$Resource$Notes$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Notes$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://keep.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/notes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Deletes a note. Caller must have the `OWNER` role on the note to delete. Deleting a note removes the resource immediately and cannot be undone. Any collaborators will lose access to the note. + * + * @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$Notes$Delete, + options: StreamMethodOptions + ): GaxiosPromise; + delete( + params?: Params$Resource$Notes$Delete, + options?: MethodOptions + ): GaxiosPromise; + delete( + params: Params$Resource$Notes$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Notes$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Notes$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Notes$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || {}) as Params$Resource$Notes$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Notes$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://keep.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+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 note. + * + * @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$Notes$Get, + options: StreamMethodOptions + ): GaxiosPromise; + get( + params?: Params$Resource$Notes$Get, + options?: MethodOptions + ): GaxiosPromise; + get( + params: Params$Resource$Notes$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Notes$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Notes$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Notes$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || {}) as Params$Resource$Notes$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Notes$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://keep.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 notes. Every list call returns a page of results with `page_size` as the upper bound of returned items. A `page_size` of zero allows the server to choose the upper bound. The ListNotesResponse contains at most `page_size` entries. If there are more things left to list, it provides a `next_page_token` value. (Page tokens are opaque values.) To get the next page of results, copy the result's `next_page_token` into the next request's `page_token`. Repeat until the `next_page_token` returned with a page of results is empty. ListNotes return consistent results in the face of concurrent changes, or signals that it cannot with an ABORTED error. + * + * @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$Notes$List, + options: StreamMethodOptions + ): GaxiosPromise; + list( + params?: Params$Resource$Notes$List, + options?: MethodOptions + ): GaxiosPromise; + list( + params: Params$Resource$Notes$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Notes$List, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Notes$List, + callback: BodyResponseCallback + ): void; + list(callback: BodyResponseCallback): void; + list( + paramsOrCallback?: + | Params$Resource$Notes$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || {}) as Params$Resource$Notes$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Notes$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://keep.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/notes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Notes$Create extends StandardParameters { + /** + * Request body metadata + */ + requestBody?: Schema$Note; + } + export interface Params$Resource$Notes$Delete extends StandardParameters { + /** + * Required. Name of the note to delete. + */ + name?: string; + } + export interface Params$Resource$Notes$Get extends StandardParameters { + /** + * Required. Name of the resource. + */ + name?: string; + } + export interface Params$Resource$Notes$List extends StandardParameters { + /** + * Filter for list results. If no filter is supplied, the `trashed` filter is applied by default. Valid fields to filter by are: `create_time`, `update_time`, `trash_time`, and `trashed`. Filter syntax follows the [Google AIP filtering spec](https://aip.dev/160). + */ + filter?: string; + /** + * The maximum number of results to return. + */ + pageSize?: number; + /** + * The previous page's `next_page_token` field. + */ + pageToken?: string; + } + + export class Resource$Notes$Permissions { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Creates one or more permissions on the note. Only permissions with the `WRITER` role may be created. If adding any permission fails, then the entire request fails and no changes are made. + * + * @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. + */ + batchCreate( + params: Params$Resource$Notes$Permissions$Batchcreate, + options: StreamMethodOptions + ): GaxiosPromise; + batchCreate( + params?: Params$Resource$Notes$Permissions$Batchcreate, + options?: MethodOptions + ): GaxiosPromise; + batchCreate( + params: Params$Resource$Notes$Permissions$Batchcreate, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + batchCreate( + params: Params$Resource$Notes$Permissions$Batchcreate, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + batchCreate( + params: Params$Resource$Notes$Permissions$Batchcreate, + callback: BodyResponseCallback + ): void; + batchCreate( + callback: BodyResponseCallback + ): void; + batchCreate( + paramsOrCallback?: + | Params$Resource$Notes$Permissions$Batchcreate + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Notes$Permissions$Batchcreate; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Notes$Permissions$Batchcreate; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://keep.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/permissions:batchCreate').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 one or more permissions on the note. The specified entities will immediately lose access. A permission with the `OWNER` role can't be removed. If removing a permission fails, then the entire request fails and no changes are made. Returns a 400 bad request error if a specified permission does not exist on the note. + * + * @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. + */ + batchDelete( + params: Params$Resource$Notes$Permissions$Batchdelete, + options: StreamMethodOptions + ): GaxiosPromise; + batchDelete( + params?: Params$Resource$Notes$Permissions$Batchdelete, + options?: MethodOptions + ): GaxiosPromise; + batchDelete( + params: Params$Resource$Notes$Permissions$Batchdelete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + batchDelete( + params: Params$Resource$Notes$Permissions$Batchdelete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + batchDelete( + params: Params$Resource$Notes$Permissions$Batchdelete, + callback: BodyResponseCallback + ): void; + batchDelete(callback: BodyResponseCallback): void; + batchDelete( + paramsOrCallback?: + | Params$Resource$Notes$Permissions$Batchdelete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Notes$Permissions$Batchdelete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Notes$Permissions$Batchdelete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://keep.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/permissions:batchDelete').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); + } + } + } + + export interface Params$Resource$Notes$Permissions$Batchcreate + extends StandardParameters { + /** + * The parent resource shared by all Permissions being created. Format: `notes/{note\}` If this is set, the parent field in the CreatePermission messages must either be empty or match this field. + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$BatchCreatePermissionsRequest; + } + export interface Params$Resource$Notes$Permissions$Batchdelete + extends StandardParameters { + /** + * The parent resource shared by all permissions being deleted. Format: `notes/{note\}` If this is set, the parent of all of the permissions specified in the DeletePermissionRequest messages must match this field. + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$BatchDeletePermissionsRequest; + } +} diff --git a/src/apis/keep/webpack.config.js b/src/apis/keep/webpack.config.js new file mode 100644 index 0000000000..5fde3132d7 --- /dev/null +++ b/src/apis/keep/webpack.config.js @@ -0,0 +1,79 @@ +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Use `npm run webpack` to produce Webpack bundle for this library. + +const path = require('path'); + +module.exports = { + entry: './index.ts', + resolve: { + extensions: ['.ts', '.js', '.json'], + fallback: { + crypto: false, + child_process: false, + fs: false, + http2: false, + buffer: 'browserify', + process: false, + os: false, + querystring: false, + path: false, + stream: 'stream-browserify', + url: false, + util: false, + zlib: false, + }, + }, + output: { + library: 'Keep', + filename: 'keep.min.js', + path: path.resolve(__dirname, 'dist'), + }, + module: { + rules: [ + { + test: /node_modules[\\/]google-auth-library[\\/]src[\\/]crypto[\\/]node[\\/]crypto/, + use: 'null-loader', + }, + { + test: /node_modules[\\/]https-proxy-agent[\\/]/, + use: 'null-loader', + }, + { + test: /node_modules[\\/]gcp-metadata[\\/]/, + use: 'null-loader', + }, + { + test: /node_modules[\\/]gtoken[\\/]/, + use: 'null-loader', + }, + { + test: /node_modules[\\/]pkginfo[\\/]/, + use: 'null-loader', + }, + { + test: /node_modules[\\/]semver[\\/]/, + use: 'null-loader', + }, + { + test: /\.ts$/, + use: 'ts-loader', + exclude: /node_modules/, + }, + ], + }, + mode: 'production', + plugins: [], +}; diff --git a/src/apis/logging/v2.ts b/src/apis/logging/v2.ts index d21ad773e6..865d549c18 100644 --- a/src/apis/logging/v2.ts +++ b/src/apis/logging/v2.ts @@ -5586,6 +5586,10 @@ export namespace logging_v2 { } export interface Params$Resource$Billingaccounts$Locations$Savedqueries$List extends StandardParameters { + /** + * Optional. Specifies the type ("Logging" or "OpsAnalytics") and the visibility (PRIVATE or SHARED) of the saved queries to list. If provided, the filter must contain either the type function or a visibility token, or both. If both are chosen, they can be placed in any order, but they must be joined by the AND operator or the empty character.The two supported type function calls are: type("Logging") type("OpsAnalytics")The two supported visibility tokens are: visibility = PRIVATE visibility = SHAREDFor example:type("Logging") AND visibility = PRIVATE visibility=SHARED type("OpsAnalytics") type("OpsAnalytics)" visibility = PRIVATE visibility = SHARED + */ + filter?: string; /** * Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available. */ @@ -7622,7 +7626,7 @@ export namespace logging_v2 { export interface Params$Resource$Folders$Updatesettings extends StandardParameters { /** - * Required. The resource name for the settings to update. "organizations/[ORGANIZATION_ID]/settings" For example:"organizations/12345/settings" + * Required. The resource name for the settings to update. "organizations/[ORGANIZATION_ID]/settings" "folders/[FOLDER_ID]/settings" For example:"organizations/12345/settings" */ name?: string; /** @@ -11414,6 +11418,10 @@ export namespace logging_v2 { } export interface Params$Resource$Folders$Locations$Savedqueries$List extends StandardParameters { + /** + * Optional. Specifies the type ("Logging" or "OpsAnalytics") and the visibility (PRIVATE or SHARED) of the saved queries to list. If provided, the filter must contain either the type function or a visibility token, or both. If both are chosen, they can be placed in any order, but they must be joined by the AND operator or the empty character.The two supported type function calls are: type("Logging") type("OpsAnalytics")The two supported visibility tokens are: visibility = PRIVATE visibility = SHAREDFor example:type("Logging") AND visibility = PRIVATE visibility=SHARED type("OpsAnalytics") type("OpsAnalytics)" visibility = PRIVATE visibility = SHARED + */ + filter?: string; /** * Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available. */ @@ -15543,7 +15551,7 @@ export namespace logging_v2 { export interface Params$Resource$Organizations$Updatesettings extends StandardParameters { /** - * Required. The resource name for the settings to update. "organizations/[ORGANIZATION_ID]/settings" For example:"organizations/12345/settings" + * Required. The resource name for the settings to update. "organizations/[ORGANIZATION_ID]/settings" "folders/[FOLDER_ID]/settings" For example:"organizations/12345/settings" */ name?: string; /** @@ -19358,6 +19366,10 @@ export namespace logging_v2 { } export interface Params$Resource$Organizations$Locations$Savedqueries$List extends StandardParameters { + /** + * Optional. Specifies the type ("Logging" or "OpsAnalytics") and the visibility (PRIVATE or SHARED) of the saved queries to list. If provided, the filter must contain either the type function or a visibility token, or both. If both are chosen, they can be placed in any order, but they must be joined by the AND operator or the empty character.The two supported type function calls are: type("Logging") type("OpsAnalytics")The two supported visibility tokens are: visibility = PRIVATE visibility = SHAREDFor example:type("Logging") AND visibility = PRIVATE visibility=SHARED type("OpsAnalytics") type("OpsAnalytics)" visibility = PRIVATE visibility = SHARED + */ + filter?: string; /** * Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available. */ @@ -24208,6 +24220,10 @@ export namespace logging_v2 { } export interface Params$Resource$Projects$Locations$Savedqueries$List extends StandardParameters { + /** + * Optional. Specifies the type ("Logging" or "OpsAnalytics") and the visibility (PRIVATE or SHARED) of the saved queries to list. If provided, the filter must contain either the type function or a visibility token, or both. If both are chosen, they can be placed in any order, but they must be joined by the AND operator or the empty character.The two supported type function calls are: type("Logging") type("OpsAnalytics")The two supported visibility tokens are: visibility = PRIVATE visibility = SHAREDFor example:type("Logging") AND visibility = PRIVATE visibility=SHARED type("OpsAnalytics") type("OpsAnalytics)" visibility = PRIVATE visibility = SHARED + */ + filter?: string; /** * Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available. */ @@ -26468,7 +26484,7 @@ export namespace logging_v2 { export interface Params$Resource$V2$Updatesettings extends StandardParameters { /** - * Required. The resource name for the settings to update. "organizations/[ORGANIZATION_ID]/settings" For example:"organizations/12345/settings" + * Required. The resource name for the settings to update. "organizations/[ORGANIZATION_ID]/settings" "folders/[FOLDER_ID]/settings" For example:"organizations/12345/settings" */ name?: string; /** diff --git a/src/apis/merchantapi/accounts_v1beta.ts b/src/apis/merchantapi/accounts_v1beta.ts index 3cdcc54bd6..01b154d911 100644 --- a/src/apis/merchantapi/accounts_v1beta.ts +++ b/src/apis/merchantapi/accounts_v1beta.ts @@ -1595,6 +1595,9 @@ export namespace merchantapi_accounts_v1beta { export class Resource$Accounts { context: APIRequestContext; accounttax: Resource$Accounts$Accounttax; + businessIdentity: Resource$Accounts$Businessidentity; + businessInfo: Resource$Accounts$Businessinfo; + emailpreferences: Resource$Accounts$Emailpreferences; homepage: Resource$Accounts$Homepage; issues: Resource$Accounts$Issues; onlineReturnPolicies: Resource$Accounts$Onlinereturnpolicies; @@ -1606,6 +1609,13 @@ export namespace merchantapi_accounts_v1beta { constructor(context: APIRequestContext) { this.context = context; this.accounttax = new Resource$Accounts$Accounttax(this.context); + this.businessIdentity = new Resource$Accounts$Businessidentity( + this.context + ); + this.businessInfo = new Resource$Accounts$Businessinfo(this.context); + this.emailpreferences = new Resource$Accounts$Emailpreferences( + this.context + ); this.homepage = new Resource$Accounts$Homepage(this.context); this.issues = new Resource$Accounts$Issues(this.context); this.onlineReturnPolicies = new Resource$Accounts$Onlinereturnpolicies( @@ -1883,59 +1893,61 @@ export namespace merchantapi_accounts_v1beta { } /** - * Retrieves the business identity of an account. + * Lists accounts accessible to the calling user and matching the constraints of the request such as page size or filters. This is not just listing the sub-accounts of an MCA, but all accounts the calling user has access to including other MCAs, linked accounts, standalone accounts and so on. * * @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. */ - getBusinessIdentity( - params: Params$Resource$Accounts$Getbusinessidentity, + list( + params: Params$Resource$Accounts$List, options: StreamMethodOptions ): GaxiosPromise; - getBusinessIdentity( - params?: Params$Resource$Accounts$Getbusinessidentity, + list( + params?: Params$Resource$Accounts$List, options?: MethodOptions - ): GaxiosPromise; - getBusinessIdentity( - params: Params$Resource$Accounts$Getbusinessidentity, + ): GaxiosPromise; + list( + params: Params$Resource$Accounts$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - getBusinessIdentity( - params: Params$Resource$Accounts$Getbusinessidentity, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - getBusinessIdentity( - params: Params$Resource$Accounts$Getbusinessidentity, - callback: BodyResponseCallback + list( + params: Params$Resource$Accounts$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - getBusinessIdentity( - callback: BodyResponseCallback + list( + params: Params$Resource$Accounts$List, + callback: BodyResponseCallback ): void; - getBusinessIdentity( + list(callback: BodyResponseCallback): void; + list( paramsOrCallback?: - | Params$Resource$Accounts$Getbusinessidentity - | BodyResponseCallback + | Params$Resource$Accounts$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Accounts$Getbusinessidentity; + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || {}) as Params$Resource$Accounts$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Accounts$Getbusinessidentity; + params = {} as Params$Resource$Accounts$List; options = {}; } @@ -1948,7 +1960,7 @@ export namespace merchantapi_accounts_v1beta { const parameters = { options: Object.assign( { - url: (rootUrl + '/accounts/v1beta/{+name}').replace( + url: (rootUrl + '/accounts/v1beta/accounts').replace( /([^:]\/)\/+/g, '$1' ), @@ -1958,72 +1970,79 @@ export namespace merchantapi_accounts_v1beta { options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: [], + pathParams: [], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Retrieves the business info of an account. + * List all sub-accounts for a given multi client account. This is a convenience wrapper for the more powerful `ListAccounts` method. This method will produce the same results as calling `ListsAccounts` with the following filter: `relationship(providerId={parent\} AND service(type="ACCOUNT_AGGREGATION"))` * * @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. */ - getBusinessInfo( - params: Params$Resource$Accounts$Getbusinessinfo, + listSubaccounts( + params: Params$Resource$Accounts$Listsubaccounts, options: StreamMethodOptions ): GaxiosPromise; - getBusinessInfo( - params?: Params$Resource$Accounts$Getbusinessinfo, + listSubaccounts( + params?: Params$Resource$Accounts$Listsubaccounts, options?: MethodOptions - ): GaxiosPromise; - getBusinessInfo( - params: Params$Resource$Accounts$Getbusinessinfo, + ): GaxiosPromise; + listSubaccounts( + params: Params$Resource$Accounts$Listsubaccounts, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - getBusinessInfo( - params: Params$Resource$Accounts$Getbusinessinfo, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + listSubaccounts( + params: Params$Resource$Accounts$Listsubaccounts, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - getBusinessInfo( - params: Params$Resource$Accounts$Getbusinessinfo, - callback: BodyResponseCallback + listSubaccounts( + params: Params$Resource$Accounts$Listsubaccounts, + callback: BodyResponseCallback ): void; - getBusinessInfo(callback: BodyResponseCallback): void; - getBusinessInfo( + listSubaccounts( + callback: BodyResponseCallback + ): void; + listSubaccounts( paramsOrCallback?: - | Params$Resource$Accounts$Getbusinessinfo - | BodyResponseCallback + | Params$Resource$Accounts$Listsubaccounts + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | GaxiosPromise + | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Accounts$Getbusinessinfo; + {}) as Params$Resource$Accounts$Listsubaccounts; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Accounts$Getbusinessinfo; + params = {} as Params$Resource$Accounts$Listsubaccounts; options = {}; } @@ -2036,82 +2055,80 @@ export namespace merchantapi_accounts_v1beta { const parameters = { options: Object.assign( { - url: (rootUrl + '/accounts/v1beta/{+name}').replace( - /([^:]\/)\/+/g, - '$1' - ), + url: ( + rootUrl + '/accounts/v1beta/{+provider}:listSubaccounts' + ).replace(/([^:]\/)\/+/g, '$1'), method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['provider'], + pathParams: ['provider'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Retrieves a store's homepage. + * Updates an account regardless of its type: standalone, MCA or sub-account. Executing this method requires admin access. * * @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. */ - getHomepage( - params: Params$Resource$Accounts$Gethomepage, + patch( + params: Params$Resource$Accounts$Patch, options: StreamMethodOptions ): GaxiosPromise; - getHomepage( - params?: Params$Resource$Accounts$Gethomepage, + patch( + params?: Params$Resource$Accounts$Patch, options?: MethodOptions - ): GaxiosPromise; - getHomepage( - params: Params$Resource$Accounts$Gethomepage, + ): GaxiosPromise; + patch( + params: Params$Resource$Accounts$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - getHomepage( - params: Params$Resource$Accounts$Gethomepage, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + patch( + params: Params$Resource$Accounts$Patch, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - getHomepage( - params: Params$Resource$Accounts$Gethomepage, - callback: BodyResponseCallback + patch( + params: Params$Resource$Accounts$Patch, + callback: BodyResponseCallback ): void; - getHomepage(callback: BodyResponseCallback): void; - getHomepage( + patch(callback: BodyResponseCallback): void; + patch( paramsOrCallback?: - | Params$Resource$Accounts$Gethomepage - | BodyResponseCallback + | Params$Resource$Accounts$Patch + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Accounts$Gethomepage; + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Accounts$Gethomepage; + params = {} as Params$Resource$Accounts$Patch; options = {}; } @@ -2128,7 +2145,7 @@ export namespace merchantapi_accounts_v1beta { /([^:]\/)\/+/g, '$1' ), - method: 'GET', + method: 'PATCH', apiVersion: '', }, options @@ -2139,69 +2156,138 @@ export namespace merchantapi_accounts_v1beta { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } + } + export interface Params$Resource$Accounts$Createandconfigure + extends StandardParameters { /** - * Retrieve shipping setting information. + * Request body metadata + */ + requestBody?: Schema$CreateAndConfigureAccountRequest; + } + export interface Params$Resource$Accounts$Delete extends StandardParameters { + /** + * Required. The name of the account to delete. Format: `accounts/{account\}` + */ + name?: string; + } + export interface Params$Resource$Accounts$Get extends StandardParameters { + /** + * Required. The name of the account to retrieve. Format: `accounts/{account\}` + */ + name?: string; + } + export interface Params$Resource$Accounts$List extends StandardParameters { + /** + * Optional. Returns only accounts that match the [filter](/merchant/api/guides/accounts/filter). For more details, see the [filter syntax reference](/merchant/api/guides/accounts/filter-syntax). + */ + filter?: string; + /** + * Optional. The maximum number of accounts to return. The service may return fewer than this value. If unspecified, at most 250 accounts are returned. The maximum value is 500; values above 500 are coerced to 500. + */ + pageSize?: number; + /** + * Optional. A page token, received from a previous `ListAccounts` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAccounts` must match the call that provided the page token. + */ + pageToken?: string; + } + export interface Params$Resource$Accounts$Listsubaccounts + extends StandardParameters { + /** + * Optional. The maximum number of accounts to return. The service may return fewer than this value. If unspecified, at most 250 accounts are returned. The maximum value is 500; values above 500 are coerced to 500. + */ + pageSize?: number; + /** + * Optional. A page token, received from a previous `ListAccounts` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAccounts` must match the call that provided the page token. + */ + pageToken?: string; + /** + * Required. The parent account. Format: `accounts/{account\}` + */ + provider?: string; + } + export interface Params$Resource$Accounts$Patch extends StandardParameters { + /** + * Identifier. The resource name of the account. Format: `accounts/{account\}` + */ + name?: string; + /** + * Required. List of fields being updated. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$Account; + } + + export class Resource$Accounts$Accounttax { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Returns the tax rules that match the conditions of GetAccountTaxRequest * * @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. */ - getShippingSettings( - params: Params$Resource$Accounts$Getshippingsettings, + get( + params: Params$Resource$Accounts$Accounttax$Get, options: StreamMethodOptions ): GaxiosPromise; - getShippingSettings( - params?: Params$Resource$Accounts$Getshippingsettings, + get( + params?: Params$Resource$Accounts$Accounttax$Get, options?: MethodOptions - ): GaxiosPromise; - getShippingSettings( - params: Params$Resource$Accounts$Getshippingsettings, + ): GaxiosPromise; + get( + params: Params$Resource$Accounts$Accounttax$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - getShippingSettings( - params: Params$Resource$Accounts$Getshippingsettings, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - getShippingSettings( - params: Params$Resource$Accounts$Getshippingsettings, - callback: BodyResponseCallback + get( + params: Params$Resource$Accounts$Accounttax$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - getShippingSettings( - callback: BodyResponseCallback + get( + params: Params$Resource$Accounts$Accounttax$Get, + callback: BodyResponseCallback ): void; - getShippingSettings( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Accounts$Getshippingsettings - | BodyResponseCallback + | Params$Resource$Accounts$Accounttax$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Accounts$Getshippingsettings; + {}) as Params$Resource$Accounts$Accounttax$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Accounts$Getshippingsettings; + params = {} as Params$Resource$Accounts$Accounttax$Get; options = {}; } @@ -2229,17 +2315,17 @@ export namespace merchantapi_accounts_v1beta { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Lists accounts accessible to the calling user and matching the constraints of the request such as page size or filters. This is not just listing the sub-accounts of an MCA, but all accounts the calling user has access to including other MCAs, linked accounts, standalone accounts and so on. + * Lists the tax settings of the sub-accounts only in your Merchant Center account. This method can only be called on a multi-client account, otherwise it'll return an error. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -2247,53 +2333,54 @@ export namespace merchantapi_accounts_v1beta { * @returns A promise if used with async/await, or void if used with a callback. */ list( - params: Params$Resource$Accounts$List, + params: Params$Resource$Accounts$Accounttax$List, options: StreamMethodOptions ): GaxiosPromise; list( - params?: Params$Resource$Accounts$List, + params?: Params$Resource$Accounts$Accounttax$List, options?: MethodOptions - ): GaxiosPromise; + ): GaxiosPromise; list( - params: Params$Resource$Accounts$List, + params: Params$Resource$Accounts$Accounttax$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; list( - params: Params$Resource$Accounts$List, + params: Params$Resource$Accounts$Accounttax$List, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; list( - params: Params$Resource$Accounts$List, - callback: BodyResponseCallback + params: Params$Resource$Accounts$Accounttax$List, + callback: BodyResponseCallback ): void; - list(callback: BodyResponseCallback): void; + list(callback: BodyResponseCallback): void; list( paramsOrCallback?: - | Params$Resource$Accounts$List - | BodyResponseCallback + | Params$Resource$Accounts$Accounttax$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | GaxiosPromise + | GaxiosPromise | GaxiosPromise { - let params = (paramsOrCallback || {}) as Params$Resource$Accounts$List; + let params = (paramsOrCallback || + {}) as Params$Resource$Accounts$Accounttax$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Accounts$List; + params = {} as Params$Resource$Accounts$Accounttax$List; options = {}; } @@ -2306,7 +2393,7 @@ export namespace merchantapi_accounts_v1beta { const parameters = { options: Object.assign( { - url: (rootUrl + '/accounts/v1beta/accounts').replace( + url: (rootUrl + '/accounts/v1beta/{+parent}/accounttax').replace( /([^:]\/)\/+/g, '$1' ), @@ -2316,79 +2403,72 @@ export namespace merchantapi_accounts_v1beta { options ), params, - requiredParams: [], - pathParams: [], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * List all sub-accounts for a given multi client account. This is a convenience wrapper for the more powerful `ListAccounts` method. This method will produce the same results as calling `ListsAccounts` with the following filter: `relationship(providerId={parent\} AND service(type="ACCOUNT_AGGREGATION"))` + * Updates the tax settings of the account. * * @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. */ - listSubaccounts( - params: Params$Resource$Accounts$Listsubaccounts, + patch( + params: Params$Resource$Accounts$Accounttax$Patch, options: StreamMethodOptions ): GaxiosPromise; - listSubaccounts( - params?: Params$Resource$Accounts$Listsubaccounts, + patch( + params?: Params$Resource$Accounts$Accounttax$Patch, options?: MethodOptions - ): GaxiosPromise; - listSubaccounts( - params: Params$Resource$Accounts$Listsubaccounts, + ): GaxiosPromise; + patch( + params: Params$Resource$Accounts$Accounttax$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - listSubaccounts( - params: Params$Resource$Accounts$Listsubaccounts, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - listSubaccounts( - params: Params$Resource$Accounts$Listsubaccounts, - callback: BodyResponseCallback + patch( + params: Params$Resource$Accounts$Accounttax$Patch, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - listSubaccounts( - callback: BodyResponseCallback + patch( + params: Params$Resource$Accounts$Accounttax$Patch, + callback: BodyResponseCallback ): void; - listSubaccounts( + patch(callback: BodyResponseCallback): void; + patch( paramsOrCallback?: - | Params$Resource$Accounts$Listsubaccounts - | BodyResponseCallback + | Params$Resource$Accounts$Accounttax$Patch + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): - | void - | GaxiosPromise - | GaxiosPromise { + ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Accounts$Listsubaccounts; + {}) as Params$Resource$Accounts$Accounttax$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Accounts$Listsubaccounts; + params = {} as Params$Resource$Accounts$Accounttax$Patch; options = {}; } @@ -2401,80 +2481,131 @@ export namespace merchantapi_accounts_v1beta { const parameters = { options: Object.assign( { - url: ( - rootUrl + '/accounts/v1beta/{+provider}:listSubaccounts' - ).replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + url: (rootUrl + '/accounts/v1beta/{+name}').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'PATCH', apiVersion: '', }, options ), params, - requiredParams: ['provider'], - pathParams: ['provider'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } + } + export interface Params$Resource$Accounts$Accounttax$Get + extends StandardParameters { /** - * Updates an account regardless of its type: standalone, MCA or sub-account. Executing this method requires admin access. + * Required. The name from which tax settings will be retrieved + */ + name?: string; + } + export interface Params$Resource$Accounts$Accounttax$List + extends StandardParameters { + /** + * The maximum number of tax settings to return in the response, used for paging. + */ + pageSize?: number; + /** + * The token returned by the previous request. + */ + pageToken?: string; + /** + * Required. The parent, which owns this collection of account tax. Format: accounts/{account\} + */ + parent?: string; + } + export interface Params$Resource$Accounts$Accounttax$Patch + extends StandardParameters { + /** + * Identifier. The name of the tax setting. Format: "{account_tax.name=accounts/{account\}\}" + */ + name?: string; + /** + * The list of fields to be updated + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$AccountTax; + } + + export class Resource$Accounts$Businessidentity { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Retrieves the business identity of an account. * * @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$Accounts$Patch, + getBusinessIdentity( + params: Params$Resource$Accounts$Businessidentity$Getbusinessidentity, options: StreamMethodOptions ): GaxiosPromise; - patch( - params?: Params$Resource$Accounts$Patch, + getBusinessIdentity( + params?: Params$Resource$Accounts$Businessidentity$Getbusinessidentity, options?: MethodOptions - ): GaxiosPromise; - patch( - params: Params$Resource$Accounts$Patch, + ): GaxiosPromise; + getBusinessIdentity( + params: Params$Resource$Accounts$Businessidentity$Getbusinessidentity, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Accounts$Patch, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + getBusinessIdentity( + params: Params$Resource$Accounts$Businessidentity$Getbusinessidentity, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Accounts$Patch, - callback: BodyResponseCallback + getBusinessIdentity( + params: Params$Resource$Accounts$Businessidentity$Getbusinessidentity, + callback: BodyResponseCallback ): void; - patch(callback: BodyResponseCallback): void; - patch( + getBusinessIdentity( + callback: BodyResponseCallback + ): void; + getBusinessIdentity( paramsOrCallback?: - | Params$Resource$Accounts$Patch - | BodyResponseCallback + | Params$Resource$Accounts$Businessidentity$Getbusinessidentity + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { - let params = (paramsOrCallback || {}) as Params$Resource$Accounts$Patch; + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Accounts$Businessidentity$Getbusinessidentity; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Accounts$Patch; + params = + {} as Params$Resource$Accounts$Businessidentity$Getbusinessidentity; options = {}; } @@ -2491,7 +2622,7 @@ export namespace merchantapi_accounts_v1beta { /([^:]\/)\/+/g, '$1' ), - method: 'PATCH', + method: 'GET', apiVersion: '', }, options @@ -2502,12 +2633,12 @@ export namespace merchantapi_accounts_v1beta { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } @@ -2520,25 +2651,25 @@ export namespace merchantapi_accounts_v1beta { * @returns A promise if used with async/await, or void if used with a callback. */ updateBusinessIdentity( - params: Params$Resource$Accounts$Updatebusinessidentity, + params: Params$Resource$Accounts$Businessidentity$Updatebusinessidentity, options: StreamMethodOptions ): GaxiosPromise; updateBusinessIdentity( - params?: Params$Resource$Accounts$Updatebusinessidentity, + params?: Params$Resource$Accounts$Businessidentity$Updatebusinessidentity, options?: MethodOptions ): GaxiosPromise; updateBusinessIdentity( - params: Params$Resource$Accounts$Updatebusinessidentity, + params: Params$Resource$Accounts$Businessidentity$Updatebusinessidentity, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; updateBusinessIdentity( - params: Params$Resource$Accounts$Updatebusinessidentity, + params: Params$Resource$Accounts$Businessidentity$Updatebusinessidentity, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; updateBusinessIdentity( - params: Params$Resource$Accounts$Updatebusinessidentity, + params: Params$Resource$Accounts$Businessidentity$Updatebusinessidentity, callback: BodyResponseCallback ): void; updateBusinessIdentity( @@ -2546,7 +2677,7 @@ export namespace merchantapi_accounts_v1beta { ): void; updateBusinessIdentity( paramsOrCallback?: - | Params$Resource$Accounts$Updatebusinessidentity + | Params$Resource$Accounts$Businessidentity$Updatebusinessidentity | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -2559,12 +2690,13 @@ export namespace merchantapi_accounts_v1beta { | BodyResponseCallback ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Accounts$Updatebusinessidentity; + {}) as Params$Resource$Accounts$Businessidentity$Updatebusinessidentity; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Accounts$Updatebusinessidentity; + params = + {} as Params$Resource$Accounts$Businessidentity$Updatebusinessidentity; options = {}; } @@ -2600,43 +2732,72 @@ export namespace merchantapi_accounts_v1beta { return createAPIRequest(parameters); } } + } + export interface Params$Resource$Accounts$Businessidentity$Getbusinessidentity + extends StandardParameters { /** - * Updates the business info of an account. Executing this method requires admin access. - * - * @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. + * Required. The resource name of the business identity. Format: `accounts/{account\}/businessIdentity` */ - updateBusinessInfo( - params: Params$Resource$Accounts$Updatebusinessinfo, + name?: string; + } + export interface Params$Resource$Accounts$Businessidentity$Updatebusinessidentity + extends StandardParameters { + /** + * Identifier. The resource name of the business identity. Format: `accounts/{account\}/businessIdentity` + */ + name?: string; + /** + * Required. List of fields being updated. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$BusinessIdentity; + } + + export class Resource$Accounts$Businessinfo { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Retrieves the business info of an account. + * + * @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. + */ + getBusinessInfo( + params: Params$Resource$Accounts$Businessinfo$Getbusinessinfo, options: StreamMethodOptions ): GaxiosPromise; - updateBusinessInfo( - params?: Params$Resource$Accounts$Updatebusinessinfo, + getBusinessInfo( + params?: Params$Resource$Accounts$Businessinfo$Getbusinessinfo, options?: MethodOptions ): GaxiosPromise; - updateBusinessInfo( - params: Params$Resource$Accounts$Updatebusinessinfo, + getBusinessInfo( + params: Params$Resource$Accounts$Businessinfo$Getbusinessinfo, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - updateBusinessInfo( - params: Params$Resource$Accounts$Updatebusinessinfo, + getBusinessInfo( + params: Params$Resource$Accounts$Businessinfo$Getbusinessinfo, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - updateBusinessInfo( - params: Params$Resource$Accounts$Updatebusinessinfo, - callback: BodyResponseCallback - ): void; - updateBusinessInfo( + getBusinessInfo( + params: Params$Resource$Accounts$Businessinfo$Getbusinessinfo, callback: BodyResponseCallback ): void; - updateBusinessInfo( + getBusinessInfo(callback: BodyResponseCallback): void; + getBusinessInfo( paramsOrCallback?: - | Params$Resource$Accounts$Updatebusinessinfo + | Params$Resource$Accounts$Businessinfo$Getbusinessinfo | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -2649,12 +2810,12 @@ export namespace merchantapi_accounts_v1beta { | BodyResponseCallback ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Accounts$Updatebusinessinfo; + {}) as Params$Resource$Accounts$Businessinfo$Getbusinessinfo; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Accounts$Updatebusinessinfo; + params = {} as Params$Resource$Accounts$Businessinfo$Getbusinessinfo; options = {}; } @@ -2671,7 +2832,7 @@ export namespace merchantapi_accounts_v1beta { /([^:]\/)\/+/g, '$1' ), - method: 'PATCH', + method: 'GET', apiVersion: '', }, options @@ -2692,57 +2853,59 @@ export namespace merchantapi_accounts_v1beta { } /** - * Updates a store's homepage. Executing this method requires admin access. + * Updates the business info of an account. Executing this method requires admin access. * * @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. */ - updateHomepage( - params: Params$Resource$Accounts$Updatehomepage, + updateBusinessInfo( + params: Params$Resource$Accounts$Businessinfo$Updatebusinessinfo, options: StreamMethodOptions ): GaxiosPromise; - updateHomepage( - params?: Params$Resource$Accounts$Updatehomepage, + updateBusinessInfo( + params?: Params$Resource$Accounts$Businessinfo$Updatebusinessinfo, options?: MethodOptions - ): GaxiosPromise; - updateHomepage( - params: Params$Resource$Accounts$Updatehomepage, + ): GaxiosPromise; + updateBusinessInfo( + params: Params$Resource$Accounts$Businessinfo$Updatebusinessinfo, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - updateHomepage( - params: Params$Resource$Accounts$Updatehomepage, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + updateBusinessInfo( + params: Params$Resource$Accounts$Businessinfo$Updatebusinessinfo, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - updateHomepage( - params: Params$Resource$Accounts$Updatehomepage, - callback: BodyResponseCallback + updateBusinessInfo( + params: Params$Resource$Accounts$Businessinfo$Updatebusinessinfo, + callback: BodyResponseCallback ): void; - updateHomepage(callback: BodyResponseCallback): void; - updateHomepage( + updateBusinessInfo( + callback: BodyResponseCallback + ): void; + updateBusinessInfo( paramsOrCallback?: - | Params$Resource$Accounts$Updatehomepage - | BodyResponseCallback + | Params$Resource$Accounts$Businessinfo$Updatebusinessinfo + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Accounts$Updatehomepage; + {}) as Params$Resource$Accounts$Businessinfo$Updatebusinessinfo; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Accounts$Updatehomepage; + params = {} as Params$Resource$Accounts$Businessinfo$Updatebusinessinfo; options = {}; } @@ -2770,124 +2933,24 @@ export namespace merchantapi_accounts_v1beta { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } } - export interface Params$Resource$Accounts$Createandconfigure - extends StandardParameters { - /** - * Request body metadata - */ - requestBody?: Schema$CreateAndConfigureAccountRequest; - } - export interface Params$Resource$Accounts$Delete extends StandardParameters { - /** - * Required. The name of the account to delete. Format: `accounts/{account\}` - */ - name?: string; - } - export interface Params$Resource$Accounts$Get extends StandardParameters { - /** - * Required. The name of the account to retrieve. Format: `accounts/{account\}` - */ - name?: string; - } - export interface Params$Resource$Accounts$Getbusinessidentity - extends StandardParameters { - /** - * Required. The resource name of the business identity. Format: `accounts/{account\}/businessIdentity` - */ - name?: string; - } - export interface Params$Resource$Accounts$Getbusinessinfo + export interface Params$Resource$Accounts$Businessinfo$Getbusinessinfo extends StandardParameters { /** * Required. The resource name of the business info. Format: `accounts/{account\}/businessInfo` */ name?: string; } - export interface Params$Resource$Accounts$Gethomepage - extends StandardParameters { - /** - * Required. The name of the homepage to retrieve. Format: `accounts/{account\}/homepage` - */ - name?: string; - } - export interface Params$Resource$Accounts$Getshippingsettings - extends StandardParameters { - /** - * Required. The name of the shipping setting to retrieve. Format: `accounts/{account\}/shippingsetting` - */ - name?: string; - } - export interface Params$Resource$Accounts$List extends StandardParameters { - /** - * Optional. Returns only accounts that match the [filter](/merchant/api/guides/accounts/filter). For more details, see the [filter syntax reference](/merchant/api/guides/accounts/filter-syntax). - */ - filter?: string; - /** - * Optional. The maximum number of accounts to return. The service may return fewer than this value. If unspecified, at most 250 accounts are returned. The maximum value is 500; values above 500 are coerced to 500. - */ - pageSize?: number; - /** - * Optional. A page token, received from a previous `ListAccounts` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAccounts` must match the call that provided the page token. - */ - pageToken?: string; - } - export interface Params$Resource$Accounts$Listsubaccounts - extends StandardParameters { - /** - * Optional. The maximum number of accounts to return. The service may return fewer than this value. If unspecified, at most 250 accounts are returned. The maximum value is 500; values above 500 are coerced to 500. - */ - pageSize?: number; - /** - * Optional. A page token, received from a previous `ListAccounts` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAccounts` must match the call that provided the page token. - */ - pageToken?: string; - /** - * Required. The parent account. Format: `accounts/{account\}` - */ - provider?: string; - } - export interface Params$Resource$Accounts$Patch extends StandardParameters { - /** - * Identifier. The resource name of the account. Format: `accounts/{account\}` - */ - name?: string; - /** - * Required. List of fields being updated. - */ - updateMask?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$Account; - } - export interface Params$Resource$Accounts$Updatebusinessidentity - extends StandardParameters { - /** - * Identifier. The resource name of the business identity. Format: `accounts/{account\}/businessIdentity` - */ - name?: string; - /** - * Required. List of fields being updated. - */ - updateMask?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$BusinessIdentity; - } - export interface Params$Resource$Accounts$Updatebusinessinfo + export interface Params$Resource$Accounts$Businessinfo$Updatebusinessinfo extends StandardParameters { /** * Identifier. The resource name of the business info. Format: `accounts/{account\}/businessInfo` @@ -2903,81 +2966,68 @@ export namespace merchantapi_accounts_v1beta { */ requestBody?: Schema$BusinessInfo; } - export interface Params$Resource$Accounts$Updatehomepage - extends StandardParameters { - /** - * Identifier. The resource name of the store's homepage. Format: `accounts/{account\}/homepage` - */ - name?: string; - /** - * Required. List of fields being updated. - */ - updateMask?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$Homepage; - } - export class Resource$Accounts$Accounttax { + export class Resource$Accounts$Emailpreferences { context: APIRequestContext; constructor(context: APIRequestContext) { this.context = context; } /** - * Returns the tax rules that match the conditions of GetAccountTaxRequest + * Returns the email preferences for a Merchant Center account user. Use the name=accounts/x/users/me/emailPreferences alias to get preferences for the authenticated user. * * @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$Accounts$Accounttax$Get, + getEmailPreferences( + params: Params$Resource$Accounts$Emailpreferences$Getemailpreferences, options: StreamMethodOptions ): GaxiosPromise; - get( - params?: Params$Resource$Accounts$Accounttax$Get, + getEmailPreferences( + params?: Params$Resource$Accounts$Emailpreferences$Getemailpreferences, options?: MethodOptions - ): GaxiosPromise; - get( - params: Params$Resource$Accounts$Accounttax$Get, + ): GaxiosPromise; + getEmailPreferences( + params: Params$Resource$Accounts$Emailpreferences$Getemailpreferences, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Accounts$Accounttax$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + getEmailPreferences( + params: Params$Resource$Accounts$Emailpreferences$Getemailpreferences, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Accounts$Accounttax$Get, - callback: BodyResponseCallback + getEmailPreferences( + params: Params$Resource$Accounts$Emailpreferences$Getemailpreferences, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; - get( + getEmailPreferences( + callback: BodyResponseCallback + ): void; + getEmailPreferences( paramsOrCallback?: - | Params$Resource$Accounts$Accounttax$Get - | BodyResponseCallback + | Params$Resource$Accounts$Emailpreferences$Getemailpreferences + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Accounts$Accounttax$Get; + {}) as Params$Resource$Accounts$Emailpreferences$Getemailpreferences; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Accounts$Accounttax$Get; + params = + {} as Params$Resource$Accounts$Emailpreferences$Getemailpreferences; options = {}; } @@ -3005,160 +3055,70 @@ export namespace merchantapi_accounts_v1beta { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Lists the tax settings of the sub-accounts only in your Merchant Center account. This method can only be called on a multi-client account, otherwise it'll return an error. + * Updates the email preferences for a Merchant Center account user. MCA users should specify the MCA account rather than a sub-account of the MCA. Preferences which are not explicitly selected in the update mask will not be updated. It is invalid for updates to specify an UNCONFIRMED opt-in status value. Use the name=accounts/x/users/me/emailPreferences alias to update preferences for the authenticated user. * * @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$Accounts$Accounttax$List, + updateEmailPreferences( + params: Params$Resource$Accounts$Emailpreferences$Updateemailpreferences, options: StreamMethodOptions ): GaxiosPromise; - list( - params?: Params$Resource$Accounts$Accounttax$List, + updateEmailPreferences( + params?: Params$Resource$Accounts$Emailpreferences$Updateemailpreferences, options?: MethodOptions - ): GaxiosPromise; - list( - params: Params$Resource$Accounts$Accounttax$List, + ): GaxiosPromise; + updateEmailPreferences( + params: Params$Resource$Accounts$Emailpreferences$Updateemailpreferences, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Accounts$Accounttax$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Accounts$Accounttax$List, - callback: BodyResponseCallback - ): void; - list(callback: BodyResponseCallback): void; - list( - paramsOrCallback?: - | Params$Resource$Accounts$Accounttax$List - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): - | void - | GaxiosPromise - | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Accounts$Accounttax$List; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Accounts$Accounttax$List; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = options.rootUrl || 'https://merchantapi.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/accounts/v1beta/{+parent}/accounttax').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 the tax settings of the account. - * - * @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$Accounts$Accounttax$Patch, - options: StreamMethodOptions - ): GaxiosPromise; - patch( - params?: Params$Resource$Accounts$Accounttax$Patch, - options?: MethodOptions - ): GaxiosPromise; - patch( - params: Params$Resource$Accounts$Accounttax$Patch, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + updateEmailPreferences( + params: Params$Resource$Accounts$Emailpreferences$Updateemailpreferences, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Accounts$Accounttax$Patch, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + updateEmailPreferences( + params: Params$Resource$Accounts$Emailpreferences$Updateemailpreferences, + callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Accounts$Accounttax$Patch, - callback: BodyResponseCallback + updateEmailPreferences( + callback: BodyResponseCallback ): void; - patch(callback: BodyResponseCallback): void; - patch( + updateEmailPreferences( paramsOrCallback?: - | Params$Resource$Accounts$Accounttax$Patch - | BodyResponseCallback + | Params$Resource$Accounts$Emailpreferences$Updateemailpreferences + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Accounts$Accounttax$Patch; + {}) as Params$Resource$Accounts$Emailpreferences$Updateemailpreferences; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Accounts$Accounttax$Patch; + params = + {} as Params$Resource$Accounts$Emailpreferences$Updateemailpreferences; options = {}; } @@ -3186,53 +3146,38 @@ export namespace merchantapi_accounts_v1beta { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } } - export interface Params$Resource$Accounts$Accounttax$Get + export interface Params$Resource$Accounts$Emailpreferences$Getemailpreferences extends StandardParameters { /** - * Required. The name from which tax settings will be retrieved + * Required. The name of the `EmailPreferences` resource. Format: `accounts/{account\}/users/{email\}/emailPreferences` */ name?: string; } - export interface Params$Resource$Accounts$Accounttax$List - extends StandardParameters { - /** - * The maximum number of tax settings to return in the response, used for paging. - */ - pageSize?: number; - /** - * The token returned by the previous request. - */ - pageToken?: string; - /** - * Required. The parent, which owns this collection of account tax. Format: accounts/{account\} - */ - parent?: string; - } - export interface Params$Resource$Accounts$Accounttax$Patch + export interface Params$Resource$Accounts$Emailpreferences$Updateemailpreferences extends StandardParameters { /** - * Identifier. The name of the tax setting. Format: "{account_tax.name=accounts/{account\}\}" + * Identifier. The name of the EmailPreferences. The endpoint is only supported for the authenticated user. */ name?: string; /** - * The list of fields to be updated + * Required. List of fields being updated. */ updateMask?: string; /** * Request body metadata */ - requestBody?: Schema$AccountTax; + requestBody?: Schema$EmailPreferences; } export class Resource$Accounts$Homepage { @@ -3329,6 +3274,94 @@ export namespace merchantapi_accounts_v1beta { } } + /** + * Retrieves a store's homepage. + * + * @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. + */ + getHomepage( + params: Params$Resource$Accounts$Homepage$Gethomepage, + options: StreamMethodOptions + ): GaxiosPromise; + getHomepage( + params?: Params$Resource$Accounts$Homepage$Gethomepage, + options?: MethodOptions + ): GaxiosPromise; + getHomepage( + params: Params$Resource$Accounts$Homepage$Gethomepage, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + getHomepage( + params: Params$Resource$Accounts$Homepage$Gethomepage, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + getHomepage( + params: Params$Resource$Accounts$Homepage$Gethomepage, + callback: BodyResponseCallback + ): void; + getHomepage(callback: BodyResponseCallback): void; + getHomepage( + paramsOrCallback?: + | Params$Resource$Accounts$Homepage$Gethomepage + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Accounts$Homepage$Gethomepage; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Accounts$Homepage$Gethomepage; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://merchantapi.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/accounts/v1beta/{+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); + } + } + /** * Unclaims a store's homepage. Executing this method requires admin access. * @@ -3416,6 +3449,94 @@ export namespace merchantapi_accounts_v1beta { return createAPIRequest(parameters); } } + + /** + * Updates a store's homepage. Executing this method requires admin access. + * + * @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. + */ + updateHomepage( + params: Params$Resource$Accounts$Homepage$Updatehomepage, + options: StreamMethodOptions + ): GaxiosPromise; + updateHomepage( + params?: Params$Resource$Accounts$Homepage$Updatehomepage, + options?: MethodOptions + ): GaxiosPromise; + updateHomepage( + params: Params$Resource$Accounts$Homepage$Updatehomepage, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + updateHomepage( + params: Params$Resource$Accounts$Homepage$Updatehomepage, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + updateHomepage( + params: Params$Resource$Accounts$Homepage$Updatehomepage, + callback: BodyResponseCallback + ): void; + updateHomepage(callback: BodyResponseCallback): void; + updateHomepage( + paramsOrCallback?: + | Params$Resource$Accounts$Homepage$Updatehomepage + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Accounts$Homepage$Updatehomepage; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Accounts$Homepage$Updatehomepage; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://merchantapi.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/accounts/v1beta/{+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$Accounts$Homepage$Claim @@ -3430,6 +3551,13 @@ export namespace merchantapi_accounts_v1beta { */ requestBody?: Schema$ClaimHomepageRequest; } + export interface Params$Resource$Accounts$Homepage$Gethomepage + extends StandardParameters { + /** + * Required. The name of the homepage to retrieve. Format: `accounts/{account\}/homepage` + */ + name?: string; + } export interface Params$Resource$Accounts$Homepage$Unclaim extends StandardParameters { /** @@ -3442,6 +3570,22 @@ export namespace merchantapi_accounts_v1beta { */ requestBody?: Schema$UnclaimHomepageRequest; } + export interface Params$Resource$Accounts$Homepage$Updatehomepage + extends StandardParameters { + /** + * Identifier. The resource name of the store's homepage. Format: `accounts/{account\}/homepage` + */ + name?: string; + /** + * Required. List of fields being updated. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$Homepage; + } export class Resource$Accounts$Issues { context: APIRequestContext; @@ -4707,16 +4851,107 @@ export namespace merchantapi_accounts_v1beta { */ updateMask?: string; - /** - * Request body metadata - */ - requestBody?: Schema$Region; - } + /** + * Request body metadata + */ + requestBody?: Schema$Region; + } + + export class Resource$Accounts$Shippingsettings { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Retrieve shipping setting information. + * + * @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. + */ + getShippingSettings( + params: Params$Resource$Accounts$Shippingsettings$Getshippingsettings, + options: StreamMethodOptions + ): GaxiosPromise; + getShippingSettings( + params?: Params$Resource$Accounts$Shippingsettings$Getshippingsettings, + options?: MethodOptions + ): GaxiosPromise; + getShippingSettings( + params: Params$Resource$Accounts$Shippingsettings$Getshippingsettings, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + getShippingSettings( + params: Params$Resource$Accounts$Shippingsettings$Getshippingsettings, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + getShippingSettings( + params: Params$Resource$Accounts$Shippingsettings$Getshippingsettings, + callback: BodyResponseCallback + ): void; + getShippingSettings( + callback: BodyResponseCallback + ): void; + getShippingSettings( + paramsOrCallback?: + | Params$Resource$Accounts$Shippingsettings$Getshippingsettings + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Accounts$Shippingsettings$Getshippingsettings; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Accounts$Shippingsettings$Getshippingsettings; + options = {}; + } - export class Resource$Accounts$Shippingsettings { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://merchantapi.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/accounts/v1beta/{+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); + } } /** @@ -4807,6 +5042,13 @@ export namespace merchantapi_accounts_v1beta { } } + export interface Params$Resource$Accounts$Shippingsettings$Getshippingsettings + extends StandardParameters { + /** + * Required. The name of the shipping setting to retrieve. Format: `accounts/{account\}/shippingsetting` + */ + name?: string; + } export interface Params$Resource$Accounts$Shippingsettings$Insert extends StandardParameters { /** @@ -5308,96 +5550,6 @@ export namespace merchantapi_accounts_v1beta { } } - /** - * Returns the email preferences for a Merchant Center account user. Use the name=accounts/x/users/me/emailPreferences alias to get preferences for the authenticated user. - * - * @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. - */ - getEmailPreferences( - params: Params$Resource$Accounts$Users$Getemailpreferences, - options: StreamMethodOptions - ): GaxiosPromise; - getEmailPreferences( - params?: Params$Resource$Accounts$Users$Getemailpreferences, - options?: MethodOptions - ): GaxiosPromise; - getEmailPreferences( - params: Params$Resource$Accounts$Users$Getemailpreferences, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - getEmailPreferences( - params: Params$Resource$Accounts$Users$Getemailpreferences, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - getEmailPreferences( - params: Params$Resource$Accounts$Users$Getemailpreferences, - callback: BodyResponseCallback - ): void; - getEmailPreferences( - callback: BodyResponseCallback - ): void; - getEmailPreferences( - paramsOrCallback?: - | Params$Resource$Accounts$Users$Getemailpreferences - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Accounts$Users$Getemailpreferences; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Accounts$Users$Getemailpreferences; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = options.rootUrl || 'https://merchantapi.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/accounts/v1beta/{+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 users of a Merchant Center account. * @@ -5576,96 +5728,6 @@ export namespace merchantapi_accounts_v1beta { return createAPIRequest(parameters); } } - - /** - * Updates the email preferences for a Merchant Center account user. MCA users should specify the MCA account rather than a sub-account of the MCA. Preferences which are not explicitly selected in the update mask will not be updated. It is invalid for updates to specify an UNCONFIRMED opt-in status value. Use the name=accounts/x/users/me/emailPreferences alias to update preferences for the authenticated user. - * - * @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. - */ - updateEmailPreferences( - params: Params$Resource$Accounts$Users$Updateemailpreferences, - options: StreamMethodOptions - ): GaxiosPromise; - updateEmailPreferences( - params?: Params$Resource$Accounts$Users$Updateemailpreferences, - options?: MethodOptions - ): GaxiosPromise; - updateEmailPreferences( - params: Params$Resource$Accounts$Users$Updateemailpreferences, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - updateEmailPreferences( - params: Params$Resource$Accounts$Users$Updateemailpreferences, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - updateEmailPreferences( - params: Params$Resource$Accounts$Users$Updateemailpreferences, - callback: BodyResponseCallback - ): void; - updateEmailPreferences( - callback: BodyResponseCallback - ): void; - updateEmailPreferences( - paramsOrCallback?: - | Params$Resource$Accounts$Users$Updateemailpreferences - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Accounts$Users$Updateemailpreferences; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Accounts$Users$Updateemailpreferences; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = options.rootUrl || 'https://merchantapi.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/accounts/v1beta/{+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$Accounts$Users$Create @@ -5698,13 +5760,6 @@ export namespace merchantapi_accounts_v1beta { */ name?: string; } - export interface Params$Resource$Accounts$Users$Getemailpreferences - extends StandardParameters { - /** - * Required. The name of the `EmailPreferences` resource. Format: `accounts/{account\}/users/{email\}/emailPreferences` - */ - name?: string; - } export interface Params$Resource$Accounts$Users$List extends StandardParameters { /** @@ -5736,22 +5791,6 @@ export namespace merchantapi_accounts_v1beta { */ requestBody?: Schema$User; } - export interface Params$Resource$Accounts$Users$Updateemailpreferences - extends StandardParameters { - /** - * Identifier. The name of the EmailPreferences. The endpoint is only supported for the authenticated user. - */ - name?: string; - /** - * Required. List of fields being updated. - */ - updateMask?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$EmailPreferences; - } export class Resource$Termsofservice { context: APIRequestContext; diff --git a/src/apis/metastore/v1.ts b/src/apis/metastore/v1.ts index 3c2da91445..56ed90edda 100644 --- a/src/apis/metastore/v1.ts +++ b/src/apis/metastore/v1.ts @@ -393,6 +393,23 @@ export namespace metastore_v1 { */ subnetwork?: string | null; } + /** + * Metadata about a custom region. This is only populated if the region is a custom region. For single/multi regions, it will be empty. + */ + export interface Schema$CustomRegionMetadata { + /** + * The read-only regions for this custom region. + */ + optionalReadOnlyRegions?: string[] | null; + /** + * The read-write regions for this custom region. + */ + requiredReadWriteRegions?: string[] | null; + /** + * The Spanner witness region for this custom region. + */ + witnessRegion?: string | null; + } /** * A specification of the location of and metadata about a database dump from a relational database management system. */ @@ -757,6 +774,10 @@ export namespace metastore_v1 { * Metadata about the service in a location. */ export interface Schema$LocationMetadata { + /** + * Possible configurations supported if the current region is a custom region. + */ + customRegionMetadata?: Schema$CustomRegionMetadata[]; /** * The multi-region metadata if the current region is a multi-region. */ diff --git a/src/apis/metastore/v1alpha.ts b/src/apis/metastore/v1alpha.ts index 46a731f014..4a7d0b6bf2 100644 --- a/src/apis/metastore/v1alpha.ts +++ b/src/apis/metastore/v1alpha.ts @@ -411,6 +411,36 @@ export namespace metastore_v1alpha { */ subnetwork?: string | null; } + /** + * Custom configuration used to specify regions that the metastore service runs in. Currently only supported in the us multi-region. + */ + export interface Schema$CustomRegionConfig { + /** + * Optional. The list of read-only regions where the metastore service runs in. These regions should be part (or subset) of the multi-region. + */ + readOnlyRegions?: string[] | null; + /** + * Required. The list of read-write regions where the metastore service runs in. These regions should be part (or subset) of the multi-region. + */ + readWriteRegions?: string[] | null; + } + /** + * Metadata about a custom region. This is only populated if the region is a custom region. For single/multi regions, it will be empty. + */ + export interface Schema$CustomRegionMetadata { + /** + * The read-only regions for this custom region. + */ + optionalReadOnlyRegions?: string[] | null; + /** + * The read-write regions for this custom region. + */ + requiredReadWriteRegions?: string[] | null; + /** + * The Spanner witness region for this custom region. + */ + witnessRegion?: string | null; + } /** * A specification of the location of and metadata about a database dump from a relational database management system. */ @@ -793,6 +823,10 @@ export namespace metastore_v1alpha { * Metadata about the service in a location. */ export interface Schema$LocationMetadata { + /** + * Possible configurations supported if the current region is a custom region. + */ + customRegionMetadata?: Schema$CustomRegionMetadata[]; /** * The multi-region metadata if the current region is a multi-region. */ @@ -953,6 +987,16 @@ export namespace metastore_v1alpha { * Response message for DataprocMetastore.MoveTableToDatabase. */ export interface Schema$MoveTableToDatabaseResponse {} + /** + * The multi-region config for the Dataproc Metastore service. + */ + export interface Schema$MultiRegionConfig { + /** + * Output only. The list of root CA certificates that a gRPC client uses to connect to a multi-regional Dataproc Metastore service. + */ + certificates?: Schema$RootCACertificate[]; + customRegionConfig?: Schema$CustomRegionConfig; + } /** * The metadata for the multi-region that includes the constituent regions. The metadata is only populated if the region is multi-region. For single region or custom dual region, it will be empty. */ @@ -1144,6 +1188,19 @@ export namespace metastore_v1alpha { */ restoreType?: string | null; } + /** + * A gRPC client must install all root CA certificates to connect to a multi-regional Dataproc Metastore service and achieve failover. + */ + export interface Schema$RootCACertificate { + /** + * The root CA certificate in PEM format. The maximum length is 65536 bytes. + */ + certificate?: string | null; + /** + * The certificate expiration time in timestamp format. + */ + expirationTime?: string | null; + } /** * Represents the scaling configuration of a metastore service. */ @@ -1247,6 +1304,10 @@ export namespace metastore_v1alpha { * Output only. The metadata management activities of the metastore service. */ metadataManagementActivity?: Schema$MetadataManagementActivity; + /** + * Optional. Specifies the multi-region configuration information for the Hive metastore service. + */ + multiRegionConfig?: Schema$MultiRegionConfig; /** * Immutable. The relative resource name of the metastore service, in the following format:projects/{project_number\}/locations/{location_id\}/services/{service_id\}. */ diff --git a/src/apis/metastore/v1beta.ts b/src/apis/metastore/v1beta.ts index b88d386c26..f52d41dce6 100644 --- a/src/apis/metastore/v1beta.ts +++ b/src/apis/metastore/v1beta.ts @@ -411,6 +411,36 @@ export namespace metastore_v1beta { */ subnetwork?: string | null; } + /** + * Custom configuration used to specify regions that the metastore service runs in. Currently only supported in the us multi-region. + */ + export interface Schema$CustomRegionConfig { + /** + * Optional. The list of read-only regions where the metastore service runs in. These regions should be part (or subset) of the multi-region. + */ + readOnlyRegions?: string[] | null; + /** + * Required. The list of read-write regions where the metastore service runs in. These regions should be part (or subset) of the multi-region. + */ + readWriteRegions?: string[] | null; + } + /** + * Metadata about a custom region. This is only populated if the region is a custom region. For single/multi regions, it will be empty. + */ + export interface Schema$CustomRegionMetadata { + /** + * The read-only regions for this custom region. + */ + optionalReadOnlyRegions?: string[] | null; + /** + * The read-write regions for this custom region. + */ + requiredReadWriteRegions?: string[] | null; + /** + * The Spanner witness region for this custom region. + */ + witnessRegion?: string | null; + } /** * A specification of the location of and metadata about a database dump from a relational database management system. */ @@ -793,6 +823,10 @@ export namespace metastore_v1beta { * Metadata about the service in a location. */ export interface Schema$LocationMetadata { + /** + * Possible configurations supported if the current region is a custom region. + */ + customRegionMetadata?: Schema$CustomRegionMetadata[]; /** * The multi-region metadata if the current region is a multi-region. */ @@ -953,6 +987,16 @@ export namespace metastore_v1beta { * Response message for DataprocMetastore.MoveTableToDatabase. */ export interface Schema$MoveTableToDatabaseResponse {} + /** + * The multi-region config for the Dataproc Metastore service. + */ + export interface Schema$MultiRegionConfig { + /** + * Output only. The list of root CA certificates that a gRPC client uses to connect to a multi-regional Dataproc Metastore service. + */ + certificates?: Schema$RootCACertificate[]; + customRegionConfig?: Schema$CustomRegionConfig; + } /** * The metadata for the multi-region that includes the constituent regions. The metadata is only populated if the region is multi-region. For single region or custom dual region, it will be empty. */ @@ -1144,6 +1188,19 @@ export namespace metastore_v1beta { */ restoreType?: string | null; } + /** + * A gRPC client must install all root CA certificates to connect to a multi-regional Dataproc Metastore service and achieve failover. + */ + export interface Schema$RootCACertificate { + /** + * The root CA certificate in PEM format. The maximum length is 65536 bytes. + */ + certificate?: string | null; + /** + * The certificate expiration time in timestamp format. + */ + expirationTime?: string | null; + } /** * Represents the scaling configuration of a metastore service. */ @@ -1247,6 +1304,10 @@ export namespace metastore_v1beta { * Output only. The metadata management activities of the metastore service. */ metadataManagementActivity?: Schema$MetadataManagementActivity; + /** + * Optional. Specifies the multi-region configuration information for the Hive metastore service. + */ + multiRegionConfig?: Schema$MultiRegionConfig; /** * Immutable. The relative resource name of the metastore service, in the following format:projects/{project_number\}/locations/{location_id\}/services/{service_id\}. */ diff --git a/src/apis/migrationcenter/v1alpha1.ts b/src/apis/migrationcenter/v1alpha1.ts index 34cc4ecaac..cff27af8d1 100644 --- a/src/apis/migrationcenter/v1alpha1.ts +++ b/src/apis/migrationcenter/v1alpha1.ts @@ -2610,7 +2610,7 @@ export namespace migrationcenter_v1alpha1 { */ commitmentPlan?: string | null; /** - * Optional. License type of the OS image. + * Optional. License type for premium images (RHEL, RHEL for SAP, SLES, SLES for SAP, Windows Server). */ licenseType?: string | null; } diff --git a/src/apis/monitoring/v3.ts b/src/apis/monitoring/v3.ts index 7098a3609b..e8efdbff4e 100644 --- a/src/apis/monitoring/v3.ts +++ b/src/apis/monitoring/v3.ts @@ -1584,7 +1584,7 @@ export namespace monitoring_v3 { */ mutationRecords?: Schema$MutationRecord[]; /** - * The full REST resource name for this channel. The format is: projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID] The [CHANNEL_ID] is automatically assigned by the server on creation. + * Identifier. The full REST resource name for this channel. The format is: projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID] The [CHANNEL_ID] is automatically assigned by the server on creation. */ name?: string | null; /** @@ -5685,7 +5685,7 @@ export namespace monitoring_v3 { export interface Params$Resource$Projects$Notificationchannels$Patch extends StandardParameters { /** - * The full REST resource name for this channel. The format is: projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID] The [CHANNEL_ID] is automatically assigned by the server on creation. + * Identifier. The full REST resource name for this channel. The format is: projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID] The [CHANNEL_ID] is automatically assigned by the server on creation. */ name?: string; /** diff --git a/src/apis/networksecurity/v1.ts b/src/apis/networksecurity/v1.ts index 9efb09e6ff..5ac9cfba17 100644 --- a/src/apis/networksecurity/v1.ts +++ b/src/apis/networksecurity/v1.ts @@ -891,15 +891,15 @@ export namespace networksecurity_v1 { */ export interface Schema$MTLSPolicy { /** - * Required if the policy is to be used with Traffic Director. For external HTTPS load balancers it must be empty. Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate. + * Required if the policy is to be used with Traffic Director. For Application Load Balancers it must be empty. Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate. */ clientValidationCa?: Schema$ValidationCA[]; /** - * When the client presents an invalid certificate or no certificate to the load balancer, the `client_validation_mode` specifies how the client connection is handled. Required if the policy is to be used with the external HTTPS load balancing. For Traffic Director it must be empty. + * When the client presents an invalid certificate or no certificate to the load balancer, the `client_validation_mode` specifies how the client connection is handled. Required if the policy is to be used with the Application Load Balancers. For Traffic Director it must be empty. */ clientValidationMode?: string | null; /** - * Reference to the TrustConfig from certificatemanager.googleapis.com namespace. If specified, the chain validation will be performed against certificates configured in the given TrustConfig. Allowed only if the policy is to be used with external HTTPS load balancers. + * Reference to the TrustConfig from certificatemanager.googleapis.com namespace. If specified, the chain validation will be performed against certificates configured in the given TrustConfig. Allowed only if the policy is to be used with Application Load Balancers. */ clientValidationTrustConfig?: string | null; } @@ -988,7 +988,7 @@ export namespace networksecurity_v1 { sources?: Schema$Source[]; } /** - * SecurityProfile is a resource that defines the behavior for one of many ProfileTypes. Next ID: 10 + * SecurityProfile is a resource that defines the behavior for one of many ProfileTypes. Next ID: 11 */ export interface Schema$SecurityProfile { /** @@ -1025,7 +1025,7 @@ export namespace networksecurity_v1 { updateTime?: string | null; } /** - * SecurityProfileGroup is a resource that defines the behavior for various ProfileTypes. Next ID: 9 + * SecurityProfileGroup is a resource that defines the behavior for various ProfileTypes. Next ID: 10 */ export interface Schema$SecurityProfileGroup { /** @@ -1058,11 +1058,11 @@ export namespace networksecurity_v1 { updateTime?: string | null; } /** - * ServerTlsPolicy is a resource that specifies how a server should authenticate incoming requests. This resource itself does not affect configuration unless it is attached to a target HTTPS proxy or endpoint config selector resource. ServerTlsPolicy in the form accepted by external HTTPS load balancers can be attached only to TargetHttpsProxy with an `EXTERNAL` or `EXTERNAL_MANAGED` load balancing scheme. Traffic Director compatible ServerTlsPolicies can be attached to EndpointPolicy and TargetHttpsProxy with Traffic Director `INTERNAL_SELF_MANAGED` load balancing scheme. + * ServerTlsPolicy is a resource that specifies how a server should authenticate incoming requests. This resource itself does not affect configuration unless it is attached to a target HTTPS proxy or endpoint config selector resource. ServerTlsPolicy in the form accepted by Application Load Balancers can be attached only to TargetHttpsProxy with an `EXTERNAL`, `EXTERNAL_MANAGED` or `INTERNAL_MANAGED` load balancing scheme. Traffic Director compatible ServerTlsPolicies can be attached to EndpointPolicy and TargetHttpsProxy with Traffic Director `INTERNAL_SELF_MANAGED` load balancing scheme. */ export interface Schema$ServerTlsPolicy { /** - * This field applies only for Traffic Director policies. It is must be set to false for external HTTPS load balancer policies. Determines if server allows plaintext connections. If set to true, server allows plain text connections. By default, it is set to false. This setting is not exclusive of other encryption modes. For example, if `allow_open` and `mtls_policy` are set, server allows both plain text and mTLS connections. See documentation of other encryption modes to confirm compatibility. Consider using it if you wish to upgrade in place your deployment to TLS while having mixed TLS and non-TLS traffic reaching port :80. + * This field applies only for Traffic Director policies. It is must be set to false for Application Load Balancer policies. Determines if server allows plaintext connections. If set to true, server allows plain text connections. By default, it is set to false. This setting is not exclusive of other encryption modes. For example, if `allow_open` and `mtls_policy` are set, server allows both plain text and mTLS connections. See documentation of other encryption modes to confirm compatibility. Consider using it if you wish to upgrade in place your deployment to TLS while having mixed TLS and non-TLS traffic reaching port :80. */ allowOpen?: boolean | null; /** @@ -1078,7 +1078,7 @@ export namespace networksecurity_v1 { */ labels?: {[key: string]: string} | null; /** - * This field is required if the policy is used with external HTTPS load balancers. This field can be empty for Traffic Director. Defines a mechanism to provision peer validation certificates for peer to peer authentication (Mutual TLS - mTLS). If not specified, client certificate will not be requested. The connection is treated as TLS and not mTLS. If `allow_open` and `mtls_policy` are set, server allows both plain text and mTLS connections. + * This field is required if the policy is used with Application Load Balancers. This field can be empty for Traffic Director. Defines a mechanism to provision peer validation certificates for peer to peer authentication (Mutual TLS - mTLS). If not specified, client certificate will not be requested. The connection is treated as TLS and not mTLS. If `allow_open` and `mtls_policy` are set, server allows both plain text and mTLS connections. */ mtlsPolicy?: Schema$MTLSPolicy; /** @@ -1086,7 +1086,7 @@ export namespace networksecurity_v1 { */ name?: string | null; /** - * Optional if policy is to be used with Traffic Director. For external HTTPS load balancer must be empty. Defines a mechanism to provision server identity (public and private keys). Cannot be combined with `allow_open` as a permissive mode that allows both plain text and TLS is not supported. + * Optional if policy is to be used with Traffic Director. For Application Load Balancers must be empty. Defines a mechanism to provision server identity (public and private keys). Cannot be combined with `allow_open` as a permissive mode that allows both plain text and TLS is not supported. */ serverCertificate?: Schema$GoogleCloudNetworksecurityV1CertificateProvider; /** diff --git a/src/apis/networksecurity/v1beta1.ts b/src/apis/networksecurity/v1beta1.ts index d9db37e525..a38757b621 100644 --- a/src/apis/networksecurity/v1beta1.ts +++ b/src/apis/networksecurity/v1beta1.ts @@ -895,15 +895,15 @@ export namespace networksecurity_v1beta1 { */ export interface Schema$MTLSPolicy { /** - * Required if the policy is to be used with Traffic Director. For external HTTPS load balancers it must be empty. Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate. + * Required if the policy is to be used with Traffic Director. For Application Load Balancers it must be empty. Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate. */ clientValidationCa?: Schema$ValidationCA[]; /** - * When the client presents an invalid certificate or no certificate to the load balancer, the `client_validation_mode` specifies how the client connection is handled. Required if the policy is to be used with the external HTTPS load balancing. For Traffic Director it must be empty. + * When the client presents an invalid certificate or no certificate to the load balancer, the `client_validation_mode` specifies how the client connection is handled. Required if the policy is to be used with the Application Load Balancers. For Traffic Director it must be empty. */ clientValidationMode?: string | null; /** - * Reference to the TrustConfig from certificatemanager.googleapis.com namespace. If specified, the chain validation will be performed against certificates configured in the given TrustConfig. Allowed only if the policy is to be used with external HTTPS load balancers. + * Reference to the TrustConfig from certificatemanager.googleapis.com namespace. If specified, the chain validation will be performed against certificates configured in the given TrustConfig. Allowed only if the policy is to be used with Application Load Balancers. */ clientValidationTrustConfig?: string | null; } @@ -992,7 +992,7 @@ export namespace networksecurity_v1beta1 { sources?: Schema$Source[]; } /** - * SecurityProfile is a resource that defines the behavior for one of many ProfileTypes. Next ID: 10 + * SecurityProfile is a resource that defines the behavior for one of many ProfileTypes. Next ID: 11 */ export interface Schema$SecurityProfile { /** @@ -1029,7 +1029,7 @@ export namespace networksecurity_v1beta1 { updateTime?: string | null; } /** - * SecurityProfileGroup is a resource that defines the behavior for various ProfileTypes. Next ID: 9 + * SecurityProfileGroup is a resource that defines the behavior for various ProfileTypes. Next ID: 10 */ export interface Schema$SecurityProfileGroup { /** @@ -1062,11 +1062,11 @@ export namespace networksecurity_v1beta1 { updateTime?: string | null; } /** - * ServerTlsPolicy is a resource that specifies how a server should authenticate incoming requests. This resource itself does not affect configuration unless it is attached to a target HTTPS proxy or endpoint config selector resource. ServerTlsPolicy in the form accepted by external HTTPS load balancers can be attached only to TargetHttpsProxy with an `EXTERNAL` or `EXTERNAL_MANAGED` load balancing scheme. Traffic Director compatible ServerTlsPolicies can be attached to EndpointPolicy and TargetHttpsProxy with Traffic Director `INTERNAL_SELF_MANAGED` load balancing scheme. + * ServerTlsPolicy is a resource that specifies how a server should authenticate incoming requests. This resource itself does not affect configuration unless it is attached to a target HTTPS proxy or endpoint config selector resource. ServerTlsPolicy in the form accepted by Application Load Balancers can be attached only to TargetHttpsProxy with an `EXTERNAL`, `EXTERNAL_MANAGED` or `INTERNAL_MANAGED` load balancing scheme. Traffic Director compatible ServerTlsPolicies can be attached to EndpointPolicy and TargetHttpsProxy with Traffic Director `INTERNAL_SELF_MANAGED` load balancing scheme. */ export interface Schema$ServerTlsPolicy { /** - * This field applies only for Traffic Director policies. It is must be set to false for external HTTPS load balancer policies. Determines if server allows plaintext connections. If set to true, server allows plain text connections. By default, it is set to false. This setting is not exclusive of other encryption modes. For example, if `allow_open` and `mtls_policy` are set, server allows both plain text and mTLS connections. See documentation of other encryption modes to confirm compatibility. Consider using it if you wish to upgrade in place your deployment to TLS while having mixed TLS and non-TLS traffic reaching port :80. + * This field applies only for Traffic Director policies. It is must be set to false for Application Load Balancer policies. Determines if server allows plaintext connections. If set to true, server allows plain text connections. By default, it is set to false. This setting is not exclusive of other encryption modes. For example, if `allow_open` and `mtls_policy` are set, server allows both plain text and mTLS connections. See documentation of other encryption modes to confirm compatibility. Consider using it if you wish to upgrade in place your deployment to TLS while having mixed TLS and non-TLS traffic reaching port :80. */ allowOpen?: boolean | null; /** @@ -1082,7 +1082,7 @@ export namespace networksecurity_v1beta1 { */ labels?: {[key: string]: string} | null; /** - * This field is required if the policy is used with external HTTPS load balancers. This field can be empty for Traffic Director. Defines a mechanism to provision peer validation certificates for peer to peer authentication (Mutual TLS - mTLS). If not specified, client certificate will not be requested. The connection is treated as TLS and not mTLS. If `allow_open` and `mtls_policy` are set, server allows both plain text and mTLS connections. + * This field is required if the policy is used with Application Load Balancers. This field can be empty for Traffic Director. Defines a mechanism to provision peer validation certificates for peer to peer authentication (Mutual TLS - mTLS). If not specified, client certificate will not be requested. The connection is treated as TLS and not mTLS. If `allow_open` and `mtls_policy` are set, server allows both plain text and mTLS connections. */ mtlsPolicy?: Schema$MTLSPolicy; /** @@ -1090,7 +1090,7 @@ export namespace networksecurity_v1beta1 { */ name?: string | null; /** - * Optional if policy is to be used with Traffic Director. For external HTTPS load balancer must be empty. Defines a mechanism to provision server identity (public and private keys). Cannot be combined with `allow_open` as a permissive mode that allows both plain text and TLS is not supported. + * Optional if policy is to be used with Traffic Director. For Application Load Balancers must be empty. Defines a mechanism to provision server identity (public and private keys). Cannot be combined with `allow_open` as a permissive mode that allows both plain text and TLS is not supported. */ serverCertificate?: Schema$GoogleCloudNetworksecurityV1beta1CertificateProvider; /** diff --git a/src/apis/networkservices/v1.ts b/src/apis/networkservices/v1.ts index a705b10037..9ed5fae571 100644 --- a/src/apis/networkservices/v1.ts +++ b/src/apis/networkservices/v1.ts @@ -1717,7 +1717,7 @@ export namespace networkservices_v1 { */ meshes?: string[] | null; /** - * Required. Name of the TlsRoute resource. It matches pattern `projects/x/locations/global/tlsRoutes/tls_route_name\>`. + * Identifier. Name of the TlsRoute resource. It matches pattern `projects/x/locations/global/tlsRoutes/tls_route_name\>`. */ name?: string | null; /** @@ -3295,96 +3295,6 @@ export namespace networkservices_v1 { } } - /** - * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. - * - * @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. - */ - getIamPolicy( - params: Params$Resource$Projects$Locations$Endpointpolicies$Getiampolicy, - options: StreamMethodOptions - ): GaxiosPromise; - getIamPolicy( - params?: Params$Resource$Projects$Locations$Endpointpolicies$Getiampolicy, - options?: MethodOptions - ): GaxiosPromise; - getIamPolicy( - params: Params$Resource$Projects$Locations$Endpointpolicies$Getiampolicy, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - getIamPolicy( - params: Params$Resource$Projects$Locations$Endpointpolicies$Getiampolicy, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - getIamPolicy( - params: Params$Resource$Projects$Locations$Endpointpolicies$Getiampolicy, - callback: BodyResponseCallback - ): void; - getIamPolicy(callback: BodyResponseCallback): void; - getIamPolicy( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Endpointpolicies$Getiampolicy - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Endpointpolicies$Getiampolicy; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Endpointpolicies$Getiampolicy; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', - apiVersion: '', - }, - options - ), - params, - requiredParams: ['resource'], - pathParams: ['resource'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - /** * Lists EndpointPolicies in a given project and location. * @@ -3569,60 +3479,128 @@ export namespace networkservices_v1 { return createAPIRequest(parameters); } } + } + export interface Params$Resource$Projects$Locations$Endpointpolicies$Create + extends StandardParameters { /** - * Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. + * Required. Short name of the EndpointPolicy resource to be created. E.g. "CustomECS". + */ + endpointPolicyId?: string; + /** + * Required. The parent resource of the EndpointPolicy. Must be in the format `projects/x/locations/global`. + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$EndpointPolicy; + } + export interface Params$Resource$Projects$Locations$Endpointpolicies$Delete + extends StandardParameters { + /** + * Required. A name of the EndpointPolicy to delete. Must be in the format `projects/x/locations/global/endpointPolicies/x`. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Endpointpolicies$Get + extends StandardParameters { + /** + * Required. A name of the EndpointPolicy to get. Must be in the format `projects/x/locations/global/endpointPolicies/x`. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Endpointpolicies$List + extends StandardParameters { + /** + * Maximum number of EndpointPolicies to return per call. + */ + pageSize?: number; + /** + * The value returned by the last `ListEndpointPoliciesResponse` Indicates that this is a continuation of a prior `ListEndpointPolicies` call, and that the system should return the next page of data. + */ + pageToken?: string; + /** + * Required. The project and location from which the EndpointPolicies should be listed, specified in the format `projects/x/locations/global`. + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Endpointpolicies$Patch + extends StandardParameters { + /** + * Required. Name of the EndpointPolicy resource. It matches pattern `projects/{project\}/locations/global/endpointPolicies/{endpoint_policy\}`. + */ + name?: string; + /** + * Optional. Field mask is used to specify the fields to be overwritten in the EndpointPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$EndpointPolicy; + } + + export class Resource$Projects$Locations$Gateways { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Creates a new Gateway in a given project and location. * * @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. */ - setIamPolicy( - params: Params$Resource$Projects$Locations$Endpointpolicies$Setiampolicy, + create( + params: Params$Resource$Projects$Locations$Gateways$Create, options: StreamMethodOptions ): GaxiosPromise; - setIamPolicy( - params?: Params$Resource$Projects$Locations$Endpointpolicies$Setiampolicy, + create( + params?: Params$Resource$Projects$Locations$Gateways$Create, options?: MethodOptions - ): GaxiosPromise; - setIamPolicy( - params: Params$Resource$Projects$Locations$Endpointpolicies$Setiampolicy, + ): GaxiosPromise; + create( + params: Params$Resource$Projects$Locations$Gateways$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - setIamPolicy( - params: Params$Resource$Projects$Locations$Endpointpolicies$Setiampolicy, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Gateways$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - setIamPolicy( - params: Params$Resource$Projects$Locations$Endpointpolicies$Setiampolicy, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Gateways$Create, + callback: BodyResponseCallback ): void; - setIamPolicy(callback: BodyResponseCallback): void; - setIamPolicy( + create(callback: BodyResponseCallback): void; + create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Endpointpolicies$Setiampolicy - | BodyResponseCallback + | Params$Resource$Projects$Locations$Gateways$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Endpointpolicies$Setiampolicy; + {}) as Params$Resource$Projects$Locations$Gateways$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Endpointpolicies$Setiampolicy; + params = {} as Params$Resource$Projects$Locations$Gateways$Create; options = {}; } @@ -3636,7 +3614,7 @@ export namespace networkservices_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace( + url: (rootUrl + '/v1/{+parent}/gateways').replace( /([^:]\/)\/+/g, '$1' ), @@ -3646,1692 +3624,72 @@ export namespace networkservices_v1 { options ), params, - requiredParams: ['resource'], - pathParams: ['resource'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. + * Deletes a single Gateway. * * @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. */ - testIamPermissions( - params: Params$Resource$Projects$Locations$Endpointpolicies$Testiampermissions, + delete( + params: Params$Resource$Projects$Locations$Gateways$Delete, options: StreamMethodOptions ): GaxiosPromise; - testIamPermissions( - params?: Params$Resource$Projects$Locations$Endpointpolicies$Testiampermissions, + delete( + params?: Params$Resource$Projects$Locations$Gateways$Delete, options?: MethodOptions - ): GaxiosPromise; - testIamPermissions( - params: Params$Resource$Projects$Locations$Endpointpolicies$Testiampermissions, + ): GaxiosPromise; + delete( + params: Params$Resource$Projects$Locations$Gateways$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - testIamPermissions( - params: Params$Resource$Projects$Locations$Endpointpolicies$Testiampermissions, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - testIamPermissions( - params: Params$Resource$Projects$Locations$Endpointpolicies$Testiampermissions, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Gateways$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - testIamPermissions( - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Gateways$Delete, + callback: BodyResponseCallback ): void; - testIamPermissions( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Endpointpolicies$Testiampermissions - | BodyResponseCallback + | Params$Resource$Projects$Locations$Gateways$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): - | void - | GaxiosPromise - | GaxiosPromise { + ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Endpointpolicies$Testiampermissions; + {}) as Params$Resource$Projects$Locations$Gateways$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Endpointpolicies$Testiampermissions; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', - apiVersion: '', - }, - options - ), - params, - requiredParams: ['resource'], - pathParams: ['resource'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - } - - export interface Params$Resource$Projects$Locations$Endpointpolicies$Create - extends StandardParameters { - /** - * Required. Short name of the EndpointPolicy resource to be created. E.g. "CustomECS". - */ - endpointPolicyId?: string; - /** - * Required. The parent resource of the EndpointPolicy. Must be in the format `projects/x/locations/global`. - */ - parent?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$EndpointPolicy; - } - export interface Params$Resource$Projects$Locations$Endpointpolicies$Delete - extends StandardParameters { - /** - * Required. A name of the EndpointPolicy to delete. Must be in the format `projects/x/locations/global/endpointPolicies/x`. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Endpointpolicies$Get - extends StandardParameters { - /** - * Required. A name of the EndpointPolicy to get. Must be in the format `projects/x/locations/global/endpointPolicies/x`. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Endpointpolicies$Getiampolicy - extends StandardParameters { - /** - * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). - */ - 'options.requestedPolicyVersion'?: number; - /** - * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - } - export interface Params$Resource$Projects$Locations$Endpointpolicies$List - extends StandardParameters { - /** - * Maximum number of EndpointPolicies to return per call. - */ - pageSize?: number; - /** - * The value returned by the last `ListEndpointPoliciesResponse` Indicates that this is a continuation of a prior `ListEndpointPolicies` call, and that the system should return the next page of data. - */ - pageToken?: string; - /** - * Required. The project and location from which the EndpointPolicies should be listed, specified in the format `projects/x/locations/global`. - */ - parent?: string; - } - export interface Params$Resource$Projects$Locations$Endpointpolicies$Patch - extends StandardParameters { - /** - * Required. Name of the EndpointPolicy resource. It matches pattern `projects/{project\}/locations/global/endpointPolicies/{endpoint_policy\}`. - */ - name?: string; - /** - * Optional. Field mask is used to specify the fields to be overwritten in the EndpointPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. - */ - updateMask?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$EndpointPolicy; - } - export interface Params$Resource$Projects$Locations$Endpointpolicies$Setiampolicy - extends StandardParameters { - /** - * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$SetIamPolicyRequest; - } - export interface Params$Resource$Projects$Locations$Endpointpolicies$Testiampermissions - extends StandardParameters { - /** - * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$TestIamPermissionsRequest; - } - - export class Resource$Projects$Locations$Gateways { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } - - /** - * Creates a new Gateway in a given project and location. - * - * @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$Gateways$Create, - options: StreamMethodOptions - ): GaxiosPromise; - create( - params?: Params$Resource$Projects$Locations$Gateways$Create, - options?: MethodOptions - ): GaxiosPromise; - create( - params: Params$Resource$Projects$Locations$Gateways$Create, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - create( - params: Params$Resource$Projects$Locations$Gateways$Create, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - create( - params: Params$Resource$Projects$Locations$Gateways$Create, - callback: BodyResponseCallback - ): void; - create(callback: BodyResponseCallback): void; - create( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Gateways$Create - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Gateways$Create; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Gateways$Create; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+parent}/gateways').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 single Gateway. - * - * @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$Gateways$Delete, - options: StreamMethodOptions - ): GaxiosPromise; - delete( - params?: Params$Resource$Projects$Locations$Gateways$Delete, - options?: MethodOptions - ): GaxiosPromise; - delete( - params: Params$Resource$Projects$Locations$Gateways$Delete, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - delete( - params: Params$Resource$Projects$Locations$Gateways$Delete, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - delete( - params: Params$Resource$Projects$Locations$Gateways$Delete, - callback: BodyResponseCallback - ): void; - delete(callback: BodyResponseCallback): void; - delete( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Gateways$Delete - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Gateways$Delete; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Gateways$Delete; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+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 details of a single Gateway. - * - * @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$Gateways$Get, - options: StreamMethodOptions - ): GaxiosPromise; - get( - params?: Params$Resource$Projects$Locations$Gateways$Get, - options?: MethodOptions - ): GaxiosPromise; - get( - params: Params$Resource$Projects$Locations$Gateways$Get, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - get( - params: Params$Resource$Projects$Locations$Gateways$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - get( - params: Params$Resource$Projects$Locations$Gateways$Get, - callback: BodyResponseCallback - ): void; - get(callback: BodyResponseCallback): void; - get( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Gateways$Get - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Gateways$Get; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Gateways$Get; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.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); - } - } - - /** - * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. - * - * @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. - */ - getIamPolicy( - params: Params$Resource$Projects$Locations$Gateways$Getiampolicy, - options: StreamMethodOptions - ): GaxiosPromise; - getIamPolicy( - params?: Params$Resource$Projects$Locations$Gateways$Getiampolicy, - options?: MethodOptions - ): GaxiosPromise; - getIamPolicy( - params: Params$Resource$Projects$Locations$Gateways$Getiampolicy, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - getIamPolicy( - params: Params$Resource$Projects$Locations$Gateways$Getiampolicy, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - getIamPolicy( - params: Params$Resource$Projects$Locations$Gateways$Getiampolicy, - callback: BodyResponseCallback - ): void; - getIamPolicy(callback: BodyResponseCallback): void; - getIamPolicy( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Gateways$Getiampolicy - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Gateways$Getiampolicy; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Gateways$Getiampolicy; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', - apiVersion: '', - }, - options - ), - params, - requiredParams: ['resource'], - pathParams: ['resource'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - - /** - * Lists Gateways in a given project and location. - * - * @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$Gateways$List, - options: StreamMethodOptions - ): GaxiosPromise; - list( - params?: Params$Resource$Projects$Locations$Gateways$List, - options?: MethodOptions - ): GaxiosPromise; - list( - params: Params$Resource$Projects$Locations$Gateways$List, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Gateways$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Gateways$List, - callback: BodyResponseCallback - ): void; - list(callback: BodyResponseCallback): void; - list( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Gateways$List - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): - | void - | GaxiosPromise - | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Gateways$List; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Gateways$List; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+parent}/gateways').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 the parameters of a single Gateway. - * - * @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$Gateways$Patch, - options: StreamMethodOptions - ): GaxiosPromise; - patch( - params?: Params$Resource$Projects$Locations$Gateways$Patch, - options?: MethodOptions - ): GaxiosPromise; - patch( - params: Params$Resource$Projects$Locations$Gateways$Patch, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - patch( - params: Params$Resource$Projects$Locations$Gateways$Patch, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - patch( - params: Params$Resource$Projects$Locations$Gateways$Patch, - callback: BodyResponseCallback - ): void; - patch(callback: BodyResponseCallback): void; - patch( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Gateways$Patch - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Gateways$Patch; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Gateways$Patch; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.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); - } - } - - /** - * Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. - * - * @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. - */ - setIamPolicy( - params: Params$Resource$Projects$Locations$Gateways$Setiampolicy, - options: StreamMethodOptions - ): GaxiosPromise; - setIamPolicy( - params?: Params$Resource$Projects$Locations$Gateways$Setiampolicy, - options?: MethodOptions - ): GaxiosPromise; - setIamPolicy( - params: Params$Resource$Projects$Locations$Gateways$Setiampolicy, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - setIamPolicy( - params: Params$Resource$Projects$Locations$Gateways$Setiampolicy, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - setIamPolicy( - params: Params$Resource$Projects$Locations$Gateways$Setiampolicy, - callback: BodyResponseCallback - ): void; - setIamPolicy(callback: BodyResponseCallback): void; - setIamPolicy( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Gateways$Setiampolicy - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Gateways$Setiampolicy; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Gateways$Setiampolicy; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', - apiVersion: '', - }, - options - ), - params, - requiredParams: ['resource'], - pathParams: ['resource'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - - /** - * Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. - * - * @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. - */ - testIamPermissions( - params: Params$Resource$Projects$Locations$Gateways$Testiampermissions, - options: StreamMethodOptions - ): GaxiosPromise; - testIamPermissions( - params?: Params$Resource$Projects$Locations$Gateways$Testiampermissions, - options?: MethodOptions - ): GaxiosPromise; - testIamPermissions( - params: Params$Resource$Projects$Locations$Gateways$Testiampermissions, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - testIamPermissions( - params: Params$Resource$Projects$Locations$Gateways$Testiampermissions, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - testIamPermissions( - params: Params$Resource$Projects$Locations$Gateways$Testiampermissions, - callback: BodyResponseCallback - ): void; - testIamPermissions( - callback: BodyResponseCallback - ): void; - testIamPermissions( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Gateways$Testiampermissions - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): - | void - | GaxiosPromise - | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Gateways$Testiampermissions; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Gateways$Testiampermissions; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', - apiVersion: '', - }, - options - ), - params, - requiredParams: ['resource'], - pathParams: ['resource'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - } - - export interface Params$Resource$Projects$Locations$Gateways$Create - extends StandardParameters { - /** - * Required. Short name of the Gateway resource to be created. - */ - gatewayId?: string; - /** - * Required. The parent resource of the Gateway. Must be in the format `projects/x/locations/x`. - */ - parent?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$Gateway; - } - export interface Params$Resource$Projects$Locations$Gateways$Delete - extends StandardParameters { - /** - * Required. A name of the Gateway to delete. Must be in the format `projects/x/locations/x/gateways/x`. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Gateways$Get - extends StandardParameters { - /** - * Required. A name of the Gateway to get. Must be in the format `projects/x/locations/x/gateways/x`. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Gateways$Getiampolicy - extends StandardParameters { - /** - * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). - */ - 'options.requestedPolicyVersion'?: number; - /** - * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - } - export interface Params$Resource$Projects$Locations$Gateways$List - extends StandardParameters { - /** - * Maximum number of Gateways to return per call. - */ - pageSize?: number; - /** - * The value returned by the last `ListGatewaysResponse` Indicates that this is a continuation of a prior `ListGateways` call, and that the system should return the next page of data. - */ - pageToken?: string; - /** - * Required. The project and location from which the Gateways should be listed, specified in the format `projects/x/locations/x`. - */ - parent?: string; - } - export interface Params$Resource$Projects$Locations$Gateways$Patch - extends StandardParameters { - /** - * Required. Name of the Gateway resource. It matches pattern `projects/x/locations/x/gateways/`. - */ - name?: string; - /** - * Optional. Field mask is used to specify the fields to be overwritten in the Gateway resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. - */ - updateMask?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$Gateway; - } - export interface Params$Resource$Projects$Locations$Gateways$Setiampolicy - extends StandardParameters { - /** - * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$SetIamPolicyRequest; - } - export interface Params$Resource$Projects$Locations$Gateways$Testiampermissions - extends StandardParameters { - /** - * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$TestIamPermissionsRequest; - } - - export class Resource$Projects$Locations$Grpcroutes { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } - - /** - * Creates a new GrpcRoute in a given project and location. - * - * @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$Grpcroutes$Create, - options: StreamMethodOptions - ): GaxiosPromise; - create( - params?: Params$Resource$Projects$Locations$Grpcroutes$Create, - options?: MethodOptions - ): GaxiosPromise; - create( - params: Params$Resource$Projects$Locations$Grpcroutes$Create, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - create( - params: Params$Resource$Projects$Locations$Grpcroutes$Create, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - create( - params: Params$Resource$Projects$Locations$Grpcroutes$Create, - callback: BodyResponseCallback - ): void; - create(callback: BodyResponseCallback): void; - create( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Grpcroutes$Create - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Grpcroutes$Create; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Grpcroutes$Create; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+parent}/grpcRoutes').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 single GrpcRoute. - * - * @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$Grpcroutes$Delete, - options: StreamMethodOptions - ): GaxiosPromise; - delete( - params?: Params$Resource$Projects$Locations$Grpcroutes$Delete, - options?: MethodOptions - ): GaxiosPromise; - delete( - params: Params$Resource$Projects$Locations$Grpcroutes$Delete, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - delete( - params: Params$Resource$Projects$Locations$Grpcroutes$Delete, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - delete( - params: Params$Resource$Projects$Locations$Grpcroutes$Delete, - callback: BodyResponseCallback - ): void; - delete(callback: BodyResponseCallback): void; - delete( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Grpcroutes$Delete - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Grpcroutes$Delete; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Grpcroutes$Delete; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+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 details of a single GrpcRoute. - * - * @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$Grpcroutes$Get, - options: StreamMethodOptions - ): GaxiosPromise; - get( - params?: Params$Resource$Projects$Locations$Grpcroutes$Get, - options?: MethodOptions - ): GaxiosPromise; - get( - params: Params$Resource$Projects$Locations$Grpcroutes$Get, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - get( - params: Params$Resource$Projects$Locations$Grpcroutes$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - get( - params: Params$Resource$Projects$Locations$Grpcroutes$Get, - callback: BodyResponseCallback - ): void; - get(callback: BodyResponseCallback): void; - get( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Grpcroutes$Get - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Grpcroutes$Get; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Grpcroutes$Get; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.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 GrpcRoutes in a given project and location. - * - * @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$Grpcroutes$List, - options: StreamMethodOptions - ): GaxiosPromise; - list( - params?: Params$Resource$Projects$Locations$Grpcroutes$List, - options?: MethodOptions - ): GaxiosPromise; - list( - params: Params$Resource$Projects$Locations$Grpcroutes$List, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Grpcroutes$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Grpcroutes$List, - callback: BodyResponseCallback - ): void; - list(callback: BodyResponseCallback): void; - list( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Grpcroutes$List - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): - | void - | GaxiosPromise - | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Grpcroutes$List; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Grpcroutes$List; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+parent}/grpcRoutes').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 the parameters of a single GrpcRoute. - * - * @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$Grpcroutes$Patch, - options: StreamMethodOptions - ): GaxiosPromise; - patch( - params?: Params$Resource$Projects$Locations$Grpcroutes$Patch, - options?: MethodOptions - ): GaxiosPromise; - patch( - params: Params$Resource$Projects$Locations$Grpcroutes$Patch, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - patch( - params: Params$Resource$Projects$Locations$Grpcroutes$Patch, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - patch( - params: Params$Resource$Projects$Locations$Grpcroutes$Patch, - callback: BodyResponseCallback - ): void; - patch(callback: BodyResponseCallback): void; - patch( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Grpcroutes$Patch - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Grpcroutes$Patch; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Grpcroutes$Patch; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.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$Grpcroutes$Create - extends StandardParameters { - /** - * Required. Short name of the GrpcRoute resource to be created. - */ - grpcRouteId?: string; - /** - * Required. The parent resource of the GrpcRoute. Must be in the format `projects/x/locations/global`. - */ - parent?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$GrpcRoute; - } - export interface Params$Resource$Projects$Locations$Grpcroutes$Delete - extends StandardParameters { - /** - * Required. A name of the GrpcRoute to delete. Must be in the format `projects/x/locations/global/grpcRoutes/x`. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Grpcroutes$Get - extends StandardParameters { - /** - * Required. A name of the GrpcRoute to get. Must be in the format `projects/x/locations/global/grpcRoutes/x`. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Grpcroutes$List - extends StandardParameters { - /** - * Maximum number of GrpcRoutes to return per call. - */ - pageSize?: number; - /** - * The value returned by the last `ListGrpcRoutesResponse` Indicates that this is a continuation of a prior `ListGrpcRoutes` call, and that the system should return the next page of data. - */ - pageToken?: string; - /** - * Required. The project and location from which the GrpcRoutes should be listed, specified in the format `projects/x/locations/global`. - */ - parent?: string; - } - export interface Params$Resource$Projects$Locations$Grpcroutes$Patch - extends StandardParameters { - /** - * Required. Name of the GrpcRoute resource. It matches pattern `projects/x/locations/global/grpcRoutes/` - */ - name?: string; - /** - * Optional. Field mask is used to specify the fields to be overwritten in the GrpcRoute resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. - */ - updateMask?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$GrpcRoute; - } - - export class Resource$Projects$Locations$Httproutes { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } - - /** - * Creates a new HttpRoute in a given project and location. - * - * @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$Httproutes$Create, - options: StreamMethodOptions - ): GaxiosPromise; - create( - params?: Params$Resource$Projects$Locations$Httproutes$Create, - options?: MethodOptions - ): GaxiosPromise; - create( - params: Params$Resource$Projects$Locations$Httproutes$Create, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - create( - params: Params$Resource$Projects$Locations$Httproutes$Create, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - create( - params: Params$Resource$Projects$Locations$Httproutes$Create, - callback: BodyResponseCallback - ): void; - create(callback: BodyResponseCallback): void; - create( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Httproutes$Create - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Httproutes$Create; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Httproutes$Create; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+parent}/httpRoutes').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 single HttpRoute. - * - * @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$Httproutes$Delete, - options: StreamMethodOptions - ): GaxiosPromise; - delete( - params?: Params$Resource$Projects$Locations$Httproutes$Delete, - options?: MethodOptions - ): GaxiosPromise; - delete( - params: Params$Resource$Projects$Locations$Httproutes$Delete, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - delete( - params: Params$Resource$Projects$Locations$Httproutes$Delete, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - delete( - params: Params$Resource$Projects$Locations$Httproutes$Delete, - callback: BodyResponseCallback - ): void; - delete(callback: BodyResponseCallback): void; - delete( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Httproutes$Delete - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Httproutes$Delete; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Httproutes$Delete; + params = {} as Params$Resource$Projects$Locations$Gateways$Delete; options = {}; } @@ -5367,7 +3725,7 @@ export namespace networkservices_v1 { } /** - * Gets details of a single HttpRoute. + * Gets details of a single Gateway. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -5375,49 +3733,49 @@ export namespace networkservices_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ get( - params: Params$Resource$Projects$Locations$Httproutes$Get, + params: Params$Resource$Projects$Locations$Gateways$Get, options: StreamMethodOptions ): GaxiosPromise; get( - params?: Params$Resource$Projects$Locations$Httproutes$Get, + params?: Params$Resource$Projects$Locations$Gateways$Get, options?: MethodOptions - ): GaxiosPromise; + ): GaxiosPromise; get( - params: Params$Resource$Projects$Locations$Httproutes$Get, + params: Params$Resource$Projects$Locations$Gateways$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; get( - params: Params$Resource$Projects$Locations$Httproutes$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Gateways$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; get( - params: Params$Resource$Projects$Locations$Httproutes$Get, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Gateways$Get, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; + get(callback: BodyResponseCallback): void; get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Httproutes$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Gateways$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Httproutes$Get; + {}) as Params$Resource$Projects$Locations$Gateways$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Httproutes$Get; + params = {} as Params$Resource$Projects$Locations$Gateways$Get; options = {}; } @@ -5443,17 +3801,17 @@ export namespace networkservices_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Lists HttpRoute in a given project and location. + * Lists Gateways in a given project and location. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -5461,54 +3819,54 @@ export namespace networkservices_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ list( - params: Params$Resource$Projects$Locations$Httproutes$List, + params: Params$Resource$Projects$Locations$Gateways$List, options: StreamMethodOptions ): GaxiosPromise; list( - params?: Params$Resource$Projects$Locations$Httproutes$List, + params?: Params$Resource$Projects$Locations$Gateways$List, options?: MethodOptions - ): GaxiosPromise; + ): GaxiosPromise; list( - params: Params$Resource$Projects$Locations$Httproutes$List, + params: Params$Resource$Projects$Locations$Gateways$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$Httproutes$List, + params: Params$Resource$Projects$Locations$Gateways$List, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$Httproutes$List, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Gateways$List, + callback: BodyResponseCallback ): void; - list(callback: BodyResponseCallback): void; + list(callback: BodyResponseCallback): void; list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Httproutes$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Gateways$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | GaxiosPromise + | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Httproutes$List; + {}) as Params$Resource$Projects$Locations$Gateways$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Httproutes$List; + params = {} as Params$Resource$Projects$Locations$Gateways$List; options = {}; } @@ -5522,7 +3880,7 @@ export namespace networkservices_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/httpRoutes').replace( + url: (rootUrl + '/v1/{+parent}/gateways').replace( /([^:]\/)\/+/g, '$1' ), @@ -5537,17 +3895,17 @@ export namespace networkservices_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Updates the parameters of a single HttpRoute. + * Updates the parameters of a single Gateway. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -5555,31 +3913,31 @@ export namespace networkservices_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ patch( - params: Params$Resource$Projects$Locations$Httproutes$Patch, + params: Params$Resource$Projects$Locations$Gateways$Patch, options: StreamMethodOptions ): GaxiosPromise; patch( - params?: Params$Resource$Projects$Locations$Httproutes$Patch, + params?: Params$Resource$Projects$Locations$Gateways$Patch, options?: MethodOptions ): GaxiosPromise; patch( - params: Params$Resource$Projects$Locations$Httproutes$Patch, + params: Params$Resource$Projects$Locations$Gateways$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; patch( - params: Params$Resource$Projects$Locations$Httproutes$Patch, + params: Params$Resource$Projects$Locations$Gateways$Patch, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; patch( - params: Params$Resource$Projects$Locations$Httproutes$Patch, + params: Params$Resource$Projects$Locations$Gateways$Patch, callback: BodyResponseCallback ): void; patch(callback: BodyResponseCallback): void; patch( paramsOrCallback?: - | Params$Resource$Projects$Locations$Httproutes$Patch + | Params$Resource$Projects$Locations$Gateways$Patch | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -5592,12 +3950,12 @@ export namespace networkservices_v1 { | BodyResponseCallback ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Httproutes$Patch; + {}) as Params$Resource$Projects$Locations$Gateways$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Httproutes$Patch; + params = {} as Params$Resource$Projects$Locations$Gateways$Patch; options = {}; } @@ -5633,76 +3991,76 @@ export namespace networkservices_v1 { } } - export interface Params$Resource$Projects$Locations$Httproutes$Create + export interface Params$Resource$Projects$Locations$Gateways$Create extends StandardParameters { /** - * Required. Short name of the HttpRoute resource to be created. + * Required. Short name of the Gateway resource to be created. */ - httpRouteId?: string; + gatewayId?: string; /** - * Required. The parent resource of the HttpRoute. Must be in the format `projects/x/locations/global`. + * Required. The parent resource of the Gateway. Must be in the format `projects/x/locations/x`. */ parent?: string; /** * Request body metadata */ - requestBody?: Schema$HttpRoute; + requestBody?: Schema$Gateway; } - export interface Params$Resource$Projects$Locations$Httproutes$Delete + export interface Params$Resource$Projects$Locations$Gateways$Delete extends StandardParameters { /** - * Required. A name of the HttpRoute to delete. Must be in the format `projects/x/locations/global/httpRoutes/x`. + * Required. A name of the Gateway to delete. Must be in the format `projects/x/locations/x/gateways/x`. */ name?: string; } - export interface Params$Resource$Projects$Locations$Httproutes$Get + export interface Params$Resource$Projects$Locations$Gateways$Get extends StandardParameters { /** - * Required. A name of the HttpRoute to get. Must be in the format `projects/x/locations/global/httpRoutes/x`. + * Required. A name of the Gateway to get. Must be in the format `projects/x/locations/x/gateways/x`. */ name?: string; } - export interface Params$Resource$Projects$Locations$Httproutes$List + export interface Params$Resource$Projects$Locations$Gateways$List extends StandardParameters { /** - * Maximum number of HttpRoutes to return per call. + * Maximum number of Gateways to return per call. */ pageSize?: number; /** - * The value returned by the last `ListHttpRoutesResponse` Indicates that this is a continuation of a prior `ListHttpRoutes` call, and that the system should return the next page of data. + * The value returned by the last `ListGatewaysResponse` Indicates that this is a continuation of a prior `ListGateways` call, and that the system should return the next page of data. */ pageToken?: string; /** - * Required. The project and location from which the HttpRoutes should be listed, specified in the format `projects/x/locations/global`. + * Required. The project and location from which the Gateways should be listed, specified in the format `projects/x/locations/x`. */ parent?: string; } - export interface Params$Resource$Projects$Locations$Httproutes$Patch + export interface Params$Resource$Projects$Locations$Gateways$Patch extends StandardParameters { /** - * Required. Name of the HttpRoute resource. It matches pattern `projects/x/locations/global/httpRoutes/http_route_name\>`. + * Required. Name of the Gateway resource. It matches pattern `projects/x/locations/x/gateways/`. */ name?: string; /** - * Optional. Field mask is used to specify the fields to be overwritten in the HttpRoute resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + * Optional. Field mask is used to specify the fields to be overwritten in the Gateway resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. */ updateMask?: string; /** * Request body metadata */ - requestBody?: Schema$HttpRoute; + requestBody?: Schema$Gateway; } - export class Resource$Projects$Locations$Lbrouteextensions { + export class Resource$Projects$Locations$Grpcroutes { context: APIRequestContext; constructor(context: APIRequestContext) { this.context = context; } /** - * Creates a new `LbRouteExtension` resource in a given project and location. + * Creates a new GrpcRoute in a given project and location. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -5710,31 +4068,31 @@ export namespace networkservices_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ create( - params: Params$Resource$Projects$Locations$Lbrouteextensions$Create, + params: Params$Resource$Projects$Locations$Grpcroutes$Create, options: StreamMethodOptions ): GaxiosPromise; create( - params?: Params$Resource$Projects$Locations$Lbrouteextensions$Create, + params?: Params$Resource$Projects$Locations$Grpcroutes$Create, options?: MethodOptions ): GaxiosPromise; create( - params: Params$Resource$Projects$Locations$Lbrouteextensions$Create, + params: Params$Resource$Projects$Locations$Grpcroutes$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; create( - params: Params$Resource$Projects$Locations$Lbrouteextensions$Create, + params: Params$Resource$Projects$Locations$Grpcroutes$Create, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; create( - params: Params$Resource$Projects$Locations$Lbrouteextensions$Create, + params: Params$Resource$Projects$Locations$Grpcroutes$Create, callback: BodyResponseCallback ): void; create(callback: BodyResponseCallback): void; create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Lbrouteextensions$Create + | Params$Resource$Projects$Locations$Grpcroutes$Create | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -5747,13 +4105,12 @@ export namespace networkservices_v1 { | BodyResponseCallback ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Lbrouteextensions$Create; + {}) as Params$Resource$Projects$Locations$Grpcroutes$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Lbrouteextensions$Create; + params = {} as Params$Resource$Projects$Locations$Grpcroutes$Create; options = {}; } @@ -5767,7 +4124,7 @@ export namespace networkservices_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/lbRouteExtensions').replace( + url: (rootUrl + '/v1/{+parent}/grpcRoutes').replace( /([^:]\/)\/+/g, '$1' ), @@ -5792,7 +4149,7 @@ export namespace networkservices_v1 { } /** - * Deletes the specified `LbRouteExtension` resource. + * Deletes a single GrpcRoute. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -5800,31 +4157,31 @@ export namespace networkservices_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ delete( - params: Params$Resource$Projects$Locations$Lbrouteextensions$Delete, + params: Params$Resource$Projects$Locations$Grpcroutes$Delete, options: StreamMethodOptions ): GaxiosPromise; delete( - params?: Params$Resource$Projects$Locations$Lbrouteextensions$Delete, + params?: Params$Resource$Projects$Locations$Grpcroutes$Delete, options?: MethodOptions ): GaxiosPromise; delete( - params: Params$Resource$Projects$Locations$Lbrouteextensions$Delete, + params: Params$Resource$Projects$Locations$Grpcroutes$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; delete( - params: Params$Resource$Projects$Locations$Lbrouteextensions$Delete, + params: Params$Resource$Projects$Locations$Grpcroutes$Delete, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; delete( - params: Params$Resource$Projects$Locations$Lbrouteextensions$Delete, + params: Params$Resource$Projects$Locations$Grpcroutes$Delete, callback: BodyResponseCallback ): void; delete(callback: BodyResponseCallback): void; delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Lbrouteextensions$Delete + | Params$Resource$Projects$Locations$Grpcroutes$Delete | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -5837,13 +4194,12 @@ export namespace networkservices_v1 { | BodyResponseCallback ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Lbrouteextensions$Delete; + {}) as Params$Resource$Projects$Locations$Grpcroutes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Lbrouteextensions$Delete; + params = {} as Params$Resource$Projects$Locations$Grpcroutes$Delete; options = {}; } @@ -5879,7 +4235,7 @@ export namespace networkservices_v1 { } /** - * Gets details of the specified `LbRouteExtension` resource. + * Gets details of a single GrpcRoute. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -5887,49 +4243,49 @@ export namespace networkservices_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ get( - params: Params$Resource$Projects$Locations$Lbrouteextensions$Get, + params: Params$Resource$Projects$Locations$Grpcroutes$Get, options: StreamMethodOptions ): GaxiosPromise; get( - params?: Params$Resource$Projects$Locations$Lbrouteextensions$Get, + params?: Params$Resource$Projects$Locations$Grpcroutes$Get, options?: MethodOptions - ): GaxiosPromise; + ): GaxiosPromise; get( - params: Params$Resource$Projects$Locations$Lbrouteextensions$Get, + params: Params$Resource$Projects$Locations$Grpcroutes$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; get( - params: Params$Resource$Projects$Locations$Lbrouteextensions$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Grpcroutes$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; get( - params: Params$Resource$Projects$Locations$Lbrouteextensions$Get, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Grpcroutes$Get, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; + get(callback: BodyResponseCallback): void; get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Lbrouteextensions$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Grpcroutes$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Lbrouteextensions$Get; + {}) as Params$Resource$Projects$Locations$Grpcroutes$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Lbrouteextensions$Get; + params = {} as Params$Resource$Projects$Locations$Grpcroutes$Get; options = {}; } @@ -5955,17 +4311,17 @@ export namespace networkservices_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Lists `LbRouteExtension` resources in a given project and location. + * Lists GrpcRoutes in a given project and location. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -5973,57 +4329,54 @@ export namespace networkservices_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ list( - params: Params$Resource$Projects$Locations$Lbrouteextensions$List, + params: Params$Resource$Projects$Locations$Grpcroutes$List, options: StreamMethodOptions ): GaxiosPromise; list( - params?: Params$Resource$Projects$Locations$Lbrouteextensions$List, + params?: Params$Resource$Projects$Locations$Grpcroutes$List, options?: MethodOptions - ): GaxiosPromise; + ): GaxiosPromise; list( - params: Params$Resource$Projects$Locations$Lbrouteextensions$List, + params: Params$Resource$Projects$Locations$Grpcroutes$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$Lbrouteextensions$List, + params: Params$Resource$Projects$Locations$Grpcroutes$List, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Lbrouteextensions$List, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; list( - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Grpcroutes$List, + callback: BodyResponseCallback ): void; + list(callback: BodyResponseCallback): void; list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Lbrouteextensions$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Grpcroutes$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | GaxiosPromise + | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Lbrouteextensions$List; + {}) as Params$Resource$Projects$Locations$Grpcroutes$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Lbrouteextensions$List; + params = {} as Params$Resource$Projects$Locations$Grpcroutes$List; options = {}; } @@ -6037,7 +4390,7 @@ export namespace networkservices_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/lbRouteExtensions').replace( + url: (rootUrl + '/v1/{+parent}/grpcRoutes').replace( /([^:]\/)\/+/g, '$1' ), @@ -6052,19 +4405,17 @@ export namespace networkservices_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( - parameters - ); + return createAPIRequest(parameters); } } /** - * Updates the parameters of the specified `LbRouteExtension` resource. + * Updates the parameters of a single GrpcRoute. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -6072,31 +4423,31 @@ export namespace networkservices_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ patch( - params: Params$Resource$Projects$Locations$Lbrouteextensions$Patch, + params: Params$Resource$Projects$Locations$Grpcroutes$Patch, options: StreamMethodOptions ): GaxiosPromise; patch( - params?: Params$Resource$Projects$Locations$Lbrouteextensions$Patch, + params?: Params$Resource$Projects$Locations$Grpcroutes$Patch, options?: MethodOptions ): GaxiosPromise; patch( - params: Params$Resource$Projects$Locations$Lbrouteextensions$Patch, + params: Params$Resource$Projects$Locations$Grpcroutes$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; patch( - params: Params$Resource$Projects$Locations$Lbrouteextensions$Patch, + params: Params$Resource$Projects$Locations$Grpcroutes$Patch, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; patch( - params: Params$Resource$Projects$Locations$Lbrouteextensions$Patch, + params: Params$Resource$Projects$Locations$Grpcroutes$Patch, callback: BodyResponseCallback ): void; patch(callback: BodyResponseCallback): void; patch( paramsOrCallback?: - | Params$Resource$Projects$Locations$Lbrouteextensions$Patch + | Params$Resource$Projects$Locations$Grpcroutes$Patch | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -6109,13 +4460,12 @@ export namespace networkservices_v1 { | BodyResponseCallback ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Lbrouteextensions$Patch; + {}) as Params$Resource$Projects$Locations$Grpcroutes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Lbrouteextensions$Patch; + params = {} as Params$Resource$Projects$Locations$Grpcroutes$Patch; options = {}; } @@ -6151,147 +4501,301 @@ export namespace networkservices_v1 { } } - export interface Params$Resource$Projects$Locations$Lbrouteextensions$Create + export interface Params$Resource$Projects$Locations$Grpcroutes$Create extends StandardParameters { /** - * Required. User-provided ID of the `LbRouteExtension` resource to be created. + * Required. Short name of the GrpcRoute resource to be created. */ - lbRouteExtensionId?: string; + grpcRouteId?: string; /** - * Required. The parent resource of the `LbRouteExtension` resource. Must be in the format `projects/{project\}/locations/{location\}`. + * Required. The parent resource of the GrpcRoute. Must be in the format `projects/x/locations/global`. */ parent?: string; - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; /** * Request body metadata */ - requestBody?: Schema$LbRouteExtension; + requestBody?: Schema$GrpcRoute; } - export interface Params$Resource$Projects$Locations$Lbrouteextensions$Delete + export interface Params$Resource$Projects$Locations$Grpcroutes$Delete extends StandardParameters { /** - * Required. The name of the `LbRouteExtension` resource to delete. Must be in the format `projects/{project\}/locations/{location\}/lbRouteExtensions/{lb_route_extension\}`. + * Required. A name of the GrpcRoute to delete. Must be in the format `projects/x/locations/global/grpcRoutes/x`. */ name?: string; - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; } - export interface Params$Resource$Projects$Locations$Lbrouteextensions$Get + export interface Params$Resource$Projects$Locations$Grpcroutes$Get extends StandardParameters { /** - * Required. A name of the `LbRouteExtension` resource to get. Must be in the format `projects/{project\}/locations/{location\}/lbRouteExtensions/{lb_route_extension\}`. + * Required. A name of the GrpcRoute to get. Must be in the format `projects/x/locations/global/grpcRoutes/x`. */ name?: string; } - export interface Params$Resource$Projects$Locations$Lbrouteextensions$List + export interface Params$Resource$Projects$Locations$Grpcroutes$List extends StandardParameters { /** - * Optional. Filtering results. - */ - filter?: string; - /** - * Optional. Hint for how to order the results. - */ - orderBy?: string; - /** - * Optional. Requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default. + * Maximum number of GrpcRoutes to return per call. */ pageSize?: number; /** - * Optional. A token identifying a page of results that the server returns. + * The value returned by the last `ListGrpcRoutesResponse` Indicates that this is a continuation of a prior `ListGrpcRoutes` call, and that the system should return the next page of data. */ pageToken?: string; /** - * Required. The project and location from which the `LbRouteExtension` resources are listed, specified in the following format: `projects/{project\}/locations/{location\}`. + * Required. The project and location from which the GrpcRoutes should be listed, specified in the format `projects/x/locations/global`. */ parent?: string; } - export interface Params$Resource$Projects$Locations$Lbrouteextensions$Patch + export interface Params$Resource$Projects$Locations$Grpcroutes$Patch extends StandardParameters { /** - * Required. Identifier. Name of the `LbRouteExtension` resource in the following format: `projects/{project\}/locations/{location\}/lbRouteExtensions/{lb_route_extension\}`. + * Required. Name of the GrpcRoute resource. It matches pattern `projects/x/locations/global/grpcRoutes/` */ name?: string; /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - /** - * Optional. Used to specify the fields to be overwritten in the `LbRouteExtension` resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not specify a mask, then all fields are overwritten. + * Optional. Field mask is used to specify the fields to be overwritten in the GrpcRoute resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. */ updateMask?: string; /** * Request body metadata */ - requestBody?: Schema$LbRouteExtension; + requestBody?: Schema$GrpcRoute; } - export class Resource$Projects$Locations$Lbtrafficextensions { + export class Resource$Projects$Locations$Httproutes { context: APIRequestContext; constructor(context: APIRequestContext) { this.context = context; } /** - * Creates a new `LbTrafficExtension` resource in a given project and location. + * Creates a new HttpRoute in a given project and location. + * + * @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$Httproutes$Create, + options: StreamMethodOptions + ): GaxiosPromise; + create( + params?: Params$Resource$Projects$Locations$Httproutes$Create, + options?: MethodOptions + ): GaxiosPromise; + create( + params: Params$Resource$Projects$Locations$Httproutes$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Httproutes$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Httproutes$Create, + callback: BodyResponseCallback + ): void; + create(callback: BodyResponseCallback): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Httproutes$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Httproutes$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Httproutes$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://networkservices.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+parent}/httpRoutes').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 single HttpRoute. + * + * @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$Httproutes$Delete, + options: StreamMethodOptions + ): GaxiosPromise; + delete( + params?: Params$Resource$Projects$Locations$Httproutes$Delete, + options?: MethodOptions + ): GaxiosPromise; + delete( + params: Params$Resource$Projects$Locations$Httproutes$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Httproutes$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Httproutes$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Httproutes$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Httproutes$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Httproutes$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://networkservices.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+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 details of a single HttpRoute. * * @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$Lbtrafficextensions$Create, + get( + params: Params$Resource$Projects$Locations$Httproutes$Get, options: StreamMethodOptions ): GaxiosPromise; - create( - params?: Params$Resource$Projects$Locations$Lbtrafficextensions$Create, + get( + params?: Params$Resource$Projects$Locations$Httproutes$Get, options?: MethodOptions - ): GaxiosPromise; - create( - params: Params$Resource$Projects$Locations$Lbtrafficextensions$Create, + ): GaxiosPromise; + get( + params: Params$Resource$Projects$Locations$Httproutes$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Lbtrafficextensions$Create, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Httproutes$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Lbtrafficextensions$Create, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Httproutes$Get, + callback: BodyResponseCallback ): void; - create(callback: BodyResponseCallback): void; - create( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Lbtrafficextensions$Create - | BodyResponseCallback + | Params$Resource$Projects$Locations$Httproutes$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Lbtrafficextensions$Create; + {}) as Params$Resource$Projects$Locations$Httproutes$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Lbtrafficextensions$Create; + params = {} as Params$Resource$Projects$Locations$Httproutes$Get; options = {}; } @@ -6305,83 +4809,84 @@ export namespace networkservices_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/lbTrafficExtensions').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', 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); } } /** - * Deletes the specified `LbTrafficExtension` resource. + * Lists HttpRoute in a given project and location. * * @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$Lbtrafficextensions$Delete, + list( + params: Params$Resource$Projects$Locations$Httproutes$List, options: StreamMethodOptions ): GaxiosPromise; - delete( - params?: Params$Resource$Projects$Locations$Lbtrafficextensions$Delete, + list( + params?: Params$Resource$Projects$Locations$Httproutes$List, options?: MethodOptions - ): GaxiosPromise; - delete( - params: Params$Resource$Projects$Locations$Lbtrafficextensions$Delete, + ): GaxiosPromise; + list( + params: Params$Resource$Projects$Locations$Httproutes$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Lbtrafficextensions$Delete, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Httproutes$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Lbtrafficextensions$Delete, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Httproutes$List, + callback: BodyResponseCallback ): void; - delete(callback: BodyResponseCallback): void; - delete( + list(callback: BodyResponseCallback): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Lbtrafficextensions$Delete - | BodyResponseCallback + | Params$Resource$Projects$Locations$Httproutes$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | GaxiosPromise + | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Lbtrafficextensions$Delete; + {}) as Params$Resource$Projects$Locations$Httproutes$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Lbtrafficextensions$Delete; + params = {} as Params$Resource$Projects$Locations$Httproutes$List; options = {}; } @@ -6395,83 +4900,82 @@ export namespace networkservices_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + url: (rootUrl + '/v1/{+parent}/httpRoutes').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Gets details of the specified `LbTrafficExtension` resource. + * Updates the parameters of a single HttpRoute. * * @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$Lbtrafficextensions$Get, + patch( + params: Params$Resource$Projects$Locations$Httproutes$Patch, options: StreamMethodOptions ): GaxiosPromise; - get( - params?: Params$Resource$Projects$Locations$Lbtrafficextensions$Get, + patch( + params?: Params$Resource$Projects$Locations$Httproutes$Patch, options?: MethodOptions - ): GaxiosPromise; - get( - params: Params$Resource$Projects$Locations$Lbtrafficextensions$Get, + ): GaxiosPromise; + patch( + params: Params$Resource$Projects$Locations$Httproutes$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Lbtrafficextensions$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + patch( + params: Params$Resource$Projects$Locations$Httproutes$Patch, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Lbtrafficextensions$Get, - callback: BodyResponseCallback + patch( + params: Params$Resource$Projects$Locations$Httproutes$Patch, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; - get( + patch(callback: BodyResponseCallback): void; + patch( paramsOrCallback?: - | Params$Resource$Projects$Locations$Lbtrafficextensions$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Httproutes$Patch + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): - | void - | GaxiosPromise - | GaxiosPromise { + ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Lbtrafficextensions$Get; + {}) as Params$Resource$Projects$Locations$Httproutes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Lbtrafficextensions$Get; + params = {} as Params$Resource$Projects$Locations$Httproutes$Patch; options = {}; } @@ -6486,7 +4990,7 @@ export namespace networkservices_v1 { options: Object.assign( { url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + method: 'PATCH', apiVersion: '', }, options @@ -6497,75 +5001,137 @@ export namespace networkservices_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } + } + + export interface Params$Resource$Projects$Locations$Httproutes$Create + extends StandardParameters { + /** + * Required. Short name of the HttpRoute resource to be created. + */ + httpRouteId?: string; + /** + * Required. The parent resource of the HttpRoute. Must be in the format `projects/x/locations/global`. + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$HttpRoute; + } + export interface Params$Resource$Projects$Locations$Httproutes$Delete + extends StandardParameters { + /** + * Required. A name of the HttpRoute to delete. Must be in the format `projects/x/locations/global/httpRoutes/x`. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Httproutes$Get + extends StandardParameters { + /** + * Required. A name of the HttpRoute to get. Must be in the format `projects/x/locations/global/httpRoutes/x`. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Httproutes$List + extends StandardParameters { + /** + * Maximum number of HttpRoutes to return per call. + */ + pageSize?: number; + /** + * The value returned by the last `ListHttpRoutesResponse` Indicates that this is a continuation of a prior `ListHttpRoutes` call, and that the system should return the next page of data. + */ + pageToken?: string; + /** + * Required. The project and location from which the HttpRoutes should be listed, specified in the format `projects/x/locations/global`. + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Httproutes$Patch + extends StandardParameters { + /** + * Required. Name of the HttpRoute resource. It matches pattern `projects/x/locations/global/httpRoutes/http_route_name\>`. + */ + name?: string; + /** + * Optional. Field mask is used to specify the fields to be overwritten in the HttpRoute resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$HttpRoute; + } + + export class Resource$Projects$Locations$Lbrouteextensions { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } /** - * Lists `LbTrafficExtension` resources in a given project and location. + * Creates a new `LbRouteExtension` resource in a given project and location. * * @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$Lbtrafficextensions$List, + create( + params: Params$Resource$Projects$Locations$Lbrouteextensions$Create, options: StreamMethodOptions ): GaxiosPromise; - list( - params?: Params$Resource$Projects$Locations$Lbtrafficextensions$List, + create( + params?: Params$Resource$Projects$Locations$Lbrouteextensions$Create, options?: MethodOptions - ): GaxiosPromise; - list( - params: Params$Resource$Projects$Locations$Lbtrafficextensions$List, + ): GaxiosPromise; + create( + params: Params$Resource$Projects$Locations$Lbrouteextensions$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Lbtrafficextensions$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Lbtrafficextensions$List, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Lbrouteextensions$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Lbrouteextensions$Create, + callback: BodyResponseCallback ): void; - list( + create(callback: BodyResponseCallback): void; + create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Lbtrafficextensions$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Lbrouteextensions$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): - | void - | GaxiosPromise - | GaxiosPromise { + ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Lbtrafficextensions$List; + {}) as Params$Resource$Projects$Locations$Lbrouteextensions$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Lbtrafficextensions$List; + {} as Params$Resource$Projects$Locations$Lbrouteextensions$Create; options = {}; } @@ -6579,11 +5145,11 @@ export namespace networkservices_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/lbTrafficExtensions').replace( + url: (rootUrl + '/v1/{+parent}/lbRouteExtensions').replace( /([^:]\/)\/+/g, '$1' ), - method: 'GET', + method: 'POST', apiVersion: '', }, options @@ -6594,51 +5160,49 @@ export namespace networkservices_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( - parameters - ); + return createAPIRequest(parameters); } } /** - * Updates the parameters of the specified `LbTrafficExtension` resource. + * Deletes the specified `LbRouteExtension` resource. * * @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$Lbtrafficextensions$Patch, + delete( + params: Params$Resource$Projects$Locations$Lbrouteextensions$Delete, options: StreamMethodOptions ): GaxiosPromise; - patch( - params?: Params$Resource$Projects$Locations$Lbtrafficextensions$Patch, + delete( + params?: Params$Resource$Projects$Locations$Lbrouteextensions$Delete, options?: MethodOptions ): GaxiosPromise; - patch( - params: Params$Resource$Projects$Locations$Lbtrafficextensions$Patch, + delete( + params: Params$Resource$Projects$Locations$Lbrouteextensions$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Lbtrafficextensions$Patch, + delete( + params: Params$Resource$Projects$Locations$Lbrouteextensions$Delete, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Lbtrafficextensions$Patch, + delete( + params: Params$Resource$Projects$Locations$Lbrouteextensions$Delete, callback: BodyResponseCallback ): void; - patch(callback: BodyResponseCallback): void; - patch( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Lbtrafficextensions$Patch + | Params$Resource$Projects$Locations$Lbrouteextensions$Delete | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -6651,13 +5215,13 @@ export namespace networkservices_v1 { | BodyResponseCallback ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Lbtrafficextensions$Patch; + {}) as Params$Resource$Projects$Locations$Lbrouteextensions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Lbtrafficextensions$Patch; + {} as Params$Resource$Projects$Locations$Lbrouteextensions$Delete; options = {}; } @@ -6672,7 +5236,7 @@ export namespace networkservices_v1 { options: Object.assign( { url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'PATCH', + method: 'DELETE', apiVersion: '', }, options @@ -6691,148 +5255,59 @@ export namespace networkservices_v1 { return createAPIRequest(parameters); } } - } - - export interface Params$Resource$Projects$Locations$Lbtrafficextensions$Create - extends StandardParameters { - /** - * Required. User-provided ID of the `LbTrafficExtension` resource to be created. - */ - lbTrafficExtensionId?: string; - /** - * Required. The parent resource of the `LbTrafficExtension` resource. Must be in the format `projects/{project\}/locations/{location\}`. - */ - parent?: string; - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$LbTrafficExtension; - } - export interface Params$Resource$Projects$Locations$Lbtrafficextensions$Delete - extends StandardParameters { - /** - * Required. The name of the `LbTrafficExtension` resource to delete. Must be in the format `projects/{project\}/locations/{location\}/lbTrafficExtensions/{lb_traffic_extension\}`. - */ - name?: string; - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - } - export interface Params$Resource$Projects$Locations$Lbtrafficextensions$Get - extends StandardParameters { - /** - * Required. A name of the `LbTrafficExtension` resource to get. Must be in the format `projects/{project\}/locations/{location\}/lbTrafficExtensions/{lb_traffic_extension\}`. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Lbtrafficextensions$List - extends StandardParameters { - /** - * Optional. Filtering results. - */ - filter?: string; - /** - * Optional. Hint for how to order the results. - */ - orderBy?: string; - /** - * Optional. Requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default. - */ - pageSize?: number; - /** - * Optional. A token identifying a page of results that the server returns. - */ - pageToken?: string; - /** - * Required. The project and location from which the `LbTrafficExtension` resources are listed, specified in the following format: `projects/{project\}/locations/{location\}`. - */ - parent?: string; - } - export interface Params$Resource$Projects$Locations$Lbtrafficextensions$Patch - extends StandardParameters { - /** - * Required. Identifier. Name of the `LbTrafficExtension` resource in the following format: `projects/{project\}/locations/{location\}/lbTrafficExtensions/{lb_traffic_extension\}`. - */ - name?: string; - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - /** - * Optional. Used to specify the fields to be overwritten in the `LbTrafficExtension` resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not specify a mask, then all fields are overwritten. - */ - updateMask?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$LbTrafficExtension; - } - - export class Resource$Projects$Locations$Meshes { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } /** - * Creates a new Mesh in a given project and location. + * Gets details of the specified `LbRouteExtension` resource. * * @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$Meshes$Create, + get( + params: Params$Resource$Projects$Locations$Lbrouteextensions$Get, options: StreamMethodOptions ): GaxiosPromise; - create( - params?: Params$Resource$Projects$Locations$Meshes$Create, + get( + params?: Params$Resource$Projects$Locations$Lbrouteextensions$Get, options?: MethodOptions - ): GaxiosPromise; - create( - params: Params$Resource$Projects$Locations$Meshes$Create, + ): GaxiosPromise; + get( + params: Params$Resource$Projects$Locations$Lbrouteextensions$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Meshes$Create, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Lbrouteextensions$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Meshes$Create, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Lbrouteextensions$Get, + callback: BodyResponseCallback ): void; - create(callback: BodyResponseCallback): void; - create( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Meshes$Create - | BodyResponseCallback + | Params$Resource$Projects$Locations$Lbrouteextensions$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Meshes$Create; + {}) as Params$Resource$Projects$Locations$Lbrouteextensions$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Meshes$Create; + params = {} as Params$Resource$Projects$Locations$Lbrouteextensions$Get; options = {}; } @@ -6846,82 +5321,87 @@ export namespace networkservices_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/meshes').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', 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); } } /** - * Deletes a single Mesh. + * Lists `LbRouteExtension` resources in a given project and location. * * @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$Meshes$Delete, + list( + params: Params$Resource$Projects$Locations$Lbrouteextensions$List, options: StreamMethodOptions ): GaxiosPromise; - delete( - params?: Params$Resource$Projects$Locations$Meshes$Delete, + list( + params?: Params$Resource$Projects$Locations$Lbrouteextensions$List, options?: MethodOptions - ): GaxiosPromise; - delete( - params: Params$Resource$Projects$Locations$Meshes$Delete, + ): GaxiosPromise; + list( + params: Params$Resource$Projects$Locations$Lbrouteextensions$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Meshes$Delete, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Lbrouteextensions$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Meshes$Delete, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Lbrouteextensions$List, + callback: BodyResponseCallback ): void; - delete(callback: BodyResponseCallback): void; - delete( + list( + callback: BodyResponseCallback + ): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Meshes$Delete - | BodyResponseCallback + | Params$Resource$Projects$Locations$Lbrouteextensions$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | GaxiosPromise + | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Meshes$Delete; + {}) as Params$Resource$Projects$Locations$Lbrouteextensions$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Meshes$Delete; + params = + {} as Params$Resource$Projects$Locations$Lbrouteextensions$List; options = {}; } @@ -6935,79 +5415,85 @@ export namespace networkservices_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + url: (rootUrl + '/v1/{+parent}/lbRouteExtensions').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } /** - * Gets details of a single Mesh. + * Updates the parameters of the specified `LbRouteExtension` resource. * * @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$Meshes$Get, + patch( + params: Params$Resource$Projects$Locations$Lbrouteextensions$Patch, options: StreamMethodOptions ): GaxiosPromise; - get( - params?: Params$Resource$Projects$Locations$Meshes$Get, + patch( + params?: Params$Resource$Projects$Locations$Lbrouteextensions$Patch, options?: MethodOptions - ): GaxiosPromise; - get( - params: Params$Resource$Projects$Locations$Meshes$Get, + ): GaxiosPromise; + patch( + params: Params$Resource$Projects$Locations$Lbrouteextensions$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Meshes$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + patch( + params: Params$Resource$Projects$Locations$Lbrouteextensions$Patch, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Meshes$Get, - callback: BodyResponseCallback + patch( + params: Params$Resource$Projects$Locations$Lbrouteextensions$Patch, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; - get( + patch(callback: BodyResponseCallback): void; + patch( paramsOrCallback?: - | Params$Resource$Projects$Locations$Meshes$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Lbrouteextensions$Patch + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Meshes$Get; + {}) as Params$Resource$Projects$Locations$Lbrouteextensions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Meshes$Get; + params = + {} as Params$Resource$Projects$Locations$Lbrouteextensions$Patch; options = {}; } @@ -7022,7 +5508,7 @@ export namespace networkservices_v1 { options: Object.assign( { url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + method: 'PATCH', apiVersion: '', }, options @@ -7033,67 +5519,157 @@ export namespace networkservices_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } + } + + export interface Params$Resource$Projects$Locations$Lbrouteextensions$Create + extends StandardParameters { + /** + * Required. User-provided ID of the `LbRouteExtension` resource to be created. + */ + lbRouteExtensionId?: string; + /** + * Required. The parent resource of the `LbRouteExtension` resource. Must be in the format `projects/{project\}/locations/{location\}`. + */ + parent?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$LbRouteExtension; + } + export interface Params$Resource$Projects$Locations$Lbrouteextensions$Delete + extends StandardParameters { + /** + * Required. The name of the `LbRouteExtension` resource to delete. Must be in the format `projects/{project\}/locations/{location\}/lbRouteExtensions/{lb_route_extension\}`. + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + } + export interface Params$Resource$Projects$Locations$Lbrouteextensions$Get + extends StandardParameters { + /** + * Required. A name of the `LbRouteExtension` resource to get. Must be in the format `projects/{project\}/locations/{location\}/lbRouteExtensions/{lb_route_extension\}`. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Lbrouteextensions$List + extends StandardParameters { + /** + * Optional. Filtering results. + */ + filter?: string; + /** + * Optional. Hint for how to order the results. + */ + orderBy?: string; + /** + * Optional. Requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default. + */ + pageSize?: number; + /** + * Optional. A token identifying a page of results that the server returns. + */ + pageToken?: string; + /** + * Required. The project and location from which the `LbRouteExtension` resources are listed, specified in the following format: `projects/{project\}/locations/{location\}`. + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Lbrouteextensions$Patch + extends StandardParameters { + /** + * Required. Identifier. Name of the `LbRouteExtension` resource in the following format: `projects/{project\}/locations/{location\}/lbRouteExtensions/{lb_route_extension\}`. + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Optional. Used to specify the fields to be overwritten in the `LbRouteExtension` resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not specify a mask, then all fields are overwritten. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$LbRouteExtension; + } + + export class Resource$Projects$Locations$Lbtrafficextensions { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } /** - * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. + * Creates a new `LbTrafficExtension` resource in a given project and location. * * @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. */ - getIamPolicy( - params: Params$Resource$Projects$Locations$Meshes$Getiampolicy, + create( + params: Params$Resource$Projects$Locations$Lbtrafficextensions$Create, options: StreamMethodOptions ): GaxiosPromise; - getIamPolicy( - params?: Params$Resource$Projects$Locations$Meshes$Getiampolicy, + create( + params?: Params$Resource$Projects$Locations$Lbtrafficextensions$Create, options?: MethodOptions - ): GaxiosPromise; - getIamPolicy( - params: Params$Resource$Projects$Locations$Meshes$Getiampolicy, + ): GaxiosPromise; + create( + params: Params$Resource$Projects$Locations$Lbtrafficextensions$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - getIamPolicy( - params: Params$Resource$Projects$Locations$Meshes$Getiampolicy, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Lbtrafficextensions$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - getIamPolicy( - params: Params$Resource$Projects$Locations$Meshes$Getiampolicy, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Lbtrafficextensions$Create, + callback: BodyResponseCallback ): void; - getIamPolicy(callback: BodyResponseCallback): void; - getIamPolicy( + create(callback: BodyResponseCallback): void; + create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Meshes$Getiampolicy - | BodyResponseCallback + | Params$Resource$Projects$Locations$Lbtrafficextensions$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Meshes$Getiampolicy; + {}) as Params$Resource$Projects$Locations$Lbtrafficextensions$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Meshes$Getiampolicy; + params = + {} as Params$Resource$Projects$Locations$Lbtrafficextensions$Create; options = {}; } @@ -7107,85 +5683,83 @@ export namespace networkservices_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace( + url: (rootUrl + '/v1/{+parent}/lbTrafficExtensions').replace( /([^:]\/)\/+/g, '$1' ), - method: 'GET', + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['resource'], - pathParams: ['resource'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Lists Meshes in a given project and location. + * Deletes the specified `LbTrafficExtension` resource. * * @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$Meshes$List, + delete( + params: Params$Resource$Projects$Locations$Lbtrafficextensions$Delete, options: StreamMethodOptions ): GaxiosPromise; - list( - params?: Params$Resource$Projects$Locations$Meshes$List, + delete( + params?: Params$Resource$Projects$Locations$Lbtrafficextensions$Delete, options?: MethodOptions - ): GaxiosPromise; - list( - params: Params$Resource$Projects$Locations$Meshes$List, + ): GaxiosPromise; + delete( + params: Params$Resource$Projects$Locations$Lbtrafficextensions$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Meshes$List, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Lbtrafficextensions$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Meshes$List, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Lbtrafficextensions$Delete, + callback: BodyResponseCallback ): void; - list(callback: BodyResponseCallback): void; - list( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Meshes$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Lbtrafficextensions$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): - | void - | GaxiosPromise - | GaxiosPromise { + ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Meshes$List; + {}) as Params$Resource$Projects$Locations$Lbtrafficextensions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Meshes$List; + params = + {} as Params$Resource$Projects$Locations$Lbtrafficextensions$Delete; options = {}; } @@ -7199,82 +5773,83 @@ export namespace networkservices_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/meshes').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', + url: (rootUrl + '/v1/{+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 the parameters of a single Mesh. + * Gets details of the specified `LbTrafficExtension` resource. * * @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$Meshes$Patch, + get( + params: Params$Resource$Projects$Locations$Lbtrafficextensions$Get, options: StreamMethodOptions ): GaxiosPromise; - patch( - params?: Params$Resource$Projects$Locations$Meshes$Patch, + get( + params?: Params$Resource$Projects$Locations$Lbtrafficextensions$Get, options?: MethodOptions - ): GaxiosPromise; - patch( - params: Params$Resource$Projects$Locations$Meshes$Patch, + ): GaxiosPromise; + get( + params: Params$Resource$Projects$Locations$Lbtrafficextensions$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Meshes$Patch, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Lbtrafficextensions$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Meshes$Patch, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Lbtrafficextensions$Get, + callback: BodyResponseCallback ): void; - patch(callback: BodyResponseCallback): void; - patch( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Meshes$Patch - | BodyResponseCallback + | Params$Resource$Projects$Locations$Lbtrafficextensions$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | GaxiosPromise + | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Meshes$Patch; + {}) as Params$Resource$Projects$Locations$Lbtrafficextensions$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Meshes$Patch; + params = + {} as Params$Resource$Projects$Locations$Lbtrafficextensions$Get; options = {}; } @@ -7289,7 +5864,7 @@ export namespace networkservices_v1 { options: Object.assign( { url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'PATCH', + method: 'GET', apiVersion: '', }, options @@ -7300,67 +5875,75 @@ export namespace networkservices_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. + * Lists `LbTrafficExtension` resources in a given project and location. * * @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. */ - setIamPolicy( - params: Params$Resource$Projects$Locations$Meshes$Setiampolicy, + list( + params: Params$Resource$Projects$Locations$Lbtrafficextensions$List, options: StreamMethodOptions ): GaxiosPromise; - setIamPolicy( - params?: Params$Resource$Projects$Locations$Meshes$Setiampolicy, + list( + params?: Params$Resource$Projects$Locations$Lbtrafficextensions$List, options?: MethodOptions - ): GaxiosPromise; - setIamPolicy( - params: Params$Resource$Projects$Locations$Meshes$Setiampolicy, + ): GaxiosPromise; + list( + params: Params$Resource$Projects$Locations$Lbtrafficextensions$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - setIamPolicy( - params: Params$Resource$Projects$Locations$Meshes$Setiampolicy, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Lbtrafficextensions$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - setIamPolicy( - params: Params$Resource$Projects$Locations$Meshes$Setiampolicy, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Lbtrafficextensions$List, + callback: BodyResponseCallback ): void; - setIamPolicy(callback: BodyResponseCallback): void; - setIamPolicy( + list( + callback: BodyResponseCallback + ): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Meshes$Setiampolicy - | BodyResponseCallback + | Params$Resource$Projects$Locations$Lbtrafficextensions$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | GaxiosPromise + | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Meshes$Setiampolicy; + {}) as Params$Resource$Projects$Locations$Lbtrafficextensions$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Meshes$Setiampolicy; + params = + {} as Params$Resource$Projects$Locations$Lbtrafficextensions$List; options = {}; } @@ -7374,90 +5957,85 @@ export namespace networkservices_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace( + url: (rootUrl + '/v1/{+parent}/lbTrafficExtensions').replace( /([^:]\/)\/+/g, '$1' ), - method: 'POST', + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['resource'], - pathParams: ['resource'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } /** - * Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. + * Updates the parameters of the specified `LbTrafficExtension` resource. * * @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. */ - testIamPermissions( - params: Params$Resource$Projects$Locations$Meshes$Testiampermissions, + patch( + params: Params$Resource$Projects$Locations$Lbtrafficextensions$Patch, options: StreamMethodOptions ): GaxiosPromise; - testIamPermissions( - params?: Params$Resource$Projects$Locations$Meshes$Testiampermissions, + patch( + params?: Params$Resource$Projects$Locations$Lbtrafficextensions$Patch, options?: MethodOptions - ): GaxiosPromise; - testIamPermissions( - params: Params$Resource$Projects$Locations$Meshes$Testiampermissions, + ): GaxiosPromise; + patch( + params: Params$Resource$Projects$Locations$Lbtrafficextensions$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - testIamPermissions( - params: Params$Resource$Projects$Locations$Meshes$Testiampermissions, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - testIamPermissions( - params: Params$Resource$Projects$Locations$Meshes$Testiampermissions, - callback: BodyResponseCallback + patch( + params: Params$Resource$Projects$Locations$Lbtrafficextensions$Patch, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - testIamPermissions( - callback: BodyResponseCallback + patch( + params: Params$Resource$Projects$Locations$Lbtrafficextensions$Patch, + callback: BodyResponseCallback ): void; - testIamPermissions( + patch(callback: BodyResponseCallback): void; + patch( paramsOrCallback?: - | Params$Resource$Projects$Locations$Meshes$Testiampermissions - | BodyResponseCallback + | Params$Resource$Projects$Locations$Lbtrafficextensions$Patch + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): - | void - | GaxiosPromise - | GaxiosPromise { + ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Meshes$Testiampermissions; + {}) as Params$Resource$Projects$Locations$Lbtrafficextensions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Meshes$Testiampermissions; + {} as Params$Resource$Projects$Locations$Lbtrafficextensions$Patch; options = {}; } @@ -7471,186 +6049,168 @@ export namespace networkservices_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', apiVersion: '', }, options ), - params, - requiredParams: ['resource'], - pathParams: ['resource'], + params, + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } } - export interface Params$Resource$Projects$Locations$Meshes$Create + export interface Params$Resource$Projects$Locations$Lbtrafficextensions$Create extends StandardParameters { /** - * Required. Short name of the Mesh resource to be created. + * Required. User-provided ID of the `LbTrafficExtension` resource to be created. */ - meshId?: string; + lbTrafficExtensionId?: string; /** - * Required. The parent resource of the Mesh. Must be in the format `projects/x/locations/global`. + * Required. The parent resource of the `LbTrafficExtension` resource. Must be in the format `projects/{project\}/locations/{location\}`. */ parent?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; /** * Request body metadata */ - requestBody?: Schema$Mesh; + requestBody?: Schema$LbTrafficExtension; } - export interface Params$Resource$Projects$Locations$Meshes$Delete + export interface Params$Resource$Projects$Locations$Lbtrafficextensions$Delete extends StandardParameters { /** - * Required. A name of the Mesh to delete. Must be in the format `projects/x/locations/global/meshes/x`. + * Required. The name of the `LbTrafficExtension` resource to delete. Must be in the format `projects/{project\}/locations/{location\}/lbTrafficExtensions/{lb_traffic_extension\}`. */ name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; } - export interface Params$Resource$Projects$Locations$Meshes$Get + export interface Params$Resource$Projects$Locations$Lbtrafficextensions$Get extends StandardParameters { /** - * Required. A name of the Mesh to get. Must be in the format `projects/x/locations/global/meshes/x`. + * Required. A name of the `LbTrafficExtension` resource to get. Must be in the format `projects/{project\}/locations/{location\}/lbTrafficExtensions/{lb_traffic_extension\}`. */ name?: string; } - export interface Params$Resource$Projects$Locations$Meshes$Getiampolicy + export interface Params$Resource$Projects$Locations$Lbtrafficextensions$List extends StandardParameters { /** - * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + * Optional. Filtering results. */ - 'options.requestedPolicyVersion'?: number; + filter?: string; /** - * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + * Optional. Hint for how to order the results. */ - resource?: string; - } - export interface Params$Resource$Projects$Locations$Meshes$List - extends StandardParameters { + orderBy?: string; /** - * Maximum number of Meshes to return per call. + * Optional. Requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default. */ pageSize?: number; /** - * The value returned by the last `ListMeshesResponse` Indicates that this is a continuation of a prior `ListMeshes` call, and that the system should return the next page of data. + * Optional. A token identifying a page of results that the server returns. */ pageToken?: string; /** - * Required. The project and location from which the Meshes should be listed, specified in the format `projects/x/locations/global`. + * Required. The project and location from which the `LbTrafficExtension` resources are listed, specified in the following format: `projects/{project\}/locations/{location\}`. */ parent?: string; } - export interface Params$Resource$Projects$Locations$Meshes$Patch + export interface Params$Resource$Projects$Locations$Lbtrafficextensions$Patch extends StandardParameters { /** - * Required. Name of the Mesh resource. It matches pattern `projects/x/locations/global/meshes/`. + * Required. Identifier. Name of the `LbTrafficExtension` resource in the following format: `projects/{project\}/locations/{location\}/lbTrafficExtensions/{lb_traffic_extension\}`. */ name?: string; /** - * Optional. Field mask is used to specify the fields to be overwritten in the Mesh resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. - */ - updateMask?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$Mesh; - } - export interface Params$Resource$Projects$Locations$Meshes$Setiampolicy - extends StandardParameters { - /** - * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - - /** - * Request body metadata + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */ - requestBody?: Schema$SetIamPolicyRequest; - } - export interface Params$Resource$Projects$Locations$Meshes$Testiampermissions - extends StandardParameters { + requestId?: string; /** - * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + * Optional. Used to specify the fields to be overwritten in the `LbTrafficExtension` resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not specify a mask, then all fields are overwritten. */ - resource?: string; + updateMask?: string; /** * Request body metadata */ - requestBody?: Schema$TestIamPermissionsRequest; + requestBody?: Schema$LbTrafficExtension; } - export class Resource$Projects$Locations$Operations { + export class Resource$Projects$Locations$Meshes { context: APIRequestContext; constructor(context: APIRequestContext) { this.context = context; } /** - * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. + * Creates a new Mesh in a given project and location. * * @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. */ - cancel( - params: Params$Resource$Projects$Locations$Operations$Cancel, + create( + params: Params$Resource$Projects$Locations$Meshes$Create, options: StreamMethodOptions ): GaxiosPromise; - cancel( - params?: Params$Resource$Projects$Locations$Operations$Cancel, + create( + params?: Params$Resource$Projects$Locations$Meshes$Create, options?: MethodOptions - ): GaxiosPromise; - cancel( - params: Params$Resource$Projects$Locations$Operations$Cancel, + ): GaxiosPromise; + create( + params: Params$Resource$Projects$Locations$Meshes$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - cancel( - params: Params$Resource$Projects$Locations$Operations$Cancel, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Meshes$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - cancel( - params: Params$Resource$Projects$Locations$Operations$Cancel, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Meshes$Create, + callback: BodyResponseCallback ): void; - cancel(callback: BodyResponseCallback): void; - cancel( + create(callback: BodyResponseCallback): void; + create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Operations$Cancel - | BodyResponseCallback + | Params$Resource$Projects$Locations$Meshes$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Operations$Cancel; + {}) as Params$Resource$Projects$Locations$Meshes$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Operations$Cancel; + params = {} as Params$Resource$Projects$Locations$Meshes$Create; options = {}; } @@ -7664,29 +6224,32 @@ export namespace networkservices_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + url: (rootUrl + '/v1/{+parent}/meshes').replace( + /([^:]\/)\/+/g, + '$1' + ), method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. + * Deletes a single Mesh. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -7694,49 +6257,135 @@ export namespace networkservices_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ delete( - params: Params$Resource$Projects$Locations$Operations$Delete, + params: Params$Resource$Projects$Locations$Meshes$Delete, options: StreamMethodOptions ): GaxiosPromise; delete( - params?: Params$Resource$Projects$Locations$Operations$Delete, + params?: Params$Resource$Projects$Locations$Meshes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): GaxiosPromise; delete( - params: Params$Resource$Projects$Locations$Operations$Delete, + params: Params$Resource$Projects$Locations$Meshes$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; delete( - params: Params$Resource$Projects$Locations$Operations$Delete, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Meshes$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; delete( - params: Params$Resource$Projects$Locations$Operations$Delete, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Meshes$Delete, + callback: BodyResponseCallback ): void; - delete(callback: BodyResponseCallback): void; + delete(callback: BodyResponseCallback): void; delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Operations$Delete - | BodyResponseCallback + | Params$Resource$Projects$Locations$Meshes$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Meshes$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Meshes$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://networkservices.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+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 details of a single Mesh. + * + * @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$Meshes$Get, + options: StreamMethodOptions + ): GaxiosPromise; + get( + params?: Params$Resource$Projects$Locations$Meshes$Get, + options?: MethodOptions + ): GaxiosPromise; + get( + params: Params$Resource$Projects$Locations$Meshes$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Meshes$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Meshes$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Meshes$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Operations$Delete; + {}) as Params$Resource$Projects$Locations$Meshes$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Operations$Delete; + params = {} as Params$Resource$Projects$Locations$Meshes$Get; options = {}; } @@ -7751,7 +6400,7 @@ export namespace networkservices_v1 { options: Object.assign( { url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + method: 'GET', apiVersion: '', }, options @@ -7762,67 +6411,70 @@ export namespace networkservices_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. + * Lists Meshes in a given project and location. * * @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$Operations$Get, + list( + params: Params$Resource$Projects$Locations$Meshes$List, options: StreamMethodOptions ): GaxiosPromise; - get( - params?: Params$Resource$Projects$Locations$Operations$Get, + list( + params?: Params$Resource$Projects$Locations$Meshes$List, options?: MethodOptions - ): GaxiosPromise; - get( - params: Params$Resource$Projects$Locations$Operations$Get, + ): GaxiosPromise; + list( + params: Params$Resource$Projects$Locations$Meshes$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Operations$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Meshes$List, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Operations$Get, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Meshes$List, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; - get( + list(callback: BodyResponseCallback): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Operations$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Meshes$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | GaxiosPromise + | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Operations$Get; + {}) as Params$Resource$Projects$Locations$Meshes$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Operations$Get; + params = {} as Params$Resource$Projects$Locations$Meshes$List; options = {}; } @@ -7836,84 +6488,82 @@ export namespace networkservices_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + url: (rootUrl + '/v1/{+parent}/meshes').replace( + /([^:]\/)\/+/g, + '$1' + ), method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. + * Updates the parameters of a single Mesh. * * @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$Operations$List, + patch( + params: Params$Resource$Projects$Locations$Meshes$Patch, options: StreamMethodOptions ): GaxiosPromise; - list( - params?: Params$Resource$Projects$Locations$Operations$List, + patch( + params?: Params$Resource$Projects$Locations$Meshes$Patch, options?: MethodOptions - ): GaxiosPromise; - list( - params: Params$Resource$Projects$Locations$Operations$List, + ): GaxiosPromise; + patch( + params: Params$Resource$Projects$Locations$Meshes$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Operations$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + patch( + params: Params$Resource$Projects$Locations$Meshes$Patch, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Operations$List, - callback: BodyResponseCallback + patch( + params: Params$Resource$Projects$Locations$Meshes$Patch, + callback: BodyResponseCallback ): void; - list(callback: BodyResponseCallback): void; - list( + patch(callback: BodyResponseCallback): void; + patch( paramsOrCallback?: - | Params$Resource$Projects$Locations$Operations$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Meshes$Patch + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): - | void - | GaxiosPromise - | GaxiosPromise { + ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Operations$List; + {}) as Params$Resource$Projects$Locations$Meshes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Operations$List; + params = {} as Params$Resource$Projects$Locations$Meshes$Patch; options = {}; } @@ -7927,11 +6577,8 @@ export namespace networkservices_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}/operations').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', apiVersion: '', }, options @@ -7942,121 +6589,222 @@ export namespace networkservices_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } } - export interface Params$Resource$Projects$Locations$Operations$Cancel + export interface Params$Resource$Projects$Locations$Meshes$Create extends StandardParameters { /** - * The name of the operation resource to be cancelled. + * Required. Short name of the Mesh resource to be created. */ - name?: string; + meshId?: string; + /** + * Required. The parent resource of the Mesh. Must be in the format `projects/x/locations/global`. + */ + parent?: string; /** * Request body metadata */ - requestBody?: Schema$CancelOperationRequest; + requestBody?: Schema$Mesh; } - export interface Params$Resource$Projects$Locations$Operations$Delete + export interface Params$Resource$Projects$Locations$Meshes$Delete extends StandardParameters { /** - * The name of the operation resource to be deleted. + * Required. A name of the Mesh to delete. Must be in the format `projects/x/locations/global/meshes/x`. */ name?: string; } - export interface Params$Resource$Projects$Locations$Operations$Get + export interface Params$Resource$Projects$Locations$Meshes$Get extends StandardParameters { /** - * The name of the operation resource. + * Required. A name of the Mesh to get. Must be in the format `projects/x/locations/global/meshes/x`. */ name?: string; } - export interface Params$Resource$Projects$Locations$Operations$List + export interface Params$Resource$Projects$Locations$Meshes$List extends StandardParameters { /** - * The standard list filter. + * Maximum number of Meshes to return per call. */ - filter?: string; + pageSize?: number; /** - * The name of the operation's parent resource. + * The value returned by the last `ListMeshesResponse` Indicates that this is a continuation of a prior `ListMeshes` call, and that the system should return the next page of data. + */ + pageToken?: string; + /** + * Required. The project and location from which the Meshes should be listed, specified in the format `projects/x/locations/global`. + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Meshes$Patch + extends StandardParameters { + /** + * Required. Name of the Mesh resource. It matches pattern `projects/x/locations/global/meshes/`. */ name?: string; /** - * The standard list page size. + * Optional. Field mask is used to specify the fields to be overwritten in the Mesh resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. */ - pageSize?: number; + updateMask?: string; + /** - * The standard list page token. + * Request body metadata */ - pageToken?: string; + requestBody?: Schema$Mesh; } - export class Resource$Projects$Locations$Servicebindings { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; + export class Resource$Projects$Locations$Operations { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. + * + * @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. + */ + cancel( + params: Params$Resource$Projects$Locations$Operations$Cancel, + options: StreamMethodOptions + ): GaxiosPromise; + cancel( + params?: Params$Resource$Projects$Locations$Operations$Cancel, + options?: MethodOptions + ): GaxiosPromise; + cancel( + params: Params$Resource$Projects$Locations$Operations$Cancel, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + cancel( + params: Params$Resource$Projects$Locations$Operations$Cancel, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + cancel( + params: Params$Resource$Projects$Locations$Operations$Cancel, + callback: BodyResponseCallback + ): void; + cancel(callback: BodyResponseCallback): void; + cancel( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Operations$Cancel + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Operations$Cancel; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Operations$Cancel; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://networkservices.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } } /** - * Creates a new ServiceBinding in a given project and location. + * Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. * * @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$Servicebindings$Create, + delete( + params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions ): GaxiosPromise; - create( - params?: Params$Resource$Projects$Locations$Servicebindings$Create, + delete( + params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; - create( - params: Params$Resource$Projects$Locations$Servicebindings$Create, + ): GaxiosPromise; + delete( + params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Servicebindings$Create, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Operations$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Servicebindings$Create, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Operations$Delete, + callback: BodyResponseCallback ): void; - create(callback: BodyResponseCallback): void; - create( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Servicebindings$Create - | BodyResponseCallback + | Params$Resource$Projects$Locations$Operations$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Servicebindings$Create; + {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Servicebindings$Create; + params = {} as Params$Resource$Projects$Locations$Operations$Delete; options = {}; } @@ -8070,64 +6818,61 @@ export namespace networkservices_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/serviceBindings').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', + url: (rootUrl + '/v1/{+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); } } /** - * Deletes a single ServiceBinding. + * Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. * * @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$Servicebindings$Delete, + get( + params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions ): GaxiosPromise; - delete( - params?: Params$Resource$Projects$Locations$Servicebindings$Delete, + get( + params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions ): GaxiosPromise; - delete( - params: Params$Resource$Projects$Locations$Servicebindings$Delete, + get( + params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Servicebindings$Delete, + get( + params: Params$Resource$Projects$Locations$Operations$Get, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Servicebindings$Delete, + get( + params: Params$Resource$Projects$Locations$Operations$Get, callback: BodyResponseCallback ): void; - delete(callback: BodyResponseCallback): void; - delete( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Servicebindings$Delete + | Params$Resource$Projects$Locations$Operations$Get | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -8140,13 +6885,12 @@ export namespace networkservices_v1 { | BodyResponseCallback ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Servicebindings$Delete; + {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Servicebindings$Delete; + params = {} as Params$Resource$Projects$Locations$Operations$Get; options = {}; } @@ -8161,7 +6905,7 @@ export namespace networkservices_v1 { options: Object.assign( { url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + method: 'GET', apiVersion: '', }, options @@ -8182,57 +6926,62 @@ export namespace networkservices_v1 { } /** - * Gets details of a single ServiceBinding. + * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. * * @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$Servicebindings$Get, + list( + params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions ): GaxiosPromise; - get( - params?: Params$Resource$Projects$Locations$Servicebindings$Get, + list( + params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; - get( - params: Params$Resource$Projects$Locations$Servicebindings$Get, + ): GaxiosPromise; + list( + params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Servicebindings$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Operations$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Servicebindings$Get, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Operations$List, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; - get( + list(callback: BodyResponseCallback): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Servicebindings$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Operations$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | GaxiosPromise + | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Servicebindings$Get; + {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Servicebindings$Get; + params = {} as Params$Resource$Projects$Locations$Operations$List; options = {}; } @@ -8246,7 +6995,10 @@ export namespace networkservices_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + url: (rootUrl + '/v1/{+name}/operations').replace( + /([^:]\/)\/+/g, + '$1' + ), method: 'GET', apiVersion: '', }, @@ -8258,68 +7010,121 @@ export namespace networkservices_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } + } + export interface Params$Resource$Projects$Locations$Operations$Cancel + extends StandardParameters { /** - * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. + * The name of the operation resource to be cancelled. + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$CancelOperationRequest; + } + export interface Params$Resource$Projects$Locations$Operations$Delete + extends StandardParameters { + /** + * The name of the operation resource to be deleted. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Operations$Get + extends StandardParameters { + /** + * The name of the operation resource. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Operations$List + extends StandardParameters { + /** + * The standard list filter. + */ + filter?: string; + /** + * The name of the operation's parent resource. + */ + name?: string; + /** + * The standard list page size. + */ + pageSize?: number; + /** + * The standard list page token. + */ + pageToken?: string; + } + + export class Resource$Projects$Locations$Servicebindings { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Creates a new ServiceBinding in a given project and location. * * @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. */ - getIamPolicy( - params: Params$Resource$Projects$Locations$Servicebindings$Getiampolicy, + create( + params: Params$Resource$Projects$Locations$Servicebindings$Create, options: StreamMethodOptions ): GaxiosPromise; - getIamPolicy( - params?: Params$Resource$Projects$Locations$Servicebindings$Getiampolicy, + create( + params?: Params$Resource$Projects$Locations$Servicebindings$Create, options?: MethodOptions - ): GaxiosPromise; - getIamPolicy( - params: Params$Resource$Projects$Locations$Servicebindings$Getiampolicy, + ): GaxiosPromise; + create( + params: Params$Resource$Projects$Locations$Servicebindings$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - getIamPolicy( - params: Params$Resource$Projects$Locations$Servicebindings$Getiampolicy, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Servicebindings$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - getIamPolicy( - params: Params$Resource$Projects$Locations$Servicebindings$Getiampolicy, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Servicebindings$Create, + callback: BodyResponseCallback ): void; - getIamPolicy(callback: BodyResponseCallback): void; - getIamPolicy( + create(callback: BodyResponseCallback): void; + create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Servicebindings$Getiampolicy - | BodyResponseCallback + | Params$Resource$Projects$Locations$Servicebindings$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Servicebindings$Getiampolicy; + {}) as Params$Resource$Projects$Locations$Servicebindings$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Servicebindings$Getiampolicy; + {} as Params$Resource$Projects$Locations$Servicebindings$Create; options = {}; } @@ -8333,89 +7138,83 @@ export namespace networkservices_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace( + url: (rootUrl + '/v1/{+parent}/serviceBindings').replace( /([^:]\/)\/+/g, '$1' ), - method: 'GET', + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['resource'], - pathParams: ['resource'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Lists ServiceBinding in a given project and location. + * Deletes a single ServiceBinding. * * @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$Servicebindings$List, + delete( + params: Params$Resource$Projects$Locations$Servicebindings$Delete, options: StreamMethodOptions ): GaxiosPromise; - list( - params?: Params$Resource$Projects$Locations$Servicebindings$List, + delete( + params?: Params$Resource$Projects$Locations$Servicebindings$Delete, options?: MethodOptions - ): GaxiosPromise; - list( - params: Params$Resource$Projects$Locations$Servicebindings$List, + ): GaxiosPromise; + delete( + params: Params$Resource$Projects$Locations$Servicebindings$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Servicebindings$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Servicebindings$List, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Servicebindings$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Servicebindings$Delete, + callback: BodyResponseCallback ): void; - list( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Servicebindings$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Servicebindings$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): - | void - | GaxiosPromise - | GaxiosPromise { + ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Servicebindings$List; + {}) as Params$Resource$Projects$Locations$Servicebindings$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Servicebindings$List; + params = + {} as Params$Resource$Projects$Locations$Servicebindings$Delete; options = {}; } @@ -8429,83 +7228,79 @@ export namespace networkservices_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/serviceBindings').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', + url: (rootUrl + '/v1/{+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); } } /** - * Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. + * Gets details of a single ServiceBinding. * * @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. */ - setIamPolicy( - params: Params$Resource$Projects$Locations$Servicebindings$Setiampolicy, + get( + params: Params$Resource$Projects$Locations$Servicebindings$Get, options: StreamMethodOptions ): GaxiosPromise; - setIamPolicy( - params?: Params$Resource$Projects$Locations$Servicebindings$Setiampolicy, + get( + params?: Params$Resource$Projects$Locations$Servicebindings$Get, options?: MethodOptions - ): GaxiosPromise; - setIamPolicy( - params: Params$Resource$Projects$Locations$Servicebindings$Setiampolicy, + ): GaxiosPromise; + get( + params: Params$Resource$Projects$Locations$Servicebindings$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - setIamPolicy( - params: Params$Resource$Projects$Locations$Servicebindings$Setiampolicy, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Servicebindings$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - setIamPolicy( - params: Params$Resource$Projects$Locations$Servicebindings$Setiampolicy, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Servicebindings$Get, + callback: BodyResponseCallback ): void; - setIamPolicy(callback: BodyResponseCallback): void; - setIamPolicy( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Servicebindings$Setiampolicy - | BodyResponseCallback + | Params$Resource$Projects$Locations$Servicebindings$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Servicebindings$Setiampolicy; + {}) as Params$Resource$Projects$Locations$Servicebindings$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Servicebindings$Setiampolicy; + params = {} as Params$Resource$Projects$Locations$Servicebindings$Get; options = {}; } @@ -8519,90 +7314,86 @@ export namespace networkservices_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['resource'], - pathParams: ['resource'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. + * Lists ServiceBinding in a given project and location. * * @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. */ - testIamPermissions( - params: Params$Resource$Projects$Locations$Servicebindings$Testiampermissions, + list( + params: Params$Resource$Projects$Locations$Servicebindings$List, options: StreamMethodOptions ): GaxiosPromise; - testIamPermissions( - params?: Params$Resource$Projects$Locations$Servicebindings$Testiampermissions, + list( + params?: Params$Resource$Projects$Locations$Servicebindings$List, options?: MethodOptions - ): GaxiosPromise; - testIamPermissions( - params: Params$Resource$Projects$Locations$Servicebindings$Testiampermissions, + ): GaxiosPromise; + list( + params: Params$Resource$Projects$Locations$Servicebindings$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - testIamPermissions( - params: Params$Resource$Projects$Locations$Servicebindings$Testiampermissions, + list( + params: Params$Resource$Projects$Locations$Servicebindings$List, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - testIamPermissions( - params: Params$Resource$Projects$Locations$Servicebindings$Testiampermissions, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Servicebindings$List, + callback: BodyResponseCallback ): void; - testIamPermissions( - callback: BodyResponseCallback + list( + callback: BodyResponseCallback ): void; - testIamPermissions( + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Servicebindings$Testiampermissions - | BodyResponseCallback + | Params$Resource$Projects$Locations$Servicebindings$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | GaxiosPromise + | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Servicebindings$Testiampermissions; + {}) as Params$Resource$Projects$Locations$Servicebindings$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Servicebindings$Testiampermissions; + params = {} as Params$Resource$Projects$Locations$Servicebindings$List; options = {}; } @@ -8616,27 +7407,27 @@ export namespace networkservices_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace( + url: (rootUrl + '/v1/{+parent}/serviceBindings').replace( /([^:]\/)\/+/g, '$1' ), - method: 'POST', + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['resource'], - pathParams: ['resource'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } } @@ -8671,17 +7462,6 @@ export namespace networkservices_v1 { */ name?: string; } - export interface Params$Resource$Projects$Locations$Servicebindings$Getiampolicy - extends StandardParameters { - /** - * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). - */ - 'options.requestedPolicyVersion'?: number; - /** - * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - } export interface Params$Resource$Projects$Locations$Servicebindings$List extends StandardParameters { /** @@ -8697,30 +7477,6 @@ export namespace networkservices_v1 { */ parent?: string; } - export interface Params$Resource$Projects$Locations$Servicebindings$Setiampolicy - extends StandardParameters { - /** - * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$SetIamPolicyRequest; - } - export interface Params$Resource$Projects$Locations$Servicebindings$Testiampermissions - extends StandardParameters { - /** - * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$TestIamPermissionsRequest; - } export class Resource$Projects$Locations$Servicelbpolicies { context: APIRequestContext; @@ -10558,7 +9314,7 @@ export namespace networkservices_v1 { export interface Params$Resource$Projects$Locations$Tlsroutes$Patch extends StandardParameters { /** - * Required. Name of the TlsRoute resource. It matches pattern `projects/x/locations/global/tlsRoutes/tls_route_name\>`. + * Identifier. Name of the TlsRoute resource. It matches pattern `projects/x/locations/global/tlsRoutes/tls_route_name\>`. */ name?: string; /** diff --git a/src/apis/networkservices/v1beta1.ts b/src/apis/networkservices/v1beta1.ts index dc178033b0..871c576e54 100644 --- a/src/apis/networkservices/v1beta1.ts +++ b/src/apis/networkservices/v1beta1.ts @@ -1717,7 +1717,7 @@ export namespace networkservices_v1beta1 { */ meshes?: string[] | null; /** - * Required. Name of the TlsRoute resource. It matches pattern `projects/x/locations/global/tlsRoutes/tls_route_name\>`. + * Identifier. Name of the TlsRoute resource. It matches pattern `projects/x/locations/global/tlsRoutes/tls_route_name\>`. */ name?: string | null; /** @@ -2324,96 +2324,6 @@ export namespace networkservices_v1beta1 { } } - /** - * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. - * - * @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. - */ - getIamPolicy( - params: Params$Resource$Projects$Locations$Endpointpolicies$Getiampolicy, - options: StreamMethodOptions - ): GaxiosPromise; - getIamPolicy( - params?: Params$Resource$Projects$Locations$Endpointpolicies$Getiampolicy, - options?: MethodOptions - ): GaxiosPromise; - getIamPolicy( - params: Params$Resource$Projects$Locations$Endpointpolicies$Getiampolicy, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - getIamPolicy( - params: Params$Resource$Projects$Locations$Endpointpolicies$Getiampolicy, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - getIamPolicy( - params: Params$Resource$Projects$Locations$Endpointpolicies$Getiampolicy, - callback: BodyResponseCallback - ): void; - getIamPolicy(callback: BodyResponseCallback): void; - getIamPolicy( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Endpointpolicies$Getiampolicy - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Endpointpolicies$Getiampolicy; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Endpointpolicies$Getiampolicy; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', - apiVersion: '', - }, - options - ), - params, - requiredParams: ['resource'], - pathParams: ['resource'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - /** * Lists EndpointPolicies in a given project and location. * @@ -2598,60 +2508,128 @@ export namespace networkservices_v1beta1 { return createAPIRequest(parameters); } } + } + export interface Params$Resource$Projects$Locations$Endpointpolicies$Create + extends StandardParameters { /** - * Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. + * Required. Short name of the EndpointPolicy resource to be created. E.g. "CustomECS". + */ + endpointPolicyId?: string; + /** + * Required. The parent resource of the EndpointPolicy. Must be in the format `projects/x/locations/global`. + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$EndpointPolicy; + } + export interface Params$Resource$Projects$Locations$Endpointpolicies$Delete + extends StandardParameters { + /** + * Required. A name of the EndpointPolicy to delete. Must be in the format `projects/x/locations/global/endpointPolicies/x`. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Endpointpolicies$Get + extends StandardParameters { + /** + * Required. A name of the EndpointPolicy to get. Must be in the format `projects/x/locations/global/endpointPolicies/x`. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Endpointpolicies$List + extends StandardParameters { + /** + * Maximum number of EndpointPolicies to return per call. + */ + pageSize?: number; + /** + * The value returned by the last `ListEndpointPoliciesResponse` Indicates that this is a continuation of a prior `ListEndpointPolicies` call, and that the system should return the next page of data. + */ + pageToken?: string; + /** + * Required. The project and location from which the EndpointPolicies should be listed, specified in the format `projects/x/locations/global`. + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Endpointpolicies$Patch + extends StandardParameters { + /** + * Required. Name of the EndpointPolicy resource. It matches pattern `projects/{project\}/locations/global/endpointPolicies/{endpoint_policy\}`. + */ + name?: string; + /** + * Optional. Field mask is used to specify the fields to be overwritten in the EndpointPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$EndpointPolicy; + } + + export class Resource$Projects$Locations$Gateways { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Creates a new Gateway in a given project and location. * * @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. */ - setIamPolicy( - params: Params$Resource$Projects$Locations$Endpointpolicies$Setiampolicy, + create( + params: Params$Resource$Projects$Locations$Gateways$Create, options: StreamMethodOptions ): GaxiosPromise; - setIamPolicy( - params?: Params$Resource$Projects$Locations$Endpointpolicies$Setiampolicy, + create( + params?: Params$Resource$Projects$Locations$Gateways$Create, options?: MethodOptions - ): GaxiosPromise; - setIamPolicy( - params: Params$Resource$Projects$Locations$Endpointpolicies$Setiampolicy, + ): GaxiosPromise; + create( + params: Params$Resource$Projects$Locations$Gateways$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - setIamPolicy( - params: Params$Resource$Projects$Locations$Endpointpolicies$Setiampolicy, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Gateways$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - setIamPolicy( - params: Params$Resource$Projects$Locations$Endpointpolicies$Setiampolicy, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Gateways$Create, + callback: BodyResponseCallback ): void; - setIamPolicy(callback: BodyResponseCallback): void; - setIamPolicy( + create(callback: BodyResponseCallback): void; + create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Endpointpolicies$Setiampolicy - | BodyResponseCallback + | Params$Resource$Projects$Locations$Gateways$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Endpointpolicies$Setiampolicy; + {}) as Params$Resource$Projects$Locations$Gateways$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Endpointpolicies$Setiampolicy; + params = {} as Params$Resource$Projects$Locations$Gateways$Create; options = {}; } @@ -2665,7 +2643,7 @@ export namespace networkservices_v1beta1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace( + url: (rootUrl + '/v1beta1/{+parent}/gateways').replace( /([^:]\/)\/+/g, '$1' ), @@ -2675,1692 +2653,72 @@ export namespace networkservices_v1beta1 { options ), params, - requiredParams: ['resource'], - pathParams: ['resource'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. + * Deletes a single Gateway. * * @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. */ - testIamPermissions( - params: Params$Resource$Projects$Locations$Endpointpolicies$Testiampermissions, + delete( + params: Params$Resource$Projects$Locations$Gateways$Delete, options: StreamMethodOptions ): GaxiosPromise; - testIamPermissions( - params?: Params$Resource$Projects$Locations$Endpointpolicies$Testiampermissions, + delete( + params?: Params$Resource$Projects$Locations$Gateways$Delete, options?: MethodOptions - ): GaxiosPromise; - testIamPermissions( - params: Params$Resource$Projects$Locations$Endpointpolicies$Testiampermissions, + ): GaxiosPromise; + delete( + params: Params$Resource$Projects$Locations$Gateways$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - testIamPermissions( - params: Params$Resource$Projects$Locations$Endpointpolicies$Testiampermissions, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - testIamPermissions( - params: Params$Resource$Projects$Locations$Endpointpolicies$Testiampermissions, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Gateways$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - testIamPermissions( - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Gateways$Delete, + callback: BodyResponseCallback ): void; - testIamPermissions( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Endpointpolicies$Testiampermissions - | BodyResponseCallback + | Params$Resource$Projects$Locations$Gateways$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): - | void - | GaxiosPromise - | GaxiosPromise { + ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Endpointpolicies$Testiampermissions; + {}) as Params$Resource$Projects$Locations$Gateways$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Endpointpolicies$Testiampermissions; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', - apiVersion: '', - }, - options - ), - params, - requiredParams: ['resource'], - pathParams: ['resource'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - } - - export interface Params$Resource$Projects$Locations$Endpointpolicies$Create - extends StandardParameters { - /** - * Required. Short name of the EndpointPolicy resource to be created. E.g. "CustomECS". - */ - endpointPolicyId?: string; - /** - * Required. The parent resource of the EndpointPolicy. Must be in the format `projects/x/locations/global`. - */ - parent?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$EndpointPolicy; - } - export interface Params$Resource$Projects$Locations$Endpointpolicies$Delete - extends StandardParameters { - /** - * Required. A name of the EndpointPolicy to delete. Must be in the format `projects/x/locations/global/endpointPolicies/x`. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Endpointpolicies$Get - extends StandardParameters { - /** - * Required. A name of the EndpointPolicy to get. Must be in the format `projects/x/locations/global/endpointPolicies/x`. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Endpointpolicies$Getiampolicy - extends StandardParameters { - /** - * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). - */ - 'options.requestedPolicyVersion'?: number; - /** - * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - } - export interface Params$Resource$Projects$Locations$Endpointpolicies$List - extends StandardParameters { - /** - * Maximum number of EndpointPolicies to return per call. - */ - pageSize?: number; - /** - * The value returned by the last `ListEndpointPoliciesResponse` Indicates that this is a continuation of a prior `ListEndpointPolicies` call, and that the system should return the next page of data. - */ - pageToken?: string; - /** - * Required. The project and location from which the EndpointPolicies should be listed, specified in the format `projects/x/locations/global`. - */ - parent?: string; - } - export interface Params$Resource$Projects$Locations$Endpointpolicies$Patch - extends StandardParameters { - /** - * Required. Name of the EndpointPolicy resource. It matches pattern `projects/{project\}/locations/global/endpointPolicies/{endpoint_policy\}`. - */ - name?: string; - /** - * Optional. Field mask is used to specify the fields to be overwritten in the EndpointPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. - */ - updateMask?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$EndpointPolicy; - } - export interface Params$Resource$Projects$Locations$Endpointpolicies$Setiampolicy - extends StandardParameters { - /** - * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$SetIamPolicyRequest; - } - export interface Params$Resource$Projects$Locations$Endpointpolicies$Testiampermissions - extends StandardParameters { - /** - * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$TestIamPermissionsRequest; - } - - export class Resource$Projects$Locations$Gateways { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } - - /** - * Creates a new Gateway in a given project and location. - * - * @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$Gateways$Create, - options: StreamMethodOptions - ): GaxiosPromise; - create( - params?: Params$Resource$Projects$Locations$Gateways$Create, - options?: MethodOptions - ): GaxiosPromise; - create( - params: Params$Resource$Projects$Locations$Gateways$Create, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - create( - params: Params$Resource$Projects$Locations$Gateways$Create, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - create( - params: Params$Resource$Projects$Locations$Gateways$Create, - callback: BodyResponseCallback - ): void; - create(callback: BodyResponseCallback): void; - create( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Gateways$Create - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Gateways$Create; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Gateways$Create; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1beta1/{+parent}/gateways').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 single Gateway. - * - * @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$Gateways$Delete, - options: StreamMethodOptions - ): GaxiosPromise; - delete( - params?: Params$Resource$Projects$Locations$Gateways$Delete, - options?: MethodOptions - ): GaxiosPromise; - delete( - params: Params$Resource$Projects$Locations$Gateways$Delete, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - delete( - params: Params$Resource$Projects$Locations$Gateways$Delete, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - delete( - params: Params$Resource$Projects$Locations$Gateways$Delete, - callback: BodyResponseCallback - ): void; - delete(callback: BodyResponseCallback): void; - delete( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Gateways$Delete - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Gateways$Delete; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Gateways$Delete; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1beta1/{+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 details of a single Gateway. - * - * @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$Gateways$Get, - options: StreamMethodOptions - ): GaxiosPromise; - get( - params?: Params$Resource$Projects$Locations$Gateways$Get, - options?: MethodOptions - ): GaxiosPromise; - get( - params: Params$Resource$Projects$Locations$Gateways$Get, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - get( - params: Params$Resource$Projects$Locations$Gateways$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - get( - params: Params$Resource$Projects$Locations$Gateways$Get, - callback: BodyResponseCallback - ): void; - get(callback: BodyResponseCallback): void; - get( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Gateways$Get - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Gateways$Get; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Gateways$Get; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1beta1/{+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); - } - } - - /** - * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. - * - * @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. - */ - getIamPolicy( - params: Params$Resource$Projects$Locations$Gateways$Getiampolicy, - options: StreamMethodOptions - ): GaxiosPromise; - getIamPolicy( - params?: Params$Resource$Projects$Locations$Gateways$Getiampolicy, - options?: MethodOptions - ): GaxiosPromise; - getIamPolicy( - params: Params$Resource$Projects$Locations$Gateways$Getiampolicy, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - getIamPolicy( - params: Params$Resource$Projects$Locations$Gateways$Getiampolicy, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - getIamPolicy( - params: Params$Resource$Projects$Locations$Gateways$Getiampolicy, - callback: BodyResponseCallback - ): void; - getIamPolicy(callback: BodyResponseCallback): void; - getIamPolicy( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Gateways$Getiampolicy - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Gateways$Getiampolicy; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Gateways$Getiampolicy; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', - apiVersion: '', - }, - options - ), - params, - requiredParams: ['resource'], - pathParams: ['resource'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - - /** - * Lists Gateways in a given project and location. - * - * @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$Gateways$List, - options: StreamMethodOptions - ): GaxiosPromise; - list( - params?: Params$Resource$Projects$Locations$Gateways$List, - options?: MethodOptions - ): GaxiosPromise; - list( - params: Params$Resource$Projects$Locations$Gateways$List, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Gateways$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Gateways$List, - callback: BodyResponseCallback - ): void; - list(callback: BodyResponseCallback): void; - list( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Gateways$List - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): - | void - | GaxiosPromise - | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Gateways$List; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Gateways$List; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1beta1/{+parent}/gateways').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 the parameters of a single Gateway. - * - * @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$Gateways$Patch, - options: StreamMethodOptions - ): GaxiosPromise; - patch( - params?: Params$Resource$Projects$Locations$Gateways$Patch, - options?: MethodOptions - ): GaxiosPromise; - patch( - params: Params$Resource$Projects$Locations$Gateways$Patch, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - patch( - params: Params$Resource$Projects$Locations$Gateways$Patch, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - patch( - params: Params$Resource$Projects$Locations$Gateways$Patch, - callback: BodyResponseCallback - ): void; - patch(callback: BodyResponseCallback): void; - patch( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Gateways$Patch - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Gateways$Patch; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Gateways$Patch; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1beta1/{+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); - } - } - - /** - * Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. - * - * @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. - */ - setIamPolicy( - params: Params$Resource$Projects$Locations$Gateways$Setiampolicy, - options: StreamMethodOptions - ): GaxiosPromise; - setIamPolicy( - params?: Params$Resource$Projects$Locations$Gateways$Setiampolicy, - options?: MethodOptions - ): GaxiosPromise; - setIamPolicy( - params: Params$Resource$Projects$Locations$Gateways$Setiampolicy, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - setIamPolicy( - params: Params$Resource$Projects$Locations$Gateways$Setiampolicy, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - setIamPolicy( - params: Params$Resource$Projects$Locations$Gateways$Setiampolicy, - callback: BodyResponseCallback - ): void; - setIamPolicy(callback: BodyResponseCallback): void; - setIamPolicy( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Gateways$Setiampolicy - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Gateways$Setiampolicy; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Gateways$Setiampolicy; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', - apiVersion: '', - }, - options - ), - params, - requiredParams: ['resource'], - pathParams: ['resource'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - - /** - * Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. - * - * @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. - */ - testIamPermissions( - params: Params$Resource$Projects$Locations$Gateways$Testiampermissions, - options: StreamMethodOptions - ): GaxiosPromise; - testIamPermissions( - params?: Params$Resource$Projects$Locations$Gateways$Testiampermissions, - options?: MethodOptions - ): GaxiosPromise; - testIamPermissions( - params: Params$Resource$Projects$Locations$Gateways$Testiampermissions, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - testIamPermissions( - params: Params$Resource$Projects$Locations$Gateways$Testiampermissions, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - testIamPermissions( - params: Params$Resource$Projects$Locations$Gateways$Testiampermissions, - callback: BodyResponseCallback - ): void; - testIamPermissions( - callback: BodyResponseCallback - ): void; - testIamPermissions( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Gateways$Testiampermissions - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): - | void - | GaxiosPromise - | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Gateways$Testiampermissions; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Gateways$Testiampermissions; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', - apiVersion: '', - }, - options - ), - params, - requiredParams: ['resource'], - pathParams: ['resource'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - } - - export interface Params$Resource$Projects$Locations$Gateways$Create - extends StandardParameters { - /** - * Required. Short name of the Gateway resource to be created. - */ - gatewayId?: string; - /** - * Required. The parent resource of the Gateway. Must be in the format `projects/x/locations/x`. - */ - parent?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$Gateway; - } - export interface Params$Resource$Projects$Locations$Gateways$Delete - extends StandardParameters { - /** - * Required. A name of the Gateway to delete. Must be in the format `projects/x/locations/x/gateways/x`. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Gateways$Get - extends StandardParameters { - /** - * Required. A name of the Gateway to get. Must be in the format `projects/x/locations/x/gateways/x`. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Gateways$Getiampolicy - extends StandardParameters { - /** - * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). - */ - 'options.requestedPolicyVersion'?: number; - /** - * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - } - export interface Params$Resource$Projects$Locations$Gateways$List - extends StandardParameters { - /** - * Maximum number of Gateways to return per call. - */ - pageSize?: number; - /** - * The value returned by the last `ListGatewaysResponse` Indicates that this is a continuation of a prior `ListGateways` call, and that the system should return the next page of data. - */ - pageToken?: string; - /** - * Required. The project and location from which the Gateways should be listed, specified in the format `projects/x/locations/x`. - */ - parent?: string; - } - export interface Params$Resource$Projects$Locations$Gateways$Patch - extends StandardParameters { - /** - * Required. Name of the Gateway resource. It matches pattern `projects/x/locations/x/gateways/`. - */ - name?: string; - /** - * Optional. Field mask is used to specify the fields to be overwritten in the Gateway resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. - */ - updateMask?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$Gateway; - } - export interface Params$Resource$Projects$Locations$Gateways$Setiampolicy - extends StandardParameters { - /** - * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$SetIamPolicyRequest; - } - export interface Params$Resource$Projects$Locations$Gateways$Testiampermissions - extends StandardParameters { - /** - * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$TestIamPermissionsRequest; - } - - export class Resource$Projects$Locations$Grpcroutes { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } - - /** - * Creates a new GrpcRoute in a given project and location. - * - * @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$Grpcroutes$Create, - options: StreamMethodOptions - ): GaxiosPromise; - create( - params?: Params$Resource$Projects$Locations$Grpcroutes$Create, - options?: MethodOptions - ): GaxiosPromise; - create( - params: Params$Resource$Projects$Locations$Grpcroutes$Create, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - create( - params: Params$Resource$Projects$Locations$Grpcroutes$Create, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - create( - params: Params$Resource$Projects$Locations$Grpcroutes$Create, - callback: BodyResponseCallback - ): void; - create(callback: BodyResponseCallback): void; - create( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Grpcroutes$Create - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Grpcroutes$Create; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Grpcroutes$Create; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1beta1/{+parent}/grpcRoutes').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 single GrpcRoute. - * - * @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$Grpcroutes$Delete, - options: StreamMethodOptions - ): GaxiosPromise; - delete( - params?: Params$Resource$Projects$Locations$Grpcroutes$Delete, - options?: MethodOptions - ): GaxiosPromise; - delete( - params: Params$Resource$Projects$Locations$Grpcroutes$Delete, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - delete( - params: Params$Resource$Projects$Locations$Grpcroutes$Delete, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - delete( - params: Params$Resource$Projects$Locations$Grpcroutes$Delete, - callback: BodyResponseCallback - ): void; - delete(callback: BodyResponseCallback): void; - delete( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Grpcroutes$Delete - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Grpcroutes$Delete; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Grpcroutes$Delete; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1beta1/{+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 details of a single GrpcRoute. - * - * @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$Grpcroutes$Get, - options: StreamMethodOptions - ): GaxiosPromise; - get( - params?: Params$Resource$Projects$Locations$Grpcroutes$Get, - options?: MethodOptions - ): GaxiosPromise; - get( - params: Params$Resource$Projects$Locations$Grpcroutes$Get, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - get( - params: Params$Resource$Projects$Locations$Grpcroutes$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - get( - params: Params$Resource$Projects$Locations$Grpcroutes$Get, - callback: BodyResponseCallback - ): void; - get(callback: BodyResponseCallback): void; - get( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Grpcroutes$Get - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Grpcroutes$Get; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Grpcroutes$Get; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1beta1/{+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 GrpcRoutes in a given project and location. - * - * @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$Grpcroutes$List, - options: StreamMethodOptions - ): GaxiosPromise; - list( - params?: Params$Resource$Projects$Locations$Grpcroutes$List, - options?: MethodOptions - ): GaxiosPromise; - list( - params: Params$Resource$Projects$Locations$Grpcroutes$List, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Grpcroutes$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Grpcroutes$List, - callback: BodyResponseCallback - ): void; - list(callback: BodyResponseCallback): void; - list( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Grpcroutes$List - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): - | void - | GaxiosPromise - | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Grpcroutes$List; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Grpcroutes$List; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1beta1/{+parent}/grpcRoutes').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 the parameters of a single GrpcRoute. - * - * @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$Grpcroutes$Patch, - options: StreamMethodOptions - ): GaxiosPromise; - patch( - params?: Params$Resource$Projects$Locations$Grpcroutes$Patch, - options?: MethodOptions - ): GaxiosPromise; - patch( - params: Params$Resource$Projects$Locations$Grpcroutes$Patch, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - patch( - params: Params$Resource$Projects$Locations$Grpcroutes$Patch, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - patch( - params: Params$Resource$Projects$Locations$Grpcroutes$Patch, - callback: BodyResponseCallback - ): void; - patch(callback: BodyResponseCallback): void; - patch( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Grpcroutes$Patch - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Grpcroutes$Patch; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Grpcroutes$Patch; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1beta1/{+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$Grpcroutes$Create - extends StandardParameters { - /** - * Required. Short name of the GrpcRoute resource to be created. - */ - grpcRouteId?: string; - /** - * Required. The parent resource of the GrpcRoute. Must be in the format `projects/x/locations/global`. - */ - parent?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$GrpcRoute; - } - export interface Params$Resource$Projects$Locations$Grpcroutes$Delete - extends StandardParameters { - /** - * Required. A name of the GrpcRoute to delete. Must be in the format `projects/x/locations/global/grpcRoutes/x`. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Grpcroutes$Get - extends StandardParameters { - /** - * Required. A name of the GrpcRoute to get. Must be in the format `projects/x/locations/global/grpcRoutes/x`. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Grpcroutes$List - extends StandardParameters { - /** - * Maximum number of GrpcRoutes to return per call. - */ - pageSize?: number; - /** - * The value returned by the last `ListGrpcRoutesResponse` Indicates that this is a continuation of a prior `ListGrpcRoutes` call, and that the system should return the next page of data. - */ - pageToken?: string; - /** - * Required. The project and location from which the GrpcRoutes should be listed, specified in the format `projects/x/locations/global`. - */ - parent?: string; - } - export interface Params$Resource$Projects$Locations$Grpcroutes$Patch - extends StandardParameters { - /** - * Required. Name of the GrpcRoute resource. It matches pattern `projects/x/locations/global/grpcRoutes/` - */ - name?: string; - /** - * Optional. Field mask is used to specify the fields to be overwritten in the GrpcRoute resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. - */ - updateMask?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$GrpcRoute; - } - - export class Resource$Projects$Locations$Httproutes { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } - - /** - * Creates a new HttpRoute in a given project and location. - * - * @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$Httproutes$Create, - options: StreamMethodOptions - ): GaxiosPromise; - create( - params?: Params$Resource$Projects$Locations$Httproutes$Create, - options?: MethodOptions - ): GaxiosPromise; - create( - params: Params$Resource$Projects$Locations$Httproutes$Create, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - create( - params: Params$Resource$Projects$Locations$Httproutes$Create, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - create( - params: Params$Resource$Projects$Locations$Httproutes$Create, - callback: BodyResponseCallback - ): void; - create(callback: BodyResponseCallback): void; - create( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Httproutes$Create - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Httproutes$Create; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Httproutes$Create; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkservices.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1beta1/{+parent}/httpRoutes').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 single HttpRoute. - * - * @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$Httproutes$Delete, - options: StreamMethodOptions - ): GaxiosPromise; - delete( - params?: Params$Resource$Projects$Locations$Httproutes$Delete, - options?: MethodOptions - ): GaxiosPromise; - delete( - params: Params$Resource$Projects$Locations$Httproutes$Delete, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - delete( - params: Params$Resource$Projects$Locations$Httproutes$Delete, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - delete( - params: Params$Resource$Projects$Locations$Httproutes$Delete, - callback: BodyResponseCallback - ): void; - delete(callback: BodyResponseCallback): void; - delete( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Httproutes$Delete - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Httproutes$Delete; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Httproutes$Delete; + params = {} as Params$Resource$Projects$Locations$Gateways$Delete; options = {}; } @@ -4396,7 +2754,7 @@ export namespace networkservices_v1beta1 { } /** - * Gets details of a single HttpRoute. + * Gets details of a single Gateway. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -4404,49 +2762,49 @@ export namespace networkservices_v1beta1 { * @returns A promise if used with async/await, or void if used with a callback. */ get( - params: Params$Resource$Projects$Locations$Httproutes$Get, + params: Params$Resource$Projects$Locations$Gateways$Get, options: StreamMethodOptions ): GaxiosPromise; get( - params?: Params$Resource$Projects$Locations$Httproutes$Get, + params?: Params$Resource$Projects$Locations$Gateways$Get, options?: MethodOptions - ): GaxiosPromise; + ): GaxiosPromise; get( - params: Params$Resource$Projects$Locations$Httproutes$Get, + params: Params$Resource$Projects$Locations$Gateways$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; get( - params: Params$Resource$Projects$Locations$Httproutes$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Gateways$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; get( - params: Params$Resource$Projects$Locations$Httproutes$Get, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Gateways$Get, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; + get(callback: BodyResponseCallback): void; get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Httproutes$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Gateways$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Httproutes$Get; + {}) as Params$Resource$Projects$Locations$Gateways$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Httproutes$Get; + params = {} as Params$Resource$Projects$Locations$Gateways$Get; options = {}; } @@ -4472,17 +2830,17 @@ export namespace networkservices_v1beta1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Lists HttpRoute in a given project and location. + * Lists Gateways in a given project and location. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -4490,54 +2848,54 @@ export namespace networkservices_v1beta1 { * @returns A promise if used with async/await, or void if used with a callback. */ list( - params: Params$Resource$Projects$Locations$Httproutes$List, + params: Params$Resource$Projects$Locations$Gateways$List, options: StreamMethodOptions ): GaxiosPromise; list( - params?: Params$Resource$Projects$Locations$Httproutes$List, + params?: Params$Resource$Projects$Locations$Gateways$List, options?: MethodOptions - ): GaxiosPromise; + ): GaxiosPromise; list( - params: Params$Resource$Projects$Locations$Httproutes$List, + params: Params$Resource$Projects$Locations$Gateways$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$Httproutes$List, + params: Params$Resource$Projects$Locations$Gateways$List, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$Httproutes$List, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Gateways$List, + callback: BodyResponseCallback ): void; - list(callback: BodyResponseCallback): void; + list(callback: BodyResponseCallback): void; list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Httproutes$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Gateways$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | GaxiosPromise + | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Httproutes$List; + {}) as Params$Resource$Projects$Locations$Gateways$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Httproutes$List; + params = {} as Params$Resource$Projects$Locations$Gateways$List; options = {}; } @@ -4551,7 +2909,7 @@ export namespace networkservices_v1beta1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1beta1/{+parent}/httpRoutes').replace( + url: (rootUrl + '/v1beta1/{+parent}/gateways').replace( /([^:]\/)\/+/g, '$1' ), @@ -4566,17 +2924,17 @@ export namespace networkservices_v1beta1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Updates the parameters of a single HttpRoute. + * Updates the parameters of a single Gateway. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -4584,31 +2942,31 @@ export namespace networkservices_v1beta1 { * @returns A promise if used with async/await, or void if used with a callback. */ patch( - params: Params$Resource$Projects$Locations$Httproutes$Patch, + params: Params$Resource$Projects$Locations$Gateways$Patch, options: StreamMethodOptions ): GaxiosPromise; patch( - params?: Params$Resource$Projects$Locations$Httproutes$Patch, + params?: Params$Resource$Projects$Locations$Gateways$Patch, options?: MethodOptions ): GaxiosPromise; patch( - params: Params$Resource$Projects$Locations$Httproutes$Patch, + params: Params$Resource$Projects$Locations$Gateways$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; patch( - params: Params$Resource$Projects$Locations$Httproutes$Patch, + params: Params$Resource$Projects$Locations$Gateways$Patch, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; patch( - params: Params$Resource$Projects$Locations$Httproutes$Patch, + params: Params$Resource$Projects$Locations$Gateways$Patch, callback: BodyResponseCallback ): void; patch(callback: BodyResponseCallback): void; patch( paramsOrCallback?: - | Params$Resource$Projects$Locations$Httproutes$Patch + | Params$Resource$Projects$Locations$Gateways$Patch | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -4621,12 +2979,12 @@ export namespace networkservices_v1beta1 { | BodyResponseCallback ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Httproutes$Patch; + {}) as Params$Resource$Projects$Locations$Gateways$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Httproutes$Patch; + params = {} as Params$Resource$Projects$Locations$Gateways$Patch; options = {}; } @@ -4662,76 +3020,76 @@ export namespace networkservices_v1beta1 { } } - export interface Params$Resource$Projects$Locations$Httproutes$Create + export interface Params$Resource$Projects$Locations$Gateways$Create extends StandardParameters { /** - * Required. Short name of the HttpRoute resource to be created. + * Required. Short name of the Gateway resource to be created. */ - httpRouteId?: string; + gatewayId?: string; /** - * Required. The parent resource of the HttpRoute. Must be in the format `projects/x/locations/global`. + * Required. The parent resource of the Gateway. Must be in the format `projects/x/locations/x`. */ parent?: string; /** * Request body metadata */ - requestBody?: Schema$HttpRoute; + requestBody?: Schema$Gateway; } - export interface Params$Resource$Projects$Locations$Httproutes$Delete + export interface Params$Resource$Projects$Locations$Gateways$Delete extends StandardParameters { /** - * Required. A name of the HttpRoute to delete. Must be in the format `projects/x/locations/global/httpRoutes/x`. + * Required. A name of the Gateway to delete. Must be in the format `projects/x/locations/x/gateways/x`. */ name?: string; } - export interface Params$Resource$Projects$Locations$Httproutes$Get + export interface Params$Resource$Projects$Locations$Gateways$Get extends StandardParameters { /** - * Required. A name of the HttpRoute to get. Must be in the format `projects/x/locations/global/httpRoutes/x`. + * Required. A name of the Gateway to get. Must be in the format `projects/x/locations/x/gateways/x`. */ name?: string; } - export interface Params$Resource$Projects$Locations$Httproutes$List + export interface Params$Resource$Projects$Locations$Gateways$List extends StandardParameters { /** - * Maximum number of HttpRoutes to return per call. + * Maximum number of Gateways to return per call. */ pageSize?: number; /** - * The value returned by the last `ListHttpRoutesResponse` Indicates that this is a continuation of a prior `ListHttpRoutes` call, and that the system should return the next page of data. + * The value returned by the last `ListGatewaysResponse` Indicates that this is a continuation of a prior `ListGateways` call, and that the system should return the next page of data. */ pageToken?: string; /** - * Required. The project and location from which the HttpRoutes should be listed, specified in the format `projects/x/locations/global`. + * Required. The project and location from which the Gateways should be listed, specified in the format `projects/x/locations/x`. */ parent?: string; } - export interface Params$Resource$Projects$Locations$Httproutes$Patch + export interface Params$Resource$Projects$Locations$Gateways$Patch extends StandardParameters { /** - * Required. Name of the HttpRoute resource. It matches pattern `projects/x/locations/global/httpRoutes/http_route_name\>`. + * Required. Name of the Gateway resource. It matches pattern `projects/x/locations/x/gateways/`. */ name?: string; /** - * Optional. Field mask is used to specify the fields to be overwritten in the HttpRoute resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + * Optional. Field mask is used to specify the fields to be overwritten in the Gateway resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. */ updateMask?: string; /** * Request body metadata */ - requestBody?: Schema$HttpRoute; + requestBody?: Schema$Gateway; } - export class Resource$Projects$Locations$Lbrouteextensions { + export class Resource$Projects$Locations$Grpcroutes { context: APIRequestContext; constructor(context: APIRequestContext) { this.context = context; } /** - * Creates a new `LbRouteExtension` resource in a given project and location. + * Creates a new GrpcRoute in a given project and location. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -4739,31 +3097,31 @@ export namespace networkservices_v1beta1 { * @returns A promise if used with async/await, or void if used with a callback. */ create( - params: Params$Resource$Projects$Locations$Lbrouteextensions$Create, + params: Params$Resource$Projects$Locations$Grpcroutes$Create, options: StreamMethodOptions ): GaxiosPromise; create( - params?: Params$Resource$Projects$Locations$Lbrouteextensions$Create, + params?: Params$Resource$Projects$Locations$Grpcroutes$Create, options?: MethodOptions ): GaxiosPromise; create( - params: Params$Resource$Projects$Locations$Lbrouteextensions$Create, + params: Params$Resource$Projects$Locations$Grpcroutes$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; create( - params: Params$Resource$Projects$Locations$Lbrouteextensions$Create, + params: Params$Resource$Projects$Locations$Grpcroutes$Create, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; create( - params: Params$Resource$Projects$Locations$Lbrouteextensions$Create, + params: Params$Resource$Projects$Locations$Grpcroutes$Create, callback: BodyResponseCallback ): void; create(callback: BodyResponseCallback): void; create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Lbrouteextensions$Create + | Params$Resource$Projects$Locations$Grpcroutes$Create | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -4776,13 +3134,12 @@ export namespace networkservices_v1beta1 { | BodyResponseCallback ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Lbrouteextensions$Create; + {}) as Params$Resource$Projects$Locations$Grpcroutes$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Lbrouteextensions$Create; + params = {} as Params$Resource$Projects$Locations$Grpcroutes$Create; options = {}; } @@ -4796,7 +3153,7 @@ export namespace networkservices_v1beta1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1beta1/{+parent}/lbRouteExtensions').replace( + url: (rootUrl + '/v1beta1/{+parent}/grpcRoutes').replace( /([^:]\/)\/+/g, '$1' ), @@ -4821,7 +3178,7 @@ export namespace networkservices_v1beta1 { } /** - * Deletes the specified `LbRouteExtension` resource. + * Deletes a single GrpcRoute. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -4829,31 +3186,31 @@ export namespace networkservices_v1beta1 { * @returns A promise if used with async/await, or void if used with a callback. */ delete( - params: Params$Resource$Projects$Locations$Lbrouteextensions$Delete, + params: Params$Resource$Projects$Locations$Grpcroutes$Delete, options: StreamMethodOptions ): GaxiosPromise; delete( - params?: Params$Resource$Projects$Locations$Lbrouteextensions$Delete, + params?: Params$Resource$Projects$Locations$Grpcroutes$Delete, options?: MethodOptions ): GaxiosPromise; delete( - params: Params$Resource$Projects$Locations$Lbrouteextensions$Delete, + params: Params$Resource$Projects$Locations$Grpcroutes$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; delete( - params: Params$Resource$Projects$Locations$Lbrouteextensions$Delete, + params: Params$Resource$Projects$Locations$Grpcroutes$Delete, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; delete( - params: Params$Resource$Projects$Locations$Lbrouteextensions$Delete, + params: Params$Resource$Projects$Locations$Grpcroutes$Delete, callback: BodyResponseCallback ): void; delete(callback: BodyResponseCallback): void; delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Lbrouteextensions$Delete + | Params$Resource$Projects$Locations$Grpcroutes$Delete | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -4866,13 +3223,12 @@ export namespace networkservices_v1beta1 { | BodyResponseCallback ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Lbrouteextensions$Delete; + {}) as Params$Resource$Projects$Locations$Grpcroutes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Lbrouteextensions$Delete; + params = {} as Params$Resource$Projects$Locations$Grpcroutes$Delete; options = {}; } @@ -4908,7 +3264,7 @@ export namespace networkservices_v1beta1 { } /** - * Gets details of the specified `LbRouteExtension` resource. + * Gets details of a single GrpcRoute. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -4916,49 +3272,49 @@ export namespace networkservices_v1beta1 { * @returns A promise if used with async/await, or void if used with a callback. */ get( - params: Params$Resource$Projects$Locations$Lbrouteextensions$Get, + params: Params$Resource$Projects$Locations$Grpcroutes$Get, options: StreamMethodOptions ): GaxiosPromise; get( - params?: Params$Resource$Projects$Locations$Lbrouteextensions$Get, + params?: Params$Resource$Projects$Locations$Grpcroutes$Get, options?: MethodOptions - ): GaxiosPromise; + ): GaxiosPromise; get( - params: Params$Resource$Projects$Locations$Lbrouteextensions$Get, + params: Params$Resource$Projects$Locations$Grpcroutes$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; get( - params: Params$Resource$Projects$Locations$Lbrouteextensions$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Grpcroutes$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; get( - params: Params$Resource$Projects$Locations$Lbrouteextensions$Get, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Grpcroutes$Get, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; + get(callback: BodyResponseCallback): void; get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Lbrouteextensions$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Grpcroutes$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Lbrouteextensions$Get; + {}) as Params$Resource$Projects$Locations$Grpcroutes$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Lbrouteextensions$Get; + params = {} as Params$Resource$Projects$Locations$Grpcroutes$Get; options = {}; } @@ -4984,17 +3340,17 @@ export namespace networkservices_v1beta1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Lists `LbRouteExtension` resources in a given project and location. + * Lists GrpcRoutes in a given project and location. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -5002,57 +3358,54 @@ export namespace networkservices_v1beta1 { * @returns A promise if used with async/await, or void if used with a callback. */ list( - params: Params$Resource$Projects$Locations$Lbrouteextensions$List, + params: Params$Resource$Projects$Locations$Grpcroutes$List, options: StreamMethodOptions ): GaxiosPromise; list( - params?: Params$Resource$Projects$Locations$Lbrouteextensions$List, + params?: Params$Resource$Projects$Locations$Grpcroutes$List, options?: MethodOptions - ): GaxiosPromise; + ): GaxiosPromise; list( - params: Params$Resource$Projects$Locations$Lbrouteextensions$List, + params: Params$Resource$Projects$Locations$Grpcroutes$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$Lbrouteextensions$List, + params: Params$Resource$Projects$Locations$Grpcroutes$List, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Lbrouteextensions$List, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; list( - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Grpcroutes$List, + callback: BodyResponseCallback ): void; + list(callback: BodyResponseCallback): void; list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Lbrouteextensions$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Grpcroutes$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | GaxiosPromise + | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Lbrouteextensions$List; + {}) as Params$Resource$Projects$Locations$Grpcroutes$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Lbrouteextensions$List; + params = {} as Params$Resource$Projects$Locations$Grpcroutes$List; options = {}; } @@ -5066,7 +3419,7 @@ export namespace networkservices_v1beta1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1beta1/{+parent}/lbRouteExtensions').replace( + url: (rootUrl + '/v1beta1/{+parent}/grpcRoutes').replace( /([^:]\/)\/+/g, '$1' ), @@ -5081,19 +3434,17 @@ export namespace networkservices_v1beta1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( - parameters - ); + return createAPIRequest(parameters); } } /** - * Updates the parameters of the specified `LbRouteExtension` resource. + * Updates the parameters of a single GrpcRoute. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -5101,31 +3452,31 @@ export namespace networkservices_v1beta1 { * @returns A promise if used with async/await, or void if used with a callback. */ patch( - params: Params$Resource$Projects$Locations$Lbrouteextensions$Patch, + params: Params$Resource$Projects$Locations$Grpcroutes$Patch, options: StreamMethodOptions ): GaxiosPromise; patch( - params?: Params$Resource$Projects$Locations$Lbrouteextensions$Patch, + params?: Params$Resource$Projects$Locations$Grpcroutes$Patch, options?: MethodOptions ): GaxiosPromise; patch( - params: Params$Resource$Projects$Locations$Lbrouteextensions$Patch, + params: Params$Resource$Projects$Locations$Grpcroutes$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; patch( - params: Params$Resource$Projects$Locations$Lbrouteextensions$Patch, + params: Params$Resource$Projects$Locations$Grpcroutes$Patch, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; patch( - params: Params$Resource$Projects$Locations$Lbrouteextensions$Patch, + params: Params$Resource$Projects$Locations$Grpcroutes$Patch, callback: BodyResponseCallback ): void; patch(callback: BodyResponseCallback): void; patch( paramsOrCallback?: - | Params$Resource$Projects$Locations$Lbrouteextensions$Patch + | Params$Resource$Projects$Locations$Grpcroutes$Patch | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -5138,13 +3489,12 @@ export namespace networkservices_v1beta1 { | BodyResponseCallback ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Lbrouteextensions$Patch; + {}) as Params$Resource$Projects$Locations$Grpcroutes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Lbrouteextensions$Patch; + params = {} as Params$Resource$Projects$Locations$Grpcroutes$Patch; options = {}; } @@ -5180,147 +3530,301 @@ export namespace networkservices_v1beta1 { } } - export interface Params$Resource$Projects$Locations$Lbrouteextensions$Create + export interface Params$Resource$Projects$Locations$Grpcroutes$Create extends StandardParameters { /** - * Required. User-provided ID of the `LbRouteExtension` resource to be created. + * Required. Short name of the GrpcRoute resource to be created. */ - lbRouteExtensionId?: string; + grpcRouteId?: string; /** - * Required. The parent resource of the `LbRouteExtension` resource. Must be in the format `projects/{project\}/locations/{location\}`. + * Required. The parent resource of the GrpcRoute. Must be in the format `projects/x/locations/global`. */ parent?: string; - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; /** * Request body metadata */ - requestBody?: Schema$LbRouteExtension; + requestBody?: Schema$GrpcRoute; } - export interface Params$Resource$Projects$Locations$Lbrouteextensions$Delete + export interface Params$Resource$Projects$Locations$Grpcroutes$Delete extends StandardParameters { /** - * Required. The name of the `LbRouteExtension` resource to delete. Must be in the format `projects/{project\}/locations/{location\}/lbRouteExtensions/{lb_route_extension\}`. + * Required. A name of the GrpcRoute to delete. Must be in the format `projects/x/locations/global/grpcRoutes/x`. */ name?: string; - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; } - export interface Params$Resource$Projects$Locations$Lbrouteextensions$Get + export interface Params$Resource$Projects$Locations$Grpcroutes$Get extends StandardParameters { /** - * Required. A name of the `LbRouteExtension` resource to get. Must be in the format `projects/{project\}/locations/{location\}/lbRouteExtensions/{lb_route_extension\}`. + * Required. A name of the GrpcRoute to get. Must be in the format `projects/x/locations/global/grpcRoutes/x`. */ name?: string; } - export interface Params$Resource$Projects$Locations$Lbrouteextensions$List + export interface Params$Resource$Projects$Locations$Grpcroutes$List extends StandardParameters { /** - * Optional. Filtering results. - */ - filter?: string; - /** - * Optional. Hint for how to order the results. - */ - orderBy?: string; - /** - * Optional. Requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default. + * Maximum number of GrpcRoutes to return per call. */ pageSize?: number; /** - * Optional. A token identifying a page of results that the server returns. + * The value returned by the last `ListGrpcRoutesResponse` Indicates that this is a continuation of a prior `ListGrpcRoutes` call, and that the system should return the next page of data. */ pageToken?: string; /** - * Required. The project and location from which the `LbRouteExtension` resources are listed, specified in the following format: `projects/{project\}/locations/{location\}`. + * Required. The project and location from which the GrpcRoutes should be listed, specified in the format `projects/x/locations/global`. */ parent?: string; } - export interface Params$Resource$Projects$Locations$Lbrouteextensions$Patch + export interface Params$Resource$Projects$Locations$Grpcroutes$Patch extends StandardParameters { /** - * Required. Identifier. Name of the `LbRouteExtension` resource in the following format: `projects/{project\}/locations/{location\}/lbRouteExtensions/{lb_route_extension\}`. + * Required. Name of the GrpcRoute resource. It matches pattern `projects/x/locations/global/grpcRoutes/` */ name?: string; /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - /** - * Optional. Used to specify the fields to be overwritten in the `LbRouteExtension` resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not specify a mask, then all fields are overwritten. + * Optional. Field mask is used to specify the fields to be overwritten in the GrpcRoute resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. */ updateMask?: string; /** * Request body metadata */ - requestBody?: Schema$LbRouteExtension; + requestBody?: Schema$GrpcRoute; } - export class Resource$Projects$Locations$Lbtrafficextensions { + export class Resource$Projects$Locations$Httproutes { context: APIRequestContext; constructor(context: APIRequestContext) { this.context = context; } /** - * Creates a new `LbTrafficExtension` resource in a given project and location. + * Creates a new HttpRoute in a given project and location. + * + * @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$Httproutes$Create, + options: StreamMethodOptions + ): GaxiosPromise; + create( + params?: Params$Resource$Projects$Locations$Httproutes$Create, + options?: MethodOptions + ): GaxiosPromise; + create( + params: Params$Resource$Projects$Locations$Httproutes$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Httproutes$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Httproutes$Create, + callback: BodyResponseCallback + ): void; + create(callback: BodyResponseCallback): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Httproutes$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Httproutes$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Httproutes$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://networkservices.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta1/{+parent}/httpRoutes').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 single HttpRoute. + * + * @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$Httproutes$Delete, + options: StreamMethodOptions + ): GaxiosPromise; + delete( + params?: Params$Resource$Projects$Locations$Httproutes$Delete, + options?: MethodOptions + ): GaxiosPromise; + delete( + params: Params$Resource$Projects$Locations$Httproutes$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Httproutes$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Httproutes$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Httproutes$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Httproutes$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Httproutes$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://networkservices.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta1/{+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 details of a single HttpRoute. * * @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$Lbtrafficextensions$Create, + get( + params: Params$Resource$Projects$Locations$Httproutes$Get, options: StreamMethodOptions ): GaxiosPromise; - create( - params?: Params$Resource$Projects$Locations$Lbtrafficextensions$Create, + get( + params?: Params$Resource$Projects$Locations$Httproutes$Get, options?: MethodOptions - ): GaxiosPromise; - create( - params: Params$Resource$Projects$Locations$Lbtrafficextensions$Create, + ): GaxiosPromise; + get( + params: Params$Resource$Projects$Locations$Httproutes$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Lbtrafficextensions$Create, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Httproutes$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Lbtrafficextensions$Create, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Httproutes$Get, + callback: BodyResponseCallback ): void; - create(callback: BodyResponseCallback): void; - create( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Lbtrafficextensions$Create - | BodyResponseCallback + | Params$Resource$Projects$Locations$Httproutes$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Lbtrafficextensions$Create; + {}) as Params$Resource$Projects$Locations$Httproutes$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Lbtrafficextensions$Create; + params = {} as Params$Resource$Projects$Locations$Httproutes$Get; options = {}; } @@ -5334,83 +3838,84 @@ export namespace networkservices_v1beta1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1beta1/{+parent}/lbTrafficExtensions').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', 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); } } /** - * Deletes the specified `LbTrafficExtension` resource. + * Lists HttpRoute in a given project and location. * * @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$Lbtrafficextensions$Delete, + list( + params: Params$Resource$Projects$Locations$Httproutes$List, options: StreamMethodOptions ): GaxiosPromise; - delete( - params?: Params$Resource$Projects$Locations$Lbtrafficextensions$Delete, + list( + params?: Params$Resource$Projects$Locations$Httproutes$List, options?: MethodOptions - ): GaxiosPromise; - delete( - params: Params$Resource$Projects$Locations$Lbtrafficextensions$Delete, + ): GaxiosPromise; + list( + params: Params$Resource$Projects$Locations$Httproutes$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Lbtrafficextensions$Delete, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Httproutes$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Lbtrafficextensions$Delete, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Httproutes$List, + callback: BodyResponseCallback ): void; - delete(callback: BodyResponseCallback): void; - delete( + list(callback: BodyResponseCallback): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Lbtrafficextensions$Delete - | BodyResponseCallback + | Params$Resource$Projects$Locations$Httproutes$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | GaxiosPromise + | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Lbtrafficextensions$Delete; + {}) as Params$Resource$Projects$Locations$Httproutes$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Lbtrafficextensions$Delete; + params = {} as Params$Resource$Projects$Locations$Httproutes$List; options = {}; } @@ -5424,83 +3929,82 @@ export namespace networkservices_v1beta1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + url: (rootUrl + '/v1beta1/{+parent}/httpRoutes').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Gets details of the specified `LbTrafficExtension` resource. + * Updates the parameters of a single HttpRoute. * * @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$Lbtrafficextensions$Get, + patch( + params: Params$Resource$Projects$Locations$Httproutes$Patch, options: StreamMethodOptions ): GaxiosPromise; - get( - params?: Params$Resource$Projects$Locations$Lbtrafficextensions$Get, + patch( + params?: Params$Resource$Projects$Locations$Httproutes$Patch, options?: MethodOptions - ): GaxiosPromise; - get( - params: Params$Resource$Projects$Locations$Lbtrafficextensions$Get, + ): GaxiosPromise; + patch( + params: Params$Resource$Projects$Locations$Httproutes$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Lbtrafficextensions$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + patch( + params: Params$Resource$Projects$Locations$Httproutes$Patch, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Lbtrafficextensions$Get, - callback: BodyResponseCallback + patch( + params: Params$Resource$Projects$Locations$Httproutes$Patch, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; - get( + patch(callback: BodyResponseCallback): void; + patch( paramsOrCallback?: - | Params$Resource$Projects$Locations$Lbtrafficextensions$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Httproutes$Patch + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): - | void - | GaxiosPromise - | GaxiosPromise { + ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Lbtrafficextensions$Get; + {}) as Params$Resource$Projects$Locations$Httproutes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Lbtrafficextensions$Get; + params = {} as Params$Resource$Projects$Locations$Httproutes$Patch; options = {}; } @@ -5515,7 +4019,7 @@ export namespace networkservices_v1beta1 { options: Object.assign( { url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + method: 'PATCH', apiVersion: '', }, options @@ -5526,75 +4030,137 @@ export namespace networkservices_v1beta1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } + } + + export interface Params$Resource$Projects$Locations$Httproutes$Create + extends StandardParameters { + /** + * Required. Short name of the HttpRoute resource to be created. + */ + httpRouteId?: string; + /** + * Required. The parent resource of the HttpRoute. Must be in the format `projects/x/locations/global`. + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$HttpRoute; + } + export interface Params$Resource$Projects$Locations$Httproutes$Delete + extends StandardParameters { + /** + * Required. A name of the HttpRoute to delete. Must be in the format `projects/x/locations/global/httpRoutes/x`. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Httproutes$Get + extends StandardParameters { + /** + * Required. A name of the HttpRoute to get. Must be in the format `projects/x/locations/global/httpRoutes/x`. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Httproutes$List + extends StandardParameters { + /** + * Maximum number of HttpRoutes to return per call. + */ + pageSize?: number; + /** + * The value returned by the last `ListHttpRoutesResponse` Indicates that this is a continuation of a prior `ListHttpRoutes` call, and that the system should return the next page of data. + */ + pageToken?: string; + /** + * Required. The project and location from which the HttpRoutes should be listed, specified in the format `projects/x/locations/global`. + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Httproutes$Patch + extends StandardParameters { + /** + * Required. Name of the HttpRoute resource. It matches pattern `projects/x/locations/global/httpRoutes/http_route_name\>`. + */ + name?: string; + /** + * Optional. Field mask is used to specify the fields to be overwritten in the HttpRoute resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$HttpRoute; + } + + export class Resource$Projects$Locations$Lbrouteextensions { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } /** - * Lists `LbTrafficExtension` resources in a given project and location. + * Creates a new `LbRouteExtension` resource in a given project and location. * * @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$Lbtrafficextensions$List, + create( + params: Params$Resource$Projects$Locations$Lbrouteextensions$Create, options: StreamMethodOptions ): GaxiosPromise; - list( - params?: Params$Resource$Projects$Locations$Lbtrafficextensions$List, + create( + params?: Params$Resource$Projects$Locations$Lbrouteextensions$Create, options?: MethodOptions - ): GaxiosPromise; - list( - params: Params$Resource$Projects$Locations$Lbtrafficextensions$List, + ): GaxiosPromise; + create( + params: Params$Resource$Projects$Locations$Lbrouteextensions$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Lbtrafficextensions$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Lbtrafficextensions$List, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Lbrouteextensions$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Lbrouteextensions$Create, + callback: BodyResponseCallback ): void; - list( + create(callback: BodyResponseCallback): void; + create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Lbtrafficextensions$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Lbrouteextensions$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): - | void - | GaxiosPromise - | GaxiosPromise { + ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Lbtrafficextensions$List; + {}) as Params$Resource$Projects$Locations$Lbrouteextensions$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Lbtrafficextensions$List; + {} as Params$Resource$Projects$Locations$Lbrouteextensions$Create; options = {}; } @@ -5608,11 +4174,11 @@ export namespace networkservices_v1beta1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1beta1/{+parent}/lbTrafficExtensions').replace( + url: (rootUrl + '/v1beta1/{+parent}/lbRouteExtensions').replace( /([^:]\/)\/+/g, '$1' ), - method: 'GET', + method: 'POST', apiVersion: '', }, options @@ -5623,51 +4189,49 @@ export namespace networkservices_v1beta1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( - parameters - ); + return createAPIRequest(parameters); } } /** - * Updates the parameters of the specified `LbTrafficExtension` resource. + * Deletes the specified `LbRouteExtension` resource. * * @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$Lbtrafficextensions$Patch, + delete( + params: Params$Resource$Projects$Locations$Lbrouteextensions$Delete, options: StreamMethodOptions ): GaxiosPromise; - patch( - params?: Params$Resource$Projects$Locations$Lbtrafficextensions$Patch, + delete( + params?: Params$Resource$Projects$Locations$Lbrouteextensions$Delete, options?: MethodOptions ): GaxiosPromise; - patch( - params: Params$Resource$Projects$Locations$Lbtrafficextensions$Patch, + delete( + params: Params$Resource$Projects$Locations$Lbrouteextensions$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Lbtrafficextensions$Patch, + delete( + params: Params$Resource$Projects$Locations$Lbrouteextensions$Delete, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Lbtrafficextensions$Patch, + delete( + params: Params$Resource$Projects$Locations$Lbrouteextensions$Delete, callback: BodyResponseCallback ): void; - patch(callback: BodyResponseCallback): void; - patch( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Lbtrafficextensions$Patch + | Params$Resource$Projects$Locations$Lbrouteextensions$Delete | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -5680,13 +4244,13 @@ export namespace networkservices_v1beta1 { | BodyResponseCallback ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Lbtrafficextensions$Patch; + {}) as Params$Resource$Projects$Locations$Lbrouteextensions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Lbtrafficextensions$Patch; + {} as Params$Resource$Projects$Locations$Lbrouteextensions$Delete; options = {}; } @@ -5701,7 +4265,7 @@ export namespace networkservices_v1beta1 { options: Object.assign( { url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'PATCH', + method: 'DELETE', apiVersion: '', }, options @@ -5720,148 +4284,59 @@ export namespace networkservices_v1beta1 { return createAPIRequest(parameters); } } - } - - export interface Params$Resource$Projects$Locations$Lbtrafficextensions$Create - extends StandardParameters { - /** - * Required. User-provided ID of the `LbTrafficExtension` resource to be created. - */ - lbTrafficExtensionId?: string; - /** - * Required. The parent resource of the `LbTrafficExtension` resource. Must be in the format `projects/{project\}/locations/{location\}`. - */ - parent?: string; - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$LbTrafficExtension; - } - export interface Params$Resource$Projects$Locations$Lbtrafficextensions$Delete - extends StandardParameters { - /** - * Required. The name of the `LbTrafficExtension` resource to delete. Must be in the format `projects/{project\}/locations/{location\}/lbTrafficExtensions/{lb_traffic_extension\}`. - */ - name?: string; - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - } - export interface Params$Resource$Projects$Locations$Lbtrafficextensions$Get - extends StandardParameters { - /** - * Required. A name of the `LbTrafficExtension` resource to get. Must be in the format `projects/{project\}/locations/{location\}/lbTrafficExtensions/{lb_traffic_extension\}`. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Lbtrafficextensions$List - extends StandardParameters { - /** - * Optional. Filtering results. - */ - filter?: string; - /** - * Optional. Hint for how to order the results. - */ - orderBy?: string; - /** - * Optional. Requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default. - */ - pageSize?: number; - /** - * Optional. A token identifying a page of results that the server returns. - */ - pageToken?: string; - /** - * Required. The project and location from which the `LbTrafficExtension` resources are listed, specified in the following format: `projects/{project\}/locations/{location\}`. - */ - parent?: string; - } - export interface Params$Resource$Projects$Locations$Lbtrafficextensions$Patch - extends StandardParameters { - /** - * Required. Identifier. Name of the `LbTrafficExtension` resource in the following format: `projects/{project\}/locations/{location\}/lbTrafficExtensions/{lb_traffic_extension\}`. - */ - name?: string; - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - /** - * Optional. Used to specify the fields to be overwritten in the `LbTrafficExtension` resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not specify a mask, then all fields are overwritten. - */ - updateMask?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$LbTrafficExtension; - } - - export class Resource$Projects$Locations$Meshes { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } /** - * Creates a new Mesh in a given project and location. + * Gets details of the specified `LbRouteExtension` resource. * * @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$Meshes$Create, + get( + params: Params$Resource$Projects$Locations$Lbrouteextensions$Get, options: StreamMethodOptions ): GaxiosPromise; - create( - params?: Params$Resource$Projects$Locations$Meshes$Create, + get( + params?: Params$Resource$Projects$Locations$Lbrouteextensions$Get, options?: MethodOptions - ): GaxiosPromise; - create( - params: Params$Resource$Projects$Locations$Meshes$Create, + ): GaxiosPromise; + get( + params: Params$Resource$Projects$Locations$Lbrouteextensions$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Meshes$Create, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Lbrouteextensions$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Meshes$Create, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Lbrouteextensions$Get, + callback: BodyResponseCallback ): void; - create(callback: BodyResponseCallback): void; - create( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Meshes$Create - | BodyResponseCallback + | Params$Resource$Projects$Locations$Lbrouteextensions$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Meshes$Create; + {}) as Params$Resource$Projects$Locations$Lbrouteextensions$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Meshes$Create; + params = {} as Params$Resource$Projects$Locations$Lbrouteextensions$Get; options = {}; } @@ -5875,82 +4350,87 @@ export namespace networkservices_v1beta1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1beta1/{+parent}/meshes').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', 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); } } /** - * Deletes a single Mesh. + * Lists `LbRouteExtension` resources in a given project and location. * * @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$Meshes$Delete, + list( + params: Params$Resource$Projects$Locations$Lbrouteextensions$List, options: StreamMethodOptions ): GaxiosPromise; - delete( - params?: Params$Resource$Projects$Locations$Meshes$Delete, + list( + params?: Params$Resource$Projects$Locations$Lbrouteextensions$List, options?: MethodOptions - ): GaxiosPromise; - delete( - params: Params$Resource$Projects$Locations$Meshes$Delete, + ): GaxiosPromise; + list( + params: Params$Resource$Projects$Locations$Lbrouteextensions$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Meshes$Delete, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Lbrouteextensions$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Meshes$Delete, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Lbrouteextensions$List, + callback: BodyResponseCallback ): void; - delete(callback: BodyResponseCallback): void; - delete( + list( + callback: BodyResponseCallback + ): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Meshes$Delete - | BodyResponseCallback + | Params$Resource$Projects$Locations$Lbrouteextensions$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | GaxiosPromise + | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Meshes$Delete; + {}) as Params$Resource$Projects$Locations$Lbrouteextensions$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Meshes$Delete; + params = + {} as Params$Resource$Projects$Locations$Lbrouteextensions$List; options = {}; } @@ -5964,79 +4444,85 @@ export namespace networkservices_v1beta1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + url: (rootUrl + '/v1beta1/{+parent}/lbRouteExtensions').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } /** - * Gets details of a single Mesh. + * Updates the parameters of the specified `LbRouteExtension` resource. * * @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$Meshes$Get, + patch( + params: Params$Resource$Projects$Locations$Lbrouteextensions$Patch, options: StreamMethodOptions ): GaxiosPromise; - get( - params?: Params$Resource$Projects$Locations$Meshes$Get, + patch( + params?: Params$Resource$Projects$Locations$Lbrouteextensions$Patch, options?: MethodOptions - ): GaxiosPromise; - get( - params: Params$Resource$Projects$Locations$Meshes$Get, + ): GaxiosPromise; + patch( + params: Params$Resource$Projects$Locations$Lbrouteextensions$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Meshes$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + patch( + params: Params$Resource$Projects$Locations$Lbrouteextensions$Patch, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Meshes$Get, - callback: BodyResponseCallback + patch( + params: Params$Resource$Projects$Locations$Lbrouteextensions$Patch, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; - get( + patch(callback: BodyResponseCallback): void; + patch( paramsOrCallback?: - | Params$Resource$Projects$Locations$Meshes$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Lbrouteextensions$Patch + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Meshes$Get; + {}) as Params$Resource$Projects$Locations$Lbrouteextensions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Meshes$Get; + params = + {} as Params$Resource$Projects$Locations$Lbrouteextensions$Patch; options = {}; } @@ -6051,7 +4537,7 @@ export namespace networkservices_v1beta1 { options: Object.assign( { url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + method: 'PATCH', apiVersion: '', }, options @@ -6062,67 +4548,157 @@ export namespace networkservices_v1beta1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } + } + + export interface Params$Resource$Projects$Locations$Lbrouteextensions$Create + extends StandardParameters { + /** + * Required. User-provided ID of the `LbRouteExtension` resource to be created. + */ + lbRouteExtensionId?: string; + /** + * Required. The parent resource of the `LbRouteExtension` resource. Must be in the format `projects/{project\}/locations/{location\}`. + */ + parent?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$LbRouteExtension; + } + export interface Params$Resource$Projects$Locations$Lbrouteextensions$Delete + extends StandardParameters { + /** + * Required. The name of the `LbRouteExtension` resource to delete. Must be in the format `projects/{project\}/locations/{location\}/lbRouteExtensions/{lb_route_extension\}`. + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + } + export interface Params$Resource$Projects$Locations$Lbrouteextensions$Get + extends StandardParameters { + /** + * Required. A name of the `LbRouteExtension` resource to get. Must be in the format `projects/{project\}/locations/{location\}/lbRouteExtensions/{lb_route_extension\}`. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Lbrouteextensions$List + extends StandardParameters { + /** + * Optional. Filtering results. + */ + filter?: string; + /** + * Optional. Hint for how to order the results. + */ + orderBy?: string; + /** + * Optional. Requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default. + */ + pageSize?: number; + /** + * Optional. A token identifying a page of results that the server returns. + */ + pageToken?: string; + /** + * Required. The project and location from which the `LbRouteExtension` resources are listed, specified in the following format: `projects/{project\}/locations/{location\}`. + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Lbrouteextensions$Patch + extends StandardParameters { + /** + * Required. Identifier. Name of the `LbRouteExtension` resource in the following format: `projects/{project\}/locations/{location\}/lbRouteExtensions/{lb_route_extension\}`. + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Optional. Used to specify the fields to be overwritten in the `LbRouteExtension` resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not specify a mask, then all fields are overwritten. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$LbRouteExtension; + } + + export class Resource$Projects$Locations$Lbtrafficextensions { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } /** - * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. + * Creates a new `LbTrafficExtension` resource in a given project and location. * * @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. */ - getIamPolicy( - params: Params$Resource$Projects$Locations$Meshes$Getiampolicy, + create( + params: Params$Resource$Projects$Locations$Lbtrafficextensions$Create, options: StreamMethodOptions ): GaxiosPromise; - getIamPolicy( - params?: Params$Resource$Projects$Locations$Meshes$Getiampolicy, + create( + params?: Params$Resource$Projects$Locations$Lbtrafficextensions$Create, options?: MethodOptions - ): GaxiosPromise; - getIamPolicy( - params: Params$Resource$Projects$Locations$Meshes$Getiampolicy, + ): GaxiosPromise; + create( + params: Params$Resource$Projects$Locations$Lbtrafficextensions$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - getIamPolicy( - params: Params$Resource$Projects$Locations$Meshes$Getiampolicy, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Lbtrafficextensions$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - getIamPolicy( - params: Params$Resource$Projects$Locations$Meshes$Getiampolicy, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Lbtrafficextensions$Create, + callback: BodyResponseCallback ): void; - getIamPolicy(callback: BodyResponseCallback): void; - getIamPolicy( + create(callback: BodyResponseCallback): void; + create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Meshes$Getiampolicy - | BodyResponseCallback + | Params$Resource$Projects$Locations$Lbtrafficextensions$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Meshes$Getiampolicy; + {}) as Params$Resource$Projects$Locations$Lbtrafficextensions$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Meshes$Getiampolicy; + params = + {} as Params$Resource$Projects$Locations$Lbtrafficextensions$Create; options = {}; } @@ -6136,85 +4712,83 @@ export namespace networkservices_v1beta1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace( + url: (rootUrl + '/v1beta1/{+parent}/lbTrafficExtensions').replace( /([^:]\/)\/+/g, '$1' ), - method: 'GET', + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['resource'], - pathParams: ['resource'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Lists Meshes in a given project and location. + * Deletes the specified `LbTrafficExtension` resource. * * @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$Meshes$List, + delete( + params: Params$Resource$Projects$Locations$Lbtrafficextensions$Delete, options: StreamMethodOptions ): GaxiosPromise; - list( - params?: Params$Resource$Projects$Locations$Meshes$List, + delete( + params?: Params$Resource$Projects$Locations$Lbtrafficextensions$Delete, options?: MethodOptions - ): GaxiosPromise; - list( - params: Params$Resource$Projects$Locations$Meshes$List, + ): GaxiosPromise; + delete( + params: Params$Resource$Projects$Locations$Lbtrafficextensions$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Meshes$List, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Lbtrafficextensions$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Meshes$List, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Lbtrafficextensions$Delete, + callback: BodyResponseCallback ): void; - list(callback: BodyResponseCallback): void; - list( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Meshes$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Lbtrafficextensions$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): - | void - | GaxiosPromise - | GaxiosPromise { + ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Meshes$List; + {}) as Params$Resource$Projects$Locations$Lbtrafficextensions$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Meshes$List; + params = + {} as Params$Resource$Projects$Locations$Lbtrafficextensions$Delete; options = {}; } @@ -6228,82 +4802,83 @@ export namespace networkservices_v1beta1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1beta1/{+parent}/meshes').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', + url: (rootUrl + '/v1beta1/{+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 the parameters of a single Mesh. + * Gets details of the specified `LbTrafficExtension` resource. * * @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$Meshes$Patch, + get( + params: Params$Resource$Projects$Locations$Lbtrafficextensions$Get, options: StreamMethodOptions ): GaxiosPromise; - patch( - params?: Params$Resource$Projects$Locations$Meshes$Patch, + get( + params?: Params$Resource$Projects$Locations$Lbtrafficextensions$Get, options?: MethodOptions - ): GaxiosPromise; - patch( - params: Params$Resource$Projects$Locations$Meshes$Patch, + ): GaxiosPromise; + get( + params: Params$Resource$Projects$Locations$Lbtrafficextensions$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Meshes$Patch, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Lbtrafficextensions$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Meshes$Patch, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Lbtrafficextensions$Get, + callback: BodyResponseCallback ): void; - patch(callback: BodyResponseCallback): void; - patch( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Meshes$Patch - | BodyResponseCallback + | Params$Resource$Projects$Locations$Lbtrafficextensions$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | GaxiosPromise + | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Meshes$Patch; + {}) as Params$Resource$Projects$Locations$Lbtrafficextensions$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Meshes$Patch; + params = + {} as Params$Resource$Projects$Locations$Lbtrafficextensions$Get; options = {}; } @@ -6318,7 +4893,7 @@ export namespace networkservices_v1beta1 { options: Object.assign( { url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'PATCH', + method: 'GET', apiVersion: '', }, options @@ -6329,67 +4904,75 @@ export namespace networkservices_v1beta1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. + * Lists `LbTrafficExtension` resources in a given project and location. * * @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. */ - setIamPolicy( - params: Params$Resource$Projects$Locations$Meshes$Setiampolicy, + list( + params: Params$Resource$Projects$Locations$Lbtrafficextensions$List, options: StreamMethodOptions ): GaxiosPromise; - setIamPolicy( - params?: Params$Resource$Projects$Locations$Meshes$Setiampolicy, + list( + params?: Params$Resource$Projects$Locations$Lbtrafficextensions$List, options?: MethodOptions - ): GaxiosPromise; - setIamPolicy( - params: Params$Resource$Projects$Locations$Meshes$Setiampolicy, + ): GaxiosPromise; + list( + params: Params$Resource$Projects$Locations$Lbtrafficextensions$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - setIamPolicy( - params: Params$Resource$Projects$Locations$Meshes$Setiampolicy, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Lbtrafficextensions$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - setIamPolicy( - params: Params$Resource$Projects$Locations$Meshes$Setiampolicy, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Lbtrafficextensions$List, + callback: BodyResponseCallback ): void; - setIamPolicy(callback: BodyResponseCallback): void; - setIamPolicy( + list( + callback: BodyResponseCallback + ): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Meshes$Setiampolicy - | BodyResponseCallback + | Params$Resource$Projects$Locations$Lbtrafficextensions$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | GaxiosPromise + | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Meshes$Setiampolicy; + {}) as Params$Resource$Projects$Locations$Lbtrafficextensions$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Meshes$Setiampolicy; + params = + {} as Params$Resource$Projects$Locations$Lbtrafficextensions$List; options = {}; } @@ -6403,90 +4986,85 @@ export namespace networkservices_v1beta1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace( + url: (rootUrl + '/v1beta1/{+parent}/lbTrafficExtensions').replace( /([^:]\/)\/+/g, '$1' ), - method: 'POST', + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['resource'], - pathParams: ['resource'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } /** - * Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. + * Updates the parameters of the specified `LbTrafficExtension` resource. * * @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. */ - testIamPermissions( - params: Params$Resource$Projects$Locations$Meshes$Testiampermissions, + patch( + params: Params$Resource$Projects$Locations$Lbtrafficextensions$Patch, options: StreamMethodOptions ): GaxiosPromise; - testIamPermissions( - params?: Params$Resource$Projects$Locations$Meshes$Testiampermissions, + patch( + params?: Params$Resource$Projects$Locations$Lbtrafficextensions$Patch, options?: MethodOptions - ): GaxiosPromise; - testIamPermissions( - params: Params$Resource$Projects$Locations$Meshes$Testiampermissions, + ): GaxiosPromise; + patch( + params: Params$Resource$Projects$Locations$Lbtrafficextensions$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - testIamPermissions( - params: Params$Resource$Projects$Locations$Meshes$Testiampermissions, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - testIamPermissions( - params: Params$Resource$Projects$Locations$Meshes$Testiampermissions, - callback: BodyResponseCallback + patch( + params: Params$Resource$Projects$Locations$Lbtrafficextensions$Patch, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - testIamPermissions( - callback: BodyResponseCallback + patch( + params: Params$Resource$Projects$Locations$Lbtrafficextensions$Patch, + callback: BodyResponseCallback ): void; - testIamPermissions( + patch(callback: BodyResponseCallback): void; + patch( paramsOrCallback?: - | Params$Resource$Projects$Locations$Meshes$Testiampermissions - | BodyResponseCallback + | Params$Resource$Projects$Locations$Lbtrafficextensions$Patch + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): - | void - | GaxiosPromise - | GaxiosPromise { + ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Meshes$Testiampermissions; + {}) as Params$Resource$Projects$Locations$Lbtrafficextensions$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Meshes$Testiampermissions; + {} as Params$Resource$Projects$Locations$Lbtrafficextensions$Patch; options = {}; } @@ -6500,186 +5078,168 @@ export namespace networkservices_v1beta1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', apiVersion: '', }, options ), - params, - requiredParams: ['resource'], - pathParams: ['resource'], + params, + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } } - export interface Params$Resource$Projects$Locations$Meshes$Create + export interface Params$Resource$Projects$Locations$Lbtrafficextensions$Create extends StandardParameters { /** - * Required. Short name of the Mesh resource to be created. + * Required. User-provided ID of the `LbTrafficExtension` resource to be created. */ - meshId?: string; + lbTrafficExtensionId?: string; /** - * Required. The parent resource of the Mesh. Must be in the format `projects/x/locations/global`. + * Required. The parent resource of the `LbTrafficExtension` resource. Must be in the format `projects/{project\}/locations/{location\}`. */ parent?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; /** * Request body metadata */ - requestBody?: Schema$Mesh; + requestBody?: Schema$LbTrafficExtension; } - export interface Params$Resource$Projects$Locations$Meshes$Delete + export interface Params$Resource$Projects$Locations$Lbtrafficextensions$Delete extends StandardParameters { /** - * Required. A name of the Mesh to delete. Must be in the format `projects/x/locations/global/meshes/x`. + * Required. The name of the `LbTrafficExtension` resource to delete. Must be in the format `projects/{project\}/locations/{location\}/lbTrafficExtensions/{lb_traffic_extension\}`. */ name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; } - export interface Params$Resource$Projects$Locations$Meshes$Get + export interface Params$Resource$Projects$Locations$Lbtrafficextensions$Get extends StandardParameters { /** - * Required. A name of the Mesh to get. Must be in the format `projects/x/locations/global/meshes/x`. + * Required. A name of the `LbTrafficExtension` resource to get. Must be in the format `projects/{project\}/locations/{location\}/lbTrafficExtensions/{lb_traffic_extension\}`. */ name?: string; } - export interface Params$Resource$Projects$Locations$Meshes$Getiampolicy + export interface Params$Resource$Projects$Locations$Lbtrafficextensions$List extends StandardParameters { /** - * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + * Optional. Filtering results. */ - 'options.requestedPolicyVersion'?: number; + filter?: string; /** - * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + * Optional. Hint for how to order the results. */ - resource?: string; - } - export interface Params$Resource$Projects$Locations$Meshes$List - extends StandardParameters { + orderBy?: string; /** - * Maximum number of Meshes to return per call. + * Optional. Requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default. */ pageSize?: number; /** - * The value returned by the last `ListMeshesResponse` Indicates that this is a continuation of a prior `ListMeshes` call, and that the system should return the next page of data. + * Optional. A token identifying a page of results that the server returns. */ pageToken?: string; /** - * Required. The project and location from which the Meshes should be listed, specified in the format `projects/x/locations/global`. + * Required. The project and location from which the `LbTrafficExtension` resources are listed, specified in the following format: `projects/{project\}/locations/{location\}`. */ parent?: string; } - export interface Params$Resource$Projects$Locations$Meshes$Patch + export interface Params$Resource$Projects$Locations$Lbtrafficextensions$Patch extends StandardParameters { /** - * Required. Name of the Mesh resource. It matches pattern `projects/x/locations/global/meshes/`. + * Required. Identifier. Name of the `LbTrafficExtension` resource in the following format: `projects/{project\}/locations/{location\}/lbTrafficExtensions/{lb_traffic_extension\}`. */ name?: string; /** - * Optional. Field mask is used to specify the fields to be overwritten in the Mesh resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. - */ - updateMask?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$Mesh; - } - export interface Params$Resource$Projects$Locations$Meshes$Setiampolicy - extends StandardParameters { - /** - * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - - /** - * Request body metadata + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */ - requestBody?: Schema$SetIamPolicyRequest; - } - export interface Params$Resource$Projects$Locations$Meshes$Testiampermissions - extends StandardParameters { + requestId?: string; /** - * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + * Optional. Used to specify the fields to be overwritten in the `LbTrafficExtension` resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not specify a mask, then all fields are overwritten. */ - resource?: string; + updateMask?: string; /** * Request body metadata */ - requestBody?: Schema$TestIamPermissionsRequest; + requestBody?: Schema$LbTrafficExtension; } - export class Resource$Projects$Locations$Operations { + export class Resource$Projects$Locations$Meshes { context: APIRequestContext; constructor(context: APIRequestContext) { this.context = context; } /** - * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. + * Creates a new Mesh in a given project and location. * * @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. */ - cancel( - params: Params$Resource$Projects$Locations$Operations$Cancel, + create( + params: Params$Resource$Projects$Locations$Meshes$Create, options: StreamMethodOptions ): GaxiosPromise; - cancel( - params?: Params$Resource$Projects$Locations$Operations$Cancel, + create( + params?: Params$Resource$Projects$Locations$Meshes$Create, options?: MethodOptions - ): GaxiosPromise; - cancel( - params: Params$Resource$Projects$Locations$Operations$Cancel, + ): GaxiosPromise; + create( + params: Params$Resource$Projects$Locations$Meshes$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - cancel( - params: Params$Resource$Projects$Locations$Operations$Cancel, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Meshes$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - cancel( - params: Params$Resource$Projects$Locations$Operations$Cancel, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Meshes$Create, + callback: BodyResponseCallback ): void; - cancel(callback: BodyResponseCallback): void; - cancel( + create(callback: BodyResponseCallback): void; + create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Operations$Cancel - | BodyResponseCallback + | Params$Resource$Projects$Locations$Meshes$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Operations$Cancel; + {}) as Params$Resource$Projects$Locations$Meshes$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Operations$Cancel; + params = {} as Params$Resource$Projects$Locations$Meshes$Create; options = {}; } @@ -6693,7 +5253,7 @@ export namespace networkservices_v1beta1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1beta1/{+name}:cancel').replace( + url: (rootUrl + '/v1beta1/{+parent}/meshes').replace( /([^:]\/)\/+/g, '$1' ), @@ -6703,22 +5263,22 @@ export namespace networkservices_v1beta1 { options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. + * Deletes a single Mesh. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -6726,49 +5286,135 @@ export namespace networkservices_v1beta1 { * @returns A promise if used with async/await, or void if used with a callback. */ delete( - params: Params$Resource$Projects$Locations$Operations$Delete, + params: Params$Resource$Projects$Locations$Meshes$Delete, options: StreamMethodOptions ): GaxiosPromise; delete( - params?: Params$Resource$Projects$Locations$Operations$Delete, + params?: Params$Resource$Projects$Locations$Meshes$Delete, options?: MethodOptions - ): GaxiosPromise; + ): GaxiosPromise; delete( - params: Params$Resource$Projects$Locations$Operations$Delete, + params: Params$Resource$Projects$Locations$Meshes$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; delete( - params: Params$Resource$Projects$Locations$Operations$Delete, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Meshes$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; delete( - params: Params$Resource$Projects$Locations$Operations$Delete, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Meshes$Delete, + callback: BodyResponseCallback ): void; - delete(callback: BodyResponseCallback): void; + delete(callback: BodyResponseCallback): void; delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Operations$Delete - | BodyResponseCallback + | Params$Resource$Projects$Locations$Meshes$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Meshes$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Meshes$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://networkservices.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta1/{+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 details of a single Mesh. + * + * @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$Meshes$Get, + options: StreamMethodOptions + ): GaxiosPromise; + get( + params?: Params$Resource$Projects$Locations$Meshes$Get, + options?: MethodOptions + ): GaxiosPromise; + get( + params: Params$Resource$Projects$Locations$Meshes$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Meshes$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Meshes$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Meshes$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Operations$Delete; + {}) as Params$Resource$Projects$Locations$Meshes$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Operations$Delete; + params = {} as Params$Resource$Projects$Locations$Meshes$Get; options = {}; } @@ -6783,7 +5429,7 @@ export namespace networkservices_v1beta1 { options: Object.assign( { url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + method: 'GET', apiVersion: '', }, options @@ -6794,67 +5440,70 @@ export namespace networkservices_v1beta1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. + * Lists Meshes in a given project and location. * * @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$Operations$Get, + list( + params: Params$Resource$Projects$Locations$Meshes$List, options: StreamMethodOptions ): GaxiosPromise; - get( - params?: Params$Resource$Projects$Locations$Operations$Get, + list( + params?: Params$Resource$Projects$Locations$Meshes$List, options?: MethodOptions - ): GaxiosPromise; - get( - params: Params$Resource$Projects$Locations$Operations$Get, + ): GaxiosPromise; + list( + params: Params$Resource$Projects$Locations$Meshes$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Operations$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Meshes$List, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Operations$Get, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Meshes$List, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; - get( + list(callback: BodyResponseCallback): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Operations$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Meshes$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | GaxiosPromise + | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Operations$Get; + {}) as Params$Resource$Projects$Locations$Meshes$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Operations$Get; + params = {} as Params$Resource$Projects$Locations$Meshes$List; options = {}; } @@ -6868,84 +5517,82 @@ export namespace networkservices_v1beta1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + url: (rootUrl + '/v1beta1/{+parent}/meshes').replace( + /([^:]\/)\/+/g, + '$1' + ), method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. + * Updates the parameters of a single Mesh. * * @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$Operations$List, + patch( + params: Params$Resource$Projects$Locations$Meshes$Patch, options: StreamMethodOptions ): GaxiosPromise; - list( - params?: Params$Resource$Projects$Locations$Operations$List, + patch( + params?: Params$Resource$Projects$Locations$Meshes$Patch, options?: MethodOptions - ): GaxiosPromise; - list( - params: Params$Resource$Projects$Locations$Operations$List, + ): GaxiosPromise; + patch( + params: Params$Resource$Projects$Locations$Meshes$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Operations$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + patch( + params: Params$Resource$Projects$Locations$Meshes$Patch, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Operations$List, - callback: BodyResponseCallback + patch( + params: Params$Resource$Projects$Locations$Meshes$Patch, + callback: BodyResponseCallback ): void; - list(callback: BodyResponseCallback): void; - list( + patch(callback: BodyResponseCallback): void; + patch( paramsOrCallback?: - | Params$Resource$Projects$Locations$Operations$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Meshes$Patch + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): - | void - | GaxiosPromise - | GaxiosPromise { + ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Operations$List; + {}) as Params$Resource$Projects$Locations$Meshes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Operations$List; + params = {} as Params$Resource$Projects$Locations$Meshes$Patch; options = {}; } @@ -6959,11 +5606,8 @@ export namespace networkservices_v1beta1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1beta1/{+name}/operations').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', apiVersion: '', }, options @@ -6974,121 +5618,225 @@ export namespace networkservices_v1beta1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } } - export interface Params$Resource$Projects$Locations$Operations$Cancel + export interface Params$Resource$Projects$Locations$Meshes$Create extends StandardParameters { /** - * The name of the operation resource to be cancelled. + * Required. Short name of the Mesh resource to be created. */ - name?: string; + meshId?: string; + /** + * Required. The parent resource of the Mesh. Must be in the format `projects/x/locations/global`. + */ + parent?: string; /** * Request body metadata */ - requestBody?: Schema$CancelOperationRequest; + requestBody?: Schema$Mesh; } - export interface Params$Resource$Projects$Locations$Operations$Delete + export interface Params$Resource$Projects$Locations$Meshes$Delete extends StandardParameters { /** - * The name of the operation resource to be deleted. + * Required. A name of the Mesh to delete. Must be in the format `projects/x/locations/global/meshes/x`. */ name?: string; } - export interface Params$Resource$Projects$Locations$Operations$Get + export interface Params$Resource$Projects$Locations$Meshes$Get extends StandardParameters { /** - * The name of the operation resource. + * Required. A name of the Mesh to get. Must be in the format `projects/x/locations/global/meshes/x`. */ name?: string; } - export interface Params$Resource$Projects$Locations$Operations$List + export interface Params$Resource$Projects$Locations$Meshes$List extends StandardParameters { /** - * The standard list filter. + * Maximum number of Meshes to return per call. */ - filter?: string; + pageSize?: number; /** - * The name of the operation's parent resource. + * The value returned by the last `ListMeshesResponse` Indicates that this is a continuation of a prior `ListMeshes` call, and that the system should return the next page of data. + */ + pageToken?: string; + /** + * Required. The project and location from which the Meshes should be listed, specified in the format `projects/x/locations/global`. + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Meshes$Patch + extends StandardParameters { + /** + * Required. Name of the Mesh resource. It matches pattern `projects/x/locations/global/meshes/`. */ name?: string; /** - * The standard list page size. + * Optional. Field mask is used to specify the fields to be overwritten in the Mesh resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. */ - pageSize?: number; + updateMask?: string; + /** - * The standard list page token. + * Request body metadata */ - pageToken?: string; + requestBody?: Schema$Mesh; } - export class Resource$Projects$Locations$Servicebindings { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; + export class Resource$Projects$Locations$Operations { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. + * + * @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. + */ + cancel( + params: Params$Resource$Projects$Locations$Operations$Cancel, + options: StreamMethodOptions + ): GaxiosPromise; + cancel( + params?: Params$Resource$Projects$Locations$Operations$Cancel, + options?: MethodOptions + ): GaxiosPromise; + cancel( + params: Params$Resource$Projects$Locations$Operations$Cancel, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + cancel( + params: Params$Resource$Projects$Locations$Operations$Cancel, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + cancel( + params: Params$Resource$Projects$Locations$Operations$Cancel, + callback: BodyResponseCallback + ): void; + cancel(callback: BodyResponseCallback): void; + cancel( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Operations$Cancel + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Operations$Cancel; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Operations$Cancel; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://networkservices.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1beta1/{+name}:cancel').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } } /** - * Creates a new ServiceBinding in a given project and location. + * Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. * * @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$Servicebindings$Create, + delete( + params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions ): GaxiosPromise; - create( - params?: Params$Resource$Projects$Locations$Servicebindings$Create, + delete( + params?: Params$Resource$Projects$Locations$Operations$Delete, options?: MethodOptions - ): GaxiosPromise; - create( - params: Params$Resource$Projects$Locations$Servicebindings$Create, + ): GaxiosPromise; + delete( + params: Params$Resource$Projects$Locations$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Servicebindings$Create, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Operations$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Servicebindings$Create, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Operations$Delete, + callback: BodyResponseCallback ): void; - create(callback: BodyResponseCallback): void; - create( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Servicebindings$Create - | BodyResponseCallback + | Params$Resource$Projects$Locations$Operations$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Servicebindings$Create; + {}) as Params$Resource$Projects$Locations$Operations$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Servicebindings$Create; + params = {} as Params$Resource$Projects$Locations$Operations$Delete; options = {}; } @@ -7102,64 +5850,61 @@ export namespace networkservices_v1beta1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1beta1/{+parent}/serviceBindings').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', + url: (rootUrl + '/v1beta1/{+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); } } /** - * Deletes a single ServiceBinding. + * Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. * * @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$Servicebindings$Delete, + get( + params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions ): GaxiosPromise; - delete( - params?: Params$Resource$Projects$Locations$Servicebindings$Delete, + get( + params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions ): GaxiosPromise; - delete( - params: Params$Resource$Projects$Locations$Servicebindings$Delete, + get( + params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Servicebindings$Delete, + get( + params: Params$Resource$Projects$Locations$Operations$Get, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Servicebindings$Delete, + get( + params: Params$Resource$Projects$Locations$Operations$Get, callback: BodyResponseCallback ): void; - delete(callback: BodyResponseCallback): void; - delete( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Servicebindings$Delete + | Params$Resource$Projects$Locations$Operations$Get | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -7172,13 +5917,12 @@ export namespace networkservices_v1beta1 { | BodyResponseCallback ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Servicebindings$Delete; + {}) as Params$Resource$Projects$Locations$Operations$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Servicebindings$Delete; + params = {} as Params$Resource$Projects$Locations$Operations$Get; options = {}; } @@ -7193,7 +5937,7 @@ export namespace networkservices_v1beta1 { options: Object.assign( { url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + method: 'GET', apiVersion: '', }, options @@ -7214,57 +5958,62 @@ export namespace networkservices_v1beta1 { } /** - * Gets details of a single ServiceBinding. + * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. * * @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$Servicebindings$Get, + list( + params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions ): GaxiosPromise; - get( - params?: Params$Resource$Projects$Locations$Servicebindings$Get, + list( + params?: Params$Resource$Projects$Locations$Operations$List, options?: MethodOptions - ): GaxiosPromise; - get( - params: Params$Resource$Projects$Locations$Servicebindings$Get, + ): GaxiosPromise; + list( + params: Params$Resource$Projects$Locations$Operations$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Servicebindings$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Operations$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Servicebindings$Get, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Operations$List, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; - get( + list(callback: BodyResponseCallback): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Servicebindings$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Operations$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): + | void + | GaxiosPromise + | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Servicebindings$Get; + {}) as Params$Resource$Projects$Locations$Operations$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Servicebindings$Get; + params = {} as Params$Resource$Projects$Locations$Operations$List; options = {}; } @@ -7278,7 +6027,10 @@ export namespace networkservices_v1beta1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + url: (rootUrl + '/v1beta1/{+name}/operations').replace( + /([^:]\/)\/+/g, + '$1' + ), method: 'GET', apiVersion: '', }, @@ -7290,68 +6042,121 @@ export namespace networkservices_v1beta1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } + } + export interface Params$Resource$Projects$Locations$Operations$Cancel + extends StandardParameters { /** - * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. + * The name of the operation resource to be cancelled. + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$CancelOperationRequest; + } + export interface Params$Resource$Projects$Locations$Operations$Delete + extends StandardParameters { + /** + * The name of the operation resource to be deleted. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Operations$Get + extends StandardParameters { + /** + * The name of the operation resource. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Operations$List + extends StandardParameters { + /** + * The standard list filter. + */ + filter?: string; + /** + * The name of the operation's parent resource. + */ + name?: string; + /** + * The standard list page size. + */ + pageSize?: number; + /** + * The standard list page token. + */ + pageToken?: string; + } + + export class Resource$Projects$Locations$Servicebindings { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Creates a new ServiceBinding in a given project and location. * * @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. */ - getIamPolicy( - params: Params$Resource$Projects$Locations$Servicebindings$Getiampolicy, + create( + params: Params$Resource$Projects$Locations$Servicebindings$Create, options: StreamMethodOptions ): GaxiosPromise; - getIamPolicy( - params?: Params$Resource$Projects$Locations$Servicebindings$Getiampolicy, + create( + params?: Params$Resource$Projects$Locations$Servicebindings$Create, options?: MethodOptions - ): GaxiosPromise; - getIamPolicy( - params: Params$Resource$Projects$Locations$Servicebindings$Getiampolicy, + ): GaxiosPromise; + create( + params: Params$Resource$Projects$Locations$Servicebindings$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - getIamPolicy( - params: Params$Resource$Projects$Locations$Servicebindings$Getiampolicy, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Servicebindings$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - getIamPolicy( - params: Params$Resource$Projects$Locations$Servicebindings$Getiampolicy, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Servicebindings$Create, + callback: BodyResponseCallback ): void; - getIamPolicy(callback: BodyResponseCallback): void; - getIamPolicy( + create(callback: BodyResponseCallback): void; + create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Servicebindings$Getiampolicy - | BodyResponseCallback + | Params$Resource$Projects$Locations$Servicebindings$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Servicebindings$Getiampolicy; + {}) as Params$Resource$Projects$Locations$Servicebindings$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Servicebindings$Getiampolicy; + {} as Params$Resource$Projects$Locations$Servicebindings$Create; options = {}; } @@ -7365,89 +6170,83 @@ export namespace networkservices_v1beta1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace( + url: (rootUrl + '/v1beta1/{+parent}/serviceBindings').replace( /([^:]\/)\/+/g, '$1' ), - method: 'GET', + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['resource'], - pathParams: ['resource'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Lists ServiceBinding in a given project and location. + * Deletes a single ServiceBinding. * * @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$Servicebindings$List, + delete( + params: Params$Resource$Projects$Locations$Servicebindings$Delete, options: StreamMethodOptions ): GaxiosPromise; - list( - params?: Params$Resource$Projects$Locations$Servicebindings$List, + delete( + params?: Params$Resource$Projects$Locations$Servicebindings$Delete, options?: MethodOptions - ): GaxiosPromise; - list( - params: Params$Resource$Projects$Locations$Servicebindings$List, + ): GaxiosPromise; + delete( + params: Params$Resource$Projects$Locations$Servicebindings$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Servicebindings$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Servicebindings$List, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Servicebindings$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Servicebindings$Delete, + callback: BodyResponseCallback ): void; - list( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Servicebindings$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Servicebindings$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): - | void - | GaxiosPromise - | GaxiosPromise { + ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Servicebindings$List; + {}) as Params$Resource$Projects$Locations$Servicebindings$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Servicebindings$List; + params = + {} as Params$Resource$Projects$Locations$Servicebindings$Delete; options = {}; } @@ -7461,83 +6260,79 @@ export namespace networkservices_v1beta1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1beta1/{+parent}/serviceBindings').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', + url: (rootUrl + '/v1beta1/{+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); } } /** - * Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. + * Gets details of a single ServiceBinding. * * @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. */ - setIamPolicy( - params: Params$Resource$Projects$Locations$Servicebindings$Setiampolicy, + get( + params: Params$Resource$Projects$Locations$Servicebindings$Get, options: StreamMethodOptions ): GaxiosPromise; - setIamPolicy( - params?: Params$Resource$Projects$Locations$Servicebindings$Setiampolicy, + get( + params?: Params$Resource$Projects$Locations$Servicebindings$Get, options?: MethodOptions - ): GaxiosPromise; - setIamPolicy( - params: Params$Resource$Projects$Locations$Servicebindings$Setiampolicy, + ): GaxiosPromise; + get( + params: Params$Resource$Projects$Locations$Servicebindings$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - setIamPolicy( - params: Params$Resource$Projects$Locations$Servicebindings$Setiampolicy, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Servicebindings$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - setIamPolicy( - params: Params$Resource$Projects$Locations$Servicebindings$Setiampolicy, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Servicebindings$Get, + callback: BodyResponseCallback ): void; - setIamPolicy(callback: BodyResponseCallback): void; - setIamPolicy( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Servicebindings$Setiampolicy - | BodyResponseCallback + | Params$Resource$Projects$Locations$Servicebindings$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback - ): void | GaxiosPromise | GaxiosPromise { + ): void | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Servicebindings$Setiampolicy; + {}) as Params$Resource$Projects$Locations$Servicebindings$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Servicebindings$Setiampolicy; + params = {} as Params$Resource$Projects$Locations$Servicebindings$Get; options = {}; } @@ -7551,90 +6346,86 @@ export namespace networkservices_v1beta1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['resource'], - pathParams: ['resource'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. + * Lists ServiceBinding in a given project and location. * * @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. */ - testIamPermissions( - params: Params$Resource$Projects$Locations$Servicebindings$Testiampermissions, + list( + params: Params$Resource$Projects$Locations$Servicebindings$List, options: StreamMethodOptions ): GaxiosPromise; - testIamPermissions( - params?: Params$Resource$Projects$Locations$Servicebindings$Testiampermissions, + list( + params?: Params$Resource$Projects$Locations$Servicebindings$List, options?: MethodOptions - ): GaxiosPromise; - testIamPermissions( - params: Params$Resource$Projects$Locations$Servicebindings$Testiampermissions, + ): GaxiosPromise; + list( + params: Params$Resource$Projects$Locations$Servicebindings$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - testIamPermissions( - params: Params$Resource$Projects$Locations$Servicebindings$Testiampermissions, + list( + params: Params$Resource$Projects$Locations$Servicebindings$List, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - testIamPermissions( - params: Params$Resource$Projects$Locations$Servicebindings$Testiampermissions, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Servicebindings$List, + callback: BodyResponseCallback ): void; - testIamPermissions( - callback: BodyResponseCallback + list( + callback: BodyResponseCallback ): void; - testIamPermissions( + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Servicebindings$Testiampermissions - | BodyResponseCallback + | Params$Resource$Projects$Locations$Servicebindings$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | GaxiosPromise + | GaxiosPromise | GaxiosPromise { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Servicebindings$Testiampermissions; + {}) as Params$Resource$Projects$Locations$Servicebindings$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Servicebindings$Testiampermissions; + params = {} as Params$Resource$Projects$Locations$Servicebindings$List; options = {}; } @@ -7648,27 +6439,27 @@ export namespace networkservices_v1beta1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace( + url: (rootUrl + '/v1beta1/{+parent}/serviceBindings').replace( /([^:]\/)\/+/g, '$1' ), - method: 'POST', + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['resource'], - pathParams: ['resource'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } } @@ -7703,17 +6494,6 @@ export namespace networkservices_v1beta1 { */ name?: string; } - export interface Params$Resource$Projects$Locations$Servicebindings$Getiampolicy - extends StandardParameters { - /** - * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). - */ - 'options.requestedPolicyVersion'?: number; - /** - * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - } export interface Params$Resource$Projects$Locations$Servicebindings$List extends StandardParameters { /** @@ -7729,30 +6509,6 @@ export namespace networkservices_v1beta1 { */ parent?: string; } - export interface Params$Resource$Projects$Locations$Servicebindings$Setiampolicy - extends StandardParameters { - /** - * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$SetIamPolicyRequest; - } - export interface Params$Resource$Projects$Locations$Servicebindings$Testiampermissions - extends StandardParameters { - /** - * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$TestIamPermissionsRequest; - } export class Resource$Projects$Locations$Servicelbpolicies { context: APIRequestContext; @@ -9590,7 +8346,7 @@ export namespace networkservices_v1beta1 { export interface Params$Resource$Projects$Locations$Tlsroutes$Patch extends StandardParameters { /** - * Required. Name of the TlsRoute resource. It matches pattern `projects/x/locations/global/tlsRoutes/tls_route_name\>`. + * Identifier. Name of the TlsRoute resource. It matches pattern `projects/x/locations/global/tlsRoutes/tls_route_name\>`. */ name?: string; /** diff --git a/src/apis/ondemandscanning/v1.ts b/src/apis/ondemandscanning/v1.ts index e5636cc536..7fc3a2dfe8 100644 --- a/src/apis/ondemandscanning/v1.ts +++ b/src/apis/ondemandscanning/v1.ts @@ -541,10 +541,6 @@ export namespace ondemandscanning_v1 { * The status of an SBOM generation. */ sbomStatus?: Schema$SBOMStatus; - /** - * The status of an vulnerability attestation generation. - */ - vulnerabilityAttestation?: Schema$VulnerabilityAttestation; } /** * Deprecated. Prefer to use a regular Occurrence, and populate the Envelope at the top level of the Occurrence. @@ -1653,23 +1649,6 @@ export namespace ondemandscanning_v1 { */ vulnerabilityId?: string | null; } - /** - * The status of an vulnerability attestation generation. - */ - export interface Schema$VulnerabilityAttestation { - /** - * If failure, the error reason for why the attestation generation failed. - */ - error?: string | null; - /** - * The last time we attempted to generate an attestation. - */ - lastAttemptTime?: string | null; - /** - * The success/failure state of the latest attestation attempt. - */ - state?: string | null; - } /** * An occurrence of a severity vulnerability on a resource. */ diff --git a/src/apis/ondemandscanning/v1beta1.ts b/src/apis/ondemandscanning/v1beta1.ts index f0e997d02b..5c7bd6fc2f 100644 --- a/src/apis/ondemandscanning/v1beta1.ts +++ b/src/apis/ondemandscanning/v1beta1.ts @@ -537,10 +537,6 @@ export namespace ondemandscanning_v1beta1 { * The status of an SBOM generation. */ sbomStatus?: Schema$SBOMStatus; - /** - * The status of an vulnerability attestation generation. - */ - vulnerabilityAttestation?: Schema$VulnerabilityAttestation; } /** * Deprecated. Prefer to use a regular Occurrence, and populate the Envelope at the top level of the Occurrence. @@ -1649,23 +1645,6 @@ export namespace ondemandscanning_v1beta1 { */ vulnerabilityId?: string | null; } - /** - * The status of an vulnerability attestation generation. - */ - export interface Schema$VulnerabilityAttestation { - /** - * If failure, the error reason for why the attestation generation failed. - */ - error?: string | null; - /** - * The last time we attempted to generate an attestation. - */ - lastAttemptTime?: string | null; - /** - * The success/failure state of the latest attestation attempt. - */ - state?: string | null; - } /** * An occurrence of a severity vulnerability on a resource. */ diff --git a/src/apis/playdeveloperreporting/v1alpha1.ts b/src/apis/playdeveloperreporting/v1alpha1.ts index f546f25708..ff32490d47 100644 --- a/src/apis/playdeveloperreporting/v1alpha1.ts +++ b/src/apis/playdeveloperreporting/v1alpha1.ts @@ -576,11 +576,11 @@ export namespace playdeveloperreporting_v1alpha1 { */ export interface Schema$GooglePlayDeveloperReportingV1alpha1QueryErrorCountMetricSetRequest { /** - * Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): identifier of the device's form factor, e.g., PHONE. * `reportType` (string): the type of error. The value should correspond to one of the possible values in ErrorType. * `isUserPerceived` (string): denotes whether error is user perceived or not, USER_PERCEIVED or NOT_USER_PERCEIVED. * `issueId` (string): the id an error was assigned to. The value should correspond to the `{issue\}` component of the issue name. * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., "Exynos 2100". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., "Kryo 240". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., "4198400". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., "196610". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. + * Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): identifier of the device's form factor, e.g., PHONE. * `reportType` (string): the type of error. The value should correspond to one of the possible values in ErrorType. * `issueId` (string): the id an error was assigned to. The value should correspond to the `{issue\}` component of the issue name. * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., "Exynos 2100". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., "Kryo 240". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., "4198400". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., "196610". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. */ dimensions?: string[] | null; /** - * Filters to apply to data. The filtering expression follows [AIP-160](https://google.aip.dev/160) standard and supports filtering by equality of all breakdown dimensions. + * Filters to apply to data. The filtering expression follows [AIP-160](https://google.aip.dev/160) standard and supports filtering by equality of all breakdown dimensions and: * `isUserPerceived` (string): denotes whether error is user perceived or not, USER_PERCEIVED or NOT_USER_PERCEIVED. */ filter?: string | null; /** diff --git a/src/apis/playdeveloperreporting/v1beta1.ts b/src/apis/playdeveloperreporting/v1beta1.ts index f2c395d6b7..a43b428715 100644 --- a/src/apis/playdeveloperreporting/v1beta1.ts +++ b/src/apis/playdeveloperreporting/v1beta1.ts @@ -576,11 +576,11 @@ export namespace playdeveloperreporting_v1beta1 { */ export interface Schema$GooglePlayDeveloperReportingV1beta1QueryErrorCountMetricSetRequest { /** - * Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): identifier of the device's form factor, e.g., PHONE. * `reportType` (string): the type of error. The value should correspond to one of the possible values in ErrorType. * `isUserPerceived` (string): denotes whether error is user perceived or not, USER_PERCEIVED or NOT_USER_PERCEIVED. * `issueId` (string): the id an error was assigned to. The value should correspond to the `{issue\}` component of the issue name. * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., "Exynos 2100". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., "Kryo 240". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., "4198400". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., "196610". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. + * Dimensions to slice the data by. **Supported dimensions:** * `apiLevel` (string): the API level of Android that was running on the user's device, e.g., 26. * `versionCode` (int64): unique identifier of the user's device model. The form of the identifier is 'deviceBrand/device', where deviceBrand corresponds to Build.BRAND and device corresponds to Build.DEVICE, e.g., google/coral. * `deviceModel` (string): unique identifier of the user's device model. * `deviceType` (string): identifier of the device's form factor, e.g., PHONE. * `reportType` (string): the type of error. The value should correspond to one of the possible values in ErrorType. * `issueId` (string): the id an error was assigned to. The value should correspond to the `{issue\}` component of the issue name. * `deviceRamBucket` (int64): RAM of the device, in MB, in buckets (3GB, 4GB, etc.). * `deviceSocMake` (string): Make of the device's primary system-on-chip, e.g., Samsung. [Reference](https://developer.android.com/reference/android/os/Build#SOC_MANUFACTURER) * `deviceSocModel` (string): Model of the device's primary system-on-chip, e.g., "Exynos 2100". [Reference](https://developer.android.com/reference/android/os/Build#SOC_MODEL) * `deviceCpuMake` (string): Make of the device's CPU, e.g., Qualcomm. * `deviceCpuModel` (string): Model of the device's CPU, e.g., "Kryo 240". * `deviceGpuMake` (string): Make of the device's GPU, e.g., ARM. * `deviceGpuModel` (string): Model of the device's GPU, e.g., Mali. * `deviceGpuVersion` (string): Version of the device's GPU, e.g., T750. * `deviceVulkanVersion` (string): Vulkan version of the device, e.g., "4198400". * `deviceGlEsVersion` (string): OpenGL ES version of the device, e.g., "196610". * `deviceScreenSize` (string): Screen size of the device, e.g., NORMAL, LARGE. * `deviceScreenDpi` (string): Screen density of the device, e.g., mdpi, hdpi. */ dimensions?: string[] | null; /** - * Filters to apply to data. The filtering expression follows [AIP-160](https://google.aip.dev/160) standard and supports filtering by equality of all breakdown dimensions. + * Filters to apply to data. The filtering expression follows [AIP-160](https://google.aip.dev/160) standard and supports filtering by equality of all breakdown dimensions and: * `isUserPerceived` (string): denotes whether error is user perceived or not, USER_PERCEIVED or NOT_USER_PERCEIVED. */ filter?: string | null; /** diff --git a/src/apis/playintegrity/v1.ts b/src/apis/playintegrity/v1.ts index 2f7acbba05..b566b33aae 100644 --- a/src/apis/playintegrity/v1.ts +++ b/src/apis/playintegrity/v1.ts @@ -112,6 +112,7 @@ export namespace playintegrity_v1 { */ export class Playintegrity { context: APIRequestContext; + deviceRecall: Resource$Devicerecall; v1: Resource$V1; constructor(options: GlobalOptions, google?: GoogleConfigurable) { @@ -120,6 +121,7 @@ export namespace playintegrity_v1 { google, }; + this.deviceRecall = new Resource$Devicerecall(this.context); this.v1 = new Resource$V1(this.context); } } @@ -296,6 +298,156 @@ export namespace playintegrity_v1 { */ testingDetails?: Schema$TestingDetails; } + /** + * Contains the recall bits values. + */ + export interface Schema$Values { + /** + * Required. First recall bit value. + */ + bitFirst?: boolean | null; + /** + * Required. Second recall bit value. + */ + bitSecond?: boolean | null; + /** + * Required. Third recall bit value. + */ + bitThird?: boolean | null; + } + /** + * Request to write device recall bits. + */ + export interface Schema$WriteDeviceRecallRequest { + /** + * Required. Integrity token obtained from calling Play Integrity API. Note that the integrity token contains the existing device recall bits. The write will only succeed if those bits in the integrity token are up to date. + */ + integrityToken?: string | null; + /** + * Required. The new values for the device recall bits to be written. + */ + newValues?: Schema$Values; + } + /** + * Response for the Write Device Recall action. Currently empty. + */ + export interface Schema$WriteDeviceRecallResponse {} + + export class Resource$Devicerecall { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Writes recall bits for the device where Play Integrity API token is obtained. The endpoint is available to select Play partners in an early access program (EAP). + * + * @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. + */ + write( + params: Params$Resource$Devicerecall$Write, + options: StreamMethodOptions + ): GaxiosPromise; + write( + params?: Params$Resource$Devicerecall$Write, + options?: MethodOptions + ): GaxiosPromise; + write( + params: Params$Resource$Devicerecall$Write, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + write( + params: Params$Resource$Devicerecall$Write, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + write( + params: Params$Resource$Devicerecall$Write, + callback: BodyResponseCallback + ): void; + write( + callback: BodyResponseCallback + ): void; + write( + paramsOrCallback?: + | Params$Resource$Devicerecall$Write + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Devicerecall$Write; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Devicerecall$Write; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://playintegrity.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+packageName}/deviceRecall:write').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['packageName'], + pathParams: ['packageName'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Devicerecall$Write + extends StandardParameters { + /** + * Required. Package name of the app the attached integrity token belongs to. + */ + packageName?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$WriteDeviceRecallRequest; + } export class Resource$V1 { context: APIRequestContext; diff --git a/src/apis/pubsub/v1.ts b/src/apis/pubsub/v1.ts index 6096aca179..4809a8b99d 100644 --- a/src/apis/pubsub/v1.ts +++ b/src/apis/pubsub/v1.ts @@ -266,6 +266,10 @@ export namespace pubsub_v1 { * Optional. The maximum duration that can elapse before a new Cloud Storage file is created. Min 1 minute, max 10 minutes, default 5 minutes. May not exceed the subscription's acknowledgement deadline. */ maxDuration?: string | null; + /** + * Optional. The maximum number of messages that can be written to a Cloud Storage file before a new file is created. Min 1000 messages. + */ + maxMessages?: string | null; /** * Optional. The service account to use to write to Cloud Storage. The subscription creator or updater that specifies this field must have `iam.serviceAccounts.actAs` permission on the service account. If not specified, the Pub/Sub [service agent](https://cloud.google.com/iam/docs/service-agents), service-{project_number\}@gcp-sa-pubsub.iam.gserviceaccount.com, is used. */ diff --git a/src/apis/retail/v2.ts b/src/apis/retail/v2.ts index 9adbae8e1e..f346544c97 100644 --- a/src/apis/retail/v2.ts +++ b/src/apis/retail/v2.ts @@ -1473,10 +1473,6 @@ export namespace retail_v2 { * The merged facet key should be a valid facet key that is different than the facet key of the current catalog attribute. We refer this is merged facet key as the child of the current catalog attribute. This merged facet key can't be a parent of another facet key (i.e. no directed path of length 2). This merged facet key needs to be either a textual custom attribute or a numerical custom attribute. */ mergedFacetKey?: string | null; - /** - * Each instance is a list of facet values that map into the same (possibly different) merged facet value. For the current attribute config, each facet value should map to at most one merged facet value. - */ - mergedFacetValues?: Schema$GoogleCloudRetailV2CatalogAttributeFacetConfigMergedFacetValue[]; } /** * Replaces a set of textual facet values by the same (possibly different) merged facet value. Each facet value should appear at most once as a value per CatalogAttribute. This feature is available only for textual custom attributes. @@ -1550,7 +1546,7 @@ export namespace retail_v2 { suggestion?: string | null; } /** - * Recent search of this user. + * Deprecated: Recent search of this user. */ export interface Schema$GoogleCloudRetailV2CompleteQueryResponseRecentSearchResult { /** diff --git a/src/apis/retail/v2alpha.ts b/src/apis/retail/v2alpha.ts index 919a68fd63..28257683f4 100644 --- a/src/apis/retail/v2alpha.ts +++ b/src/apis/retail/v2alpha.ts @@ -494,10 +494,6 @@ export namespace retail_v2alpha { * Immutable. Full resource name of the branch, such as `projects/x/locations/global/catalogs/default_catalog/branches/branch_id`. */ name?: string | null; - /** - * Output only. The number of products in different groups that this branch has. The key is a group representing a set of products, and the value is the number of products in that group. Note: keys in this map may change over time. Possible keys: * "primary-in-stock", products have Product.Type.PRIMARY type and Product.Availability.IN_STOCK availability. * "primary-out-of-stock", products have Product.Type.PRIMARY type and Product.Availability.OUT_OF_STOCK availability. * "primary-preorder", products have Product.Type.PRIMARY type and Product.Availability.PREORDER availability. * "primary-backorder", products have Product.Type.PRIMARY type and Product.Availability.BACKORDER availability. * "variant-in-stock", products have Product.Type.VARIANT type and Product.Availability.IN_STOCK availability. * "variant-out-of-stock", products have Product.Type.VARIANT type and Product.Availability.OUT_OF_STOCK availability. * "variant-preorder", products have Product.Type.VARIANT type and Product.Availability.PREORDER availability. * "variant-backorder", products have Product.Type.VARIANT type and Product.Availability.BACKORDER availability. * "price-discounted", products have [Product.price_info.price] < [Product.price_info.original_price]. This field is not populated in BranchView.BASIC view. - */ - productCounts?: {[key: string]: string} | null; /** * Output only. Statistics for number of products in the branch, provided for different scopes. This field is not populated in BranchView.BASIC view. */ @@ -661,10 +657,6 @@ export namespace retail_v2alpha { * The merged facet key should be a valid facet key that is different than the facet key of the current catalog attribute. We refer this is merged facet key as the child of the current catalog attribute. This merged facet key can't be a parent of another facet key (i.e. no directed path of length 2). This merged facet key needs to be either a textual custom attribute or a numerical custom attribute. */ mergedFacetKey?: string | null; - /** - * Each instance is a list of facet values that map into the same (possibly different) merged facet value. For the current attribute config, each facet value should map to at most one merged facet value. - */ - mergedFacetValues?: Schema$GoogleCloudRetailV2alphaCatalogAttributeFacetConfigMergedFacetValue[]; } /** * Replaces a set of textual facet values by the same (possibly different) merged facet value. Each facet value should appear at most once as a value per CatalogAttribute. This feature is available only for textual custom attributes. @@ -763,7 +755,7 @@ export namespace retail_v2alpha { totalProductCount?: number | null; } /** - * Recent search of this user. + * Deprecated: Recent search of this user. */ export interface Schema$GoogleCloudRetailV2alphaCompleteQueryResponseRecentSearchResult { /** diff --git a/src/apis/retail/v2beta.ts b/src/apis/retail/v2beta.ts index 143dd3cc2e..bd5ad71a22 100644 --- a/src/apis/retail/v2beta.ts +++ b/src/apis/retail/v2beta.ts @@ -1107,10 +1107,6 @@ export namespace retail_v2beta { * The merged facet key should be a valid facet key that is different than the facet key of the current catalog attribute. We refer this is merged facet key as the child of the current catalog attribute. This merged facet key can't be a parent of another facet key (i.e. no directed path of length 2). This merged facet key needs to be either a textual custom attribute or a numerical custom attribute. */ mergedFacetKey?: string | null; - /** - * Each instance is a list of facet values that map into the same (possibly different) merged facet value. For the current attribute config, each facet value should map to at most one merged facet value. - */ - mergedFacetValues?: Schema$GoogleCloudRetailV2betaCatalogAttributeFacetConfigMergedFacetValue[]; } /** * Replaces a set of textual facet values by the same (possibly different) merged facet value. Each facet value should appear at most once as a value per CatalogAttribute. This feature is available only for textual custom attributes. @@ -1184,7 +1180,7 @@ export namespace retail_v2beta { suggestion?: string | null; } /** - * Recent search of this user. + * Deprecated: Recent search of this user. */ export interface Schema$GoogleCloudRetailV2betaCompleteQueryResponseRecentSearchResult { /** diff --git a/src/apis/run/v1.ts b/src/apis/run/v1.ts index d64a9f8658..6646e0bb8b 100644 --- a/src/apis/run/v1.ts +++ b/src/apis/run/v1.ts @@ -603,6 +603,10 @@ export namespace run_v1 { * Reference to an Execution. Use /Executions.GetExecution with the given name to get full execution including the latest status. */ export interface Schema$ExecutionReference { + /** + * Optional. Status for the execution completion. + */ + completionStatus?: string | null; /** * Optional. Completion timestamp of the execution. */ @@ -611,6 +615,10 @@ export namespace run_v1 { * Optional. Creation timestamp of the execution. */ creationTimestamp?: string | null; + /** + * Optional. The read-only soft deletion timestamp of the execution. + */ + deletionTimestamp?: string | null; /** * Optional. Name of the execution. */ @@ -1183,23 +1191,6 @@ export namespace run_v1 { */ fileHash?: Schema$GoogleDevtoolsCloudbuildV1Hash[]; } - /** - * Represents a storage location in Cloud Storage - */ - export interface Schema$GoogleDevtoolsCloudbuildV1GCSLocation { - /** - * Cloud Storage bucket. See https://cloud.google.com/storage/docs/naming#requirements - */ - bucket?: string | null; - /** - * Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - */ - generation?: string | null; - /** - * Cloud Storage object. See https://cloud.google.com/storage/docs/naming#objectnames - */ - object?: string | null; - } /** * GitConfig is a configuration for git operations. */ @@ -1244,13 +1235,9 @@ export namespace run_v1 { */ export interface Schema$GoogleDevtoolsCloudbuildV1HttpConfig { /** - * SecretVersion resource of the HTTP proxy URL. The proxy URL should be in format protocol://@]proxyhost[:port]. + * SecretVersion resource of the HTTP proxy URL. The Service Account used in the build (either the default Service Account or user-specified Service Account) should have `secretmanager.versions.access` permissions on this secret. The proxy URL should be in format `protocol://@]proxyhost[:port]`. */ proxySecretVersionName?: string | null; - /** - * Optional. Cloud Storage object storing the certificate to use with the HTTP proxy. - */ - proxySslCaInfo?: Schema$GoogleDevtoolsCloudbuildV1GCSLocation; } /** * Pairs a set of secret environment variables mapped to encrypted values with the Cloud KMS key to use to decrypt the value. @@ -2356,7 +2343,7 @@ export namespace run_v1 { */ containerConcurrency?: number | null; /** - * Required. Containers holds the single container that defines the unit of execution for this Revision. In the context of a Revision, we disallow a number of fields on this Container, including: name and lifecycle. In Cloud Run, only a single container may be provided. + * Required. Containers holds the list which define the units of execution for this Revision. In the context of a Revision, we disallow a number of fields on this Container, including: name and lifecycle. */ containers?: Schema$Container[]; /** diff --git a/src/apis/run/v2.ts b/src/apis/run/v2.ts index 0a373f2b80..29f5c566f2 100644 --- a/src/apis/run/v2.ts +++ b/src/apis/run/v2.ts @@ -443,6 +443,10 @@ export namespace run_v2 { * Reference to an Execution. Use /Executions.GetExecution with the given name to get full execution including the latest status. */ export interface Schema$GoogleCloudRunV2ExecutionReference { + /** + * Status for the execution completion. + */ + completionStatus?: string | null; /** * Creation timestamp of the execution. */ @@ -451,6 +455,10 @@ export namespace run_v2 { * Creation timestamp of the execution. */ createTime?: string | null; + /** + * The deletion time of the execution. It is only populated as a response to a Delete request. + */ + deleteTime?: string | null; /** * Name of the execution. */ @@ -521,7 +529,7 @@ export namespace run_v2 { */ export interface Schema$GoogleCloudRunV2GCSVolumeSource { /** - * Cloud Storage Bucket name. TODO (b/344678062) Fix the error validation once dynamic mounting is public. + * Cloud Storage Bucket name. */ bucket?: string | null; /** @@ -2043,23 +2051,6 @@ export namespace run_v2 { */ fileHash?: Schema$GoogleDevtoolsCloudbuildV1Hash[]; } - /** - * Represents a storage location in Cloud Storage - */ - export interface Schema$GoogleDevtoolsCloudbuildV1GCSLocation { - /** - * Cloud Storage bucket. See https://cloud.google.com/storage/docs/naming#requirements - */ - bucket?: string | null; - /** - * Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. - */ - generation?: string | null; - /** - * Cloud Storage object. See https://cloud.google.com/storage/docs/naming#objectnames - */ - object?: string | null; - } /** * GitConfig is a configuration for git operations. */ @@ -2104,13 +2095,9 @@ export namespace run_v2 { */ export interface Schema$GoogleDevtoolsCloudbuildV1HttpConfig { /** - * SecretVersion resource of the HTTP proxy URL. The proxy URL should be in format protocol://@]proxyhost[:port]. + * SecretVersion resource of the HTTP proxy URL. The Service Account used in the build (either the default Service Account or user-specified Service Account) should have `secretmanager.versions.access` permissions on this secret. The proxy URL should be in format `protocol://@]proxyhost[:port]`. */ proxySecretVersionName?: string | null; - /** - * Optional. Cloud Storage object storing the certificate to use with the HTTP proxy. - */ - proxySslCaInfo?: Schema$GoogleDevtoolsCloudbuildV1GCSLocation; } /** * Pairs a set of secret environment variables mapped to encrypted values with the Cloud KMS key to use to decrypt the value. @@ -3013,6 +3000,101 @@ export namespace run_v2 { return createAPIRequest(parameters); } } + + /** + * Export generated customer metadata for a given project. + * + * @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. + */ + exportProjectMetadata( + params: Params$Resource$Projects$Locations$Exportprojectmetadata, + options: StreamMethodOptions + ): GaxiosPromise; + exportProjectMetadata( + params?: Params$Resource$Projects$Locations$Exportprojectmetadata, + options?: MethodOptions + ): GaxiosPromise; + exportProjectMetadata( + params: Params$Resource$Projects$Locations$Exportprojectmetadata, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + exportProjectMetadata( + params: Params$Resource$Projects$Locations$Exportprojectmetadata, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + exportProjectMetadata( + params: Params$Resource$Projects$Locations$Exportprojectmetadata, + callback: BodyResponseCallback + ): void; + exportProjectMetadata( + callback: BodyResponseCallback + ): void; + exportProjectMetadata( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Exportprojectmetadata + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Exportprojectmetadata; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Exportprojectmetadata; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v2/{+name}:exportProjectMetadata').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); + } + } } export interface Params$Resource$Projects$Locations$Exportimage @@ -3041,6 +3123,13 @@ export namespace run_v2 { */ name?: string; } + export interface Params$Resource$Projects$Locations$Exportprojectmetadata + extends StandardParameters { + /** + * Required. The name of the project of which metadata should be exported. Format: `projects/{project_id_or_number\}/locations/{location\}` for Project in a given location. + */ + name?: string; + } export class Resource$Projects$Locations$Jobs { context: APIRequestContext; diff --git a/src/apis/securitycenter/v1.ts b/src/apis/securitycenter/v1.ts index f5d9a435ab..fcfea88dcc 100644 --- a/src/apis/securitycenter/v1.ts +++ b/src/apis/securitycenter/v1.ts @@ -308,7 +308,7 @@ export namespace securitycenter_v1 { */ export interface Schema$AttackExposure { /** - * The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: organizations/123/simulations/456/attackExposureResults/789 + * The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: `organizations/123/simulations/456/attackExposureResults/789` */ attackExposureResult?: string | null; /** @@ -383,11 +383,11 @@ export namespace securitycenter_v1 { */ displayName?: string | null; /** - * The name of the resource at this point in the attack path. The format of the name follows the Cloud Asset Inventory [resource name format]("https://cloud.google.com/asset-inventory/docs/resource-name-format") + * The name of the resource at this point in the attack path. The format of the name follows the Cloud Asset Inventory [resource name format](https://cloud.google.com/asset-inventory/docs/resource-name-format) */ resource?: string | null; /** - * The [supported resource type](https://cloud.google.com/asset-inventory/docs/supported-asset-types") + * The [supported resource type](https://cloud.google.com/asset-inventory/docs/supported-asset-types) */ resourceType?: string | null; /** @@ -507,7 +507,7 @@ export namespace securitycenter_v1 { */ displayName?: string | null; /** - * The UUID of the Azure management group, for example, "20000000-0001-0000-0000-000000000000". + * The UUID of the Azure management group, for example, `20000000-0001-0000-0000-000000000000`. */ id?: string | null; } @@ -546,7 +546,7 @@ export namespace securitycenter_v1 { */ displayName?: string | null; /** - * The UUID of the Azure subscription, for example, "291bba3f-e0a5-47bc-a099-3bdcb2a50a05". + * The UUID of the Azure subscription, for example, `291bba3f-e0a5-47bc-a099-3bdcb2a50a05`. */ id?: string | null; } @@ -1043,7 +1043,7 @@ export namespace securitycenter_v1 { */ enablementState?: string | null; /** - * Output only. The resource name of the effective ETD custom module. Its format is: * "organizations/{organization\}/eventThreatDetectionSettings/effectiveCustomModules/{module\}". * "folders/{folder\}/eventThreatDetectionSettings/effectiveCustomModules/{module\}". * "projects/{project\}/eventThreatDetectionSettings/effectiveCustomModules/{module\}". + * Output only. The resource name of the effective ETD custom module. Its format is: * `organizations/{organization\}/eventThreatDetectionSettings/effectiveCustomModules/{module\}`. * `folders/{folder\}/eventThreatDetectionSettings/effectiveCustomModules/{module\}`. * `projects/{project\}/eventThreatDetectionSettings/effectiveCustomModules/{module\}`. */ name?: string | null; /** @@ -1097,7 +1097,7 @@ export namespace securitycenter_v1 { */ lastEditor?: string | null; /** - * Immutable. The resource name of the Event Threat Detection custom module. Its format is: * "organizations/{organization\}/eventThreatDetectionSettings/customModules/{module\}". * "folders/{folder\}/eventThreatDetectionSettings/customModules/{module\}". * "projects/{project\}/eventThreatDetectionSettings/customModules/{module\}". + * Immutable. The resource name of the Event Threat Detection custom module. Its format is: * `organizations/{organization\}/eventThreatDetectionSettings/customModules/{module\}`. * `folders/{folder\}/eventThreatDetectionSettings/customModules/{module\}`. * `projects/{project\}/eventThreatDetectionSettings/customModules/{module\}`. */ name?: string | null; /** @@ -1673,7 +1673,7 @@ export namespace securitycenter_v1 { */ mostRecentEditor?: string | null; /** - * This field will be ignored if provided on config creation. Format "organizations/{organization\}/muteConfigs/{mute_config\}" "folders/{folder\}/muteConfigs/{mute_config\}" "projects/{project\}/muteConfigs/{mute_config\}" "organizations/{organization\}/locations/global/muteConfigs/{mute_config\}" "folders/{folder\}/locations/global/muteConfigs/{mute_config\}" "projects/{project\}/locations/global/muteConfigs/{mute_config\}" + * This field will be ignored if provided on config creation. Format `organizations/{organization\}/muteConfigs/{mute_config\}` `folders/{folder\}/muteConfigs/{mute_config\}` `projects/{project\}/muteConfigs/{mute_config\}` `organizations/{organization\}/locations/global/muteConfigs/{mute_config\}` `folders/{folder\}/locations/global/muteConfigs/{mute_config\}` `projects/{project\}/locations/global/muteConfigs/{mute_config\}` */ name?: string | null; /** @@ -1910,7 +1910,7 @@ export namespace securitycenter_v1 { */ resourcePath?: Schema$ResourcePath; /** - * A string representation of the resource path. For Google Cloud, it has the format of organizations/{organization_id\}/folders/{folder_id\}/folders/{folder_id\}/projects/{project_id\} where there can be any number of folders. For AWS, it has the format of org/{organization_id\}/ou/{organizational_unit_id\}/ou/{organizational_unit_id\}/account/{account_id\} where there can be any number of organizational units. For Azure, it has the format of mg/{management_group_id\}/mg/{management_group_id\}/subscription/{subscription_id\}/rg/{resource_group_name\} where there can be any number of management groups. + * A string representation of the resource path. For Google Cloud, it has the format of `organizations/{organization_id\}/folders/{folder_id\}/folders/{folder_id\}/projects/{project_id\}` where there can be any number of folders. For AWS, it has the format of `org/{organization_id\}/ou/{organizational_unit_id\}/ou/{organizational_unit_id\}/account/{account_id\}` where there can be any number of organizational units. For Azure, it has the format of `mg/{management_group_id\}/mg/{management_group_id\}/subscription/{subscription_id\}/rg/{resource_group_name\}` where there can be any number of management groups. */ resourcePathString?: string | null; /** @@ -1952,11 +1952,11 @@ export namespace securitycenter_v1 { */ name?: string | null; /** - * List of resource labels to search for, evaluated with AND. For example, "resource_labels_selector": {"key": "value", "env": "prod"\} will match resources with labels "key": "value" AND "env": "prod" https://cloud.google.com/resource-manager/docs/creating-managing-labels + * List of resource labels to search for, evaluated with `AND`. For example, `"resource_labels_selector": {"key": "value", "env": "prod"\}` will match resources with labels "key": "value" `AND` "env": "prod" https://cloud.google.com/resource-manager/docs/creating-managing-labels */ resourceLabelsSelector?: {[key: string]: string} | null; /** - * Apply resource_value only to resources that match resource_type. resource_type will be checked with AND of other resources. For example, "storage.googleapis.com/Bucket" with resource_value "HIGH" will apply "HIGH" value only to "storage.googleapis.com/Bucket" resources. + * Apply resource_value only to resources that match resource_type. resource_type will be checked with `AND` of other resources. For example, "storage.googleapis.com/Bucket" with resource_value "HIGH" will apply "HIGH" value only to "storage.googleapis.com/Bucket" resources. */ resourceType?: string | null; /** @@ -1964,7 +1964,7 @@ export namespace securitycenter_v1 { */ resourceValue?: string | null; /** - * Project or folder to scope this configuration to. For example, "project/456" would apply this configuration only to resources in "project/456" scope will be checked with AND of other resources. + * Project or folder to scope this configuration to. For example, "project/456" would apply this configuration only to resources in "project/456" scope will be checked with `AND` of other resources. */ scope?: string | null; /** @@ -1972,7 +1972,7 @@ export namespace securitycenter_v1 { */ sensitiveDataProtectionMapping?: Schema$GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping; /** - * Required. Tag values combined with AND to check against. Values in the form "tagValues/123" Example: [ "tagValues/123", "tagValues/456", "tagValues/789" ] https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing + * Required. Tag values combined with `AND` to check against. Values in the form "tagValues/123" Example: `[ "tagValues/123", "tagValues/456", "tagValues/789" ]` https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing */ tagValues?: string[] | null; /** @@ -2165,7 +2165,7 @@ export namespace securitycenter_v1 { */ export interface Schema$GoogleCloudSecuritycenterV2AttackExposure { /** - * The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: organizations/123/simulations/456/attackExposureResults/789 + * The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: `organizations/123/simulations/456/attackExposureResults/789` */ attackExposureResult?: string | null; /** @@ -2254,7 +2254,7 @@ export namespace securitycenter_v1 { */ displayName?: string | null; /** - * The UUID of the Azure management group, for example, "20000000-0001-0000-0000-000000000000". + * The UUID of the Azure management group, for example, `20000000-0001-0000-0000-000000000000`. */ id?: string | null; } @@ -2293,7 +2293,7 @@ export namespace securitycenter_v1 { */ displayName?: string | null; /** - * The UUID of the Azure subscription, for example, "291bba3f-e0a5-47bc-a099-3bdcb2a50a05". + * The UUID of the Azure subscription, for example, `291bba3f-e0a5-47bc-a099-3bdcb2a50a05`. */ id?: string | null; } @@ -3571,7 +3571,7 @@ export namespace securitycenter_v1 { */ resourcePath?: Schema$GoogleCloudSecuritycenterV2ResourcePath; /** - * A string representation of the resource path. For Google Cloud, it has the format of organizations/{organization_id\}/folders/{folder_id\}/folders/{folder_id\}/projects/{project_id\} where there can be any number of folders. For AWS, it has the format of org/{organization_id\}/ou/{organizational_unit_id\}/ou/{organizational_unit_id\}/account/{account_id\} where there can be any number of organizational units. For Azure, it has the format of mg/{management_group_id\}/mg/{management_group_id\}/subscription/{subscription_id\}/rg/{resource_group_name\} where there can be any number of management groups. + * A string representation of the resource path. For Google Cloud, it has the format of `organizations/{organization_id\}/folders/{folder_id\}/folders/{folder_id\}/projects/{project_id\}` where there can be any number of folders. For AWS, it has the format of `org/{organization_id\}/ou/{organizational_unit_id\}/ou/{organizational_unit_id\}/account/{account_id\}` where there can be any number of organizational units. For Azure, it has the format of `mg/{management_group_id\}/mg/{management_group_id\}/subscription/{subscription_id\}/rg/{resource_group_name\}` where there can be any number of management groups. */ resourcePathString?: string | null; /** @@ -3630,11 +3630,11 @@ export namespace securitycenter_v1 { */ name?: string | null; /** - * List of resource labels to search for, evaluated with AND. For example, "resource_labels_selector": {"key": "value", "env": "prod"\} will match resources with labels "key": "value" AND "env": "prod" https://cloud.google.com/resource-manager/docs/creating-managing-labels + * List of resource labels to search for, evaluated with `AND`. For example, "resource_labels_selector": {"key": "value", "env": "prod"\} will match resources with labels "key": "value" `AND` "env": "prod" https://cloud.google.com/resource-manager/docs/creating-managing-labels */ resourceLabelsSelector?: {[key: string]: string} | null; /** - * Apply resource_value only to resources that match resource_type. resource_type will be checked with AND of other resources. For example, "storage.googleapis.com/Bucket" with resource_value "HIGH" will apply "HIGH" value only to "storage.googleapis.com/Bucket" resources. + * Apply resource_value only to resources that match resource_type. resource_type will be checked with `AND` of other resources. For example, "storage.googleapis.com/Bucket" with resource_value "HIGH" will apply "HIGH" value only to "storage.googleapis.com/Bucket" resources. */ resourceType?: string | null; /** @@ -3642,7 +3642,7 @@ export namespace securitycenter_v1 { */ resourceValue?: string | null; /** - * Project or folder to scope this configuration to. For example, "project/456" would apply this configuration only to resources in "project/456" scope will be checked with AND of other resources. + * Project or folder to scope this configuration to. For example, "project/456" would apply this configuration only to resources in "project/456" scope will be checked with `AND` of other resources. */ scope?: string | null; /** @@ -3650,7 +3650,7 @@ export namespace securitycenter_v1 { */ sensitiveDataProtectionMapping?: Schema$GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping; /** - * Required. Tag values combined with AND to check against. Values in the form "tagValues/123" Example: [ "tagValues/123", "tagValues/456", "tagValues/789" ] https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing + * Required. Tag values combined with `AND` to check against. Values in the form "tagValues/123" Example: `[ "tagValues/123", "tagValues/456", "tagValues/789" ]` https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing */ tagValues?: string[] | null; /** @@ -3844,7 +3844,7 @@ export namespace securitycenter_v1 { */ attackExposureScore?: number | null; /** - * List of resource names of findings associated with this toxic combination. For example, organizations/123/sources/456/findings/789. + * List of resource names of findings associated with this toxic combination. For example, `organizations/123/sources/456/findings/789`. */ relatedFindings?: string[] | null; } @@ -4622,7 +4622,7 @@ export namespace securitycenter_v1 { */ export interface Schema$PathNodeAssociatedFinding { /** - * Canonical name of the associated findings. Example: organizations/123/sources/456/findings/789 + * Canonical name of the associated findings. Example: `organizations/123/sources/456/findings/789` */ canonicalFinding?: string | null; /** @@ -5167,7 +5167,7 @@ export namespace securitycenter_v1 { */ createTime?: string | null; /** - * Full resource name of the Simulation: organizations/123/simulations/456 + * Full resource name of the Simulation: `organizations/123/simulations/456` */ name?: string | null; /** @@ -5295,7 +5295,7 @@ export namespace securitycenter_v1 { */ attackExposureScore?: number | null; /** - * List of resource names of findings associated with this toxic combination. For example, organizations/123/sources/456/findings/789. + * List of resource names of findings associated with this toxic combination. For example, `organizations/123/sources/456/findings/789`. */ relatedFindings?: string[] | null; } @@ -5726,7 +5726,7 @@ export namespace securitycenter_v1 { export interface Params$Resource$Folders$Assets$Group extends StandardParameters { /** - * Required. The name of the parent to group the assets by. Its format is "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]". + * Required. The name of the parent to group the assets by. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`. */ parent?: string; @@ -5762,7 +5762,7 @@ export namespace securitycenter_v1 { */ pageToken?: string; /** - * Required. The name of the parent resource that contains the assets. The value that you can specify on parent depends on the method in which you specify parent. You can specify one of the following values: "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]". + * Required. The name of the parent resource that contains the assets. The value that you can specify on parent depends on the method in which you specify parent. You can specify one of the following values: `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`. */ parent?: string; /** @@ -6275,7 +6275,7 @@ export namespace securitycenter_v1 { */ bigQueryExportId?: string; /** - * Required. The name of the parent resource of the new BigQuery export. Its format is "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]". + * Required. The name of the parent resource of the new BigQuery export. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`. */ parent?: string; @@ -6287,14 +6287,14 @@ export namespace securitycenter_v1 { export interface Params$Resource$Folders$Bigqueryexports$Delete extends StandardParameters { /** - * Required. The name of the BigQuery export to delete. Its format is organizations/{organization\}/bigQueryExports/{export_id\}, folders/{folder\}/bigQueryExports/{export_id\}, or projects/{project\}/bigQueryExports/{export_id\} + * Required. The name of the BigQuery export to delete. Its format is `organizations/{organization\}/bigQueryExports/{export_id\}`, `folders/{folder\}/bigQueryExports/{export_id\}`, or `projects/{project\}/bigQueryExports/{export_id\}` */ name?: string; } export interface Params$Resource$Folders$Bigqueryexports$Get extends StandardParameters { /** - * Required. Name of the BigQuery export to retrieve. Its format is organizations/{organization\}/bigQueryExports/{export_id\}, folders/{folder\}/bigQueryExports/{export_id\}, or projects/{project\}/bigQueryExports/{export_id\} + * Required. Name of the BigQuery export to retrieve. Its format is `organizations/{organization\}/bigQueryExports/{export_id\}`, `folders/{folder\}/bigQueryExports/{export_id\}`, or `projects/{project\}/bigQueryExports/{export_id\}` */ name?: string; } @@ -6309,7 +6309,7 @@ export namespace securitycenter_v1 { */ pageToken?: string; /** - * Required. The parent, which owns the collection of BigQuery exports. Its format is "organizations/[organization_id]", "folders/[folder_id]", "projects/[project_id]". + * Required. The parent, which owns the collection of BigQuery exports. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`. */ parent?: string; } @@ -7100,7 +7100,7 @@ export namespace securitycenter_v1 { export interface Params$Resource$Folders$Eventthreatdetectionsettings$Custommodules$Patch extends StandardParameters { /** - * Immutable. The resource name of the Event Threat Detection custom module. Its format is: * "organizations/{organization\}/eventThreatDetectionSettings/customModules/{module\}". * "folders/{folder\}/eventThreatDetectionSettings/customModules/{module\}". * "projects/{project\}/eventThreatDetectionSettings/customModules/{module\}". + * Immutable. The resource name of the Event Threat Detection custom module. Its format is: * `organizations/{organization\}/eventThreatDetectionSettings/customModules/{module\}`. * `folders/{folder\}/eventThreatDetectionSettings/customModules/{module\}`. * `projects/{project\}/eventThreatDetectionSettings/customModules/{module\}`. */ name?: string; /** @@ -7438,7 +7438,7 @@ export namespace securitycenter_v1 { export interface Params$Resource$Folders$Findings$Bulkmute extends StandardParameters { /** - * Required. The parent, at which bulk action needs to be applied. Its format is "organizations/[organization_id]", "folders/[folder_id]", "projects/[project_id]". + * Required. The parent, at which bulk action needs to be applied. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`. */ parent?: string; @@ -7938,7 +7938,7 @@ export namespace securitycenter_v1 { */ muteConfigId?: string; /** - * Required. Resource name of the new mute configs's parent. Its format is "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]". + * Required. Resource name of the new mute configs's parent. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`. */ parent?: string; @@ -7950,14 +7950,14 @@ export namespace securitycenter_v1 { export interface Params$Resource$Folders$Locations$Muteconfigs$Delete extends StandardParameters { /** - * Required. Name of the mute config to delete. Its format is organizations/{organization\}/muteConfigs/{config_id\}, folders/{folder\}/muteConfigs/{config_id\}, projects/{project\}/muteConfigs/{config_id\}, organizations/{organization\}/locations/global/muteConfigs/{config_id\}, folders/{folder\}/locations/global/muteConfigs/{config_id\}, or projects/{project\}/locations/global/muteConfigs/{config_id\}. + * Required. Name of the mute config to delete. Its format is `organizations/{organization\}/muteConfigs/{config_id\}`, `folders/{folder\}/muteConfigs/{config_id\}`, `projects/{project\}/muteConfigs/{config_id\}`, `organizations/{organization\}/locations/global/muteConfigs/{config_id\}`, `folders/{folder\}/locations/global/muteConfigs/{config_id\}`, or `projects/{project\}/locations/global/muteConfigs/{config_id\}`. */ name?: string; } export interface Params$Resource$Folders$Locations$Muteconfigs$Get extends StandardParameters { /** - * Required. Name of the mute config to retrieve. Its format is organizations/{organization\}/muteConfigs/{config_id\}, folders/{folder\}/muteConfigs/{config_id\}, projects/{project\}/muteConfigs/{config_id\}, organizations/{organization\}/locations/global/muteConfigs/{config_id\}, folders/{folder\}/locations/global/muteConfigs/{config_id\}, or projects/{project\}/locations/global/muteConfigs/{config_id\}. + * Required. Name of the mute config to retrieve. Its format is `organizations/{organization\}/muteConfigs/{config_id\}`, `folders/{folder\}/muteConfigs/{config_id\}`, `projects/{project\}/muteConfigs/{config_id\}`, `organizations/{organization\}/locations/global/muteConfigs/{config_id\}`, `folders/{folder\}/locations/global/muteConfigs/{config_id\}`, or `projects/{project\}/locations/global/muteConfigs/{config_id\}`. */ name?: string; } @@ -7972,14 +7972,14 @@ export namespace securitycenter_v1 { */ pageToken?: string; /** - * Required. The parent, which owns the collection of mute configs. Its format is "organizations/[organization_id]", "folders/[folder_id]", "projects/[project_id]". + * Required. The parent, which owns the collection of mute configs. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`. */ parent?: string; } export interface Params$Resource$Folders$Locations$Muteconfigs$Patch extends StandardParameters { /** - * This field will be ignored if provided on config creation. Format "organizations/{organization\}/muteConfigs/{mute_config\}" "folders/{folder\}/muteConfigs/{mute_config\}" "projects/{project\}/muteConfigs/{mute_config\}" "organizations/{organization\}/locations/global/muteConfigs/{mute_config\}" "folders/{folder\}/locations/global/muteConfigs/{mute_config\}" "projects/{project\}/locations/global/muteConfigs/{mute_config\}" + * This field will be ignored if provided on config creation. Format `organizations/{organization\}/muteConfigs/{mute_config\}` `folders/{folder\}/muteConfigs/{mute_config\}` `projects/{project\}/muteConfigs/{mute_config\}` `organizations/{organization\}/locations/global/muteConfigs/{mute_config\}` `folders/{folder\}/locations/global/muteConfigs/{mute_config\}` `projects/{project\}/locations/global/muteConfigs/{mute_config\}` */ name?: string; /** @@ -8475,7 +8475,7 @@ export namespace securitycenter_v1 { */ muteConfigId?: string; /** - * Required. Resource name of the new mute configs's parent. Its format is "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]". + * Required. Resource name of the new mute configs's parent. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`. */ parent?: string; @@ -8487,14 +8487,14 @@ export namespace securitycenter_v1 { export interface Params$Resource$Folders$Muteconfigs$Delete extends StandardParameters { /** - * Required. Name of the mute config to delete. Its format is organizations/{organization\}/muteConfigs/{config_id\}, folders/{folder\}/muteConfigs/{config_id\}, projects/{project\}/muteConfigs/{config_id\}, organizations/{organization\}/locations/global/muteConfigs/{config_id\}, folders/{folder\}/locations/global/muteConfigs/{config_id\}, or projects/{project\}/locations/global/muteConfigs/{config_id\}. + * Required. Name of the mute config to delete. Its format is `organizations/{organization\}/muteConfigs/{config_id\}`, `folders/{folder\}/muteConfigs/{config_id\}`, `projects/{project\}/muteConfigs/{config_id\}`, `organizations/{organization\}/locations/global/muteConfigs/{config_id\}`, `folders/{folder\}/locations/global/muteConfigs/{config_id\}`, or `projects/{project\}/locations/global/muteConfigs/{config_id\}`. */ name?: string; } export interface Params$Resource$Folders$Muteconfigs$Get extends StandardParameters { /** - * Required. Name of the mute config to retrieve. Its format is organizations/{organization\}/muteConfigs/{config_id\}, folders/{folder\}/muteConfigs/{config_id\}, projects/{project\}/muteConfigs/{config_id\}, organizations/{organization\}/locations/global/muteConfigs/{config_id\}, folders/{folder\}/locations/global/muteConfigs/{config_id\}, or projects/{project\}/locations/global/muteConfigs/{config_id\}. + * Required. Name of the mute config to retrieve. Its format is `organizations/{organization\}/muteConfigs/{config_id\}`, `folders/{folder\}/muteConfigs/{config_id\}`, `projects/{project\}/muteConfigs/{config_id\}`, `organizations/{organization\}/locations/global/muteConfigs/{config_id\}`, `folders/{folder\}/locations/global/muteConfigs/{config_id\}`, or `projects/{project\}/locations/global/muteConfigs/{config_id\}`. */ name?: string; } @@ -8509,14 +8509,14 @@ export namespace securitycenter_v1 { */ pageToken?: string; /** - * Required. The parent, which owns the collection of mute configs. Its format is "organizations/[organization_id]", "folders/[folder_id]", "projects/[project_id]". + * Required. The parent, which owns the collection of mute configs. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`. */ parent?: string; } export interface Params$Resource$Folders$Muteconfigs$Patch extends StandardParameters { /** - * This field will be ignored if provided on config creation. Format "organizations/{organization\}/muteConfigs/{mute_config\}" "folders/{folder\}/muteConfigs/{mute_config\}" "projects/{project\}/muteConfigs/{mute_config\}" "organizations/{organization\}/locations/global/muteConfigs/{mute_config\}" "folders/{folder\}/locations/global/muteConfigs/{mute_config\}" "projects/{project\}/locations/global/muteConfigs/{mute_config\}" + * This field will be ignored if provided on config creation. Format `organizations/{organization\}/muteConfigs/{mute_config\}` `folders/{folder\}/muteConfigs/{mute_config\}` `projects/{project\}/muteConfigs/{mute_config\}` `organizations/{organization\}/locations/global/muteConfigs/{mute_config\}` `folders/{folder\}/locations/global/muteConfigs/{mute_config\}` `projects/{project\}/locations/global/muteConfigs/{mute_config\}` */ name?: string; /** @@ -8998,7 +8998,7 @@ export namespace securitycenter_v1 { */ configId?: string; /** - * Required. Resource name of the new notification config's parent. Its format is "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]". + * Required. Resource name of the new notification config's parent. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`. */ parent?: string; @@ -9010,14 +9010,14 @@ export namespace securitycenter_v1 { export interface Params$Resource$Folders$Notificationconfigs$Delete extends StandardParameters { /** - * Required. Name of the notification config to delete. Its format is "organizations/[organization_id]/notificationConfigs/[config_id]", "folders/[folder_id]/notificationConfigs/[config_id]", or "projects/[project_id]/notificationConfigs/[config_id]". + * Required. Name of the notification config to delete. Its format is `organizations/[organization_id]/notificationConfigs/[config_id]`, `folders/[folder_id]/notificationConfigs/[config_id]`, or `projects/[project_id]/notificationConfigs/[config_id]`. */ name?: string; } export interface Params$Resource$Folders$Notificationconfigs$Get extends StandardParameters { /** - * Required. Name of the notification config to get. Its format is "organizations/[organization_id]/notificationConfigs/[config_id]", "folders/[folder_id]/notificationConfigs/[config_id]", or "projects/[project_id]/notificationConfigs/[config_id]". + * Required. Name of the notification config to get. Its format is `organizations/[organization_id]/notificationConfigs/[config_id]`, `folders/[folder_id]/notificationConfigs/[config_id]`, or `projects/[project_id]/notificationConfigs/[config_id]`. */ name?: string; } @@ -9754,7 +9754,7 @@ export namespace securitycenter_v1 { export interface Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Create extends StandardParameters { /** - * Required. Resource name of the new custom module's parent. Its format is "organizations/{organization\}/securityHealthAnalyticsSettings", "folders/{folder\}/securityHealthAnalyticsSettings", or "projects/{project\}/securityHealthAnalyticsSettings" + * Required. Resource name of the new custom module's parent. Its format is `organizations/{organization\}/securityHealthAnalyticsSettings`, `folders/{folder\}/securityHealthAnalyticsSettings`, or `projects/{project\}/securityHealthAnalyticsSettings` */ parent?: string; @@ -9766,14 +9766,14 @@ export namespace securitycenter_v1 { export interface Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Delete extends StandardParameters { /** - * Required. Name of the custom module to delete. Its format is "organizations/{organization\}/securityHealthAnalyticsSettings/customModules/{customModule\}", "folders/{folder\}/securityHealthAnalyticsSettings/customModules/{customModule\}", or "projects/{project\}/securityHealthAnalyticsSettings/customModules/{customModule\}" + * Required. Name of the custom module to delete. Its format is `organizations/{organization\}/securityHealthAnalyticsSettings/customModules/{customModule\}`, `folders/{folder\}/securityHealthAnalyticsSettings/customModules/{customModule\}`, or `projects/{project\}/securityHealthAnalyticsSettings/customModules/{customModule\}` */ name?: string; } export interface Params$Resource$Folders$Securityhealthanalyticssettings$Custommodules$Get extends StandardParameters { /** - * Required. Name of the custom module to get. Its format is "organizations/{organization\}/securityHealthAnalyticsSettings/customModules/{customModule\}", "folders/{folder\}/securityHealthAnalyticsSettings/customModules/{customModule\}", or "projects/{project\}/securityHealthAnalyticsSettings/customModules/{customModule\}" + * Required. Name of the custom module to get. Its format is `organizations/{organization\}/securityHealthAnalyticsSettings/customModules/{customModule\}`, `folders/{folder\}/securityHealthAnalyticsSettings/customModules/{customModule\}`, or `projects/{project\}/securityHealthAnalyticsSettings/customModules/{customModule\}` */ name?: string; } @@ -9788,7 +9788,7 @@ export namespace securitycenter_v1 { */ pageToken?: string; /** - * Required. Name of parent to list custom modules. Its format is "organizations/{organization\}/securityHealthAnalyticsSettings", "folders/{folder\}/securityHealthAnalyticsSettings", or "projects/{project\}/securityHealthAnalyticsSettings" + * Required. Name of parent to list custom modules. Its format is `organizations/{organization\}/securityHealthAnalyticsSettings`, `folders/{folder\}/securityHealthAnalyticsSettings`, or `projects/{project\}/securityHealthAnalyticsSettings` */ parent?: string; } @@ -9803,7 +9803,7 @@ export namespace securitycenter_v1 { */ pageToken?: string; /** - * Required. Name of parent to list descendant custom modules. Its format is "organizations/{organization\}/securityHealthAnalyticsSettings", "folders/{folder\}/securityHealthAnalyticsSettings", or "projects/{project\}/securityHealthAnalyticsSettings" + * Required. Name of parent to list descendant custom modules. Its format is `organizations/{organization\}/securityHealthAnalyticsSettings`, `folders/{folder\}/securityHealthAnalyticsSettings`, or `projects/{project\}/securityHealthAnalyticsSettings` */ parent?: string; } @@ -10041,7 +10041,7 @@ export namespace securitycenter_v1 { export interface Params$Resource$Folders$Securityhealthanalyticssettings$Effectivecustommodules$Get extends StandardParameters { /** - * Required. Name of the effective custom module to get. Its format is "organizations/{organization\}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule\}", "folders/{folder\}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule\}", or "projects/{project\}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule\}" + * Required. Name of the effective custom module to get. Its format is `organizations/{organization\}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule\}`, `folders/{folder\}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule\}`, or `projects/{project\}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule\}` */ name?: string; } @@ -10056,7 +10056,7 @@ export namespace securitycenter_v1 { */ pageToken?: string; /** - * Required. Name of parent to list effective custom modules. Its format is "organizations/{organization\}/securityHealthAnalyticsSettings", "folders/{folder\}/securityHealthAnalyticsSettings", or "projects/{project\}/securityHealthAnalyticsSettings" + * Required. Name of parent to list effective custom modules. Its format is `organizations/{organization\}/securityHealthAnalyticsSettings`, `folders/{folder\}/securityHealthAnalyticsSettings`, or `projects/{project\}/securityHealthAnalyticsSettings` */ parent?: string; } @@ -10173,7 +10173,7 @@ export namespace securitycenter_v1 { */ pageToken?: string; /** - * Required. Resource name of the parent of sources to list. Its format should be "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]". + * Required. Resource name of the parent of sources to list. Its format should be `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`. */ parent?: string; } @@ -10732,7 +10732,7 @@ export namespace securitycenter_v1 { export interface Params$Resource$Folders$Sources$Findings$Group extends StandardParameters { /** - * Required. Name of the source to groupBy. Its format is "organizations/[organization_id]/sources/[source_id]", folders/[folder_id]/sources/[source_id], or projects/[project_id]/sources/[source_id]. To groupBy across all sources provide a source_id of `-`. For example: organizations/{organization_id\}/sources/-, folders/{folder_id\}/sources/-, or projects/{project_id\}/sources/- + * Required. Name of the source to groupBy. Its format is `organizations/[organization_id]/sources/[source_id]`, `folders/[folder_id]/sources/[source_id]`, or `projects/[project_id]/sources/[source_id]`. To groupBy across all sources provide a source_id of `-`. For example: `organizations/{organization_id\}/sources/-, folders/{folder_id\}/sources/-`, or `projects/{project_id\}/sources/-` */ parent?: string; @@ -10768,7 +10768,7 @@ export namespace securitycenter_v1 { */ pageToken?: string; /** - * Required. Name of the source the findings belong to. Its format is "organizations/[organization_id]/sources/[source_id], folders/[folder_id]/sources/[source_id], or projects/[project_id]/sources/[source_id]". To list across all sources provide a source_id of `-`. For example: organizations/{organization_id\}/sources/-, folders/{folder_id\}/sources/- or projects/{projects_id\}/sources/- + * Required. Name of the source the findings belong to. Its format is `organizations/[organization_id]/sources/[source_id]`, `folders/[folder_id]/sources/[source_id]`, or `projects/[project_id]/sources/[source_id]`. To list across all sources provide a source_id of `-`. For example: `organizations/{organization_id\}/sources/-`, `folders/{folder_id\}/sources/-` or `projects/{projects_id\}/sources/-` */ parent?: string; /** @@ -10795,7 +10795,7 @@ export namespace securitycenter_v1 { export interface Params$Resource$Folders$Sources$Findings$Setmute extends StandardParameters { /** - * Required. The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: "organizations/{organization_id\}/sources/{source_id\}/findings/{finding_id\}", "folders/{folder_id\}/sources/{source_id\}/findings/{finding_id\}", "projects/{project_id\}/sources/{source_id\}/findings/{finding_id\}". + * Required. The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: `organizations/{organization_id\}/sources/{source_id\}/findings/{finding_id\}`, `folders/{folder_id\}/sources/{source_id\}/findings/{finding_id\}`, `projects/{project_id\}/sources/{source_id\}/findings/{finding_id\}`. */ name?: string; @@ -10807,7 +10807,7 @@ export namespace securitycenter_v1 { export interface Params$Resource$Folders$Sources$Findings$Setstate extends StandardParameters { /** - * Required. The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: "organizations/{organization_id\}/sources/{source_id\}/findings/{finding_id\}", "folders/{folder_id\}/sources/{source_id\}/findings/{finding_id\}", "projects/{project_id\}/sources/{source_id\}/findings/{finding_id\}". + * Required. The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: `organizations/{organization_id\}/sources/{source_id\}/findings/{finding_id\}`, `folders/{folder_id\}/sources/{source_id\}/findings/{finding_id\}`, `projects/{project_id\}/sources/{source_id\}/findings/{finding_id\}`. */ name?: string; @@ -11186,7 +11186,7 @@ export namespace securitycenter_v1 { export interface Params$Resource$Organizations$Getorganizationsettings extends StandardParameters { /** - * Required. Name of the organization to get organization settings for. Its format is "organizations/[organization_id]/organizationSettings". + * Required. Name of the organization to get organization settings for. Its format is `organizations/[organization_id]/organizationSettings`. */ name?: string; } @@ -11578,7 +11578,7 @@ export namespace securitycenter_v1 { export interface Params$Resource$Organizations$Assets$Group extends StandardParameters { /** - * Required. The name of the parent to group the assets by. Its format is "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]". + * Required. The name of the parent to group the assets by. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`. */ parent?: string; @@ -11614,7 +11614,7 @@ export namespace securitycenter_v1 { */ pageToken?: string; /** - * Required. The name of the parent resource that contains the assets. The value that you can specify on parent depends on the method in which you specify parent. You can specify one of the following values: "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]". + * Required. The name of the parent resource that contains the assets. The value that you can specify on parent depends on the method in which you specify parent. You can specify one of the following values: `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`. */ parent?: string; /** @@ -11625,7 +11625,7 @@ export namespace securitycenter_v1 { export interface Params$Resource$Organizations$Assets$Rundiscovery extends StandardParameters { /** - * Required. Name of the organization to run asset discovery for. Its format is "organizations/[organization_id]". + * Required. Name of the organization to run asset discovery for. Its format is `organizations/[organization_id]`. */ parent?: string; @@ -12139,7 +12139,7 @@ export namespace securitycenter_v1 { */ bigQueryExportId?: string; /** - * Required. The name of the parent resource of the new BigQuery export. Its format is "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]". + * Required. The name of the parent resource of the new BigQuery export. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`. */ parent?: string; @@ -12151,14 +12151,14 @@ export namespace securitycenter_v1 { export interface Params$Resource$Organizations$Bigqueryexports$Delete extends StandardParameters { /** - * Required. The name of the BigQuery export to delete. Its format is organizations/{organization\}/bigQueryExports/{export_id\}, folders/{folder\}/bigQueryExports/{export_id\}, or projects/{project\}/bigQueryExports/{export_id\} + * Required. The name of the BigQuery export to delete. Its format is `organizations/{organization\}/bigQueryExports/{export_id\}`, `folders/{folder\}/bigQueryExports/{export_id\}`, or `projects/{project\}/bigQueryExports/{export_id\}` */ name?: string; } export interface Params$Resource$Organizations$Bigqueryexports$Get extends StandardParameters { /** - * Required. Name of the BigQuery export to retrieve. Its format is organizations/{organization\}/bigQueryExports/{export_id\}, folders/{folder\}/bigQueryExports/{export_id\}, or projects/{project\}/bigQueryExports/{export_id\} + * Required. Name of the BigQuery export to retrieve. Its format is `organizations/{organization\}/bigQueryExports/{export_id\}`, `folders/{folder\}/bigQueryExports/{export_id\}`, or `projects/{project\}/bigQueryExports/{export_id\}` */ name?: string; } @@ -12173,7 +12173,7 @@ export namespace securitycenter_v1 { */ pageToken?: string; /** - * Required. The parent, which owns the collection of BigQuery exports. Its format is "organizations/[organization_id]", "folders/[folder_id]", "projects/[project_id]". + * Required. The parent, which owns the collection of BigQuery exports. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`. */ parent?: string; } @@ -12964,7 +12964,7 @@ export namespace securitycenter_v1 { export interface Params$Resource$Organizations$Eventthreatdetectionsettings$Custommodules$Patch extends StandardParameters { /** - * Immutable. The resource name of the Event Threat Detection custom module. Its format is: * "organizations/{organization\}/eventThreatDetectionSettings/customModules/{module\}". * "folders/{folder\}/eventThreatDetectionSettings/customModules/{module\}". * "projects/{project\}/eventThreatDetectionSettings/customModules/{module\}". + * Immutable. The resource name of the Event Threat Detection custom module. Its format is: * `organizations/{organization\}/eventThreatDetectionSettings/customModules/{module\}`. * `folders/{folder\}/eventThreatDetectionSettings/customModules/{module\}`. * `projects/{project\}/eventThreatDetectionSettings/customModules/{module\}`. */ name?: string; /** @@ -13302,7 +13302,7 @@ export namespace securitycenter_v1 { export interface Params$Resource$Organizations$Findings$Bulkmute extends StandardParameters { /** - * Required. The parent, at which bulk action needs to be applied. Its format is "organizations/[organization_id]", "folders/[folder_id]", "projects/[project_id]". + * Required. The parent, at which bulk action needs to be applied. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`. */ parent?: string; @@ -13805,7 +13805,7 @@ export namespace securitycenter_v1 { */ muteConfigId?: string; /** - * Required. Resource name of the new mute configs's parent. Its format is "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]". + * Required. Resource name of the new mute configs's parent. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`. */ parent?: string; @@ -13817,14 +13817,14 @@ export namespace securitycenter_v1 { export interface Params$Resource$Organizations$Locations$Muteconfigs$Delete extends StandardParameters { /** - * Required. Name of the mute config to delete. Its format is organizations/{organization\}/muteConfigs/{config_id\}, folders/{folder\}/muteConfigs/{config_id\}, projects/{project\}/muteConfigs/{config_id\}, organizations/{organization\}/locations/global/muteConfigs/{config_id\}, folders/{folder\}/locations/global/muteConfigs/{config_id\}, or projects/{project\}/locations/global/muteConfigs/{config_id\}. + * Required. Name of the mute config to delete. Its format is `organizations/{organization\}/muteConfigs/{config_id\}`, `folders/{folder\}/muteConfigs/{config_id\}`, `projects/{project\}/muteConfigs/{config_id\}`, `organizations/{organization\}/locations/global/muteConfigs/{config_id\}`, `folders/{folder\}/locations/global/muteConfigs/{config_id\}`, or `projects/{project\}/locations/global/muteConfigs/{config_id\}`. */ name?: string; } export interface Params$Resource$Organizations$Locations$Muteconfigs$Get extends StandardParameters { /** - * Required. Name of the mute config to retrieve. Its format is organizations/{organization\}/muteConfigs/{config_id\}, folders/{folder\}/muteConfigs/{config_id\}, projects/{project\}/muteConfigs/{config_id\}, organizations/{organization\}/locations/global/muteConfigs/{config_id\}, folders/{folder\}/locations/global/muteConfigs/{config_id\}, or projects/{project\}/locations/global/muteConfigs/{config_id\}. + * Required. Name of the mute config to retrieve. Its format is `organizations/{organization\}/muteConfigs/{config_id\}`, `folders/{folder\}/muteConfigs/{config_id\}`, `projects/{project\}/muteConfigs/{config_id\}`, `organizations/{organization\}/locations/global/muteConfigs/{config_id\}`, `folders/{folder\}/locations/global/muteConfigs/{config_id\}`, or `projects/{project\}/locations/global/muteConfigs/{config_id\}`. */ name?: string; } @@ -13839,14 +13839,14 @@ export namespace securitycenter_v1 { */ pageToken?: string; /** - * Required. The parent, which owns the collection of mute configs. Its format is "organizations/[organization_id]", "folders/[folder_id]", "projects/[project_id]". + * Required. The parent, which owns the collection of mute configs. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`. */ parent?: string; } export interface Params$Resource$Organizations$Locations$Muteconfigs$Patch extends StandardParameters { /** - * This field will be ignored if provided on config creation. Format "organizations/{organization\}/muteConfigs/{mute_config\}" "folders/{folder\}/muteConfigs/{mute_config\}" "projects/{project\}/muteConfigs/{mute_config\}" "organizations/{organization\}/locations/global/muteConfigs/{mute_config\}" "folders/{folder\}/locations/global/muteConfigs/{mute_config\}" "projects/{project\}/locations/global/muteConfigs/{mute_config\}" + * This field will be ignored if provided on config creation. Format `organizations/{organization\}/muteConfigs/{mute_config\}` `folders/{folder\}/muteConfigs/{mute_config\}` `projects/{project\}/muteConfigs/{mute_config\}` `organizations/{organization\}/locations/global/muteConfigs/{mute_config\}` `folders/{folder\}/locations/global/muteConfigs/{mute_config\}` `projects/{project\}/locations/global/muteConfigs/{mute_config\}` */ name?: string; /** @@ -14342,7 +14342,7 @@ export namespace securitycenter_v1 { */ muteConfigId?: string; /** - * Required. Resource name of the new mute configs's parent. Its format is "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]". + * Required. Resource name of the new mute configs's parent. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`. */ parent?: string; @@ -14354,14 +14354,14 @@ export namespace securitycenter_v1 { export interface Params$Resource$Organizations$Muteconfigs$Delete extends StandardParameters { /** - * Required. Name of the mute config to delete. Its format is organizations/{organization\}/muteConfigs/{config_id\}, folders/{folder\}/muteConfigs/{config_id\}, projects/{project\}/muteConfigs/{config_id\}, organizations/{organization\}/locations/global/muteConfigs/{config_id\}, folders/{folder\}/locations/global/muteConfigs/{config_id\}, or projects/{project\}/locations/global/muteConfigs/{config_id\}. + * Required. Name of the mute config to delete. Its format is `organizations/{organization\}/muteConfigs/{config_id\}`, `folders/{folder\}/muteConfigs/{config_id\}`, `projects/{project\}/muteConfigs/{config_id\}`, `organizations/{organization\}/locations/global/muteConfigs/{config_id\}`, `folders/{folder\}/locations/global/muteConfigs/{config_id\}`, or `projects/{project\}/locations/global/muteConfigs/{config_id\}`. */ name?: string; } export interface Params$Resource$Organizations$Muteconfigs$Get extends StandardParameters { /** - * Required. Name of the mute config to retrieve. Its format is organizations/{organization\}/muteConfigs/{config_id\}, folders/{folder\}/muteConfigs/{config_id\}, projects/{project\}/muteConfigs/{config_id\}, organizations/{organization\}/locations/global/muteConfigs/{config_id\}, folders/{folder\}/locations/global/muteConfigs/{config_id\}, or projects/{project\}/locations/global/muteConfigs/{config_id\}. + * Required. Name of the mute config to retrieve. Its format is `organizations/{organization\}/muteConfigs/{config_id\}`, `folders/{folder\}/muteConfigs/{config_id\}`, `projects/{project\}/muteConfigs/{config_id\}`, `organizations/{organization\}/locations/global/muteConfigs/{config_id\}`, `folders/{folder\}/locations/global/muteConfigs/{config_id\}`, or `projects/{project\}/locations/global/muteConfigs/{config_id\}`. */ name?: string; } @@ -14376,14 +14376,14 @@ export namespace securitycenter_v1 { */ pageToken?: string; /** - * Required. The parent, which owns the collection of mute configs. Its format is "organizations/[organization_id]", "folders/[folder_id]", "projects/[project_id]". + * Required. The parent, which owns the collection of mute configs. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`. */ parent?: string; } export interface Params$Resource$Organizations$Muteconfigs$Patch extends StandardParameters { /** - * This field will be ignored if provided on config creation. Format "organizations/{organization\}/muteConfigs/{mute_config\}" "folders/{folder\}/muteConfigs/{mute_config\}" "projects/{project\}/muteConfigs/{mute_config\}" "organizations/{organization\}/locations/global/muteConfigs/{mute_config\}" "folders/{folder\}/locations/global/muteConfigs/{mute_config\}" "projects/{project\}/locations/global/muteConfigs/{mute_config\}" + * This field will be ignored if provided on config creation. Format `organizations/{organization\}/muteConfigs/{mute_config\}` `folders/{folder\}/muteConfigs/{mute_config\}` `projects/{project\}/muteConfigs/{mute_config\}` `organizations/{organization\}/locations/global/muteConfigs/{mute_config\}` `folders/{folder\}/locations/global/muteConfigs/{mute_config\}` `projects/{project\}/locations/global/muteConfigs/{mute_config\}` */ name?: string; /** @@ -14865,7 +14865,7 @@ export namespace securitycenter_v1 { */ configId?: string; /** - * Required. Resource name of the new notification config's parent. Its format is "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]". + * Required. Resource name of the new notification config's parent. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`. */ parent?: string; @@ -14877,14 +14877,14 @@ export namespace securitycenter_v1 { export interface Params$Resource$Organizations$Notificationconfigs$Delete extends StandardParameters { /** - * Required. Name of the notification config to delete. Its format is "organizations/[organization_id]/notificationConfigs/[config_id]", "folders/[folder_id]/notificationConfigs/[config_id]", or "projects/[project_id]/notificationConfigs/[config_id]". + * Required. Name of the notification config to delete. Its format is `organizations/[organization_id]/notificationConfigs/[config_id]`, `folders/[folder_id]/notificationConfigs/[config_id]`, or `projects/[project_id]/notificationConfigs/[config_id]`. */ name?: string; } export interface Params$Resource$Organizations$Notificationconfigs$Get extends StandardParameters { /** - * Required. Name of the notification config to get. Its format is "organizations/[organization_id]/notificationConfigs/[config_id]", "folders/[folder_id]/notificationConfigs/[config_id]", or "projects/[project_id]/notificationConfigs/[config_id]". + * Required. Name of the notification config to get. Its format is `organizations/[organization_id]/notificationConfigs/[config_id]`, `folders/[folder_id]/notificationConfigs/[config_id]`, or `projects/[project_id]/notificationConfigs/[config_id]`. */ name?: string; } @@ -15819,7 +15819,7 @@ export namespace securitycenter_v1 { export interface Params$Resource$Organizations$Resourcevalueconfigs$Get extends StandardParameters { /** - * Required. Name of the resource value config to retrieve. Its format is organizations/{organization\}/resourceValueConfigs/{config_id\}. + * Required. Name of the resource value config to retrieve. Its format is `organizations/{organization\}/resourceValueConfigs/{config_id\}`. */ name?: string; } @@ -15834,7 +15834,7 @@ export namespace securitycenter_v1 { */ pageToken?: string; /** - * Required. The parent, which owns the collection of resource value configs. Its format is "organizations/[organization_id]" + * Required. The parent, which owns the collection of resource value configs. Its format is `organizations/[organization_id]` */ parent?: string; } @@ -16556,7 +16556,7 @@ export namespace securitycenter_v1 { export interface Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Create extends StandardParameters { /** - * Required. Resource name of the new custom module's parent. Its format is "organizations/{organization\}/securityHealthAnalyticsSettings", "folders/{folder\}/securityHealthAnalyticsSettings", or "projects/{project\}/securityHealthAnalyticsSettings" + * Required. Resource name of the new custom module's parent. Its format is `organizations/{organization\}/securityHealthAnalyticsSettings`, `folders/{folder\}/securityHealthAnalyticsSettings`, or `projects/{project\}/securityHealthAnalyticsSettings` */ parent?: string; @@ -16568,14 +16568,14 @@ export namespace securitycenter_v1 { export interface Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Delete extends StandardParameters { /** - * Required. Name of the custom module to delete. Its format is "organizations/{organization\}/securityHealthAnalyticsSettings/customModules/{customModule\}", "folders/{folder\}/securityHealthAnalyticsSettings/customModules/{customModule\}", or "projects/{project\}/securityHealthAnalyticsSettings/customModules/{customModule\}" + * Required. Name of the custom module to delete. Its format is `organizations/{organization\}/securityHealthAnalyticsSettings/customModules/{customModule\}`, `folders/{folder\}/securityHealthAnalyticsSettings/customModules/{customModule\}`, or `projects/{project\}/securityHealthAnalyticsSettings/customModules/{customModule\}` */ name?: string; } export interface Params$Resource$Organizations$Securityhealthanalyticssettings$Custommodules$Get extends StandardParameters { /** - * Required. Name of the custom module to get. Its format is "organizations/{organization\}/securityHealthAnalyticsSettings/customModules/{customModule\}", "folders/{folder\}/securityHealthAnalyticsSettings/customModules/{customModule\}", or "projects/{project\}/securityHealthAnalyticsSettings/customModules/{customModule\}" + * Required. Name of the custom module to get. Its format is `organizations/{organization\}/securityHealthAnalyticsSettings/customModules/{customModule\}`, `folders/{folder\}/securityHealthAnalyticsSettings/customModules/{customModule\}`, or `projects/{project\}/securityHealthAnalyticsSettings/customModules/{customModule\}` */ name?: string; } @@ -16590,7 +16590,7 @@ export namespace securitycenter_v1 { */ pageToken?: string; /** - * Required. Name of parent to list custom modules. Its format is "organizations/{organization\}/securityHealthAnalyticsSettings", "folders/{folder\}/securityHealthAnalyticsSettings", or "projects/{project\}/securityHealthAnalyticsSettings" + * Required. Name of parent to list custom modules. Its format is `organizations/{organization\}/securityHealthAnalyticsSettings`, `folders/{folder\}/securityHealthAnalyticsSettings`, or `projects/{project\}/securityHealthAnalyticsSettings` */ parent?: string; } @@ -16605,7 +16605,7 @@ export namespace securitycenter_v1 { */ pageToken?: string; /** - * Required. Name of parent to list descendant custom modules. Its format is "organizations/{organization\}/securityHealthAnalyticsSettings", "folders/{folder\}/securityHealthAnalyticsSettings", or "projects/{project\}/securityHealthAnalyticsSettings" + * Required. Name of parent to list descendant custom modules. Its format is `organizations/{organization\}/securityHealthAnalyticsSettings`, `folders/{folder\}/securityHealthAnalyticsSettings`, or `projects/{project\}/securityHealthAnalyticsSettings` */ parent?: string; } @@ -16843,7 +16843,7 @@ export namespace securitycenter_v1 { export interface Params$Resource$Organizations$Securityhealthanalyticssettings$Effectivecustommodules$Get extends StandardParameters { /** - * Required. Name of the effective custom module to get. Its format is "organizations/{organization\}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule\}", "folders/{folder\}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule\}", or "projects/{project\}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule\}" + * Required. Name of the effective custom module to get. Its format is `organizations/{organization\}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule\}`, `folders/{folder\}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule\}`, or `projects/{project\}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule\}` */ name?: string; } @@ -16858,7 +16858,7 @@ export namespace securitycenter_v1 { */ pageToken?: string; /** - * Required. Name of parent to list effective custom modules. Its format is "organizations/{organization\}/securityHealthAnalyticsSettings", "folders/{folder\}/securityHealthAnalyticsSettings", or "projects/{project\}/securityHealthAnalyticsSettings" + * Required. Name of parent to list effective custom modules. Its format is `organizations/{organization\}/securityHealthAnalyticsSettings`, `folders/{folder\}/securityHealthAnalyticsSettings`, or `projects/{project\}/securityHealthAnalyticsSettings` */ parent?: string; } @@ -16971,7 +16971,7 @@ export namespace securitycenter_v1 { export interface Params$Resource$Organizations$Simulations$Get extends StandardParameters { /** - * Required. The organization name or simulation name of this simulation Valid format: "organizations/{organization\}/simulations/latest" "organizations/{organization\}/simulations/{simulation\}" + * Required. The organization name or simulation name of this simulation Valid format: `organizations/{organization\}/simulations/latest` `organizations/{organization\}/simulations/{simulation\}` */ name?: string; } @@ -17110,7 +17110,7 @@ export namespace securitycenter_v1 { */ pageToken?: string; /** - * Required. Name of parent to list attack paths. Valid formats: "organizations/{organization\}", "organizations/{organization\}/simulations/{simulation\}" "organizations/{organization\}/simulations/{simulation\}/attackExposureResults/{attack_exposure_result_v2\}" "organizations/{organization\}/simulations/{simulation\}/valuedResources/{valued_resource\}" + * Required. Name of parent to list attack paths. Valid formats: `organizations/{organization\}`, `organizations/{organization\}/simulations/{simulation\}` `organizations/{organization\}/simulations/{simulation\}/attackExposureResults/{attack_exposure_result_v2\}` `organizations/{organization\}/simulations/{simulation\}/valuedResources/{valued_resource\}` */ parent?: string; } @@ -17226,7 +17226,7 @@ export namespace securitycenter_v1 { */ filter?: string; /** - * Optional. The fields by which to order the valued resources response. Supported fields: * `exposed_score` * `resource_value` * `resource_type` * `resource` * `display_name` Values should be a comma separated list of fields. For example: `exposed_score,resource_value`. The default sorting order is descending. To specify ascending or descending order for a field, append a " ASC" or a " DESC" suffix, respectively; for example: `exposed_score DESC`. + * Optional. The fields by which to order the valued resources response. Supported fields: * `exposed_score` * `resource_value` * `resource_type` * `resource` * `display_name` Values should be a comma separated list of fields. For example: `exposed_score,resource_value`. The default sorting order is descending. To specify ascending or descending order for a field, append a ` ASC` or a ` DESC` suffix, respectively; for example: `exposed_score DESC`. */ orderBy?: string; /** @@ -17238,7 +17238,7 @@ export namespace securitycenter_v1 { */ pageToken?: string; /** - * Required. Name of parent to list valued resources. Valid formats: "organizations/{organization\}", "organizations/{organization\}/simulations/{simulation\}" "organizations/{organization\}/simulations/{simulation\}/attackExposureResults/{attack_exposure_result_v2\}" + * Required. Name of parent to list valued resources. Valid formats: `organizations/{organization\}`, `organizations/{organization\}/simulations/{simulation\}` `organizations/{organization\}/simulations/{simulation\}/attackExposureResults/{attack_exposure_result_v2\}` */ parent?: string; } @@ -17360,7 +17360,7 @@ export namespace securitycenter_v1 { */ pageToken?: string; /** - * Required. Name of parent to list attack paths. Valid formats: "organizations/{organization\}", "organizations/{organization\}/simulations/{simulation\}" "organizations/{organization\}/simulations/{simulation\}/attackExposureResults/{attack_exposure_result_v2\}" "organizations/{organization\}/simulations/{simulation\}/valuedResources/{valued_resource\}" + * Required. Name of parent to list attack paths. Valid formats: `organizations/{organization\}`, `organizations/{organization\}/simulations/{simulation\}` `organizations/{organization\}/simulations/{simulation\}/attackExposureResults/{attack_exposure_result_v2\}` `organizations/{organization\}/simulations/{simulation\}/valuedResources/{valued_resource\}` */ parent?: string; } @@ -17564,7 +17564,7 @@ export namespace securitycenter_v1 { export interface Params$Resource$Organizations$Simulations$Valuedresources$Get extends StandardParameters { /** - * Required. The name of this valued resource Valid format: "organizations/{organization\}/simulations/{simulation\}/valuedResources/{valued_resource\}" + * Required. The name of this valued resource Valid format: `organizations/{organization\}/simulations/{simulation\}/valuedResources/{valued_resource\}` */ name?: string; } @@ -17575,7 +17575,7 @@ export namespace securitycenter_v1 { */ filter?: string; /** - * Optional. The fields by which to order the valued resources response. Supported fields: * `exposed_score` * `resource_value` * `resource_type` * `resource` * `display_name` Values should be a comma separated list of fields. For example: `exposed_score,resource_value`. The default sorting order is descending. To specify ascending or descending order for a field, append a " ASC" or a " DESC" suffix, respectively; for example: `exposed_score DESC`. + * Optional. The fields by which to order the valued resources response. Supported fields: * `exposed_score` * `resource_value` * `resource_type` * `resource` * `display_name` Values should be a comma separated list of fields. For example: `exposed_score,resource_value`. The default sorting order is descending. To specify ascending or descending order for a field, append a ` ASC` or a ` DESC` suffix, respectively; for example: `exposed_score DESC`. */ orderBy?: string; /** @@ -17587,7 +17587,7 @@ export namespace securitycenter_v1 { */ pageToken?: string; /** - * Required. Name of parent to list valued resources. Valid formats: "organizations/{organization\}", "organizations/{organization\}/simulations/{simulation\}" "organizations/{organization\}/simulations/{simulation\}/attackExposureResults/{attack_exposure_result_v2\}" + * Required. Name of parent to list valued resources. Valid formats: `organizations/{organization\}`, `organizations/{organization\}/simulations/{simulation\}` `organizations/{organization\}/simulations/{simulation\}/attackExposureResults/{attack_exposure_result_v2\}` */ parent?: string; } @@ -17709,7 +17709,7 @@ export namespace securitycenter_v1 { */ pageToken?: string; /** - * Required. Name of parent to list attack paths. Valid formats: "organizations/{organization\}", "organizations/{organization\}/simulations/{simulation\}" "organizations/{organization\}/simulations/{simulation\}/attackExposureResults/{attack_exposure_result_v2\}" "organizations/{organization\}/simulations/{simulation\}/valuedResources/{valued_resource\}" + * Required. Name of parent to list attack paths. Valid formats: `organizations/{organization\}`, `organizations/{organization\}/simulations/{simulation\}` `organizations/{organization\}/simulations/{simulation\}/attackExposureResults/{attack_exposure_result_v2\}` `organizations/{organization\}/simulations/{simulation\}/valuedResources/{valued_resource\}` */ parent?: string; } @@ -18353,7 +18353,7 @@ export namespace securitycenter_v1 { export interface Params$Resource$Organizations$Sources$Create extends StandardParameters { /** - * Required. Resource name of the new source's parent. Its format should be "organizations/[organization_id]". + * Required. Resource name of the new source's parent. Its format should be `organizations/[organization_id]`. */ parent?: string; @@ -18365,7 +18365,7 @@ export namespace securitycenter_v1 { export interface Params$Resource$Organizations$Sources$Get extends StandardParameters { /** - * Required. Relative resource name of the source. Its format is "organizations/[organization_id]/source/[source_id]". + * Required. Relative resource name of the source. Its format is `organizations/[organization_id]/source/[source_id]`. */ name?: string; } @@ -18392,7 +18392,7 @@ export namespace securitycenter_v1 { */ pageToken?: string; /** - * Required. Resource name of the parent of sources to list. Its format should be "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]". + * Required. Resource name of the parent of sources to list. Its format should be `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`. */ parent?: string; } @@ -19086,7 +19086,7 @@ export namespace securitycenter_v1 { */ findingId?: string; /** - * Required. Resource name of the new finding's parent. Its format should be "organizations/[organization_id]/sources/[source_id]". + * Required. Resource name of the new finding's parent. Its format should be `organizations/[organization_id]/sources/[source_id]`. */ parent?: string; @@ -19098,7 +19098,7 @@ export namespace securitycenter_v1 { export interface Params$Resource$Organizations$Sources$Findings$Group extends StandardParameters { /** - * Required. Name of the source to groupBy. Its format is "organizations/[organization_id]/sources/[source_id]", folders/[folder_id]/sources/[source_id], or projects/[project_id]/sources/[source_id]. To groupBy across all sources provide a source_id of `-`. For example: organizations/{organization_id\}/sources/-, folders/{folder_id\}/sources/-, or projects/{project_id\}/sources/- + * Required. Name of the source to groupBy. Its format is `organizations/[organization_id]/sources/[source_id]`, `folders/[folder_id]/sources/[source_id]`, or `projects/[project_id]/sources/[source_id]`. To groupBy across all sources provide a source_id of `-`. For example: `organizations/{organization_id\}/sources/-, folders/{folder_id\}/sources/-`, or `projects/{project_id\}/sources/-` */ parent?: string; @@ -19134,7 +19134,7 @@ export namespace securitycenter_v1 { */ pageToken?: string; /** - * Required. Name of the source the findings belong to. Its format is "organizations/[organization_id]/sources/[source_id], folders/[folder_id]/sources/[source_id], or projects/[project_id]/sources/[source_id]". To list across all sources provide a source_id of `-`. For example: organizations/{organization_id\}/sources/-, folders/{folder_id\}/sources/- or projects/{projects_id\}/sources/- + * Required. Name of the source the findings belong to. Its format is `organizations/[organization_id]/sources/[source_id]`, `folders/[folder_id]/sources/[source_id]`, or `projects/[project_id]/sources/[source_id]`. To list across all sources provide a source_id of `-`. For example: `organizations/{organization_id\}/sources/-`, `folders/{folder_id\}/sources/-` or `projects/{projects_id\}/sources/-` */ parent?: string; /** @@ -19161,7 +19161,7 @@ export namespace securitycenter_v1 { export interface Params$Resource$Organizations$Sources$Findings$Setmute extends StandardParameters { /** - * Required. The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: "organizations/{organization_id\}/sources/{source_id\}/findings/{finding_id\}", "folders/{folder_id\}/sources/{source_id\}/findings/{finding_id\}", "projects/{project_id\}/sources/{source_id\}/findings/{finding_id\}". + * Required. The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: `organizations/{organization_id\}/sources/{source_id\}/findings/{finding_id\}`, `folders/{folder_id\}/sources/{source_id\}/findings/{finding_id\}`, `projects/{project_id\}/sources/{source_id\}/findings/{finding_id\}`. */ name?: string; @@ -19173,7 +19173,7 @@ export namespace securitycenter_v1 { export interface Params$Resource$Organizations$Sources$Findings$Setstate extends StandardParameters { /** - * Required. The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: "organizations/{organization_id\}/sources/{source_id\}/findings/{finding_id\}", "folders/{folder_id\}/sources/{source_id\}/findings/{finding_id\}", "projects/{project_id\}/sources/{source_id\}/findings/{finding_id\}". + * Required. The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: `organizations/{organization_id\}/sources/{source_id\}/findings/{finding_id\}`, `folders/{folder_id\}/sources/{source_id\}/findings/{finding_id\}`, `projects/{project_id\}/sources/{source_id\}/findings/{finding_id\}`. */ name?: string; @@ -19636,7 +19636,7 @@ export namespace securitycenter_v1 { export interface Params$Resource$Projects$Assets$Group extends StandardParameters { /** - * Required. The name of the parent to group the assets by. Its format is "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]". + * Required. The name of the parent to group the assets by. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`. */ parent?: string; @@ -19672,7 +19672,7 @@ export namespace securitycenter_v1 { */ pageToken?: string; /** - * Required. The name of the parent resource that contains the assets. The value that you can specify on parent depends on the method in which you specify parent. You can specify one of the following values: "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]". + * Required. The name of the parent resource that contains the assets. The value that you can specify on parent depends on the method in which you specify parent. You can specify one of the following values: `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`. */ parent?: string; /** @@ -20185,7 +20185,7 @@ export namespace securitycenter_v1 { */ bigQueryExportId?: string; /** - * Required. The name of the parent resource of the new BigQuery export. Its format is "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]". + * Required. The name of the parent resource of the new BigQuery export. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`. */ parent?: string; @@ -20197,14 +20197,14 @@ export namespace securitycenter_v1 { export interface Params$Resource$Projects$Bigqueryexports$Delete extends StandardParameters { /** - * Required. The name of the BigQuery export to delete. Its format is organizations/{organization\}/bigQueryExports/{export_id\}, folders/{folder\}/bigQueryExports/{export_id\}, or projects/{project\}/bigQueryExports/{export_id\} + * Required. The name of the BigQuery export to delete. Its format is `organizations/{organization\}/bigQueryExports/{export_id\}`, `folders/{folder\}/bigQueryExports/{export_id\}`, or `projects/{project\}/bigQueryExports/{export_id\}` */ name?: string; } export interface Params$Resource$Projects$Bigqueryexports$Get extends StandardParameters { /** - * Required. Name of the BigQuery export to retrieve. Its format is organizations/{organization\}/bigQueryExports/{export_id\}, folders/{folder\}/bigQueryExports/{export_id\}, or projects/{project\}/bigQueryExports/{export_id\} + * Required. Name of the BigQuery export to retrieve. Its format is `organizations/{organization\}/bigQueryExports/{export_id\}`, `folders/{folder\}/bigQueryExports/{export_id\}`, or `projects/{project\}/bigQueryExports/{export_id\}` */ name?: string; } @@ -20219,7 +20219,7 @@ export namespace securitycenter_v1 { */ pageToken?: string; /** - * Required. The parent, which owns the collection of BigQuery exports. Its format is "organizations/[organization_id]", "folders/[folder_id]", "projects/[project_id]". + * Required. The parent, which owns the collection of BigQuery exports. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`. */ parent?: string; } @@ -21010,7 +21010,7 @@ export namespace securitycenter_v1 { export interface Params$Resource$Projects$Eventthreatdetectionsettings$Custommodules$Patch extends StandardParameters { /** - * Immutable. The resource name of the Event Threat Detection custom module. Its format is: * "organizations/{organization\}/eventThreatDetectionSettings/customModules/{module\}". * "folders/{folder\}/eventThreatDetectionSettings/customModules/{module\}". * "projects/{project\}/eventThreatDetectionSettings/customModules/{module\}". + * Immutable. The resource name of the Event Threat Detection custom module. Its format is: * `organizations/{organization\}/eventThreatDetectionSettings/customModules/{module\}`. * `folders/{folder\}/eventThreatDetectionSettings/customModules/{module\}`. * `projects/{project\}/eventThreatDetectionSettings/customModules/{module\}`. */ name?: string; /** @@ -21348,7 +21348,7 @@ export namespace securitycenter_v1 { export interface Params$Resource$Projects$Findings$Bulkmute extends StandardParameters { /** - * Required. The parent, at which bulk action needs to be applied. Its format is "organizations/[organization_id]", "folders/[folder_id]", "projects/[project_id]". + * Required. The parent, at which bulk action needs to be applied. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`. */ parent?: string; @@ -21848,7 +21848,7 @@ export namespace securitycenter_v1 { */ muteConfigId?: string; /** - * Required. Resource name of the new mute configs's parent. Its format is "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]". + * Required. Resource name of the new mute configs's parent. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`. */ parent?: string; @@ -21860,14 +21860,14 @@ export namespace securitycenter_v1 { export interface Params$Resource$Projects$Locations$Muteconfigs$Delete extends StandardParameters { /** - * Required. Name of the mute config to delete. Its format is organizations/{organization\}/muteConfigs/{config_id\}, folders/{folder\}/muteConfigs/{config_id\}, projects/{project\}/muteConfigs/{config_id\}, organizations/{organization\}/locations/global/muteConfigs/{config_id\}, folders/{folder\}/locations/global/muteConfigs/{config_id\}, or projects/{project\}/locations/global/muteConfigs/{config_id\}. + * Required. Name of the mute config to delete. Its format is `organizations/{organization\}/muteConfigs/{config_id\}`, `folders/{folder\}/muteConfigs/{config_id\}`, `projects/{project\}/muteConfigs/{config_id\}`, `organizations/{organization\}/locations/global/muteConfigs/{config_id\}`, `folders/{folder\}/locations/global/muteConfigs/{config_id\}`, or `projects/{project\}/locations/global/muteConfigs/{config_id\}`. */ name?: string; } export interface Params$Resource$Projects$Locations$Muteconfigs$Get extends StandardParameters { /** - * Required. Name of the mute config to retrieve. Its format is organizations/{organization\}/muteConfigs/{config_id\}, folders/{folder\}/muteConfigs/{config_id\}, projects/{project\}/muteConfigs/{config_id\}, organizations/{organization\}/locations/global/muteConfigs/{config_id\}, folders/{folder\}/locations/global/muteConfigs/{config_id\}, or projects/{project\}/locations/global/muteConfigs/{config_id\}. + * Required. Name of the mute config to retrieve. Its format is `organizations/{organization\}/muteConfigs/{config_id\}`, `folders/{folder\}/muteConfigs/{config_id\}`, `projects/{project\}/muteConfigs/{config_id\}`, `organizations/{organization\}/locations/global/muteConfigs/{config_id\}`, `folders/{folder\}/locations/global/muteConfigs/{config_id\}`, or `projects/{project\}/locations/global/muteConfigs/{config_id\}`. */ name?: string; } @@ -21882,14 +21882,14 @@ export namespace securitycenter_v1 { */ pageToken?: string; /** - * Required. The parent, which owns the collection of mute configs. Its format is "organizations/[organization_id]", "folders/[folder_id]", "projects/[project_id]". + * Required. The parent, which owns the collection of mute configs. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`. */ parent?: string; } export interface Params$Resource$Projects$Locations$Muteconfigs$Patch extends StandardParameters { /** - * This field will be ignored if provided on config creation. Format "organizations/{organization\}/muteConfigs/{mute_config\}" "folders/{folder\}/muteConfigs/{mute_config\}" "projects/{project\}/muteConfigs/{mute_config\}" "organizations/{organization\}/locations/global/muteConfigs/{mute_config\}" "folders/{folder\}/locations/global/muteConfigs/{mute_config\}" "projects/{project\}/locations/global/muteConfigs/{mute_config\}" + * This field will be ignored if provided on config creation. Format `organizations/{organization\}/muteConfigs/{mute_config\}` `folders/{folder\}/muteConfigs/{mute_config\}` `projects/{project\}/muteConfigs/{mute_config\}` `organizations/{organization\}/locations/global/muteConfigs/{mute_config\}` `folders/{folder\}/locations/global/muteConfigs/{mute_config\}` `projects/{project\}/locations/global/muteConfigs/{mute_config\}` */ name?: string; /** @@ -22385,7 +22385,7 @@ export namespace securitycenter_v1 { */ muteConfigId?: string; /** - * Required. Resource name of the new mute configs's parent. Its format is "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]". + * Required. Resource name of the new mute configs's parent. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`. */ parent?: string; @@ -22397,14 +22397,14 @@ export namespace securitycenter_v1 { export interface Params$Resource$Projects$Muteconfigs$Delete extends StandardParameters { /** - * Required. Name of the mute config to delete. Its format is organizations/{organization\}/muteConfigs/{config_id\}, folders/{folder\}/muteConfigs/{config_id\}, projects/{project\}/muteConfigs/{config_id\}, organizations/{organization\}/locations/global/muteConfigs/{config_id\}, folders/{folder\}/locations/global/muteConfigs/{config_id\}, or projects/{project\}/locations/global/muteConfigs/{config_id\}. + * Required. Name of the mute config to delete. Its format is `organizations/{organization\}/muteConfigs/{config_id\}`, `folders/{folder\}/muteConfigs/{config_id\}`, `projects/{project\}/muteConfigs/{config_id\}`, `organizations/{organization\}/locations/global/muteConfigs/{config_id\}`, `folders/{folder\}/locations/global/muteConfigs/{config_id\}`, or `projects/{project\}/locations/global/muteConfigs/{config_id\}`. */ name?: string; } export interface Params$Resource$Projects$Muteconfigs$Get extends StandardParameters { /** - * Required. Name of the mute config to retrieve. Its format is organizations/{organization\}/muteConfigs/{config_id\}, folders/{folder\}/muteConfigs/{config_id\}, projects/{project\}/muteConfigs/{config_id\}, organizations/{organization\}/locations/global/muteConfigs/{config_id\}, folders/{folder\}/locations/global/muteConfigs/{config_id\}, or projects/{project\}/locations/global/muteConfigs/{config_id\}. + * Required. Name of the mute config to retrieve. Its format is `organizations/{organization\}/muteConfigs/{config_id\}`, `folders/{folder\}/muteConfigs/{config_id\}`, `projects/{project\}/muteConfigs/{config_id\}`, `organizations/{organization\}/locations/global/muteConfigs/{config_id\}`, `folders/{folder\}/locations/global/muteConfigs/{config_id\}`, or `projects/{project\}/locations/global/muteConfigs/{config_id\}`. */ name?: string; } @@ -22419,14 +22419,14 @@ export namespace securitycenter_v1 { */ pageToken?: string; /** - * Required. The parent, which owns the collection of mute configs. Its format is "organizations/[organization_id]", "folders/[folder_id]", "projects/[project_id]". + * Required. The parent, which owns the collection of mute configs. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`. */ parent?: string; } export interface Params$Resource$Projects$Muteconfigs$Patch extends StandardParameters { /** - * This field will be ignored if provided on config creation. Format "organizations/{organization\}/muteConfigs/{mute_config\}" "folders/{folder\}/muteConfigs/{mute_config\}" "projects/{project\}/muteConfigs/{mute_config\}" "organizations/{organization\}/locations/global/muteConfigs/{mute_config\}" "folders/{folder\}/locations/global/muteConfigs/{mute_config\}" "projects/{project\}/locations/global/muteConfigs/{mute_config\}" + * This field will be ignored if provided on config creation. Format `organizations/{organization\}/muteConfigs/{mute_config\}` `folders/{folder\}/muteConfigs/{mute_config\}` `projects/{project\}/muteConfigs/{mute_config\}` `organizations/{organization\}/locations/global/muteConfigs/{mute_config\}` `folders/{folder\}/locations/global/muteConfigs/{mute_config\}` `projects/{project\}/locations/global/muteConfigs/{mute_config\}` */ name?: string; /** @@ -22908,7 +22908,7 @@ export namespace securitycenter_v1 { */ configId?: string; /** - * Required. Resource name of the new notification config's parent. Its format is "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]". + * Required. Resource name of the new notification config's parent. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`. */ parent?: string; @@ -22920,14 +22920,14 @@ export namespace securitycenter_v1 { export interface Params$Resource$Projects$Notificationconfigs$Delete extends StandardParameters { /** - * Required. Name of the notification config to delete. Its format is "organizations/[organization_id]/notificationConfigs/[config_id]", "folders/[folder_id]/notificationConfigs/[config_id]", or "projects/[project_id]/notificationConfigs/[config_id]". + * Required. Name of the notification config to delete. Its format is `organizations/[organization_id]/notificationConfigs/[config_id]`, `folders/[folder_id]/notificationConfigs/[config_id]`, or `projects/[project_id]/notificationConfigs/[config_id]`. */ name?: string; } export interface Params$Resource$Projects$Notificationconfigs$Get extends StandardParameters { /** - * Required. Name of the notification config to get. Its format is "organizations/[organization_id]/notificationConfigs/[config_id]", "folders/[folder_id]/notificationConfigs/[config_id]", or "projects/[project_id]/notificationConfigs/[config_id]". + * Required. Name of the notification config to get. Its format is `organizations/[organization_id]/notificationConfigs/[config_id]`, `folders/[folder_id]/notificationConfigs/[config_id]`, or `projects/[project_id]/notificationConfigs/[config_id]`. */ name?: string; } @@ -23664,7 +23664,7 @@ export namespace securitycenter_v1 { export interface Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Create extends StandardParameters { /** - * Required. Resource name of the new custom module's parent. Its format is "organizations/{organization\}/securityHealthAnalyticsSettings", "folders/{folder\}/securityHealthAnalyticsSettings", or "projects/{project\}/securityHealthAnalyticsSettings" + * Required. Resource name of the new custom module's parent. Its format is `organizations/{organization\}/securityHealthAnalyticsSettings`, `folders/{folder\}/securityHealthAnalyticsSettings`, or `projects/{project\}/securityHealthAnalyticsSettings` */ parent?: string; @@ -23676,14 +23676,14 @@ export namespace securitycenter_v1 { export interface Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Delete extends StandardParameters { /** - * Required. Name of the custom module to delete. Its format is "organizations/{organization\}/securityHealthAnalyticsSettings/customModules/{customModule\}", "folders/{folder\}/securityHealthAnalyticsSettings/customModules/{customModule\}", or "projects/{project\}/securityHealthAnalyticsSettings/customModules/{customModule\}" + * Required. Name of the custom module to delete. Its format is `organizations/{organization\}/securityHealthAnalyticsSettings/customModules/{customModule\}`, `folders/{folder\}/securityHealthAnalyticsSettings/customModules/{customModule\}`, or `projects/{project\}/securityHealthAnalyticsSettings/customModules/{customModule\}` */ name?: string; } export interface Params$Resource$Projects$Securityhealthanalyticssettings$Custommodules$Get extends StandardParameters { /** - * Required. Name of the custom module to get. Its format is "organizations/{organization\}/securityHealthAnalyticsSettings/customModules/{customModule\}", "folders/{folder\}/securityHealthAnalyticsSettings/customModules/{customModule\}", or "projects/{project\}/securityHealthAnalyticsSettings/customModules/{customModule\}" + * Required. Name of the custom module to get. Its format is `organizations/{organization\}/securityHealthAnalyticsSettings/customModules/{customModule\}`, `folders/{folder\}/securityHealthAnalyticsSettings/customModules/{customModule\}`, or `projects/{project\}/securityHealthAnalyticsSettings/customModules/{customModule\}` */ name?: string; } @@ -23698,7 +23698,7 @@ export namespace securitycenter_v1 { */ pageToken?: string; /** - * Required. Name of parent to list custom modules. Its format is "organizations/{organization\}/securityHealthAnalyticsSettings", "folders/{folder\}/securityHealthAnalyticsSettings", or "projects/{project\}/securityHealthAnalyticsSettings" + * Required. Name of parent to list custom modules. Its format is `organizations/{organization\}/securityHealthAnalyticsSettings`, `folders/{folder\}/securityHealthAnalyticsSettings`, or `projects/{project\}/securityHealthAnalyticsSettings` */ parent?: string; } @@ -23713,7 +23713,7 @@ export namespace securitycenter_v1 { */ pageToken?: string; /** - * Required. Name of parent to list descendant custom modules. Its format is "organizations/{organization\}/securityHealthAnalyticsSettings", "folders/{folder\}/securityHealthAnalyticsSettings", or "projects/{project\}/securityHealthAnalyticsSettings" + * Required. Name of parent to list descendant custom modules. Its format is `organizations/{organization\}/securityHealthAnalyticsSettings`, `folders/{folder\}/securityHealthAnalyticsSettings`, or `projects/{project\}/securityHealthAnalyticsSettings` */ parent?: string; } @@ -23951,7 +23951,7 @@ export namespace securitycenter_v1 { export interface Params$Resource$Projects$Securityhealthanalyticssettings$Effectivecustommodules$Get extends StandardParameters { /** - * Required. Name of the effective custom module to get. Its format is "organizations/{organization\}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule\}", "folders/{folder\}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule\}", or "projects/{project\}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule\}" + * Required. Name of the effective custom module to get. Its format is `organizations/{organization\}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule\}`, `folders/{folder\}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule\}`, or `projects/{project\}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule\}` */ name?: string; } @@ -23966,7 +23966,7 @@ export namespace securitycenter_v1 { */ pageToken?: string; /** - * Required. Name of parent to list effective custom modules. Its format is "organizations/{organization\}/securityHealthAnalyticsSettings", "folders/{folder\}/securityHealthAnalyticsSettings", or "projects/{project\}/securityHealthAnalyticsSettings" + * Required. Name of parent to list effective custom modules. Its format is `organizations/{organization\}/securityHealthAnalyticsSettings`, `folders/{folder\}/securityHealthAnalyticsSettings`, or `projects/{project\}/securityHealthAnalyticsSettings` */ parent?: string; } @@ -24083,7 +24083,7 @@ export namespace securitycenter_v1 { */ pageToken?: string; /** - * Required. Resource name of the parent of sources to list. Its format should be "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]". + * Required. Resource name of the parent of sources to list. Its format should be `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`. */ parent?: string; } @@ -24642,7 +24642,7 @@ export namespace securitycenter_v1 { export interface Params$Resource$Projects$Sources$Findings$Group extends StandardParameters { /** - * Required. Name of the source to groupBy. Its format is "organizations/[organization_id]/sources/[source_id]", folders/[folder_id]/sources/[source_id], or projects/[project_id]/sources/[source_id]. To groupBy across all sources provide a source_id of `-`. For example: organizations/{organization_id\}/sources/-, folders/{folder_id\}/sources/-, or projects/{project_id\}/sources/- + * Required. Name of the source to groupBy. Its format is `organizations/[organization_id]/sources/[source_id]`, `folders/[folder_id]/sources/[source_id]`, or `projects/[project_id]/sources/[source_id]`. To groupBy across all sources provide a source_id of `-`. For example: `organizations/{organization_id\}/sources/-, folders/{folder_id\}/sources/-`, or `projects/{project_id\}/sources/-` */ parent?: string; @@ -24678,7 +24678,7 @@ export namespace securitycenter_v1 { */ pageToken?: string; /** - * Required. Name of the source the findings belong to. Its format is "organizations/[organization_id]/sources/[source_id], folders/[folder_id]/sources/[source_id], or projects/[project_id]/sources/[source_id]". To list across all sources provide a source_id of `-`. For example: organizations/{organization_id\}/sources/-, folders/{folder_id\}/sources/- or projects/{projects_id\}/sources/- + * Required. Name of the source the findings belong to. Its format is `organizations/[organization_id]/sources/[source_id]`, `folders/[folder_id]/sources/[source_id]`, or `projects/[project_id]/sources/[source_id]`. To list across all sources provide a source_id of `-`. For example: `organizations/{organization_id\}/sources/-`, `folders/{folder_id\}/sources/-` or `projects/{projects_id\}/sources/-` */ parent?: string; /** @@ -24705,7 +24705,7 @@ export namespace securitycenter_v1 { export interface Params$Resource$Projects$Sources$Findings$Setmute extends StandardParameters { /** - * Required. The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: "organizations/{organization_id\}/sources/{source_id\}/findings/{finding_id\}", "folders/{folder_id\}/sources/{source_id\}/findings/{finding_id\}", "projects/{project_id\}/sources/{source_id\}/findings/{finding_id\}". + * Required. The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: `organizations/{organization_id\}/sources/{source_id\}/findings/{finding_id\}`, `folders/{folder_id\}/sources/{source_id\}/findings/{finding_id\}`, `projects/{project_id\}/sources/{source_id\}/findings/{finding_id\}`. */ name?: string; @@ -24717,7 +24717,7 @@ export namespace securitycenter_v1 { export interface Params$Resource$Projects$Sources$Findings$Setstate extends StandardParameters { /** - * Required. The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: "organizations/{organization_id\}/sources/{source_id\}/findings/{finding_id\}", "folders/{folder_id\}/sources/{source_id\}/findings/{finding_id\}", "projects/{project_id\}/sources/{source_id\}/findings/{finding_id\}". + * Required. The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: `organizations/{organization_id\}/sources/{source_id\}/findings/{finding_id\}`, `folders/{folder_id\}/sources/{source_id\}/findings/{finding_id\}`, `projects/{project_id\}/sources/{source_id\}/findings/{finding_id\}`. */ name?: string; diff --git a/src/apis/securitycenter/v1beta1.ts b/src/apis/securitycenter/v1beta1.ts index d429da079c..06303a879f 100644 --- a/src/apis/securitycenter/v1beta1.ts +++ b/src/apis/securitycenter/v1beta1.ts @@ -292,7 +292,7 @@ export namespace securitycenter_v1beta1 { */ export interface Schema$AttackExposure { /** - * The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: organizations/123/simulations/456/attackExposureResults/789 + * The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: `organizations/123/simulations/456/attackExposureResults/789` */ attackExposureResult?: string | null; /** @@ -407,7 +407,7 @@ export namespace securitycenter_v1beta1 { */ displayName?: string | null; /** - * The UUID of the Azure management group, for example, "20000000-0001-0000-0000-000000000000". + * The UUID of the Azure management group, for example, `20000000-0001-0000-0000-000000000000`. */ id?: string | null; } @@ -446,7 +446,7 @@ export namespace securitycenter_v1beta1 { */ displayName?: string | null; /** - * The UUID of the Azure subscription, for example, "291bba3f-e0a5-47bc-a099-3bdcb2a50a05". + * The UUID of the Azure subscription, for example, `291bba3f-e0a5-47bc-a099-3bdcb2a50a05`. */ id?: string | null; } @@ -1494,7 +1494,7 @@ export namespace securitycenter_v1beta1 { */ mostRecentEditor?: string | null; /** - * This field will be ignored if provided on config creation. Format "organizations/{organization\}/muteConfigs/{mute_config\}" "folders/{folder\}/muteConfigs/{mute_config\}" "projects/{project\}/muteConfigs/{mute_config\}" "organizations/{organization\}/locations/global/muteConfigs/{mute_config\}" "folders/{folder\}/locations/global/muteConfigs/{mute_config\}" "projects/{project\}/locations/global/muteConfigs/{mute_config\}" + * This field will be ignored if provided on config creation. Format `organizations/{organization\}/muteConfigs/{mute_config\}` `folders/{folder\}/muteConfigs/{mute_config\}` `projects/{project\}/muteConfigs/{mute_config\}` `organizations/{organization\}/locations/global/muteConfigs/{mute_config\}` `folders/{folder\}/locations/global/muteConfigs/{mute_config\}` `projects/{project\}/locations/global/muteConfigs/{mute_config\}` */ name?: string | null; /** @@ -1731,7 +1731,7 @@ export namespace securitycenter_v1beta1 { */ resourcePath?: Schema$ResourcePath; /** - * A string representation of the resource path. For Google Cloud, it has the format of organizations/{organization_id\}/folders/{folder_id\}/folders/{folder_id\}/projects/{project_id\} where there can be any number of folders. For AWS, it has the format of org/{organization_id\}/ou/{organizational_unit_id\}/ou/{organizational_unit_id\}/account/{account_id\} where there can be any number of organizational units. For Azure, it has the format of mg/{management_group_id\}/mg/{management_group_id\}/subscription/{subscription_id\}/rg/{resource_group_name\} where there can be any number of management groups. + * A string representation of the resource path. For Google Cloud, it has the format of `organizations/{organization_id\}/folders/{folder_id\}/folders/{folder_id\}/projects/{project_id\}` where there can be any number of folders. For AWS, it has the format of `org/{organization_id\}/ou/{organizational_unit_id\}/ou/{organizational_unit_id\}/account/{account_id\}` where there can be any number of organizational units. For Azure, it has the format of `mg/{management_group_id\}/mg/{management_group_id\}/subscription/{subscription_id\}/rg/{resource_group_name\}` where there can be any number of management groups. */ resourcePathString?: string | null; /** @@ -1773,11 +1773,11 @@ export namespace securitycenter_v1beta1 { */ name?: string | null; /** - * List of resource labels to search for, evaluated with AND. For example, "resource_labels_selector": {"key": "value", "env": "prod"\} will match resources with labels "key": "value" AND "env": "prod" https://cloud.google.com/resource-manager/docs/creating-managing-labels + * List of resource labels to search for, evaluated with `AND`. For example, `"resource_labels_selector": {"key": "value", "env": "prod"\}` will match resources with labels "key": "value" `AND` "env": "prod" https://cloud.google.com/resource-manager/docs/creating-managing-labels */ resourceLabelsSelector?: {[key: string]: string} | null; /** - * Apply resource_value only to resources that match resource_type. resource_type will be checked with AND of other resources. For example, "storage.googleapis.com/Bucket" with resource_value "HIGH" will apply "HIGH" value only to "storage.googleapis.com/Bucket" resources. + * Apply resource_value only to resources that match resource_type. resource_type will be checked with `AND` of other resources. For example, "storage.googleapis.com/Bucket" with resource_value "HIGH" will apply "HIGH" value only to "storage.googleapis.com/Bucket" resources. */ resourceType?: string | null; /** @@ -1785,7 +1785,7 @@ export namespace securitycenter_v1beta1 { */ resourceValue?: string | null; /** - * Project or folder to scope this configuration to. For example, "project/456" would apply this configuration only to resources in "project/456" scope will be checked with AND of other resources. + * Project or folder to scope this configuration to. For example, "project/456" would apply this configuration only to resources in "project/456" scope will be checked with `AND` of other resources. */ scope?: string | null; /** @@ -1793,7 +1793,7 @@ export namespace securitycenter_v1beta1 { */ sensitiveDataProtectionMapping?: Schema$GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping; /** - * Required. Tag values combined with AND to check against. Values in the form "tagValues/123" Example: [ "tagValues/123", "tagValues/456", "tagValues/789" ] https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing + * Required. Tag values combined with `AND` to check against. Values in the form "tagValues/123" Example: `[ "tagValues/123", "tagValues/456", "tagValues/789" ]` https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing */ tagValues?: string[] | null; /** @@ -1986,7 +1986,7 @@ export namespace securitycenter_v1beta1 { */ export interface Schema$GoogleCloudSecuritycenterV2AttackExposure { /** - * The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: organizations/123/simulations/456/attackExposureResults/789 + * The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: `organizations/123/simulations/456/attackExposureResults/789` */ attackExposureResult?: string | null; /** @@ -2075,7 +2075,7 @@ export namespace securitycenter_v1beta1 { */ displayName?: string | null; /** - * The UUID of the Azure management group, for example, "20000000-0001-0000-0000-000000000000". + * The UUID of the Azure management group, for example, `20000000-0001-0000-0000-000000000000`. */ id?: string | null; } @@ -2114,7 +2114,7 @@ export namespace securitycenter_v1beta1 { */ displayName?: string | null; /** - * The UUID of the Azure subscription, for example, "291bba3f-e0a5-47bc-a099-3bdcb2a50a05". + * The UUID of the Azure subscription, for example, `291bba3f-e0a5-47bc-a099-3bdcb2a50a05`. */ id?: string | null; } @@ -3392,7 +3392,7 @@ export namespace securitycenter_v1beta1 { */ resourcePath?: Schema$GoogleCloudSecuritycenterV2ResourcePath; /** - * A string representation of the resource path. For Google Cloud, it has the format of organizations/{organization_id\}/folders/{folder_id\}/folders/{folder_id\}/projects/{project_id\} where there can be any number of folders. For AWS, it has the format of org/{organization_id\}/ou/{organizational_unit_id\}/ou/{organizational_unit_id\}/account/{account_id\} where there can be any number of organizational units. For Azure, it has the format of mg/{management_group_id\}/mg/{management_group_id\}/subscription/{subscription_id\}/rg/{resource_group_name\} where there can be any number of management groups. + * A string representation of the resource path. For Google Cloud, it has the format of `organizations/{organization_id\}/folders/{folder_id\}/folders/{folder_id\}/projects/{project_id\}` where there can be any number of folders. For AWS, it has the format of `org/{organization_id\}/ou/{organizational_unit_id\}/ou/{organizational_unit_id\}/account/{account_id\}` where there can be any number of organizational units. For Azure, it has the format of `mg/{management_group_id\}/mg/{management_group_id\}/subscription/{subscription_id\}/rg/{resource_group_name\}` where there can be any number of management groups. */ resourcePathString?: string | null; /** @@ -3451,11 +3451,11 @@ export namespace securitycenter_v1beta1 { */ name?: string | null; /** - * List of resource labels to search for, evaluated with AND. For example, "resource_labels_selector": {"key": "value", "env": "prod"\} will match resources with labels "key": "value" AND "env": "prod" https://cloud.google.com/resource-manager/docs/creating-managing-labels + * List of resource labels to search for, evaluated with `AND`. For example, "resource_labels_selector": {"key": "value", "env": "prod"\} will match resources with labels "key": "value" `AND` "env": "prod" https://cloud.google.com/resource-manager/docs/creating-managing-labels */ resourceLabelsSelector?: {[key: string]: string} | null; /** - * Apply resource_value only to resources that match resource_type. resource_type will be checked with AND of other resources. For example, "storage.googleapis.com/Bucket" with resource_value "HIGH" will apply "HIGH" value only to "storage.googleapis.com/Bucket" resources. + * Apply resource_value only to resources that match resource_type. resource_type will be checked with `AND` of other resources. For example, "storage.googleapis.com/Bucket" with resource_value "HIGH" will apply "HIGH" value only to "storage.googleapis.com/Bucket" resources. */ resourceType?: string | null; /** @@ -3463,7 +3463,7 @@ export namespace securitycenter_v1beta1 { */ resourceValue?: string | null; /** - * Project or folder to scope this configuration to. For example, "project/456" would apply this configuration only to resources in "project/456" scope will be checked with AND of other resources. + * Project or folder to scope this configuration to. For example, "project/456" would apply this configuration only to resources in "project/456" scope will be checked with `AND` of other resources. */ scope?: string | null; /** @@ -3471,7 +3471,7 @@ export namespace securitycenter_v1beta1 { */ sensitiveDataProtectionMapping?: Schema$GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping; /** - * Required. Tag values combined with AND to check against. Values in the form "tagValues/123" Example: [ "tagValues/123", "tagValues/456", "tagValues/789" ] https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing + * Required. Tag values combined with `AND` to check against. Values in the form "tagValues/123" Example: `[ "tagValues/123", "tagValues/456", "tagValues/789" ]` https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing */ tagValues?: string[] | null; /** @@ -3665,7 +3665,7 @@ export namespace securitycenter_v1beta1 { */ attackExposureScore?: number | null; /** - * List of resource names of findings associated with this toxic combination. For example, organizations/123/sources/456/findings/789. + * List of resource names of findings associated with this toxic combination. For example, `organizations/123/sources/456/findings/789`. */ relatedFindings?: string[] | null; } @@ -4676,7 +4676,7 @@ export namespace securitycenter_v1beta1 { */ attackExposureScore?: number | null; /** - * List of resource names of findings associated with this toxic combination. For example, organizations/123/sources/456/findings/789. + * List of resource names of findings associated with this toxic combination. For example, `organizations/123/sources/456/findings/789`. */ relatedFindings?: string[] | null; } diff --git a/src/apis/securitycenter/v1beta2.ts b/src/apis/securitycenter/v1beta2.ts index 0912c27e6a..956dc76769 100644 --- a/src/apis/securitycenter/v1beta2.ts +++ b/src/apis/securitycenter/v1beta2.ts @@ -254,7 +254,7 @@ export namespace securitycenter_v1beta2 { */ export interface Schema$AttackExposure { /** - * The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: organizations/123/simulations/456/attackExposureResults/789 + * The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: `organizations/123/simulations/456/attackExposureResults/789` */ attackExposureResult?: string | null; /** @@ -343,7 +343,7 @@ export namespace securitycenter_v1beta2 { */ displayName?: string | null; /** - * The UUID of the Azure management group, for example, "20000000-0001-0000-0000-000000000000". + * The UUID of the Azure management group, for example, `20000000-0001-0000-0000-000000000000`. */ id?: string | null; } @@ -382,7 +382,7 @@ export namespace securitycenter_v1beta2 { */ displayName?: string | null; /** - * The UUID of the Azure subscription, for example, "291bba3f-e0a5-47bc-a099-3bdcb2a50a05". + * The UUID of the Azure subscription, for example, `291bba3f-e0a5-47bc-a099-3bdcb2a50a05`. */ id?: string | null; } @@ -1405,7 +1405,7 @@ export namespace securitycenter_v1beta2 { */ mostRecentEditor?: string | null; /** - * This field will be ignored if provided on config creation. Format "organizations/{organization\}/muteConfigs/{mute_config\}" "folders/{folder\}/muteConfigs/{mute_config\}" "projects/{project\}/muteConfigs/{mute_config\}" "organizations/{organization\}/locations/global/muteConfigs/{mute_config\}" "folders/{folder\}/locations/global/muteConfigs/{mute_config\}" "projects/{project\}/locations/global/muteConfigs/{mute_config\}" + * This field will be ignored if provided on config creation. Format `organizations/{organization\}/muteConfigs/{mute_config\}` `folders/{folder\}/muteConfigs/{mute_config\}` `projects/{project\}/muteConfigs/{mute_config\}` `organizations/{organization\}/locations/global/muteConfigs/{mute_config\}` `folders/{folder\}/locations/global/muteConfigs/{mute_config\}` `projects/{project\}/locations/global/muteConfigs/{mute_config\}` */ name?: string | null; /** @@ -1642,7 +1642,7 @@ export namespace securitycenter_v1beta2 { */ resourcePath?: Schema$ResourcePath; /** - * A string representation of the resource path. For Google Cloud, it has the format of organizations/{organization_id\}/folders/{folder_id\}/folders/{folder_id\}/projects/{project_id\} where there can be any number of folders. For AWS, it has the format of org/{organization_id\}/ou/{organizational_unit_id\}/ou/{organizational_unit_id\}/account/{account_id\} where there can be any number of organizational units. For Azure, it has the format of mg/{management_group_id\}/mg/{management_group_id\}/subscription/{subscription_id\}/rg/{resource_group_name\} where there can be any number of management groups. + * A string representation of the resource path. For Google Cloud, it has the format of `organizations/{organization_id\}/folders/{folder_id\}/folders/{folder_id\}/projects/{project_id\}` where there can be any number of folders. For AWS, it has the format of `org/{organization_id\}/ou/{organizational_unit_id\}/ou/{organizational_unit_id\}/account/{account_id\}` where there can be any number of organizational units. For Azure, it has the format of `mg/{management_group_id\}/mg/{management_group_id\}/subscription/{subscription_id\}/rg/{resource_group_name\}` where there can be any number of management groups. */ resourcePathString?: string | null; /** @@ -1684,11 +1684,11 @@ export namespace securitycenter_v1beta2 { */ name?: string | null; /** - * List of resource labels to search for, evaluated with AND. For example, "resource_labels_selector": {"key": "value", "env": "prod"\} will match resources with labels "key": "value" AND "env": "prod" https://cloud.google.com/resource-manager/docs/creating-managing-labels + * List of resource labels to search for, evaluated with `AND`. For example, `"resource_labels_selector": {"key": "value", "env": "prod"\}` will match resources with labels "key": "value" `AND` "env": "prod" https://cloud.google.com/resource-manager/docs/creating-managing-labels */ resourceLabelsSelector?: {[key: string]: string} | null; /** - * Apply resource_value only to resources that match resource_type. resource_type will be checked with AND of other resources. For example, "storage.googleapis.com/Bucket" with resource_value "HIGH" will apply "HIGH" value only to "storage.googleapis.com/Bucket" resources. + * Apply resource_value only to resources that match resource_type. resource_type will be checked with `AND` of other resources. For example, "storage.googleapis.com/Bucket" with resource_value "HIGH" will apply "HIGH" value only to "storage.googleapis.com/Bucket" resources. */ resourceType?: string | null; /** @@ -1696,7 +1696,7 @@ export namespace securitycenter_v1beta2 { */ resourceValue?: string | null; /** - * Project or folder to scope this configuration to. For example, "project/456" would apply this configuration only to resources in "project/456" scope will be checked with AND of other resources. + * Project or folder to scope this configuration to. For example, "project/456" would apply this configuration only to resources in "project/456" scope will be checked with `AND` of other resources. */ scope?: string | null; /** @@ -1704,7 +1704,7 @@ export namespace securitycenter_v1beta2 { */ sensitiveDataProtectionMapping?: Schema$GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping; /** - * Required. Tag values combined with AND to check against. Values in the form "tagValues/123" Example: [ "tagValues/123", "tagValues/456", "tagValues/789" ] https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing + * Required. Tag values combined with `AND` to check against. Values in the form "tagValues/123" Example: `[ "tagValues/123", "tagValues/456", "tagValues/789" ]` https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing */ tagValues?: string[] | null; /** @@ -1897,7 +1897,7 @@ export namespace securitycenter_v1beta2 { */ export interface Schema$GoogleCloudSecuritycenterV2AttackExposure { /** - * The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: organizations/123/simulations/456/attackExposureResults/789 + * The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: `organizations/123/simulations/456/attackExposureResults/789` */ attackExposureResult?: string | null; /** @@ -1986,7 +1986,7 @@ export namespace securitycenter_v1beta2 { */ displayName?: string | null; /** - * The UUID of the Azure management group, for example, "20000000-0001-0000-0000-000000000000". + * The UUID of the Azure management group, for example, `20000000-0001-0000-0000-000000000000`. */ id?: string | null; } @@ -2025,7 +2025,7 @@ export namespace securitycenter_v1beta2 { */ displayName?: string | null; /** - * The UUID of the Azure subscription, for example, "291bba3f-e0a5-47bc-a099-3bdcb2a50a05". + * The UUID of the Azure subscription, for example, `291bba3f-e0a5-47bc-a099-3bdcb2a50a05`. */ id?: string | null; } @@ -3303,7 +3303,7 @@ export namespace securitycenter_v1beta2 { */ resourcePath?: Schema$GoogleCloudSecuritycenterV2ResourcePath; /** - * A string representation of the resource path. For Google Cloud, it has the format of organizations/{organization_id\}/folders/{folder_id\}/folders/{folder_id\}/projects/{project_id\} where there can be any number of folders. For AWS, it has the format of org/{organization_id\}/ou/{organizational_unit_id\}/ou/{organizational_unit_id\}/account/{account_id\} where there can be any number of organizational units. For Azure, it has the format of mg/{management_group_id\}/mg/{management_group_id\}/subscription/{subscription_id\}/rg/{resource_group_name\} where there can be any number of management groups. + * A string representation of the resource path. For Google Cloud, it has the format of `organizations/{organization_id\}/folders/{folder_id\}/folders/{folder_id\}/projects/{project_id\}` where there can be any number of folders. For AWS, it has the format of `org/{organization_id\}/ou/{organizational_unit_id\}/ou/{organizational_unit_id\}/account/{account_id\}` where there can be any number of organizational units. For Azure, it has the format of `mg/{management_group_id\}/mg/{management_group_id\}/subscription/{subscription_id\}/rg/{resource_group_name\}` where there can be any number of management groups. */ resourcePathString?: string | null; /** @@ -3362,11 +3362,11 @@ export namespace securitycenter_v1beta2 { */ name?: string | null; /** - * List of resource labels to search for, evaluated with AND. For example, "resource_labels_selector": {"key": "value", "env": "prod"\} will match resources with labels "key": "value" AND "env": "prod" https://cloud.google.com/resource-manager/docs/creating-managing-labels + * List of resource labels to search for, evaluated with `AND`. For example, "resource_labels_selector": {"key": "value", "env": "prod"\} will match resources with labels "key": "value" `AND` "env": "prod" https://cloud.google.com/resource-manager/docs/creating-managing-labels */ resourceLabelsSelector?: {[key: string]: string} | null; /** - * Apply resource_value only to resources that match resource_type. resource_type will be checked with AND of other resources. For example, "storage.googleapis.com/Bucket" with resource_value "HIGH" will apply "HIGH" value only to "storage.googleapis.com/Bucket" resources. + * Apply resource_value only to resources that match resource_type. resource_type will be checked with `AND` of other resources. For example, "storage.googleapis.com/Bucket" with resource_value "HIGH" will apply "HIGH" value only to "storage.googleapis.com/Bucket" resources. */ resourceType?: string | null; /** @@ -3374,7 +3374,7 @@ export namespace securitycenter_v1beta2 { */ resourceValue?: string | null; /** - * Project or folder to scope this configuration to. For example, "project/456" would apply this configuration only to resources in "project/456" scope will be checked with AND of other resources. + * Project or folder to scope this configuration to. For example, "project/456" would apply this configuration only to resources in "project/456" scope will be checked with `AND` of other resources. */ scope?: string | null; /** @@ -3382,7 +3382,7 @@ export namespace securitycenter_v1beta2 { */ sensitiveDataProtectionMapping?: Schema$GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping; /** - * Required. Tag values combined with AND to check against. Values in the form "tagValues/123" Example: [ "tagValues/123", "tagValues/456", "tagValues/789" ] https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing + * Required. Tag values combined with `AND` to check against. Values in the form "tagValues/123" Example: `[ "tagValues/123", "tagValues/456", "tagValues/789" ]` https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing */ tagValues?: string[] | null; /** @@ -3576,7 +3576,7 @@ export namespace securitycenter_v1beta2 { */ attackExposureScore?: number | null; /** - * List of resource names of findings associated with this toxic combination. For example, organizations/123/sources/456/findings/789. + * List of resource names of findings associated with this toxic combination. For example, `organizations/123/sources/456/findings/789`. */ relatedFindings?: string[] | null; } @@ -4319,7 +4319,7 @@ export namespace securitycenter_v1beta2 { */ attackExposureScore?: number | null; /** - * List of resource names of findings associated with this toxic combination. For example, organizations/123/sources/456/findings/789. + * List of resource names of findings associated with this toxic combination. For example, `organizations/123/sources/456/findings/789`. */ relatedFindings?: string[] | null; } diff --git a/src/apis/serviceconsumermanagement/v1.ts b/src/apis/serviceconsumermanagement/v1.ts index 2fabfa6bc4..91d91333da 100644 --- a/src/apis/serviceconsumermanagement/v1.ts +++ b/src/apis/serviceconsumermanagement/v1.ts @@ -540,7 +540,7 @@ export namespace serviceconsumermanagement_v1 { tag?: string | null; } /** - * `Documentation` provides the information for describing a service. Example: documentation: summary: \> The Google Calendar API gives access to most calendar features. pages: - name: Overview content: (== include google/foo/overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==) subpages: - name: Java content: (== include google/foo/tutorial_java.md ==) rules: - selector: google.calendar.Calendar.Get description: \> ... - selector: google.calendar.Calendar.Put description: \> ... Documentation is provided in markdown syntax. In addition to standard markdown features, definition lists, tables and fenced code blocks are supported. Section headers can be provided and are interpreted relative to the section nesting of the context where a documentation fragment is embedded. Documentation from the IDL is merged with documentation defined via the config at normalization time, where documentation provided by config rules overrides IDL provided. A number of constructs specific to the API platform are supported in documentation text. In order to reference a proto element, the following notation can be used: [fully.qualified.proto.name][] To override the display text used for the link, this can be used: [display text][fully.qualified.proto.name] Text can be excluded from doc using the following notation: (-- internal comment --) A few directives are available in documentation. Note that directives must appear on a single line to be properly identified. The `include` directive includes a markdown file from an external source: (== include path/to/file ==) The `resource_for` directive marks a message to be the resource of a collection in REST view. If it is not specified, tools attempt to infer the resource from the operations in a collection: (== resource_for v1.shelves.books ==) The directive `suppress_warning` does not directly affect documentation and is documented together with service config validation. + * `Documentation` provides the information for describing a service. Example: documentation: summary: \> The Google Calendar API gives access to most calendar features. pages: - name: Overview content: (== include google/foo/overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==) subpages: - name: Java content: (== include google/foo/tutorial_java.md ==) rules: - selector: google.calendar.Calendar.Get description: \> ... - selector: google.calendar.Calendar.Put description: \> ... code_snippet_rules: - selector: google.calendar.Calendar.Delete code_snippets: - includes: - github_include: region_tag: calendar_delete code_language: JAVA account: GoogleCloudPlatform project: java-docs-samples file: calendar/delete.java Documentation is provided in markdown syntax. In addition to standard markdown features, definition lists, tables and fenced code blocks are supported. Section headers can be provided and are interpreted relative to the section nesting of the context where a documentation fragment is embedded. Documentation from the IDL is merged with documentation defined via the config at normalization time, where documentation provided by config rules overrides IDL provided. A number of constructs specific to the API platform are supported in documentation text. In order to reference a proto element, the following notation can be used: [fully.qualified.proto.name][] To override the display text used for the link, this can be used: [display text][fully.qualified.proto.name] Text can be excluded from doc using the following notation: (-- internal comment --) A few directives are available in documentation. Note that directives must appear on a single line to be properly identified. The `include` directive includes a markdown file from an external source: (== include path/to/file ==) The `resource_for` directive marks a message to be the resource of a collection in REST view. If it is not specified, tools attempt to infer the resource from the operations in a collection: (== resource_for v1.shelves.books ==) The directive `suppress_warning` does not directly affect documentation and is documented together with service config validation. */ export interface Schema$Documentation { /** diff --git a/src/apis/serviceconsumermanagement/v1beta1.ts b/src/apis/serviceconsumermanagement/v1beta1.ts index 81634fcb34..9ca6be3d4e 100644 --- a/src/apis/serviceconsumermanagement/v1beta1.ts +++ b/src/apis/serviceconsumermanagement/v1beta1.ts @@ -466,7 +466,7 @@ export namespace serviceconsumermanagement_v1beta1 { path?: string | null; } /** - * `Documentation` provides the information for describing a service. Example: documentation: summary: \> The Google Calendar API gives access to most calendar features. pages: - name: Overview content: (== include google/foo/overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==) subpages: - name: Java content: (== include google/foo/tutorial_java.md ==) rules: - selector: google.calendar.Calendar.Get description: \> ... - selector: google.calendar.Calendar.Put description: \> ... Documentation is provided in markdown syntax. In addition to standard markdown features, definition lists, tables and fenced code blocks are supported. Section headers can be provided and are interpreted relative to the section nesting of the context where a documentation fragment is embedded. Documentation from the IDL is merged with documentation defined via the config at normalization time, where documentation provided by config rules overrides IDL provided. A number of constructs specific to the API platform are supported in documentation text. In order to reference a proto element, the following notation can be used: [fully.qualified.proto.name][] To override the display text used for the link, this can be used: [display text][fully.qualified.proto.name] Text can be excluded from doc using the following notation: (-- internal comment --) A few directives are available in documentation. Note that directives must appear on a single line to be properly identified. The `include` directive includes a markdown file from an external source: (== include path/to/file ==) The `resource_for` directive marks a message to be the resource of a collection in REST view. If it is not specified, tools attempt to infer the resource from the operations in a collection: (== resource_for v1.shelves.books ==) The directive `suppress_warning` does not directly affect documentation and is documented together with service config validation. + * `Documentation` provides the information for describing a service. Example: documentation: summary: \> The Google Calendar API gives access to most calendar features. pages: - name: Overview content: (== include google/foo/overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==) subpages: - name: Java content: (== include google/foo/tutorial_java.md ==) rules: - selector: google.calendar.Calendar.Get description: \> ... - selector: google.calendar.Calendar.Put description: \> ... code_snippet_rules: - selector: google.calendar.Calendar.Delete code_snippets: - includes: - github_include: region_tag: calendar_delete code_language: JAVA account: GoogleCloudPlatform project: java-docs-samples file: calendar/delete.java Documentation is provided in markdown syntax. In addition to standard markdown features, definition lists, tables and fenced code blocks are supported. Section headers can be provided and are interpreted relative to the section nesting of the context where a documentation fragment is embedded. Documentation from the IDL is merged with documentation defined via the config at normalization time, where documentation provided by config rules overrides IDL provided. A number of constructs specific to the API platform are supported in documentation text. In order to reference a proto element, the following notation can be used: [fully.qualified.proto.name][] To override the display text used for the link, this can be used: [display text][fully.qualified.proto.name] Text can be excluded from doc using the following notation: (-- internal comment --) A few directives are available in documentation. Note that directives must appear on a single line to be properly identified. The `include` directive includes a markdown file from an external source: (== include path/to/file ==) The `resource_for` directive marks a message to be the resource of a collection in REST view. If it is not specified, tools attempt to infer the resource from the operations in a collection: (== resource_for v1.shelves.books ==) The directive `suppress_warning` does not directly affect documentation and is documented together with service config validation. */ export interface Schema$Documentation { /** diff --git a/src/apis/servicemanagement/v1.ts b/src/apis/servicemanagement/v1.ts index 52135ddb0b..5b00978b71 100644 --- a/src/apis/servicemanagement/v1.ts +++ b/src/apis/servicemanagement/v1.ts @@ -612,7 +612,7 @@ export namespace servicemanagement_v1 { message?: string | null; } /** - * `Documentation` provides the information for describing a service. Example: documentation: summary: \> The Google Calendar API gives access to most calendar features. pages: - name: Overview content: (== include google/foo/overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==) subpages: - name: Java content: (== include google/foo/tutorial_java.md ==) rules: - selector: google.calendar.Calendar.Get description: \> ... - selector: google.calendar.Calendar.Put description: \> ... Documentation is provided in markdown syntax. In addition to standard markdown features, definition lists, tables and fenced code blocks are supported. Section headers can be provided and are interpreted relative to the section nesting of the context where a documentation fragment is embedded. Documentation from the IDL is merged with documentation defined via the config at normalization time, where documentation provided by config rules overrides IDL provided. A number of constructs specific to the API platform are supported in documentation text. In order to reference a proto element, the following notation can be used: [fully.qualified.proto.name][] To override the display text used for the link, this can be used: [display text][fully.qualified.proto.name] Text can be excluded from doc using the following notation: (-- internal comment --) A few directives are available in documentation. Note that directives must appear on a single line to be properly identified. The `include` directive includes a markdown file from an external source: (== include path/to/file ==) The `resource_for` directive marks a message to be the resource of a collection in REST view. If it is not specified, tools attempt to infer the resource from the operations in a collection: (== resource_for v1.shelves.books ==) The directive `suppress_warning` does not directly affect documentation and is documented together with service config validation. + * `Documentation` provides the information for describing a service. Example: documentation: summary: \> The Google Calendar API gives access to most calendar features. pages: - name: Overview content: (== include google/foo/overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==) subpages: - name: Java content: (== include google/foo/tutorial_java.md ==) rules: - selector: google.calendar.Calendar.Get description: \> ... - selector: google.calendar.Calendar.Put description: \> ... code_snippet_rules: - selector: google.calendar.Calendar.Delete code_snippets: - includes: - github_include: region_tag: calendar_delete code_language: JAVA account: GoogleCloudPlatform project: java-docs-samples file: calendar/delete.java Documentation is provided in markdown syntax. In addition to standard markdown features, definition lists, tables and fenced code blocks are supported. Section headers can be provided and are interpreted relative to the section nesting of the context where a documentation fragment is embedded. Documentation from the IDL is merged with documentation defined via the config at normalization time, where documentation provided by config rules overrides IDL provided. A number of constructs specific to the API platform are supported in documentation text. In order to reference a proto element, the following notation can be used: [fully.qualified.proto.name][] To override the display text used for the link, this can be used: [display text][fully.qualified.proto.name] Text can be excluded from doc using the following notation: (-- internal comment --) A few directives are available in documentation. Note that directives must appear on a single line to be properly identified. The `include` directive includes a markdown file from an external source: (== include path/to/file ==) The `resource_for` directive marks a message to be the resource of a collection in REST view. If it is not specified, tools attempt to infer the resource from the operations in a collection: (== resource_for v1.shelves.books ==) The directive `suppress_warning` does not directly affect documentation and is documented together with service config validation. */ export interface Schema$Documentation { /** diff --git a/src/apis/serviceusage/v1.ts b/src/apis/serviceusage/v1.ts index a294ccc4ce..b8b454a83a 100644 --- a/src/apis/serviceusage/v1.ts +++ b/src/apis/serviceusage/v1.ts @@ -620,7 +620,7 @@ export namespace serviceusage_v1 { service?: Schema$GoogleApiServiceusageV1Service; } /** - * `Documentation` provides the information for describing a service. Example: documentation: summary: \> The Google Calendar API gives access to most calendar features. pages: - name: Overview content: (== include google/foo/overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==) subpages: - name: Java content: (== include google/foo/tutorial_java.md ==) rules: - selector: google.calendar.Calendar.Get description: \> ... - selector: google.calendar.Calendar.Put description: \> ... Documentation is provided in markdown syntax. In addition to standard markdown features, definition lists, tables and fenced code blocks are supported. Section headers can be provided and are interpreted relative to the section nesting of the context where a documentation fragment is embedded. Documentation from the IDL is merged with documentation defined via the config at normalization time, where documentation provided by config rules overrides IDL provided. A number of constructs specific to the API platform are supported in documentation text. In order to reference a proto element, the following notation can be used: [fully.qualified.proto.name][] To override the display text used for the link, this can be used: [display text][fully.qualified.proto.name] Text can be excluded from doc using the following notation: (-- internal comment --) A few directives are available in documentation. Note that directives must appear on a single line to be properly identified. The `include` directive includes a markdown file from an external source: (== include path/to/file ==) The `resource_for` directive marks a message to be the resource of a collection in REST view. If it is not specified, tools attempt to infer the resource from the operations in a collection: (== resource_for v1.shelves.books ==) The directive `suppress_warning` does not directly affect documentation and is documented together with service config validation. + * `Documentation` provides the information for describing a service. Example: documentation: summary: \> The Google Calendar API gives access to most calendar features. pages: - name: Overview content: (== include google/foo/overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==) subpages: - name: Java content: (== include google/foo/tutorial_java.md ==) rules: - selector: google.calendar.Calendar.Get description: \> ... - selector: google.calendar.Calendar.Put description: \> ... code_snippet_rules: - selector: google.calendar.Calendar.Delete code_snippets: - includes: - github_include: region_tag: calendar_delete code_language: JAVA account: GoogleCloudPlatform project: java-docs-samples file: calendar/delete.java Documentation is provided in markdown syntax. In addition to standard markdown features, definition lists, tables and fenced code blocks are supported. Section headers can be provided and are interpreted relative to the section nesting of the context where a documentation fragment is embedded. Documentation from the IDL is merged with documentation defined via the config at normalization time, where documentation provided by config rules overrides IDL provided. A number of constructs specific to the API platform are supported in documentation text. In order to reference a proto element, the following notation can be used: [fully.qualified.proto.name][] To override the display text used for the link, this can be used: [display text][fully.qualified.proto.name] Text can be excluded from doc using the following notation: (-- internal comment --) A few directives are available in documentation. Note that directives must appear on a single line to be properly identified. The `include` directive includes a markdown file from an external source: (== include path/to/file ==) The `resource_for` directive marks a message to be the resource of a collection in REST view. If it is not specified, tools attempt to infer the resource from the operations in a collection: (== resource_for v1.shelves.books ==) The directive `suppress_warning` does not directly affect documentation and is documented together with service config validation. */ export interface Schema$Documentation { /** diff --git a/src/apis/serviceusage/v1beta1.ts b/src/apis/serviceusage/v1beta1.ts index f5e74b9c85..35c9e70e40 100644 --- a/src/apis/serviceusage/v1beta1.ts +++ b/src/apis/serviceusage/v1beta1.ts @@ -660,7 +660,7 @@ export namespace serviceusage_v1beta1 { service?: Schema$GoogleApiServiceusageV1Service; } /** - * `Documentation` provides the information for describing a service. Example: documentation: summary: \> The Google Calendar API gives access to most calendar features. pages: - name: Overview content: (== include google/foo/overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==) subpages: - name: Java content: (== include google/foo/tutorial_java.md ==) rules: - selector: google.calendar.Calendar.Get description: \> ... - selector: google.calendar.Calendar.Put description: \> ... Documentation is provided in markdown syntax. In addition to standard markdown features, definition lists, tables and fenced code blocks are supported. Section headers can be provided and are interpreted relative to the section nesting of the context where a documentation fragment is embedded. Documentation from the IDL is merged with documentation defined via the config at normalization time, where documentation provided by config rules overrides IDL provided. A number of constructs specific to the API platform are supported in documentation text. In order to reference a proto element, the following notation can be used: [fully.qualified.proto.name][] To override the display text used for the link, this can be used: [display text][fully.qualified.proto.name] Text can be excluded from doc using the following notation: (-- internal comment --) A few directives are available in documentation. Note that directives must appear on a single line to be properly identified. The `include` directive includes a markdown file from an external source: (== include path/to/file ==) The `resource_for` directive marks a message to be the resource of a collection in REST view. If it is not specified, tools attempt to infer the resource from the operations in a collection: (== resource_for v1.shelves.books ==) The directive `suppress_warning` does not directly affect documentation and is documented together with service config validation. + * `Documentation` provides the information for describing a service. Example: documentation: summary: \> The Google Calendar API gives access to most calendar features. pages: - name: Overview content: (== include google/foo/overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==) subpages: - name: Java content: (== include google/foo/tutorial_java.md ==) rules: - selector: google.calendar.Calendar.Get description: \> ... - selector: google.calendar.Calendar.Put description: \> ... code_snippet_rules: - selector: google.calendar.Calendar.Delete code_snippets: - includes: - github_include: region_tag: calendar_delete code_language: JAVA account: GoogleCloudPlatform project: java-docs-samples file: calendar/delete.java Documentation is provided in markdown syntax. In addition to standard markdown features, definition lists, tables and fenced code blocks are supported. Section headers can be provided and are interpreted relative to the section nesting of the context where a documentation fragment is embedded. Documentation from the IDL is merged with documentation defined via the config at normalization time, where documentation provided by config rules overrides IDL provided. A number of constructs specific to the API platform are supported in documentation text. In order to reference a proto element, the following notation can be used: [fully.qualified.proto.name][] To override the display text used for the link, this can be used: [display text][fully.qualified.proto.name] Text can be excluded from doc using the following notation: (-- internal comment --) A few directives are available in documentation. Note that directives must appear on a single line to be properly identified. The `include` directive includes a markdown file from an external source: (== include path/to/file ==) The `resource_for` directive marks a message to be the resource of a collection in REST view. If it is not specified, tools attempt to infer the resource from the operations in a collection: (== resource_for v1.shelves.books ==) The directive `suppress_warning` does not directly affect documentation and is documented together with service config validation. */ export interface Schema$Documentation { /** diff --git a/src/apis/sheets/v4.ts b/src/apis/sheets/v4.ts index 4f48dcb946..c3b0c36abe 100644 --- a/src/apis/sheets/v4.ts +++ b/src/apis/sheets/v4.ts @@ -174,7 +174,7 @@ export namespace sheets_v4 { rule?: Schema$ConditionalFormatRule; } /** - * Adds a data source. After the data source is added successfully, an associated DATA_SOURCE sheet is created and an execution is triggered to refresh the sheet to read data from the data source. The request requires an additional `bigquery.readonly` OAuth scope. + * Adds a data source. After the data source is added successfully, an associated DATA_SOURCE sheet is created and an execution is triggered to refresh the sheet to read data from the data source. The request requires an additional `bigquery.readonly` OAuth scope if you are adding a BigQuery data source. */ export interface Schema$AddDataSourceRequest { /** @@ -1055,7 +1055,7 @@ export namespace sheets_v4 { series?: Schema$ChartData; } /** - * Cancels one or multiple refreshes of data source objects in the spreadsheet by the specified references. + * Cancels one or multiple refreshes of data source objects in the spreadsheet by the specified references. The request requires an additional `bigquery.readonly` OAuth scope if you are cancelling a refresh on a BigQuery data source. */ export interface Schema$CancelDataSourceRefreshRequest { /** @@ -3407,7 +3407,7 @@ export namespace sheets_v4 { reference?: Schema$DataSourceObjectReference; } /** - * Refreshes one or multiple data source objects in the spreadsheet by the specified references. The request requires an additional `bigquery.readonly` OAuth scope. If there are multiple refresh requests referencing the same data source objects in one batch, only the last refresh request is processed, and all those requests will have the same response accordingly. + * Refreshes one or multiple data source objects in the spreadsheet by the specified references. The request requires an additional `bigquery.readonly` OAuth scope if you are refreshing a BigQuery data source. If there are multiple refresh requests referencing the same data source objects in one batch, only the last refresh request is processed, and all those requests will have the same response accordingly. */ export interface Schema$RefreshDataSourceRequest { /** @@ -4590,7 +4590,7 @@ export namespace sheets_v4 { oldRule?: Schema$ConditionalFormatRule; } /** - * Updates a data source. After the data source is updated successfully, an execution is triggered to refresh the associated DATA_SOURCE sheet to read data from the updated data source. The request requires an additional `bigquery.readonly` OAuth scope. + * Updates a data source. After the data source is updated successfully, an execution is triggered to refresh the associated DATA_SOURCE sheet to read data from the updated data source. The request requires an additional `bigquery.readonly` OAuth scope if you are updating a BigQuery data source. */ export interface Schema$UpdateDataSourceRequest { /** diff --git a/src/apis/spanner/v1.ts b/src/apis/spanner/v1.ts index c7d879f791..d602b530d4 100644 --- a/src/apis/spanner/v1.ts +++ b/src/apis/spanner/v1.ts @@ -127,7 +127,7 @@ export namespace spanner_v1 { } /** - * Autoscaling config for an instance. + * Autoscaling configuration for an instance. */ export interface Schema$AutoscalingConfig { /** @@ -570,7 +570,7 @@ export namespace spanner_v1 { */ extraStatements?: string[] | null; /** - * Optional. Proto descriptors used by CREATE/ALTER PROTO BUNDLE statements in 'extra_statements' above. Contains a protobuf-serialized [google.protobuf.FileDescriptorSet](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/descriptor.proto). To generate it, [install](https://grpc.io/docs/protoc-installation/) and run `protoc` with --include_imports and --descriptor_set_out. For example, to generate for moon/shot/app.proto, run ``` $protoc --proto_path=/app_path --proto_path=/lib_path \ --include_imports \ --descriptor_set_out=descriptors.data \ moon/shot/app.proto ``` For more details, see protobuffer [self description](https://developers.google.com/protocol-buffers/docs/techniques#self-description). + * Optional. Proto descriptors used by `CREATE/ALTER PROTO BUNDLE` statements in 'extra_statements'. Contains a protobuf-serialized [`google.protobuf.FileDescriptorSet`](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/descriptor.proto) descriptor set. To generate it, [install](https://grpc.io/docs/protoc-installation/) and run `protoc` with --include_imports and --descriptor_set_out. For example, to generate for moon/shot/app.proto, run ``` $protoc --proto_path=/app_path --proto_path=/lib_path \ --include_imports \ --descriptor_set_out=descriptors.data \ moon/shot/app.proto ``` For more details, see protobuffer [self description](https://developers.google.com/protocol-buffers/docs/techniques#self-description). */ protoDescriptors?: string | null; } @@ -583,7 +583,7 @@ export namespace spanner_v1 { */ cancelTime?: string | null; /** - * The target instance config end state. + * The target instance configuration end state. */ instanceConfig?: Schema$InstanceConfig; /** @@ -596,11 +596,11 @@ export namespace spanner_v1 { */ export interface Schema$CreateInstanceConfigRequest { /** - * Required. The InstanceConfig proto of the configuration to create. instance_config.name must be `/instanceConfigs/`. instance_config.base_config must be a Google managed configuration name, e.g. /instanceConfigs/us-east1, /instanceConfigs/nam3. + * Required. The InstanceConfig proto of the configuration to create. instance_config.name must be `/instanceConfigs/`. instance_config.base_config must be a Google-managed configuration name, e.g. /instanceConfigs/us-east1, /instanceConfigs/nam3. */ instanceConfig?: Schema$InstanceConfig; /** - * Required. The ID of the instance config to create. Valid identifiers are of the form `custom-[-a-z0-9]*[a-z0-9]` and must be between 2 and 64 characters in length. The `custom-` prefix is required to avoid name conflicts with Google managed configurations. + * Required. The ID of the instance configuration to create. Valid identifiers are of the form `custom-[-a-z0-9]*[a-z0-9]` and must be between 2 and 64 characters in length. The `custom-` prefix is required to avoid name conflicts with Google-managed configurations. */ instanceConfigId?: string | null; /** @@ -710,7 +710,7 @@ export namespace spanner_v1 { */ earliestVersionTime?: string | null; /** - * Whether drop protection is enabled for this database. Defaults to false, if not set. For more details, please see how to [prevent accidental database deletion](https://cloud.google.com/spanner/docs/prevent-database-deletion). + * Optional. Whether drop protection is enabled for this database. Defaults to false, if not set. For more details, please see how to [prevent accidental database deletion](https://cloud.google.com/spanner/docs/prevent-database-deletion). */ enableDropProtection?: boolean | null; /** @@ -1137,11 +1137,11 @@ export namespace spanner_v1 { */ name?: string | null; /** - * The number of nodes allocated to this instance. At most one of either node_count or processing_units should be present in the message. Users can set the node_count field to specify the target number of nodes allocated to the instance. If autoscaling is enabled, node_count is treated as an OUTPUT_ONLY field and reflects the current number of nodes allocated to the instance. This may be zero in API responses for instances that are not yet in state `READY`. See [the documentation](https://cloud.google.com/spanner/docs/compute-capacity) for more information about nodes and processing units. + * The number of nodes allocated to this instance. At most, one of either `node_count` or `processing_units` should be present in the message. Users can set the node_count field to specify the target number of nodes allocated to the instance. If autoscaling is enabled, node_count is treated as an OUTPUT_ONLY field and reflects the current number of nodes allocated to the instance. This might be zero in API responses for instances that are not yet in the `READY` state. For more information, see [Compute capacity, nodes, and processing units](https://cloud.google.com/spanner/docs/compute-capacity). */ nodeCount?: number | null; /** - * The number of processing units allocated to this instance. At most one of processing_units or node_count should be present in the message. Users can set the processing_units field to specify the target number of processing units allocated to the instance. If autoscaling is enabled, processing_units is treated as an OUTPUT_ONLY field and reflects the current number of processing units allocated to the instance. This may be zero in API responses for instances that are not yet in state `READY`. See [the documentation](https://cloud.google.com/spanner/docs/compute-capacity) for more information about nodes and processing units. + * The number of processing units allocated to this instance. At most, one of either `processing_units` or `node_count` should be present in the message. Users can set the `processing_units` field to specify the target number of processing units allocated to the instance. If autoscaling is enabled, `processing_units` is treated as an `OUTPUT_ONLY` field and reflects the current number of processing units allocated to the instance. This might be zero in API responses for instances that are not yet in the `READY` state. See [the documentation](https://cloud.google.com/spanner/docs/compute-capacity) for more information about nodes and processing units. */ processingUnits?: number | null; /** @@ -1158,11 +1158,11 @@ export namespace spanner_v1 { */ export interface Schema$InstanceConfig { /** - * Base configuration name, e.g. projects//instanceConfigs/nam3, based on which this configuration is created. Only set for user managed configurations. `base_config` must refer to a configuration of type GOOGLE_MANAGED in the same project as this configuration. + * Base configuration name, e.g. projects//instanceConfigs/nam3, based on which this configuration is created. Only set for user-managed configurations. `base_config` must refer to a configuration of type `GOOGLE_MANAGED` in the same project as this configuration. */ baseConfig?: string | null; /** - * Output only. Whether this instance config is a Google or User Managed Configuration. + * Output only. Whether this instance configuration is a Google- or user-managed configuration. */ configType?: string | null; /** @@ -1170,7 +1170,7 @@ export namespace spanner_v1 { */ displayName?: string | null; /** - * etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a instance config from overwriting each other. It is strongly suggested that systems make use of the etag in the read-modify-write cycle to perform instance config updates in order to avoid race conditions: An etag is returned in the response which contains instance configs, and systems are expected to put that etag in the request to update instance config to ensure that their change will be applied to the same version of the instance config. If no etag is provided in the call to update instance config, then the existing instance config is overwritten blindly. + * etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a instance configuration from overwriting each other. It is strongly suggested that systems make use of the etag in the read-modify-write cycle to perform instance configuration updates in order to avoid race conditions: An etag is returned in the response which contains instance configurations, and systems are expected to put that etag in the request to update instance configuration to ensure that their change is applied to the same version of the instance configuration. If no etag is provided in the call to update the instance configuration, then the existing instance configuration is overwritten blindly. */ etag?: string | null; /** @@ -1186,11 +1186,11 @@ export namespace spanner_v1 { */ leaderOptions?: string[] | null; /** - * A unique identifier for the instance configuration. Values are of the form `projects//instanceConfigs/a-z*`. User instance config must start with `custom-`. + * A unique identifier for the instance configuration. Values are of the form `projects//instanceConfigs/a-z*`. User instance configuration must start with `custom-`. */ name?: string | null; /** - * Output only. The available optional replicas to choose from for user managed configurations. Populated for Google managed configurations. + * Output only. The available optional replicas to choose from for user-managed configurations. Populated for Google-managed configurations. */ optionalReplicas?: Schema$ReplicaInfo[]; /** @@ -1198,15 +1198,15 @@ export namespace spanner_v1 { */ quorumType?: string | null; /** - * Output only. If true, the instance config is being created or updated. If false, there are no ongoing operations for the instance config. + * Output only. If true, the instance configuration is being created or updated. If false, there are no ongoing operations for the instance config. */ reconciling?: boolean | null; /** - * The geographic placement of nodes in this instance configuration and their replication properties. To create user managed configurations, input `replicas` must include all replicas in `replicas` of the `base_config` and include one or more replicas in the `optional_replicas` of the `base_config`. + * The geographic placement of nodes in this instance configuration and their replication properties. To create user-managed configurations, input `replicas` must include all replicas in `replicas` of the `base_config` and include one or more replicas in the `optional_replicas` of the `base_config`. */ replicas?: Schema$ReplicaInfo[]; /** - * Output only. The current instance config state. Applicable only for USER_MANAGED configs. + * Output only. The current instance configuration state. Applicable only for `USER_MANAGED` configurations. */ state?: string | null; /** @@ -1256,11 +1256,11 @@ export namespace spanner_v1 { */ name?: string | null; /** - * The number of nodes allocated to this instance partition. Users can set the node_count field to specify the target number of nodes allocated to the instance partition. This may be zero in API responses for instance partitions that are not yet in state `READY`. + * The number of nodes allocated to this instance partition. Users can set the `node_count` field to specify the target number of nodes allocated to the instance partition. This may be zero in API responses for instance partitions that are not yet in state `READY`. */ nodeCount?: number | null; /** - * The number of processing units allocated to this instance partition. Users can set the processing_units field to specify the target number of processing units allocated to the instance partition. This may be zero in API responses for instance partitions that are not yet in state `READY`. + * The number of processing units allocated to this instance partition. Users can set the `processing_units` field to specify the target number of processing units allocated to the instance partition. This might be zero in API responses for instance partitions that are not yet in the `READY` state. */ processingUnits?: number | null; /** @@ -1446,7 +1446,7 @@ export namespace spanner_v1 { */ nextPageToken?: string | null; /** - * The list of matching instance config long-running operations. Each operation's name will be prefixed by the instance config's name. The operation's metadata field type `metadata.type_url` describes the type of the metadata. + * The list of matching instance configuration long-running operations. Each operation's name will be prefixed by the instance config's name. The operation's metadata field type `metadata.type_url` describes the type of the metadata. */ operations?: Schema$Operation[]; } @@ -1646,7 +1646,7 @@ export namespace spanner_v1 { */ export interface Schema$MoveInstanceRequest { /** - * Required. The target instance config for the instance to move. Values are of the form `projects//instanceConfigs/`. + * Required. The target instance configuration for the instance to move. Values are of the form `projects//instanceConfigs/`. */ targetConfig?: string | null; } @@ -1807,7 +1807,7 @@ export namespace spanner_v1 { */ partitionOptions?: Schema$PartitionOptions; /** - * Required. The query request to generate partitions for. The request will fail if the query is not root partitionable. For a query to be root partitionable, it needs to satisfy a few conditions. For example, if the query execution plan contains a distributed union operator, then it must be the first operator in the plan. For more information about other conditions, see [Read data in parallel](https://cloud.google.com/spanner/docs/reads#read_data_in_parallel). The query request must not contain DML commands, such as INSERT, UPDATE, or DELETE. Use ExecuteStreamingSql with a PartitionedDml transaction for large, partition-friendly DML operations. + * Required. The query request to generate partitions for. The request fails if the query is not root partitionable. For a query to be root partitionable, it needs to satisfy a few conditions. For example, if the query execution plan contains a distributed union operator, then it must be the first operator in the plan. For more information about other conditions, see [Read data in parallel](https://cloud.google.com/spanner/docs/reads#read_data_in_parallel). The query request must not contain DML commands, such as `INSERT`, `UPDATE`, or `DELETE`. Use `ExecuteStreamingSql` with a PartitionedDml transaction for large, partition-friendly DML operations. */ sql?: string | null; /** @@ -2153,7 +2153,7 @@ export namespace spanner_v1 { */ kmsKeyName?: string | null; /** - * Optional. Specifies the KMS configuration for the one or more keys used to encrypt the database. Values are of the form `projects//locations//keyRings//cryptoKeys/`. The keys referenced by kms_key_names must fully cover all regions of the database instance configuration. Some examples: * For single region database instance configs, specify a single regional location KMS key. * For multi-regional database instance configs of type GOOGLE_MANAGED, either specify a multi-regional location KMS key or multiple regional location KMS keys that cover all regions in the instance config. * For a database instance config of type USER_MANAGED, please specify only regional location KMS keys to cover each region in the instance config. Multi-regional location KMS keys are not supported for USER_MANAGED instance configs. + * Optional. Specifies the KMS configuration for the one or more keys used to encrypt the database. Values have the form `projects//locations//keyRings//cryptoKeys/`. The keys referenced by kms_key_names must fully cover all regions of the database instance configuration. Some examples: * For single region database instance configurations, specify a single regional location KMS key. * For multi-regional database instance configurations of type `GOOGLE_MANAGED`, either specify a multi-regional location KMS key or multiple regional location KMS keys that cover all regions in the instance configuration. * For a database instance configuration of type `USER_MANAGED`, please specify only regional location KMS keys to cover each region in the instance configuration. Multi-regional location KMS keys are not supported for USER_MANAGED instance configurations. */ kmsKeyNames?: string[] | null; } @@ -2604,7 +2604,7 @@ export namespace spanner_v1 { */ cancelTime?: string | null; /** - * The desired instance config after updating. + * The desired instance configuration after updating. */ instanceConfig?: Schema$InstanceConfig; /** @@ -2617,7 +2617,7 @@ export namespace spanner_v1 { */ export interface Schema$UpdateInstanceConfigRequest { /** - * Required. The user instance config to update, which must always include the instance config name. Otherwise, only fields mentioned in update_mask need be included. To prevent conflicts of concurrent updates, etag can be used. + * Required. The user instance configuration to update, which must always include the instance configuration name. Otherwise, only fields mentioned in update_mask need be included. To prevent conflicts of concurrent updates, etag can be used. */ instanceConfig?: Schema$InstanceConfig; /** @@ -2784,7 +2784,7 @@ export namespace spanner_v1 { } /** - * Lists the user-managed instance config long-running operations in the given project. An instance config operation has a name of the form `projects//instanceConfigs//operations/`. The long-running operation metadata field type `metadata.type_url` describes the type of the metadata. Operations returned include those that have completed/failed/canceled within the last 7 days, and pending operations. Operations returned are ordered by `operation.metadata.value.start_time` in descending order starting from the most recently started operation. + * Lists the user-managed instance configuration long-running operations in the given project. An instance configuration operation has a name of the form `projects//instanceConfigs//operations/`. The long-running operation metadata field type `metadata.type_url` describes the type of the metadata. Operations returned include those that have completed/failed/canceled within the last 7 days, and pending operations. Operations returned are ordered by `operation.metadata.value.start_time` in descending order starting from the most recently started operation. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -2884,7 +2884,7 @@ export namespace spanner_v1 { export interface Params$Resource$Projects$Instanceconfigoperations$List extends StandardParameters { /** - * An expression that filters the list of returned operations. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string, a number, or a boolean. The comparison operator must be one of: `<`, `\>`, `<=`, `\>=`, `!=`, `=`, or `:`. Colon `:` is the contains operator. Filter rules are not case sensitive. The following fields in the Operation are eligible for filtering: * `name` - The name of the long-running operation * `done` - False if the operation is in progress, else true. * `metadata.@type` - the type of metadata. For example, the type string for CreateInstanceConfigMetadata is `type.googleapis.com/google.spanner.admin.instance.v1.CreateInstanceConfigMetadata`. * `metadata.` - any field in metadata.value. `metadata.@type` must be specified first, if filtering on metadata fields. * `error` - Error associated with the long-running operation. * `response.@type` - the type of response. * `response.` - any field in response.value. You can combine multiple expressions by enclosing each expression in parentheses. By default, expressions are combined with AND logic. However, you can specify AND, OR, and NOT logic explicitly. Here are a few examples: * `done:true` - The operation is complete. * `(metadata.@type=` \ `type.googleapis.com/google.spanner.admin.instance.v1.CreateInstanceConfigMetadata) AND` \ `(metadata.instance_config.name:custom-config) AND` \ `(metadata.progress.start_time < \"2021-03-28T14:50:00Z\") AND` \ `(error:*)` - Return operations where: * The operation's metadata type is CreateInstanceConfigMetadata. * The instance config name contains "custom-config". * The operation started before 2021-03-28T14:50:00Z. * The operation resulted in an error. + * An expression that filters the list of returned operations. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string, a number, or a boolean. The comparison operator must be one of: `<`, `\>`, `<=`, `\>=`, `!=`, `=`, or `:`. Colon `:` is the contains operator. Filter rules are not case sensitive. The following fields in the Operation are eligible for filtering: * `name` - The name of the long-running operation * `done` - False if the operation is in progress, else true. * `metadata.@type` - the type of metadata. For example, the type string for CreateInstanceConfigMetadata is `type.googleapis.com/google.spanner.admin.instance.v1.CreateInstanceConfigMetadata`. * `metadata.` - any field in metadata.value. `metadata.@type` must be specified first, if filtering on metadata fields. * `error` - Error associated with the long-running operation. * `response.@type` - the type of response. * `response.` - any field in response.value. You can combine multiple expressions by enclosing each expression in parentheses. By default, expressions are combined with AND logic. However, you can specify AND, OR, and NOT logic explicitly. Here are a few examples: * `done:true` - The operation is complete. * `(metadata.@type=` \ `type.googleapis.com/google.spanner.admin.instance.v1.CreateInstanceConfigMetadata) AND` \ `(metadata.instance_config.name:custom-config) AND` \ `(metadata.progress.start_time < \"2021-03-28T14:50:00Z\") AND` \ `(error:*)` - Return operations where: * The operation's metadata type is CreateInstanceConfigMetadata. * The instance configuration name contains "custom-config". * The operation started before 2021-03-28T14:50:00Z. * The operation resulted in an error. */ filter?: string; /** @@ -2896,7 +2896,7 @@ export namespace spanner_v1 { */ pageToken?: string; /** - * Required. The project of the instance config operations. Values are of the form `projects/`. + * Required. The project of the instance configuration operations. Values are of the form `projects/`. */ parent?: string; } @@ -2916,7 +2916,7 @@ export namespace spanner_v1 { } /** - * Creates an instance config and begins preparing it to be used. The returned long-running operation can be used to track the progress of preparing the new instance config. The instance config name is assigned by the caller. If the named instance config already exists, `CreateInstanceConfig` returns `ALREADY_EXISTS`. Immediately after the request returns: * The instance config is readable via the API, with all requested attributes. The instance config's reconciling field is set to true. Its state is `CREATING`. While the operation is pending: * Cancelling the operation renders the instance config immediately unreadable via the API. * Except for deleting the creating resource, all other attempts to modify the instance config are rejected. Upon completion of the returned operation: * Instances can be created using the instance configuration. * The instance config's reconciling field becomes false. Its state becomes `READY`. The returned long-running operation will have a name of the format `/operations/` and can be used to track creation of the instance config. The metadata field type is CreateInstanceConfigMetadata. The response field type is InstanceConfig, if successful. Authorization requires `spanner.instanceConfigs.create` permission on the resource parent. + * Creates an instance configuration and begins preparing it to be used. The returned long-running operation can be used to track the progress of preparing the new instance config. The instance configuration name is assigned by the caller. If the named instance configuration already exists, `CreateInstanceConfig` returns `ALREADY_EXISTS`. Immediately after the request returns: * The instance configuration is readable via the API, with all requested attributes. The instance config's reconciling field is set to true. Its state is `CREATING`. While the operation is pending: * Cancelling the operation renders the instance configuration immediately unreadable via the API. * Except for deleting the creating resource, all other attempts to modify the instance configuration are rejected. Upon completion of the returned operation: * Instances can be created using the instance configuration. * The instance config's reconciling field becomes false. Its state becomes `READY`. The returned long-running operation will have a name of the format `/operations/` and can be used to track creation of the instance config. The metadata field type is CreateInstanceConfigMetadata. The response field type is InstanceConfig, if successful. Authorization requires `spanner.instanceConfigs.create` permission on the resource parent. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -3004,7 +3004,7 @@ export namespace spanner_v1 { } /** - * Deletes the instance config. Deletion is only allowed when no instances are using the configuration. If any instances are using the config, returns `FAILED_PRECONDITION`. Only user managed configurations can be deleted. Authorization requires `spanner.instanceConfigs.delete` permission on the resource name. + * Deletes the instance config. Deletion is only allowed when no instances are using the configuration. If any instances are using the config, returns `FAILED_PRECONDITION`. Only user-managed configurations can be deleted. Authorization requires `spanner.instanceConfigs.delete` permission on the resource name. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -3174,7 +3174,7 @@ export namespace spanner_v1 { } /** - * Lists the supported instance configurations for a given project. Returns both Google managed configs and user managed configs. + * Lists the supported instance configurations for a given project. Returns both Google-managed configurations and user-managed configurations. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -3269,7 +3269,7 @@ export namespace spanner_v1 { } /** - * Updates an instance config. The returned long-running operation can be used to track the progress of updating the instance. If the named instance config does not exist, returns `NOT_FOUND`. Only user managed configurations can be updated. Immediately after the request returns: * The instance config's reconciling field is set to true. While the operation is pending: * Cancelling the operation sets its metadata's cancel_time. The operation is guaranteed to succeed at undoing all changes, after which point it terminates with a `CANCELLED` status. * All other attempts to modify the instance config are rejected. * Reading the instance config via the API continues to give the pre-request values. Upon completion of the returned operation: * Creating instances using the instance configuration uses the new values. * The instance config's new values are readable via the API. * The instance config's reconciling field becomes false. The returned long-running operation will have a name of the format `/operations/` and can be used to track the instance config modification. The metadata field type is UpdateInstanceConfigMetadata. The response field type is InstanceConfig, if successful. Authorization requires `spanner.instanceConfigs.update` permission on the resource name. + * Updates an instance config. The returned long-running operation can be used to track the progress of updating the instance. If the named instance configuration does not exist, returns `NOT_FOUND`. Only user-managed configurations can be updated. Immediately after the request returns: * The instance config's reconciling field is set to true. While the operation is pending: * Cancelling the operation sets its metadata's cancel_time. The operation is guaranteed to succeed at undoing all changes, after which point it terminates with a `CANCELLED` status. * All other attempts to modify the instance configuration are rejected. * Reading the instance configuration via the API continues to give the pre-request values. Upon completion of the returned operation: * Creating instances using the instance configuration uses the new values. * The instance config's new values are readable via the API. * The instance config's reconciling field becomes false. The returned long-running operation will have a name of the format `/operations/` and can be used to track the instance configuration modification. The metadata field type is UpdateInstanceConfigMetadata. The response field type is InstanceConfig, if successful. Authorization requires `spanner.instanceConfigs.update` permission on the resource name. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -3369,7 +3369,7 @@ export namespace spanner_v1 { export interface Params$Resource$Projects$Instanceconfigs$Delete extends StandardParameters { /** - * Used for optimistic concurrency control as a way to help prevent simultaneous deletes of an instance config from overwriting each other. If not empty, the API only deletes the instance config when the etag provided matches the current status of the requested instance config. Otherwise, deletes the instance config without checking the current status of the requested instance config. + * Used for optimistic concurrency control as a way to help prevent simultaneous deletes of an instance configuration from overwriting each other. If not empty, the API only deletes the instance configuration when the etag provided matches the current status of the requested instance config. Otherwise, deletes the instance configuration without checking the current status of the requested instance config. */ etag?: string; /** @@ -3406,7 +3406,7 @@ export namespace spanner_v1 { export interface Params$Resource$Projects$Instanceconfigs$Patch extends StandardParameters { /** - * A unique identifier for the instance configuration. Values are of the form `projects//instanceConfigs/a-z*`. User instance config must start with `custom-`. + * A unique identifier for the instance configuration. Values are of the form `projects//instanceConfigs/a-z*`. User instance configuration must start with `custom-`. */ name?: string; @@ -4689,7 +4689,7 @@ export namespace spanner_v1 { } /** - * Moves the instance to the target instance config. The returned long-running operation can be used to track the progress of moving the instance. `MoveInstance` returns `FAILED_PRECONDITION` if the instance meets any of the following criteria: * Has an ongoing move to a different instance config * Has backups * Has an ongoing update * Is under free trial * Contains any CMEK-enabled databases While the operation is pending: * All other attempts to modify the instance, including changes to its compute capacity, are rejected. * The following database and backup admin operations are rejected: * DatabaseAdmin.CreateDatabase, * DatabaseAdmin.UpdateDatabaseDdl (Disabled if default_leader is specified in the request.) * DatabaseAdmin.RestoreDatabase * DatabaseAdmin.CreateBackup * DatabaseAdmin.CopyBackup * Both the source and target instance configs are subject to hourly compute and storage charges. * The instance may experience higher read-write latencies and a higher transaction abort rate. However, moving an instance does not cause any downtime. The returned long-running operation will have a name of the format `/operations/` and can be used to track the move instance operation. The metadata field type is MoveInstanceMetadata. The response field type is Instance, if successful. Cancelling the operation sets its metadata's cancel_time. Cancellation is not immediate since it involves moving any data previously moved to target instance config back to the original instance config. The same operation can be used to track the progress of the cancellation. Upon successful completion of the cancellation, the operation terminates with CANCELLED status. Upon completion(if not cancelled) of the returned operation: * Instance would be successfully moved to the target instance config. * You are billed for compute and storage in target instance config. Authorization requires `spanner.instances.update` permission on the resource instance. For more details, please see [documentation](https://cloud.google.com/spanner/docs/move-instance). + * Moves the instance to the target instance config. The returned long-running operation can be used to track the progress of moving the instance. `MoveInstance` returns `FAILED_PRECONDITION` if the instance meets any of the following criteria: * Has an ongoing move to a different instance config * Has backups * Has an ongoing update * Is under free trial * Contains any CMEK-enabled databases While the operation is pending: * All other attempts to modify the instance, including changes to its compute capacity, are rejected. * The following database and backup admin operations are rejected: * DatabaseAdmin.CreateDatabase, * DatabaseAdmin.UpdateDatabaseDdl (Disabled if default_leader is specified in the request.) * DatabaseAdmin.RestoreDatabase * DatabaseAdmin.CreateBackup * DatabaseAdmin.CopyBackup * Both the source and target instance configurations are subject to hourly compute and storage charges. * The instance may experience higher read-write latencies and a higher transaction abort rate. However, moving an instance does not cause any downtime. The returned long-running operation will have a name of the format `/operations/` and can be used to track the move instance operation. The metadata field type is MoveInstanceMetadata. The response field type is Instance, if successful. Cancelling the operation sets its metadata's cancel_time. Cancellation is not immediate since it involves moving any data previously moved to target instance configuration back to the original instance config. The same operation can be used to track the progress of the cancellation. Upon successful completion of the cancellation, the operation terminates with `CANCELLED` status. Upon completion(if not cancelled) of the returned operation: * Instance would be successfully moved to the target instance config. * You are billed for compute and storage in target instance config. Authorization requires `spanner.instances.update` permission on the resource instance. For more details, please see [documentation](https://cloud.google.com/spanner/docs/move-instance). * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -6735,11 +6735,14 @@ export namespace spanner_v1 { export class Resource$Projects$Instances$Databases { context: APIRequestContext; + backupSchedules: Resource$Projects$Instances$Databases$Backupschedules; databaseRoles: Resource$Projects$Instances$Databases$Databaseroles; operations: Resource$Projects$Instances$Databases$Operations; sessions: Resource$Projects$Instances$Databases$Sessions; constructor(context: APIRequestContext) { this.context = context; + this.backupSchedules = + new Resource$Projects$Instances$Databases$Backupschedules(this.context); this.databaseRoles = new Resource$Projects$Instances$Databases$Databaseroles(this.context); this.operations = new Resource$Projects$Instances$Databases$Operations( @@ -6840,7 +6843,7 @@ export namespace spanner_v1 { } /** - * Creates a new Cloud Spanner database and starts to prepare it for serving. The returned long-running operation will have a name of the format `/operations/` and can be used to track preparation of the database. The metadata field type is CreateDatabaseMetadata. The response field type is Database, if successful. + * Creates a new Spanner database and starts to prepare it for serving. The returned long-running operation will have a name of the format `/operations/` and can be used to track preparation of the database. The metadata field type is CreateDatabaseMetadata. The response field type is Database, if successful. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -8061,6 +8064,324 @@ export namespace spanner_v1 { requestBody?: Schema$UpdateDatabaseDdlRequest; } + export class Resource$Projects$Instances$Databases$Backupschedules { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Gets the access control policy for a database or backup resource. Returns an empty policy if a database or backup exists but does not have a policy set. Authorization requires `spanner.databases.getIamPolicy` permission on resource. For backups, authorization requires `spanner.backups.getIamPolicy` permission on resource. + * + * @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. + */ + getIamPolicy( + params: Params$Resource$Projects$Instances$Databases$Backupschedules$Getiampolicy, + options: StreamMethodOptions + ): GaxiosPromise; + getIamPolicy( + params?: Params$Resource$Projects$Instances$Databases$Backupschedules$Getiampolicy, + options?: MethodOptions + ): GaxiosPromise; + getIamPolicy( + params: Params$Resource$Projects$Instances$Databases$Backupschedules$Getiampolicy, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + getIamPolicy( + params: Params$Resource$Projects$Instances$Databases$Backupschedules$Getiampolicy, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + getIamPolicy( + params: Params$Resource$Projects$Instances$Databases$Backupschedules$Getiampolicy, + callback: BodyResponseCallback + ): void; + getIamPolicy(callback: BodyResponseCallback): void; + getIamPolicy( + paramsOrCallback?: + | Params$Resource$Projects$Instances$Databases$Backupschedules$Getiampolicy + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Instances$Databases$Backupschedules$Getiampolicy; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Instances$Databases$Backupschedules$Getiampolicy; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Sets the access control policy on a database or backup resource. Replaces any existing policy. Authorization requires `spanner.databases.setIamPolicy` permission on resource. For backups, authorization requires `spanner.backups.setIamPolicy` permission on resource. + * + * @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. + */ + setIamPolicy( + params: Params$Resource$Projects$Instances$Databases$Backupschedules$Setiampolicy, + options: StreamMethodOptions + ): GaxiosPromise; + setIamPolicy( + params?: Params$Resource$Projects$Instances$Databases$Backupschedules$Setiampolicy, + options?: MethodOptions + ): GaxiosPromise; + setIamPolicy( + params: Params$Resource$Projects$Instances$Databases$Backupschedules$Setiampolicy, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + setIamPolicy( + params: Params$Resource$Projects$Instances$Databases$Backupschedules$Setiampolicy, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + setIamPolicy( + params: Params$Resource$Projects$Instances$Databases$Backupschedules$Setiampolicy, + callback: BodyResponseCallback + ): void; + setIamPolicy(callback: BodyResponseCallback): void; + setIamPolicy( + paramsOrCallback?: + | Params$Resource$Projects$Instances$Databases$Backupschedules$Setiampolicy + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Instances$Databases$Backupschedules$Setiampolicy; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Instances$Databases$Backupschedules$Setiampolicy; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Returns permissions that the caller has on the specified database or backup resource. Attempting this RPC on a non-existent Cloud Spanner database will result in a NOT_FOUND error if the user has `spanner.databases.list` permission on the containing Cloud Spanner instance. Otherwise returns an empty set of permissions. Calling this method on a backup that does not exist will result in a NOT_FOUND error if the user has `spanner.backups.list` permission on the containing instance. + * + * @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. + */ + testIamPermissions( + params: Params$Resource$Projects$Instances$Databases$Backupschedules$Testiampermissions, + options: StreamMethodOptions + ): GaxiosPromise; + testIamPermissions( + params?: Params$Resource$Projects$Instances$Databases$Backupschedules$Testiampermissions, + options?: MethodOptions + ): GaxiosPromise; + testIamPermissions( + params: Params$Resource$Projects$Instances$Databases$Backupschedules$Testiampermissions, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + testIamPermissions( + params: Params$Resource$Projects$Instances$Databases$Backupschedules$Testiampermissions, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + testIamPermissions( + params: Params$Resource$Projects$Instances$Databases$Backupschedules$Testiampermissions, + callback: BodyResponseCallback + ): void; + testIamPermissions( + callback: BodyResponseCallback + ): void; + testIamPermissions( + paramsOrCallback?: + | Params$Resource$Projects$Instances$Databases$Backupschedules$Testiampermissions + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | GaxiosPromise + | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Instances$Databases$Backupschedules$Testiampermissions; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Instances$Databases$Backupschedules$Testiampermissions; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Projects$Instances$Databases$Backupschedules$Getiampolicy + extends StandardParameters { + /** + * REQUIRED: The Cloud Spanner resource for which the policy is being retrieved. The format is `projects//instances/` for instance resources and `projects//instances//databases/` for database resources. + */ + resource?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GetIamPolicyRequest; + } + export interface Params$Resource$Projects$Instances$Databases$Backupschedules$Setiampolicy + extends StandardParameters { + /** + * REQUIRED: The Cloud Spanner resource for which the policy is being set. The format is `projects//instances/` for instance resources and `projects//instances//databases/` for databases resources. + */ + resource?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$SetIamPolicyRequest; + } + export interface Params$Resource$Projects$Instances$Databases$Backupschedules$Testiampermissions + extends StandardParameters { + /** + * REQUIRED: The Cloud Spanner resource for which permissions are being tested. The format is `projects//instances/` for instance resources and `projects//instances//databases/` for database resources. + */ + resource?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$TestIamPermissionsRequest; + } + export class Resource$Projects$Instances$Databases$Databaseroles { context: APIRequestContext; constructor(context: APIRequestContext) { diff --git a/src/apis/sqladmin/v1.ts b/src/apis/sqladmin/v1.ts index eb99174933..a703e2eb92 100644 --- a/src/apis/sqladmin/v1.ts +++ b/src/apis/sqladmin/v1.ts @@ -916,6 +916,7 @@ export namespace sqladmin_v1 { sqlExportOptions?: { mysqlExportOptions?: {masterData?: number}; parallel?: boolean; + postgresExportOptions?: {clean?: boolean; ifExists?: boolean}; schemaOnly?: boolean; tables?: string[]; threads?: number; @@ -1105,7 +1106,11 @@ export namespace sqladmin_v1 { /** * Optional. Options for importing data from SQL statements. */ - sqlImportOptions?: {parallel?: boolean; threads?: number} | null; + sqlImportOptions?: { + parallel?: boolean; + postgresImportOptions?: {clean?: boolean; ifExists?: boolean}; + threads?: number; + } | null; /** * Path to the import file in Cloud Storage, in the form `gs://bucketName/fileName`. Compressed gzip files (.gz) are supported when `fileType` is `SQL`. The instance must have write permissions to the bucket and read access to the file. */ diff --git a/src/apis/sqladmin/v1beta4.ts b/src/apis/sqladmin/v1beta4.ts index 4bec6e3de5..907bf7464a 100644 --- a/src/apis/sqladmin/v1beta4.ts +++ b/src/apis/sqladmin/v1beta4.ts @@ -919,6 +919,7 @@ export namespace sqladmin_v1beta4 { sqlExportOptions?: { mysqlExportOptions?: {masterData?: number}; parallel?: boolean; + postgresExportOptions?: {clean?: boolean; ifExists?: boolean}; schemaOnly?: boolean; tables?: string[]; threads?: number; @@ -1108,7 +1109,11 @@ export namespace sqladmin_v1beta4 { /** * Optional. Options for importing data from SQL statements. */ - sqlImportOptions?: {parallel?: boolean; threads?: number} | null; + sqlImportOptions?: { + parallel?: boolean; + postgresImportOptions?: {clean?: boolean; ifExists?: boolean}; + threads?: number; + } | null; /** * Path to the import file in Cloud Storage, in the form `gs://bucketName/fileName`. Compressed gzip files (.gz) are supported when `fileType` is `SQL`. The instance must have write permissions to the bucket and read access to the file. */ diff --git a/src/apis/storage/v1.ts b/src/apis/storage/v1.ts index fb1042e7c7..c8301619b9 100644 --- a/src/apis/storage/v1.ts +++ b/src/apis/storage/v1.ts @@ -275,6 +275,17 @@ export namespace storage_v1 { * The ID of the bucket. For buckets, the id and name properties are the same. */ id?: string | null; + /** + * The bucket's IP filter configuration. Specifies the network sources that are allowed to access the operations on the bucket, as well as its underlying objects. Only enforced when the mode is set to 'Enabled'. + */ + ipFilter?: { + mode?: string; + publicNetworkSource?: {allowedIpCidrRanges?: string[]}; + vpcNetworkSources?: Array<{ + allowedIpCidrRanges?: string[]; + network?: string; + }>; + } | null; /** * The kind of item this is. For buckets, this is always storage#bucket. */ diff --git a/src/apis/sts/v1.ts b/src/apis/sts/v1.ts index 89344283e5..15a886a274 100644 --- a/src/apis/sts/v1.ts +++ b/src/apis/sts/v1.ts @@ -243,6 +243,10 @@ export namespace sts_v1 { * Response message for ExchangeToken. */ export interface Schema$GoogleIdentityStsV1ExchangeTokenResponse { + /** + * The access boundary session key. This key is used along with the access boundary intermediate token to generate Credential Access Boundary tokens at client side. This field is absent when the `requested_token_type` from the request is not `urn:ietf:params:oauth:token-type:access_boundary_intermediate_token`. + */ + access_boundary_session_key?: string | null; /** * An OAuth 2.0 security token, issued by Google, in response to the token exchange request. Tokens can vary in size, depending in part on the size of mapped claims, up to a maximum of 12288 bytes (12 KB). Google reserves the right to change the token size and the maximum length at any time. */ diff --git a/src/apis/tagmanager/v2.ts b/src/apis/tagmanager/v2.ts index 7998521657..798aa2d146 100644 --- a/src/apis/tagmanager/v2.ts +++ b/src/apis/tagmanager/v2.ts @@ -2687,7 +2687,7 @@ export namespace tagmanager_v2 { } /** - * Looks up a Container by destination ID. + * Looks up a Container by destination ID or tag ID. * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -3104,9 +3104,13 @@ export namespace tagmanager_v2 { export interface Params$Resource$Accounts$Containers$Lookup extends StandardParameters { /** - * Destination ID linked to a GTM Container, e.g. AW-123456789. Example: accounts/containers:lookup?destination_id={destination_id\}. + * Destination ID linked to a GTM Container, e.g. AW-123456789. Example: accounts/containers:lookup?destination_id={destination_id\}. Only one of destination_id or tag_id should be set. */ destinationId?: string; + /** + * Tag ID for a GTM Container, e.g. GTM-123456789. Example: accounts/containers:lookup?tag_id={tag_id\}. Only one of destination_id or tag_id should be set. + */ + tagId?: string; } export interface Params$Resource$Accounts$Containers$Move_tag_id extends StandardParameters { diff --git a/src/apis/transcoder/v1.ts b/src/apis/transcoder/v1.ts index 4245d6f739..dbde1eab17 100644 --- a/src/apis/transcoder/v1.ts +++ b/src/apis/transcoder/v1.ts @@ -990,7 +990,7 @@ export namespace transcoder_v1 { */ export interface Schema$Output { /** - * URI for the output file(s). For example, `gs://my-bucket/outputs/`. If empty, the value is populated from Job.output_uri. See [Supported input and output formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats). + * URI for the output file(s). For example, `gs://my-bucket/outputs/`. Must be a directory and not a top-level bucket. If empty, the value is populated from Job.output_uri. See [Supported input and output formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats). */ uri?: string | null; } diff --git a/src/apis/vmmigration/v1.ts b/src/apis/vmmigration/v1.ts index 7613ece9c1..5272d88bec 100644 --- a/src/apis/vmmigration/v1.ts +++ b/src/apis/vmmigration/v1.ts @@ -549,6 +549,10 @@ export namespace vmmigration_v1 { * Request message for 'CancelCutoverJob' request. */ export interface Schema$CancelCutoverJobRequest {} + /** + * Request message for 'CancelDiskMigrationJob' request. + */ + export interface Schema$CancelDiskMigrationJobRequest {} /** * Request message for 'CancelImageImportJob' request. */ @@ -1081,7 +1085,7 @@ export namespace vmmigration_v1 { */ export interface Schema$DiskImageTargetDetails { /** - * Optional. Additional licenses to assign to the image. + * Optional. Additional licenses to assign to the image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME */ additionalLicenses?: string[] | null; /** @@ -1843,7 +1847,7 @@ export namespace vmmigration_v1 { */ network?: string | null; /** - * The subnetwork to connect the NIC to. + * Optional. The subnetwork to connect the NIC to. */ subnetwork?: string | null; } @@ -1985,7 +1989,7 @@ export namespace vmmigration_v1 { */ sourceDiskNumber?: number | null; /** - * Optional. Details for attachment of the disk to a VM. Used when the disk is set to be attacked to a target VM. + * Optional. Details for attachment of the disk to a VM. Used when the disk is set to be attached to a target VM. */ vmAttachmentDetails?: Schema$VmAttachmentDetails; } @@ -2085,6 +2089,10 @@ export namespace vmmigration_v1 { * Request message for 'ResumeMigration' request. */ export interface Schema$ResumeMigrationRequest {} + /** + * Request message for 'RunDiskMigrationJobRequest' request. + */ + export interface Schema$RunDiskMigrationJobRequest {} /** * A policy for scheduling replications. */ @@ -4611,6 +4619,7 @@ export namespace vmmigration_v1 { export class Resource$Projects$Locations$Sources { context: APIRequestContext; datacenterConnectors: Resource$Projects$Locations$Sources$Datacenterconnectors; + diskMigrationJobs: Resource$Projects$Locations$Sources$Diskmigrationjobs; migratingVms: Resource$Projects$Locations$Sources$Migratingvms; utilizationReports: Resource$Projects$Locations$Sources$Utilizationreports; constructor(context: APIRequestContext) { @@ -4619,6 +4628,8 @@ export namespace vmmigration_v1 { new Resource$Projects$Locations$Sources$Datacenterconnectors( this.context ); + this.diskMigrationJobs = + new Resource$Projects$Locations$Sources$Diskmigrationjobs(this.context); this.migratingVms = new Resource$Projects$Locations$Sources$Migratingvms( this.context ); @@ -5791,6 +5802,210 @@ export namespace vmmigration_v1 { requestBody?: Schema$UpgradeApplianceRequest; } + export class Resource$Projects$Locations$Sources$Diskmigrationjobs { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Cancels the disk migration job. + * + * @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. + */ + cancel( + params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel, + options: StreamMethodOptions + ): GaxiosPromise; + cancel( + params?: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel, + options?: MethodOptions + ): GaxiosPromise; + cancel( + params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + cancel( + params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + cancel( + params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel, + callback: BodyResponseCallback + ): void; + cancel(callback: BodyResponseCallback): void; + cancel( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://vmmigration.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Runs the disk migration job. + * + * @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. + */ + run( + params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run, + options: StreamMethodOptions + ): GaxiosPromise; + run( + params?: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run, + options?: MethodOptions + ): GaxiosPromise; + run( + params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + run( + params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + run( + params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run, + callback: BodyResponseCallback + ): void; + run(callback: BodyResponseCallback): void; + run( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://vmmigration.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}:run').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + 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$Sources$Diskmigrationjobs$Cancel + extends StandardParameters { + /** + * Required. The name of the DiskMigrationJob. + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$CancelDiskMigrationJobRequest; + } + export interface Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run + extends StandardParameters { + /** + * Required. The name of the DiskMigrationJob. + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$RunDiskMigrationJobRequest; + } + export class Resource$Projects$Locations$Sources$Migratingvms { context: APIRequestContext; cloneJobs: Resource$Projects$Locations$Sources$Migratingvms$Clonejobs; diff --git a/src/apis/vmmigration/v1alpha1.ts b/src/apis/vmmigration/v1alpha1.ts index 9caa2714c1..31696896d9 100644 --- a/src/apis/vmmigration/v1alpha1.ts +++ b/src/apis/vmmigration/v1alpha1.ts @@ -549,6 +549,10 @@ export namespace vmmigration_v1alpha1 { * Request message for 'CancelCutoverJob' request. */ export interface Schema$CancelCutoverJobRequest {} + /** + * Request message for 'CancelDiskMigrationJob' request. + */ + export interface Schema$CancelDiskMigrationJobRequest {} /** * Request message for 'CancelImageImportJob' request. */ @@ -1102,7 +1106,7 @@ export namespace vmmigration_v1alpha1 { */ export interface Schema$DiskImageTargetDetails { /** - * Optional. Additional licenses to assign to the image. + * Optional. Additional licenses to assign to the image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME */ additionalLicenses?: string[] | null; /** @@ -1872,7 +1876,7 @@ export namespace vmmigration_v1alpha1 { */ network?: string | null; /** - * The subnetwork to connect the NIC to. + * Optional. The subnetwork to connect the NIC to. */ subnetwork?: string | null; } @@ -2014,7 +2018,7 @@ export namespace vmmigration_v1alpha1 { */ sourceDiskNumber?: number | null; /** - * Optional. Details for attachment of the disk to a VM. Used when the disk is set to be attacked to a target VM. + * Optional. Details for attachment of the disk to a VM. Used when the disk is set to be attached to a target VM. */ vmAttachmentDetails?: Schema$VmAttachmentDetails; } @@ -2118,6 +2122,10 @@ export namespace vmmigration_v1alpha1 { * Request message for 'ResumeMigration' request. */ export interface Schema$ResumeMigrationRequest {} + /** + * Request message for 'RunDiskMigrationJobRequest' request. + */ + export interface Schema$RunDiskMigrationJobRequest {} /** * A policy for scheduling replications. */ @@ -4783,6 +4791,7 @@ export namespace vmmigration_v1alpha1 { export class Resource$Projects$Locations$Sources { context: APIRequestContext; datacenterConnectors: Resource$Projects$Locations$Sources$Datacenterconnectors; + diskMigrationJobs: Resource$Projects$Locations$Sources$Diskmigrationjobs; migratingVms: Resource$Projects$Locations$Sources$Migratingvms; utilizationReports: Resource$Projects$Locations$Sources$Utilizationreports; constructor(context: APIRequestContext) { @@ -4791,6 +4800,8 @@ export namespace vmmigration_v1alpha1 { new Resource$Projects$Locations$Sources$Datacenterconnectors( this.context ); + this.diskMigrationJobs = + new Resource$Projects$Locations$Sources$Diskmigrationjobs(this.context); this.migratingVms = new Resource$Projects$Locations$Sources$Migratingvms( this.context ); @@ -5963,6 +5974,216 @@ export namespace vmmigration_v1alpha1 { requestBody?: Schema$UpgradeApplianceRequest; } + export class Resource$Projects$Locations$Sources$Diskmigrationjobs { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Cancels the disk migration job. + * + * @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. + */ + cancel( + params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel, + options: StreamMethodOptions + ): GaxiosPromise; + cancel( + params?: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel, + options?: MethodOptions + ): GaxiosPromise; + cancel( + params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + cancel( + params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + cancel( + params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel, + callback: BodyResponseCallback + ): void; + cancel(callback: BodyResponseCallback): void; + cancel( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Cancel; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://vmmigration.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha1/{+name}:cancel').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Runs the disk migration job. + * + * @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. + */ + run( + params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run, + options: StreamMethodOptions + ): GaxiosPromise; + run( + params?: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run, + options?: MethodOptions + ): GaxiosPromise; + run( + params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + run( + params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + run( + params: Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run, + callback: BodyResponseCallback + ): void; + run(callback: BodyResponseCallback): void; + run( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): void | GaxiosPromise | GaxiosPromise { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://vmmigration.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha1/{+name}:run').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + 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$Sources$Diskmigrationjobs$Cancel + extends StandardParameters { + /** + * Required. The name of the DiskMigrationJob. + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$CancelDiskMigrationJobRequest; + } + export interface Params$Resource$Projects$Locations$Sources$Diskmigrationjobs$Run + extends StandardParameters { + /** + * Required. The name of the DiskMigrationJob. + */ + name?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$RunDiskMigrationJobRequest; + } + export class Resource$Projects$Locations$Sources$Migratingvms { context: APIRequestContext; cloneJobs: Resource$Projects$Locations$Sources$Migratingvms$Clonejobs; diff --git a/src/apis/vmwareengine/v1.ts b/src/apis/vmwareengine/v1.ts index 8d4a4f6d8d..faf3ffb915 100644 --- a/src/apis/vmwareengine/v1.ts +++ b/src/apis/vmwareengine/v1.ts @@ -150,6 +150,56 @@ export namespace vmwareengine_v1 { */ logType?: string | null; } + /** + * Autoscaling policy describes the behavior of the autoscaling with respect to the resource utilization. The scale-out operation is initiated if the utilization exceeds ANY of the respective thresholds. The scale-in operation is initiated if the utilization is below ALL of the respective thresholds. + */ + export interface Schema$AutoscalingPolicy { + /** + * Optional. Utilization thresholds pertaining to amount of consumed memory. + */ + consumedMemoryThresholds?: Schema$Thresholds; + /** + * Optional. Utilization thresholds pertaining to CPU utilization. + */ + cpuThresholds?: Schema$Thresholds; + /** + * Optional. Utilization thresholds pertaining to amount of granted memory. + */ + grantedMemoryThresholds?: Schema$Thresholds; + /** + * Required. The canonical identifier of the node type to add or remove. Corresponds to the `NodeType`. + */ + nodeTypeId?: string | null; + /** + * Required. Number of nodes to add to a cluster during a scale-out operation. Must be divisible by 2 for stretched clusters. During a scale-in operation only one node (or 2 for stretched clusters) are removed in a single iteration. + */ + scaleOutSize?: number | null; + /** + * Optional. Utilization thresholds pertaining to amount of consumed storage. + */ + storageThresholds?: Schema$Thresholds; + } + /** + * Autoscaling settings define the rules used by VMware Engine to automatically scale-out and scale-in the clusters in a private cloud. + */ + export interface Schema$AutoscalingSettings { + /** + * Required. The map with autoscaling policies applied to the cluster. The key is the identifier of the policy. It must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5) Currently there map must contain only one element that describes the autoscaling policy for compute nodes. + */ + autoscalingPolicies?: {[key: string]: Schema$AutoscalingPolicy} | null; + /** + * Optional. The minimum duration between consecutive autoscale operations. It starts once addition or removal of nodes is fully completed. Defaults to 30 minutes if not specified. Cool down period must be in whole minutes (for example, 30, 31, 50, 180 minutes). + */ + coolDownPeriod?: string | null; + /** + * Optional. Maximum number of nodes of any type in a cluster. If not specified the default limits apply. + */ + maxClusterNodeCount?: number | null; + /** + * Optional. Minimum number of nodes of any type in a cluster. If not specified the default limits apply. + */ + minClusterNodeCount?: number | null; + } /** * Associates `members`, or principals, with a `role`. */ @@ -171,6 +221,10 @@ export namespace vmwareengine_v1 { * A cluster in a private cloud. */ export interface Schema$Cluster { + /** + * Optional. Configuration of the autoscaling applied to this cluster. + */ + autoscalingSettings?: Schema$AutoscalingSettings; /** * Output only. Creation time of this resource. */ @@ -1524,6 +1578,19 @@ export namespace vmwareengine_v1 { */ permissions?: string[] | null; } + /** + * Thresholds define the utilization of resources triggering scale-out and scale-in operations. + */ + export interface Schema$Thresholds { + /** + * Required. The utilization triggering the scale-in operation in percent. + */ + scaleIn?: number | null; + /** + * Required. The utilization triggering the scale-out operation in percent. + */ + scaleOut?: number | null; + } /** * Request message for VmwareEngine.UndeletePrivateCloud */ diff --git a/src/apis/workloadmanager/v1.ts b/src/apis/workloadmanager/v1.ts index addad6a975..c68c4515cb 100644 --- a/src/apis/workloadmanager/v1.ts +++ b/src/apis/workloadmanager/v1.ts @@ -141,6 +141,10 @@ export namespace workloadmanager_v1 { * Provides the mapping of a cloud asset to a direct physical location or to a proxy that defines the location on its behalf. */ export interface Schema$AssetLocation { + /** + * Spanner path of the CCFE RMS database. It is only applicable for CCFE tenants that use CCFE RMS for storing resource metadata. + */ + ccfeRmsPath?: string | null; /** * Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state of the region at the time of asset creation. */ @@ -1083,6 +1087,13 @@ export namespace workloadmanager_v1 { timeoutSeconds?: number | null; } export interface Schema$SpannerLocation { + /** + * Set of backups used by the resource with name in the same format as what is available at http://table/spanner_automon.backup_metadata + */ + backupName?: string[] | null; + /** + * Set of databases used by the resource in format /span// + */ dbName?: string[] | null; } /** diff --git a/src/apis/workstations/v1.ts b/src/apis/workstations/v1.ts index 8559cdfca6..38fb7105ae 100644 --- a/src/apis/workstations/v1.ts +++ b/src/apis/workstations/v1.ts @@ -227,11 +227,11 @@ export namespace workstations_v1 { kmsKeyServiceAccount?: string | null; } /** - * Configuration options for private workstation clusters. + * Configuration options for a custom domain. */ export interface Schema$DomainConfig { /** - * Immutable. Whether Workstations endpoint is private. + * Immutable. Domain used by Workstations for HTTP ingress. */ domain?: string | null; } @@ -673,10 +673,38 @@ export namespace workstations_v1 { */ version?: number | null; } + /** + * A PortRange defines a range of ports. Both first and last are inclusive. To specify a single port, both first and last should be the same. + */ + export interface Schema$PortRange { + /** + * Required. Starting port number for the current range of ports. + */ + first?: number | null; + /** + * Required. Ending port number for the current range of ports. + */ + last?: number | null; + } + /** + * Configuration options for private workstation clusters. + */ export interface Schema$PrivateClusterConfig { + /** + * Optional. Additional projects that are allowed to attach to the workstation cluster's service attachment. By default, the workstation cluster's project and the VPC host project (if different) are allowed. + */ allowedProjects?: string[] | null; + /** + * Output only. Hostname for the workstation cluster. This field will be populated only when private endpoint is enabled. To access workstations in the workstation cluster, create a new DNS zone mapping this domain name to an internal IP address and a forwarding rule mapping that address to the service attachment. + */ clusterHostname?: string | null; + /** + * Immutable. Whether Workstations endpoint is private. + */ enablePrivateEndpoint?: boolean | null; + /** + * Output only. Service attachment URI for the workstation cluster. The service attachemnt is created when private endpoint is enabled. To access workstations in the workstation cluster, configure access to the managed service using [Private Service Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-services). + */ serviceAttachmentUri?: string | null; } /** @@ -908,6 +936,10 @@ export namespace workstations_v1 { * A workstation configuration resource in the Cloud Workstations API. Workstation configurations act as templates for workstations. The workstation configuration defines details such as the workstation virtual machine (VM) instance type, persistent storage, container image defining environment, which IDE or Code Editor to use, and more. Administrators and platform teams can also use [Identity and Access Management (IAM)](https://cloud.google.com/iam/docs/overview) rules to grant access to teams or to individual developers. */ export interface Schema$WorkstationConfig { + /** + * Optional. A Single or Range of ports externally accessible in the workstation. If not specified defaults to ports 22, 80 and ports 1024-65535. + */ + allowedPorts?: Schema$PortRange[]; /** * Optional. Client-specified annotations. */ diff --git a/src/apis/workstations/v1beta.ts b/src/apis/workstations/v1beta.ts index abc12a1cdc..c45561e210 100644 --- a/src/apis/workstations/v1beta.ts +++ b/src/apis/workstations/v1beta.ts @@ -256,11 +256,11 @@ export namespace workstations_v1beta { kmsKeyServiceAccount?: string | null; } /** - * Configuration options for private workstation clusters. + * Configuration options for a custom domain. */ export interface Schema$DomainConfig { /** - * Immutable. Whether Workstations endpoint is private. + * Immutable. Domain used by Workstations for HTTP ingress. */ domain?: string | null; } @@ -678,7 +678,7 @@ export namespace workstations_v1beta { version?: number | null; } /** - * A PortsConfig defines a range of ports. Both first and last are inclusive. To specify a single port, both first and last should be the same. + * A PortRange defines a range of ports. Both first and last are inclusive. To specify a single port, both first and last should be the same. */ export interface Schema$PortRange { /** @@ -690,10 +690,25 @@ export namespace workstations_v1beta { */ last?: number | null; } + /** + * Configuration options for private workstation clusters. + */ export interface Schema$PrivateClusterConfig { + /** + * Optional. Additional projects that are allowed to attach to the workstation cluster's service attachment. By default, the workstation cluster's project and the VPC host project (if different) are allowed. + */ allowedProjects?: string[] | null; + /** + * Output only. Hostname for the workstation cluster. This field will be populated only when private endpoint is enabled. To access workstations in the workstation cluster, create a new DNS zone mapping this domain name to an internal IP address and a forwarding rule mapping that address to the service attachment. + */ clusterHostname?: string | null; + /** + * Immutable. Whether Workstations endpoint is private. + */ enablePrivateEndpoint?: boolean | null; + /** + * Output only. Service attachment URI for the workstation cluster. The service attachemnt is created when private endpoint is enabled. To access workstations in the workstation cluster, configure access to the managed service using [Private Service Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-services). + */ serviceAttachmentUri?: string | null; } /** @@ -835,6 +850,14 @@ export namespace workstations_v1beta { * Output only. Indicates whether this workstation is currently being updated to match its intended state. */ reconciling?: boolean | null; + /** + * Output only. Reserved for future use. + */ + satisfiesPzi?: boolean | null; + /** + * Output only. Reserved for future use. + */ + satisfiesPzs?: boolean | null; /** * Optional. The source workstation from which this workstations persistent directories were cloned on creation. */ @@ -916,6 +939,14 @@ export namespace workstations_v1beta { * Output only. Indicates whether this workstation cluster is currently being updated to match its intended state. */ reconciling?: boolean | null; + /** + * Output only. Reserved for future use. + */ + satisfiesPzi?: boolean | null; + /** + * Output only. Reserved for future use. + */ + satisfiesPzs?: boolean | null; /** * Immutable. Name of the Compute Engine subnetwork in which instances associated with this workstation cluster will be created. Must be part of the subnetwork specified for this workstation cluster. */ @@ -1025,6 +1056,14 @@ export namespace workstations_v1beta { * Optional. Number of seconds that a workstation can run until it is automatically shut down. We recommend that workstations be shut down daily to reduce costs and so that security updates can be applied upon restart. The idle_timeout and running_timeout fields are independent of each other. Note that the running_timeout field shuts down VMs after the specified time, regardless of whether or not the VMs are idle. Provide duration terminated by `s` for seconds—for example, `"54000s"` (15 hours). Defaults to `"43200s"` (12 hours). A value of `"0s"` indicates that workstations using this configuration should never time out. If encryption_key is set, it must be greater than `"0s"` and less than `"86400s"` (24 hours). Warning: A value of `"0s"` indicates that Cloud Workstations VMs created with this configuration have no maximum running time. This is strongly discouraged because you incur costs and will not pick up security updates. */ runningTimeout?: string | null; + /** + * Output only. Reserved for future use. + */ + satisfiesPzi?: boolean | null; + /** + * Output only. Reserved for future use. + */ + satisfiesPzs?: boolean | null; /** * Output only. A system-assigned unique identifier for this workstation configuration. */ diff --git a/src/generator/download.ts b/src/generator/download.ts index 1d6579b1d3..72bccdc4af 100644 --- a/src/generator/download.ts +++ b/src/generator/download.ts @@ -21,7 +21,7 @@ import {request, Headers} from 'gaxios'; import * as gapi from 'googleapis-common'; export type Schema = {[index: string]: {}}; -export const DISCOVERY_URL = 'https://www.googleapis.com/discovery/v1/apis/'; +export const DISCOVERY_URL = 'https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries'; export interface Change { action: 'ADDED' | 'DELETED' | 'CHANGED'; @@ -63,12 +63,14 @@ export async function downloadDiscoveryDocs( : {'X-User-Ip': '0.0.0.0'}; headers['Content-Type'] = headers['Content-Type'] ? headers['Content-Type'] - : 'json'; + : 'application/json'; console.log(`sending request to ${options.discoveryUrl}`); - const res = await request({url: options.discoveryUrl, headers}); - const apis = res.data.items; + const res = await request({url: `${options.discoveryUrl}/index.json`, headers}); + console.log(res.data) + const discoveryDoc = JSON.parse(res.data as string) as gapi.Schemas + const apis = discoveryDoc.items; const indexPath = path.join(options.downloadPath, 'index.json'); - gfs.writeFile(indexPath, res.data); + gfs.writeFile(indexPath, discoveryDoc); const queue = new Q({concurrency: 25}); console.log(`Downloading ${apis.length} APIs...`); const changes = await queue.addAll( @@ -78,7 +80,7 @@ export async function downloadDiscoveryDocs( options.downloadPath, api.id.replace(':', '-') + '.json' ); - const url = api.discoveryRestUrl; + const url = `${options.discoveryUrl}/${api.id.replace(':', '.')}.json`; const changeSet: ChangeSet = {api, changes: []}; try { const res = await request<{}>({url}); diff --git a/src/index.ts b/src/index.ts index 48dd806f8e..609a00e632 100644 --- a/src/index.ts +++ b/src/index.ts @@ -39,6 +39,7 @@ export {admob_v1beta} from './apis/admob/v1beta'; export {adsense_v1_4} from './apis/adsense/v1.4'; export {adsense_v2} from './apis/adsense/v2'; export {adsensehost_v4_1} from './apis/adsensehost/v4.1'; +export {adsenseplatform_v1alpha} from './apis/adsenseplatform/v1alpha'; export {advisorynotifications_v1} from './apis/advisorynotifications/v1'; export {aiplatform_v1} from './apis/aiplatform/v1'; export {aiplatform_v1beta1} from './apis/aiplatform/v1beta1'; @@ -181,6 +182,7 @@ export {containeranalysis_v1beta1} from './apis/containeranalysis/v1beta1'; export {content_v2_1} from './apis/content/v2.1'; export {content_v2} from './apis/content/v2'; export {contentwarehouse_v1} from './apis/contentwarehouse/v1'; +export {css_v1} from './apis/css/v1'; export {customsearch_v1} from './apis/customsearch/v1'; export {datacatalog_v1} from './apis/datacatalog/v1'; export {datacatalog_v1beta1} from './apis/datacatalog/v1beta1'; @@ -317,6 +319,7 @@ export {jobs_v2} from './apis/jobs/v2'; export {jobs_v3} from './apis/jobs/v3'; export {jobs_v3p1beta1} from './apis/jobs/v3p1beta1'; export {jobs_v4} from './apis/jobs/v4'; +export {keep_v1} from './apis/keep/v1'; export {kgsearch_v1} from './apis/kgsearch/v1'; export {kmsinventory_v1} from './apis/kmsinventory/v1'; export {language_v1} from './apis/language/v1'; diff --git a/test/test.download.ts b/test/test.download.ts index cd6e1abd45..44e63a012e 100644 --- a/test/test.download.ts +++ b/test/test.download.ts @@ -24,7 +24,8 @@ import * as http from 'http'; describe(__filename, () => { nock.disableNetConnect(); - const discoveryUrl = 'https://www.googleapis.com/discovery/v1/apis/'; + const discoveryUrl = + 'https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries'; const fakeIndexPath = 'test/fixtures/index.json'; const sandbox = sinon.createSandbox(); @@ -79,12 +80,18 @@ describe(__filename, () => { it('should download the discovery docs', async () => { const scopes = [ - nock('https://www.googleapis.com') - .get('/discovery/v1/apis/') - .replyWithFile(200, fakeIndexPath, { + nock( + 'https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries' + ) + .get('/index.json') + .reply(200, JSON.stringify(fs.readFileSync(fakeIndexPath, 'utf8')), { 'Content-Type': 'application/json', }), - nock('http://localhost:3030').get('/path').reply(200), + nock( + 'https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries' + ) + .get('/fake.v1.json') + .reply(200), ]; const mkdirpStub = sandbox.stub(dn.gfs, 'mkdir').resolves(); const writeFileStub = sandbox.stub(dn.gfs, 'writeFile'); @@ -99,14 +106,20 @@ describe(__filename, () => { it('should ignore changes to schemas that only have revision changes', async () => { const scopes = [ - nock('https://www.googleapis.com') - .get('/discovery/v1/apis/') - .replyWithFile(200, fakeIndexPath, { + nock( + 'https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries' + ) + .get('/index.json') + .reply(200, JSON.stringify(fs.readFileSync(fakeIndexPath, 'utf8')), { 'Content-Type': 'application/json', }), - nock('http://localhost:3030').get('/path').reply(200, { - revision: '1234', - }), + nock( + 'https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries' + ) + .get('/fake.v1.json') + .reply(200, { + revision: '1234', + }), ]; const writeFileStub = sandbox.stub(dn.gfs, 'writeFile'); const readFileStub = sandbox.stub(dn.gfs, 'readFile').callsFake(() => { @@ -136,7 +149,7 @@ describe(__filename, () => { __dirname, '../../test/fixtures/index.json' ); - fs.readFile(indexPath, (err, data) => { + fs.readFile(indexPath, 'utf-8', (err, data) => { if (err) { res.writeHead(404, { 'Content-Type': 'application/json', @@ -144,7 +157,7 @@ describe(__filename, () => { res.end(JSON.stringify(err)); return; } - res.end(data); + res.end(JSON.stringify(data)); }); }) .listen(port);