aboutsummaryrefslogtreecommitdiff
path: root/googleapiclient
diff options
context:
space:
mode:
authoryoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com>2021-07-27 00:20:26 -0700
committerGitHub <noreply@github.com>2021-07-27 07:20:26 +0000
commita36e3b130d609dfdc5b3ac0a70ff1b014c4bc75f (patch)
treee9156dce76c431c361f5ae3f542abef2ca558f42 /googleapiclient
parentc4ce77d5a5cfc101d8a45f61c44596d64bf508be (diff)
downloadgoogle-api-python-client-a36e3b130d609dfdc5b3ac0a70ff1b014c4bc75f.tar.gz
chore: Update discovery artifacts (#1462)
## Deleted keys were detected in the following stable discovery artifacts: sqladmin v1 https://github.com/googleapis/google-api-python-client/commit/cef24d829ab5be71563a2b668b8f6cf5dda2c8e4 ## Deleted keys were detected in the following pre-stable discovery artifacts: alertcenter v1beta1 https://github.com/googleapis/google-api-python-client/commit/70810a52c85c6d0d6f00d7afb41c8608261eaebc ## Discovery Artifact Change Summary: feat(alertcenter): update the api https://github.com/googleapis/google-api-python-client/commit/70810a52c85c6d0d6f00d7afb41c8608261eaebc feat(chat): update the api https://github.com/googleapis/google-api-python-client/commit/a577cd0b71951176bbf849c1f7f139127205da54 feat(cloudbuild): update the api https://github.com/googleapis/google-api-python-client/commit/9066056a8b106d441fb7686fe84359484d0d58bc feat(content): update the api https://github.com/googleapis/google-api-python-client/commit/b123349da33c11c0172a8efb3fadef685a30e6e1 feat(displayvideo): update the api https://github.com/googleapis/google-api-python-client/commit/c525d726ee6cffdd4bc7afd69080d5e52bae83a0 feat(dns): update the api https://github.com/googleapis/google-api-python-client/commit/13436ccd2b835fda5cb86952ac4ea991ee8651d8 feat(eventarc): update the api https://github.com/googleapis/google-api-python-client/commit/6be3394a64a5eb509f68ef779680fd36837708ee feat(file): update the api https://github.com/googleapis/google-api-python-client/commit/817a0e636771445a988ef479bd52740f754b901a feat(monitoring): update the api https://github.com/googleapis/google-api-python-client/commit/bd32149f308467f0f659119587afc77dcec65b14 feat(people): update the api https://github.com/googleapis/google-api-python-client/commit/aa6b47df40c5289f33aef6fb6aa007df2d038e20 feat(retail): update the api https://github.com/googleapis/google-api-python-client/commit/d39f06e2d77034bc837604a41dd52c577f158bf2 feat(securitycenter): update the api https://github.com/googleapis/google-api-python-client/commit/999fab5178208639c9eef289f9f441052ed832fc feat(speech): update the api https://github.com/googleapis/google-api-python-client/commit/3b2c0fa62b2a0c86bba1e97f1b18f93250dbd551 feat(sqladmin): update the api https://github.com/googleapis/google-api-python-client/commit/cef24d829ab5be71563a2b668b8f6cf5dda2c8e4
Diffstat (limited to 'googleapiclient')
-rw-r--r--googleapiclient/discovery_cache/documents/acceleratedmobilepageurl.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/accessapproval.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/accesscontextmanager.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/accesscontextmanager.v1beta.json2
-rw-r--r--googleapiclient/discovery_cache/documents/adexchangebuyer.v1.2.json4
-rw-r--r--googleapiclient/discovery_cache/documents/adexchangebuyer.v1.3.json4
-rw-r--r--googleapiclient/discovery_cache/documents/adexchangebuyer.v1.4.json4
-rw-r--r--googleapiclient/discovery_cache/documents/adexchangebuyer2.v2beta1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/admin.datatransfer_v1.json4
-rw-r--r--googleapiclient/discovery_cache/documents/admin.directory_v1.json56
-rw-r--r--googleapiclient/discovery_cache/documents/admin.reports_v1.json4
-rw-r--r--googleapiclient/discovery_cache/documents/admob.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/admob.v1beta.json2
-rw-r--r--googleapiclient/discovery_cache/documents/adsense.v2.json2
-rw-r--r--googleapiclient/discovery_cache/documents/alertcenter.v1beta1.json70
-rw-r--r--googleapiclient/discovery_cache/documents/analyticsadmin.v1alpha.json4
-rw-r--r--googleapiclient/discovery_cache/documents/analyticsdata.v1beta.json2
-rw-r--r--googleapiclient/discovery_cache/documents/androiddeviceprovisioning.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/androidenterprise.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/androidpublisher.v3.json10
-rw-r--r--googleapiclient/discovery_cache/documents/apigateway.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/apigateway.v1beta.json2
-rw-r--r--googleapiclient/discovery_cache/documents/apigee.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/apikeys.v2.json2
-rw-r--r--googleapiclient/discovery_cache/documents/appengine.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/appengine.v1alpha.json2
-rw-r--r--googleapiclient/discovery_cache/documents/appengine.v1beta.json2
-rw-r--r--googleapiclient/discovery_cache/documents/area120tables.v1alpha1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/artifactregistry.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/artifactregistry.v1beta1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/artifactregistry.v1beta2.json2
-rw-r--r--googleapiclient/discovery_cache/documents/bigquery.v2.json2
-rw-r--r--googleapiclient/discovery_cache/documents/bigqueryconnection.v1beta1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/bigqueryreservation.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/bigqueryreservation.v1beta1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/bigtableadmin.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/bigtableadmin.v2.json2
-rw-r--r--googleapiclient/discovery_cache/documents/billingbudgets.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/billingbudgets.v1beta1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/binaryauthorization.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/binaryauthorization.v1beta1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/blogger.v2.json2
-rw-r--r--googleapiclient/discovery_cache/documents/blogger.v3.json2
-rw-r--r--googleapiclient/discovery_cache/documents/books.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/calendar.v3.json2
-rw-r--r--googleapiclient/discovery_cache/documents/chat.v1.json946
-rw-r--r--googleapiclient/discovery_cache/documents/chromemanagement.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/chromepolicy.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/chromeuxreport.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/classroom.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/cloudasset.v1.json4
-rw-r--r--googleapiclient/discovery_cache/documents/cloudasset.v1beta1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/cloudasset.v1p1beta1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/cloudasset.v1p4beta1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/cloudasset.v1p5beta1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/cloudasset.v1p7beta1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/cloudbuild.v1.json163
-rw-r--r--googleapiclient/discovery_cache/documents/cloudbuild.v1alpha1.json128
-rw-r--r--googleapiclient/discovery_cache/documents/cloudbuild.v1alpha2.json128
-rw-r--r--googleapiclient/discovery_cache/documents/cloudbuild.v1beta1.json128
-rw-r--r--googleapiclient/discovery_cache/documents/cloudchannel.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/clouddebugger.v2.json2
-rw-r--r--googleapiclient/discovery_cache/documents/cloudfunctions.v1.json8
-rw-r--r--googleapiclient/discovery_cache/documents/cloudidentity.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/cloudidentity.v1beta1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/cloudiot.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/cloudprofiler.v2.json2
-rw-r--r--googleapiclient/discovery_cache/documents/cloudresourcemanager.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/cloudresourcemanager.v1beta1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/cloudresourcemanager.v2.json2
-rw-r--r--googleapiclient/discovery_cache/documents/cloudresourcemanager.v2beta1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/cloudresourcemanager.v3.json2
-rw-r--r--googleapiclient/discovery_cache/documents/cloudscheduler.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/cloudscheduler.v1beta1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/cloudsearch.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/cloudtasks.v2.json2
-rw-r--r--googleapiclient/discovery_cache/documents/cloudtasks.v2beta2.json2
-rw-r--r--googleapiclient/discovery_cache/documents/cloudtasks.v2beta3.json2
-rw-r--r--googleapiclient/discovery_cache/documents/cloudtrace.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/cloudtrace.v2.json2
-rw-r--r--googleapiclient/discovery_cache/documents/cloudtrace.v2beta1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/composer.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/composer.v1beta1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/container.v1.json4
-rw-r--r--googleapiclient/discovery_cache/documents/container.v1beta1.json4
-rw-r--r--googleapiclient/discovery_cache/documents/containeranalysis.v1alpha1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/containeranalysis.v1beta1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/content.v2.1.json518
-rw-r--r--googleapiclient/discovery_cache/documents/content.v2.json2
-rw-r--r--googleapiclient/discovery_cache/documents/customsearch.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/dataflow.v1b3.json2
-rw-r--r--googleapiclient/discovery_cache/documents/datalabeling.v1beta1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/datamigration.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/datamigration.v1beta1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/dataproc.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/dataproc.v1beta2.json2
-rw-r--r--googleapiclient/discovery_cache/documents/deploymentmanager.alpha.json2
-rw-r--r--googleapiclient/discovery_cache/documents/deploymentmanager.v2.json2
-rw-r--r--googleapiclient/discovery_cache/documents/deploymentmanager.v2beta.json2
-rw-r--r--googleapiclient/discovery_cache/documents/digitalassetlinks.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/displayvideo.v1.json538
-rw-r--r--googleapiclient/discovery_cache/documents/dlp.v2.json2
-rw-r--r--googleapiclient/discovery_cache/documents/dns.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/dns.v1beta2.json129
-rw-r--r--googleapiclient/discovery_cache/documents/docs.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/documentai.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/documentai.v1beta2.json2
-rw-r--r--googleapiclient/discovery_cache/documents/documentai.v1beta3.json2
-rw-r--r--googleapiclient/discovery_cache/documents/domains.v1alpha2.json2
-rw-r--r--googleapiclient/discovery_cache/documents/domainsrdap.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/doubleclickbidmanager.v1.1.json6
-rw-r--r--googleapiclient/discovery_cache/documents/doubleclickbidmanager.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/doubleclicksearch.v2.json2
-rw-r--r--googleapiclient/discovery_cache/documents/drive.v2.json4
-rw-r--r--googleapiclient/discovery_cache/documents/drive.v3.json4
-rw-r--r--googleapiclient/discovery_cache/documents/driveactivity.v2.json2
-rw-r--r--googleapiclient/discovery_cache/documents/essentialcontacts.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/eventarc.v1.json93
-rw-r--r--googleapiclient/discovery_cache/documents/eventarc.v1beta1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/factchecktools.v1alpha1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/fcm.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/fcmdata.v1beta1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/file.v1beta1.json245
-rw-r--r--googleapiclient/discovery_cache/documents/firebase.v1beta1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/firebaseappcheck.v1beta.json2
-rw-r--r--googleapiclient/discovery_cache/documents/firebasedatabase.v1beta.json2
-rw-r--r--googleapiclient/discovery_cache/documents/firebasedynamiclinks.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/firebasehosting.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/firebasehosting.v1beta1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/firebaseml.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/firebaseml.v1beta2.json2
-rw-r--r--googleapiclient/discovery_cache/documents/firebasestorage.v1beta.json2
-rw-r--r--googleapiclient/discovery_cache/documents/fitness.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/games.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/gamesConfiguration.v1configuration.json2
-rw-r--r--googleapiclient/discovery_cache/documents/gamesManagement.v1management.json2
-rw-r--r--googleapiclient/discovery_cache/documents/gameservices.v1beta.json2
-rw-r--r--googleapiclient/discovery_cache/documents/genomics.v2alpha1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/gkehub.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/gkehub.v1alpha.json2
-rw-r--r--googleapiclient/discovery_cache/documents/gmail.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/gmailpostmastertools.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/gmailpostmastertools.v1beta1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/groupsmigration.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/groupssettings.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/healthcare.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/healthcare.v1beta1.json4
-rw-r--r--googleapiclient/discovery_cache/documents/homegraph.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/iam.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/iamcredentials.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/iap.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/iap.v1beta1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/ideahub.v1alpha.json2
-rw-r--r--googleapiclient/discovery_cache/documents/keep.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/language.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/language.v1beta1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/language.v1beta2.json2
-rw-r--r--googleapiclient/discovery_cache/documents/libraryagent.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/localservices.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/logging.v2.json2
-rw-r--r--googleapiclient/discovery_cache/documents/manufacturers.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/metastore.v1alpha.json8
-rw-r--r--googleapiclient/discovery_cache/documents/metastore.v1beta.json8
-rw-r--r--googleapiclient/discovery_cache/documents/ml.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/monitoring.v1.json189
-rw-r--r--googleapiclient/discovery_cache/documents/monitoring.v3.json8
-rw-r--r--googleapiclient/discovery_cache/documents/mybusinessaccountmanagement.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/mybusinesslodging.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/mybusinessnotifications.v1.json12
-rw-r--r--googleapiclient/discovery_cache/documents/mybusinessplaceactions.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/networkmanagement.v1beta1.json8
-rw-r--r--googleapiclient/discovery_cache/documents/notebooks.v1.json26
-rw-r--r--googleapiclient/discovery_cache/documents/ondemandscanning.v1.json10
-rw-r--r--googleapiclient/discovery_cache/documents/ondemandscanning.v1beta1.json10
-rw-r--r--googleapiclient/discovery_cache/documents/orgpolicy.v2.json2
-rw-r--r--googleapiclient/discovery_cache/documents/oslogin.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/oslogin.v1alpha.json2
-rw-r--r--googleapiclient/discovery_cache/documents/oslogin.v1beta.json2
-rw-r--r--googleapiclient/discovery_cache/documents/pagespeedonline.v5.json2
-rw-r--r--googleapiclient/discovery_cache/documents/paymentsresellersubscription.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/people.v1.json14
-rw-r--r--googleapiclient/discovery_cache/documents/playablelocations.v3.json2
-rw-r--r--googleapiclient/discovery_cache/documents/playcustomapp.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/policysimulator.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/policysimulator.v1beta1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/policytroubleshooter.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/policytroubleshooter.v1beta.json2
-rw-r--r--googleapiclient/discovery_cache/documents/privateca.v1.json4
-rw-r--r--googleapiclient/discovery_cache/documents/privateca.v1beta1.json4
-rw-r--r--googleapiclient/discovery_cache/documents/prod_tt_sasportal.v1alpha1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/pubsub.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/pubsub.v1beta1a.json2
-rw-r--r--googleapiclient/discovery_cache/documents/pubsub.v1beta2.json2
-rw-r--r--googleapiclient/discovery_cache/documents/pubsublite.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/realtimebidding.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/realtimebidding.v1alpha.json2
-rw-r--r--googleapiclient/discovery_cache/documents/recaptchaenterprise.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/recommender.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/recommender.v1beta1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/reseller.v1.json36
-rw-r--r--googleapiclient/discovery_cache/documents/resourcesettings.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/retail.v2.json1423
-rw-r--r--googleapiclient/discovery_cache/documents/retail.v2alpha.json1492
-rw-r--r--googleapiclient/discovery_cache/documents/retail.v2beta.json1423
-rw-r--r--googleapiclient/discovery_cache/documents/run.v1.json52
-rw-r--r--googleapiclient/discovery_cache/documents/run.v1alpha1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/runtimeconfig.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/runtimeconfig.v1beta1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/safebrowsing.v4.json2
-rw-r--r--googleapiclient/discovery_cache/documents/script.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/searchconsole.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/secretmanager.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/secretmanager.v1beta1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/securitycenter.v1.json45
-rw-r--r--googleapiclient/discovery_cache/documents/securitycenter.v1beta1.json45
-rw-r--r--googleapiclient/discovery_cache/documents/securitycenter.v1beta2.json45
-rw-r--r--googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1beta1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/servicedirectory.v1.json6
-rw-r--r--googleapiclient/discovery_cache/documents/servicedirectory.v1beta1.json6
-rw-r--r--googleapiclient/discovery_cache/documents/servicemanagement.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/servicenetworking.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/servicenetworking.v1beta.json2
-rw-r--r--googleapiclient/discovery_cache/documents/serviceusage.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/serviceusage.v1beta1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/sheets.v4.json2
-rw-r--r--googleapiclient/discovery_cache/documents/slides.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/smartdevicemanagement.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/speech.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/speech.v1p1beta1.json40
-rw-r--r--googleapiclient/discovery_cache/documents/speech.v2beta1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/sqladmin.v1.json3296
-rw-r--r--googleapiclient/discovery_cache/documents/sqladmin.v1beta4.json36
-rw-r--r--googleapiclient/discovery_cache/documents/storage.v1.json4
-rw-r--r--googleapiclient/discovery_cache/documents/storagetransfer.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/streetviewpublish.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/sts.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/sts.v1beta.json2
-rw-r--r--googleapiclient/discovery_cache/documents/tagmanager.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/tagmanager.v2.json34
-rw-r--r--googleapiclient/discovery_cache/documents/tasks.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/testing.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/texttospeech.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/texttospeech.v1beta1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/toolresults.v1beta3.json2
-rw-r--r--googleapiclient/discovery_cache/documents/tpu.v1.json4
-rw-r--r--googleapiclient/discovery_cache/documents/tpu.v1alpha1.json4
-rw-r--r--googleapiclient/discovery_cache/documents/trafficdirector.v2.json2
-rw-r--r--googleapiclient/discovery_cache/documents/vectortile.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/videointelligence.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/videointelligence.v1beta2.json2
-rw-r--r--googleapiclient/discovery_cache/documents/videointelligence.v1p1beta1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/videointelligence.v1p2beta1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/videointelligence.v1p3beta1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/vision.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/vision.v1p1beta1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/vision.v1p2beta1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/webrisk.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/workflowexecutions.v1.json2
-rw-r--r--googleapiclient/discovery_cache/documents/workflowexecutions.v1beta.json2
-rw-r--r--googleapiclient/discovery_cache/documents/workflows.v1beta.json2
-rw-r--r--googleapiclient/discovery_cache/documents/youtube.v3.json2
-rw-r--r--googleapiclient/discovery_cache/documents/youtubeAnalytics.v2.json2
-rw-r--r--googleapiclient/discovery_cache/documents/youtubereporting.v1.json2
264 files changed, 11229 insertions, 693 deletions
diff --git a/googleapiclient/discovery_cache/documents/acceleratedmobilepageurl.v1.json b/googleapiclient/discovery_cache/documents/acceleratedmobilepageurl.v1.json
index 9b09e9752..1b46f4d93 100644
--- a/googleapiclient/discovery_cache/documents/acceleratedmobilepageurl.v1.json
+++ b/googleapiclient/discovery_cache/documents/acceleratedmobilepageurl.v1.json
@@ -115,7 +115,7 @@
}
}
},
- "revision": "20210717",
+ "revision": "20210723",
"rootUrl": "https://acceleratedmobilepageurl.googleapis.com/",
"schemas": {
"AmpUrl": {
diff --git a/googleapiclient/discovery_cache/documents/accessapproval.v1.json b/googleapiclient/discovery_cache/documents/accessapproval.v1.json
index 65928deb9..cc749dca1 100644
--- a/googleapiclient/discovery_cache/documents/accessapproval.v1.json
+++ b/googleapiclient/discovery_cache/documents/accessapproval.v1.json
@@ -754,7 +754,7 @@
}
}
},
- "revision": "20210716",
+ "revision": "20210723",
"rootUrl": "https://accessapproval.googleapis.com/",
"schemas": {
"AccessApprovalSettings": {
diff --git a/googleapiclient/discovery_cache/documents/accesscontextmanager.v1.json b/googleapiclient/discovery_cache/documents/accesscontextmanager.v1.json
index 868d757c5..2f5e1a9f1 100644
--- a/googleapiclient/discovery_cache/documents/accesscontextmanager.v1.json
+++ b/googleapiclient/discovery_cache/documents/accesscontextmanager.v1.json
@@ -943,7 +943,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210717",
"rootUrl": "https://accesscontextmanager.googleapis.com/",
"schemas": {
"AccessLevel": {
diff --git a/googleapiclient/discovery_cache/documents/accesscontextmanager.v1beta.json b/googleapiclient/discovery_cache/documents/accesscontextmanager.v1beta.json
index e61f387bb..4d4ccf288 100644
--- a/googleapiclient/discovery_cache/documents/accesscontextmanager.v1beta.json
+++ b/googleapiclient/discovery_cache/documents/accesscontextmanager.v1beta.json
@@ -609,7 +609,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210717",
"rootUrl": "https://accesscontextmanager.googleapis.com/",
"schemas": {
"AccessLevel": {
diff --git a/googleapiclient/discovery_cache/documents/adexchangebuyer.v1.2.json b/googleapiclient/discovery_cache/documents/adexchangebuyer.v1.2.json
index a215adbdb..347dc5ebb 100644
--- a/googleapiclient/discovery_cache/documents/adexchangebuyer.v1.2.json
+++ b/googleapiclient/discovery_cache/documents/adexchangebuyer.v1.2.json
@@ -15,7 +15,7 @@
"description": "Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/ad-exchange/buyer-rest",
- "etag": "\"uWj2hSb4GVjzdDlAnRd2gbM1ZQ8/A249TVo6dLDeSznlWT_vaeYMs4g\"",
+ "etag": "\"uWj2hSb4GVjzdDlAnRd2gbM1ZQ8/X0Fc7JxXDQWMuYY6RaDO4JgT_o8\"",
"icons": {
"x16": "https://www.google.com/images/icons/product/doubleclick-16.gif",
"x32": "https://www.google.com/images/icons/product/doubleclick-32.gif"
@@ -259,7 +259,7 @@
}
}
},
- "revision": "20210718",
+ "revision": "20210725",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Account": {
diff --git a/googleapiclient/discovery_cache/documents/adexchangebuyer.v1.3.json b/googleapiclient/discovery_cache/documents/adexchangebuyer.v1.3.json
index 6845e14f5..3d3f22557 100644
--- a/googleapiclient/discovery_cache/documents/adexchangebuyer.v1.3.json
+++ b/googleapiclient/discovery_cache/documents/adexchangebuyer.v1.3.json
@@ -15,7 +15,7 @@
"description": "Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/ad-exchange/buyer-rest",
- "etag": "\"uWj2hSb4GVjzdDlAnRd2gbM1ZQ8/jQTaS6wwiyLdmkV3tYdckgCPAj0\"",
+ "etag": "\"uWj2hSb4GVjzdDlAnRd2gbM1ZQ8/_cIH3d5t3MiKPg5aWuy50XtXXb0\"",
"icons": {
"x16": "https://www.google.com/images/icons/product/doubleclick-16.gif",
"x32": "https://www.google.com/images/icons/product/doubleclick-32.gif"
@@ -699,7 +699,7 @@
}
}
},
- "revision": "20210718",
+ "revision": "20210725",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Account": {
diff --git a/googleapiclient/discovery_cache/documents/adexchangebuyer.v1.4.json b/googleapiclient/discovery_cache/documents/adexchangebuyer.v1.4.json
index 68d096a69..8d1c4d643 100644
--- a/googleapiclient/discovery_cache/documents/adexchangebuyer.v1.4.json
+++ b/googleapiclient/discovery_cache/documents/adexchangebuyer.v1.4.json
@@ -15,7 +15,7 @@
"description": "Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/ad-exchange/buyer-rest",
- "etag": "\"uWj2hSb4GVjzdDlAnRd2gbM1ZQ8/UGDXmK_qyasemPEfhFzt6WKQovg\"",
+ "etag": "\"uWj2hSb4GVjzdDlAnRd2gbM1ZQ8/1dlKfDUB7WMEncYh7eNZDmXqECk\"",
"icons": {
"x16": "https://www.google.com/images/icons/product/doubleclick-16.gif",
"x32": "https://www.google.com/images/icons/product/doubleclick-32.gif"
@@ -1255,7 +1255,7 @@
}
}
},
- "revision": "20210718",
+ "revision": "20210725",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Account": {
diff --git a/googleapiclient/discovery_cache/documents/adexchangebuyer2.v2beta1.json b/googleapiclient/discovery_cache/documents/adexchangebuyer2.v2beta1.json
index 37ffb3ff4..8c0446eb2 100644
--- a/googleapiclient/discovery_cache/documents/adexchangebuyer2.v2beta1.json
+++ b/googleapiclient/discovery_cache/documents/adexchangebuyer2.v2beta1.json
@@ -2568,7 +2568,7 @@
}
}
},
- "revision": "20210717",
+ "revision": "20210724",
"rootUrl": "https://adexchangebuyer.googleapis.com/",
"schemas": {
"AbsoluteDateRange": {
diff --git a/googleapiclient/discovery_cache/documents/admin.datatransfer_v1.json b/googleapiclient/discovery_cache/documents/admin.datatransfer_v1.json
index 633b4afe4..7ba8979b1 100644
--- a/googleapiclient/discovery_cache/documents/admin.datatransfer_v1.json
+++ b/googleapiclient/discovery_cache/documents/admin.datatransfer_v1.json
@@ -17,7 +17,7 @@
"canonicalName": "DataTransfer",
"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.",
"discoveryVersion": "v1",
- "documentationLink": "http://developers.google.com/admin-sdk/",
+ "documentationLink": "https://developers.google.com/admin-sdk/",
"fullyEncodeReservedExpansion": true,
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
@@ -272,7 +272,7 @@
}
}
},
- "revision": "20210713",
+ "revision": "20210720",
"rootUrl": "https://admin.googleapis.com/",
"schemas": {
"Application": {
diff --git a/googleapiclient/discovery_cache/documents/admin.directory_v1.json b/googleapiclient/discovery_cache/documents/admin.directory_v1.json
index 6fde75ee6..40c3c2280 100644
--- a/googleapiclient/discovery_cache/documents/admin.directory_v1.json
+++ b/googleapiclient/discovery_cache/documents/admin.directory_v1.json
@@ -98,7 +98,7 @@
"canonicalName": "directory",
"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.",
"discoveryVersion": "v1",
- "documentationLink": "http://developers.google.com/admin-sdk/",
+ "documentationLink": "https://developers.google.com/admin-sdk/",
"fullyEncodeReservedExpansion": true,
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
@@ -193,7 +193,7 @@
"asps": {
"methods": {
"delete": {
- "description": "Delete an ASP issued by a user.",
+ "description": "Deletes an ASP issued by a user.",
"flatPath": "admin/directory/v1/users/{userKey}/asps/{codeId}",
"httpMethod": "DELETE",
"id": "directory.asps.delete",
@@ -222,7 +222,7 @@
]
},
"get": {
- "description": "Get information about an ASP issued by a user.",
+ "description": "Gets information about an ASP issued by a user.",
"flatPath": "admin/directory/v1/users/{userKey}/asps/{codeId}",
"httpMethod": "GET",
"id": "directory.asps.get",
@@ -254,7 +254,7 @@
]
},
"list": {
- "description": "List the ASPs issued by a user.",
+ "description": "Lists the ASPs issued by a user.",
"flatPath": "admin/directory/v1/users/{userKey}/asps",
"httpMethod": "GET",
"id": "directory.asps.list",
@@ -282,7 +282,7 @@
"channels": {
"methods": {
"stop": {
- "description": "Stop watching resources through this channel.",
+ "description": "Stops watching resources through this channel.",
"flatPath": "admin/directory_v1/channels/stop",
"httpMethod": "POST",
"id": "admin.channels.stop",
@@ -478,7 +478,7 @@
]
},
"moveDevicesToOu": {
- "description": "Move or insert multiple Chrome OS devices to an organizational unit. You can move up to 50 devices at once.",
+ "description": "Moves or inserts multiple Chrome OS devices to an organizational unit. You can move up to 50 devices at once.",
"flatPath": "admin/directory/v1/customer/{customerId}/devices/chromeos/moveDevicesToOu",
"httpMethod": "POST",
"id": "directory.chromeosdevices.moveDevicesToOu",
@@ -724,7 +724,7 @@
]
},
"patch": {
- "description": "Patch Customers via Apiary Patch Orchestration",
+ "description": "Patches a customer.",
"flatPath": "admin/directory/v1/customers/{customerKey}",
"httpMethod": "PATCH",
"id": "directory.customers.patch",
@@ -1357,7 +1357,7 @@
]
},
"list": {
- "description": "Retrieve all groups of a domain or of a user given a userKey (paginated)",
+ "description": "Retrieves all groups of a domain or of a user given a userKey (paginated).",
"flatPath": "admin/directory/v1/groups",
"httpMethod": "GET",
"id": "directory.groups.list",
@@ -2409,7 +2409,7 @@
]
},
"patch": {
- "description": "Patches a building via Apiary Patch Orchestration.",
+ "description": "Patches a building.",
"flatPath": "admin/directory/v1/customer/{customer}/resources/buildings/{buildingId}",
"httpMethod": "PATCH",
"id": "directory.resources.buildings.patch",
@@ -2648,7 +2648,7 @@
]
},
"patch": {
- "description": "Patches a calendar resource via Apiary Patch Orchestration.",
+ "description": "Patches a calendar resource.",
"flatPath": "admin/directory/v1/customer/{customer}/resources/calendars/{calendarResourceId}",
"httpMethod": "PATCH",
"id": "directory.resources.calendars.patch",
@@ -2845,7 +2845,7 @@
]
},
"patch": {
- "description": "Patches a feature via Apiary Patch Orchestration.",
+ "description": "Patches a feature.",
"flatPath": "admin/directory/v1/customer/{customer}/resources/features/{featureKey}",
"httpMethod": "PATCH",
"id": "directory.resources.features.patch",
@@ -2978,7 +2978,7 @@
]
},
"get": {
- "description": "Retrieve a role assignment.",
+ "description": "Retrieves a role assignment.",
"flatPath": "admin/directory/v1/customer/{customer}/roleassignments/{roleAssignmentId}",
"httpMethod": "GET",
"id": "directory.roleAssignments.get",
@@ -3214,7 +3214,7 @@
]
},
"patch": {
- "description": "Patch role via Apiary Patch Orchestration",
+ "description": "Patches a role.",
"flatPath": "admin/directory/v1/customer/{customer}/roles/{roleId}",
"httpMethod": "PATCH",
"id": "directory.roles.patch",
@@ -3286,7 +3286,7 @@
"schemas": {
"methods": {
"delete": {
- "description": "Delete schema",
+ "description": "Deletes a schema.",
"flatPath": "admin/directory/v1/customer/{customerId}/schemas/{schemaKey}",
"httpMethod": "DELETE",
"id": "directory.schemas.delete",
@@ -3314,7 +3314,7 @@
]
},
"get": {
- "description": "Retrieve schema",
+ "description": "Retrieves a schema.",
"flatPath": "admin/directory/v1/customer/{customerId}/schemas/{schemaKey}",
"httpMethod": "GET",
"id": "directory.schemas.get",
@@ -3346,7 +3346,7 @@
]
},
"insert": {
- "description": "Create schema.",
+ "description": "Creates a schema.",
"flatPath": "admin/directory/v1/customer/{customerId}/schemas",
"httpMethod": "POST",
"id": "directory.schemas.insert",
@@ -3373,7 +3373,7 @@
]
},
"list": {
- "description": "Retrieve all schemas for a customer",
+ "description": "Retrieves all schemas for a customer.",
"flatPath": "admin/directory/v1/customer/{customerId}/schemas",
"httpMethod": "GET",
"id": "directory.schemas.list",
@@ -3398,7 +3398,7 @@
]
},
"patch": {
- "description": "Patch Schema via Apiary Patch Orchestration",
+ "description": "Patches a schema.",
"flatPath": "admin/directory/v1/customer/{customerId}/schemas/{schemaKey}",
"httpMethod": "PATCH",
"id": "directory.schemas.patch",
@@ -3432,7 +3432,7 @@
]
},
"update": {
- "description": "Update schema",
+ "description": "Updates a schema.",
"flatPath": "admin/directory/v1/customer/{customerId}/schemas/{schemaKey}",
"httpMethod": "PUT",
"id": "directory.schemas.update",
@@ -3470,7 +3470,7 @@
"tokens": {
"methods": {
"delete": {
- "description": "Delete all access tokens issued by a user for an application.",
+ "description": "Deletes all access tokens issued by a user for an application.",
"flatPath": "admin/directory/v1/users/{userKey}/tokens/{clientId}",
"httpMethod": "DELETE",
"id": "directory.tokens.delete",
@@ -3498,7 +3498,7 @@
]
},
"get": {
- "description": "Get information about an access token issued by a user.",
+ "description": "Gets information about an access token issued by a user.",
"flatPath": "admin/directory/v1/users/{userKey}/tokens/{clientId}",
"httpMethod": "GET",
"id": "directory.tokens.get",
@@ -3557,7 +3557,7 @@
"twoStepVerification": {
"methods": {
"turnOff": {
- "description": "Turn off 2-Step Verification for user.",
+ "description": "Turns off 2-Step Verification for user.",
"flatPath": "admin/directory/v1/users/{userKey}/twoStepVerification/turnOff",
"httpMethod": "POST",
"id": "directory.twoStepVerification.turnOff",
@@ -3866,7 +3866,7 @@
]
},
"signOut": {
- "description": "Sign a user out of all web and device sessions and reset their sign-in cookies. User will have to sign in by authenticating again.",
+ "description": "Signs a user out of all web and device sessions and reset their sign-in cookies. User will have to sign in by authenticating again.",
"flatPath": "admin/directory/v1/users/{userKey}/signOut",
"httpMethod": "POST",
"id": "directory.users.signOut",
@@ -3938,7 +3938,7 @@
]
},
"watch": {
- "description": "Watch for changes in users list",
+ "description": "Watches for changes in users list.",
"flatPath": "admin/directory/v1/users/watch",
"httpMethod": "POST",
"id": "directory.users.watch",
@@ -4176,7 +4176,7 @@
]
},
"watch": {
- "description": "Watch for changes in users list.",
+ "description": "Watches for changes in users list.",
"flatPath": "admin/directory/v1/users/{userKey}/aliases/watch",
"httpMethod": "POST",
"id": "directory.users.aliases.watch",
@@ -4329,7 +4329,7 @@
"verificationCodes": {
"methods": {
"generate": {
- "description": "Generate new backup verification codes for the user.",
+ "description": "Generates new backup verification codes for the user.",
"flatPath": "admin/directory/v1/users/{userKey}/verificationCodes/generate",
"httpMethod": "POST",
"id": "directory.verificationCodes.generate",
@@ -4350,7 +4350,7 @@
]
},
"invalidate": {
- "description": "Invalidate the current backup verification codes for the user.",
+ "description": "Invalidates the current backup verification codes for the user.",
"flatPath": "admin/directory/v1/users/{userKey}/verificationCodes/invalidate",
"httpMethod": "POST",
"id": "directory.verificationCodes.invalidate",
@@ -4397,7 +4397,7 @@
}
}
},
- "revision": "20210713",
+ "revision": "20210720",
"rootUrl": "https://admin.googleapis.com/",
"schemas": {
"Alias": {
diff --git a/googleapiclient/discovery_cache/documents/admin.reports_v1.json b/googleapiclient/discovery_cache/documents/admin.reports_v1.json
index 967d0f3ec..3e72367bf 100644
--- a/googleapiclient/discovery_cache/documents/admin.reports_v1.json
+++ b/googleapiclient/discovery_cache/documents/admin.reports_v1.json
@@ -17,7 +17,7 @@
"canonicalName": "reports",
"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.",
"discoveryVersion": "v1",
- "documentationLink": "http://developers.google.com/admin-sdk/",
+ "documentationLink": "https://developers.google.com/admin-sdk/",
"fullyEncodeReservedExpansion": true,
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
@@ -631,7 +631,7 @@
}
}
},
- "revision": "20210713",
+ "revision": "20210720",
"rootUrl": "https://admin.googleapis.com/",
"schemas": {
"Activities": {
diff --git a/googleapiclient/discovery_cache/documents/admob.v1.json b/googleapiclient/discovery_cache/documents/admob.v1.json
index 4fb306eea..e8939902e 100644
--- a/googleapiclient/discovery_cache/documents/admob.v1.json
+++ b/googleapiclient/discovery_cache/documents/admob.v1.json
@@ -321,7 +321,7 @@
}
}
},
- "revision": "20210718",
+ "revision": "20210724",
"rootUrl": "https://admob.googleapis.com/",
"schemas": {
"AdUnit": {
diff --git a/googleapiclient/discovery_cache/documents/admob.v1beta.json b/googleapiclient/discovery_cache/documents/admob.v1beta.json
index b383795ea..8e12aedb2 100644
--- a/googleapiclient/discovery_cache/documents/admob.v1beta.json
+++ b/googleapiclient/discovery_cache/documents/admob.v1beta.json
@@ -321,7 +321,7 @@
}
}
},
- "revision": "20210718",
+ "revision": "20210724",
"rootUrl": "https://admob.googleapis.com/",
"schemas": {
"AdUnit": {
diff --git a/googleapiclient/discovery_cache/documents/adsense.v2.json b/googleapiclient/discovery_cache/documents/adsense.v2.json
index 66e630345..67e7d8622 100644
--- a/googleapiclient/discovery_cache/documents/adsense.v2.json
+++ b/googleapiclient/discovery_cache/documents/adsense.v2.json
@@ -1567,7 +1567,7 @@
}
}
},
- "revision": "20210717",
+ "revision": "20210723",
"rootUrl": "https://adsense.googleapis.com/",
"schemas": {
"Account": {
diff --git a/googleapiclient/discovery_cache/documents/alertcenter.v1beta1.json b/googleapiclient/discovery_cache/documents/alertcenter.v1beta1.json
index 76c5d4783..bf9262f15 100644
--- a/googleapiclient/discovery_cache/documents/alertcenter.v1beta1.json
+++ b/googleapiclient/discovery_cache/documents/alertcenter.v1beta1.json
@@ -423,7 +423,7 @@
}
}
},
- "revision": "20210713",
+ "revision": "20210720",
"rootUrl": "https://alertcenter.googleapis.com/",
"schemas": {
"AccountWarning": {
@@ -688,6 +688,50 @@
},
"type": "object"
},
+ "AppsOutage": {
+ "description": "An outage incident reported by Google for a Google Workspace (formerly G Suite) application.",
+ "id": "AppsOutage",
+ "properties": {
+ "dashboardUri": {
+ "description": "Link to the outage event in Google Workspace Status Dashboard",
+ "type": "string"
+ },
+ "nextUpdateTime": {
+ "description": "Timestamp by which the next update shall be provided.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "products": {
+ "description": "List of products impacted by the outage.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "resolutionTime": {
+ "description": "Timestamp of the outage expected or confirmed resolution. (Used only when known).",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "status": {
+ "description": "Current outage status.",
+ "enum": [
+ "STATUS_UNSPECIFIED",
+ "NEW",
+ "ONGOING",
+ "RESOLVED"
+ ],
+ "enumDescriptions": [
+ "Status is unspecified.",
+ "The incident has just been reported.",
+ "The incidnet is ongoing.",
+ "The incident has been resolved."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"Attachment": {
"description": "Attachment with application-specific information about an alert.",
"id": "Attachment",
@@ -1163,30 +1207,6 @@
},
"type": "object"
},
- "OutOfDomainForwarding": {
- "description": "An alert that gets triggered when a user enables autoforwarding to an email which is outside of its domain",
- "id": "OutOfDomainForwarding",
- "properties": {
- "actorEmail": {
- "description": "Email of the actor who triggered the alert.",
- "type": "string"
- },
- "enableTime": {
- "description": "The time the email forwarding was enabled",
- "format": "google-datetime",
- "type": "string"
- },
- "forwardeeEmail": {
- "description": "Email to which emails are being forwarded",
- "type": "string"
- },
- "ipAddress": {
- "description": "IP address of the user while enabling forwarding",
- "type": "string"
- }
- },
- "type": "object"
- },
"PhishingSpike": {
"description": "Alert for a spike in user reported phishing. *Warning*: This type has been deprecated. Use [MailPhishing](/admin-sdk/alertcenter/reference/rest/v1beta1/MailPhishing) instead.",
"id": "PhishingSpike",
diff --git a/googleapiclient/discovery_cache/documents/analyticsadmin.v1alpha.json b/googleapiclient/discovery_cache/documents/analyticsadmin.v1alpha.json
index 68c811fea..8e53f74a1 100644
--- a/googleapiclient/discovery_cache/documents/analyticsadmin.v1alpha.json
+++ b/googleapiclient/discovery_cache/documents/analyticsadmin.v1alpha.json
@@ -3092,7 +3092,7 @@
}
}
},
- "revision": "20210717",
+ "revision": "20210723",
"rootUrl": "https://analyticsadmin.googleapis.com/",
"schemas": {
"GoogleAnalyticsAdminV1alphaAccount": {
@@ -3632,7 +3632,7 @@
"type": "string"
},
"measurementUnit": {
- "description": "Required. Immutable. The type for the custom metric's value.",
+ "description": "Required. The type for the custom metric's value.",
"enum": [
"MEASUREMENT_UNIT_UNSPECIFIED",
"STANDARD",
diff --git a/googleapiclient/discovery_cache/documents/analyticsdata.v1beta.json b/googleapiclient/discovery_cache/documents/analyticsdata.v1beta.json
index 6497d1133..87701dd65 100644
--- a/googleapiclient/discovery_cache/documents/analyticsdata.v1beta.json
+++ b/googleapiclient/discovery_cache/documents/analyticsdata.v1beta.json
@@ -284,7 +284,7 @@
}
}
},
- "revision": "20210715",
+ "revision": "20210723",
"rootUrl": "https://analyticsdata.googleapis.com/",
"schemas": {
"BatchRunPivotReportsRequest": {
diff --git a/googleapiclient/discovery_cache/documents/androiddeviceprovisioning.v1.json b/googleapiclient/discovery_cache/documents/androiddeviceprovisioning.v1.json
index 4c6f56e97..6a88213f7 100644
--- a/googleapiclient/discovery_cache/documents/androiddeviceprovisioning.v1.json
+++ b/googleapiclient/discovery_cache/documents/androiddeviceprovisioning.v1.json
@@ -825,7 +825,7 @@
}
}
},
- "revision": "20210717",
+ "revision": "20210723",
"rootUrl": "https://androiddeviceprovisioning.googleapis.com/",
"schemas": {
"ClaimDeviceRequest": {
diff --git a/googleapiclient/discovery_cache/documents/androidenterprise.v1.json b/googleapiclient/discovery_cache/documents/androidenterprise.v1.json
index 64e380762..aa773c06f 100644
--- a/googleapiclient/discovery_cache/documents/androidenterprise.v1.json
+++ b/googleapiclient/discovery_cache/documents/androidenterprise.v1.json
@@ -2610,7 +2610,7 @@
}
}
},
- "revision": "20210714",
+ "revision": "20210721",
"rootUrl": "https://androidenterprise.googleapis.com/",
"schemas": {
"Administrator": {
diff --git a/googleapiclient/discovery_cache/documents/androidpublisher.v3.json b/googleapiclient/discovery_cache/documents/androidpublisher.v3.json
index 62f5149b7..6430c34e1 100644
--- a/googleapiclient/discovery_cache/documents/androidpublisher.v3.json
+++ b/googleapiclient/discovery_cache/documents/androidpublisher.v3.json
@@ -439,7 +439,7 @@
],
"parameters": {
"ackBundleInstallationWarning": {
- "description": "Must be set to true if the bundle installation may trigger a warning on user devices (for example, if installation size may be over a threshold, typically 100 MB).",
+ "description": "Must be set to true if the app bundle installation may trigger a warning on user devices (for example, if installation size may be over a threshold, typically 100 MB).",
"location": "query",
"type": "boolean"
},
@@ -2676,7 +2676,7 @@
}
}
},
- "revision": "20210701",
+ "revision": "20210724",
"rootUrl": "https://androidpublisher.googleapis.com/",
"schemas": {
"Apk": {
@@ -2791,7 +2791,7 @@
"type": "object"
},
"Bundle": {
- "description": "Information about a bundle. The resource for BundlesService.",
+ "description": "Information about an app bundle. The resource for BundlesService.",
"id": "Bundle",
"properties": {
"sha1": {
@@ -2811,11 +2811,11 @@
"type": "object"
},
"BundlesListResponse": {
- "description": "Response listing all bundles.",
+ "description": "Response listing all app bundles.",
"id": "BundlesListResponse",
"properties": {
"bundles": {
- "description": "All bundles.",
+ "description": "All app bundles.",
"items": {
"$ref": "Bundle"
},
diff --git a/googleapiclient/discovery_cache/documents/apigateway.v1.json b/googleapiclient/discovery_cache/documents/apigateway.v1.json
index fa6ba41ae..a7e83865d 100644
--- a/googleapiclient/discovery_cache/documents/apigateway.v1.json
+++ b/googleapiclient/discovery_cache/documents/apigateway.v1.json
@@ -1083,7 +1083,7 @@
}
}
},
- "revision": "20210707",
+ "revision": "20210714",
"rootUrl": "https://apigateway.googleapis.com/",
"schemas": {
"ApigatewayApi": {
diff --git a/googleapiclient/discovery_cache/documents/apigateway.v1beta.json b/googleapiclient/discovery_cache/documents/apigateway.v1beta.json
index 7f31b955d..a19a7c03f 100644
--- a/googleapiclient/discovery_cache/documents/apigateway.v1beta.json
+++ b/googleapiclient/discovery_cache/documents/apigateway.v1beta.json
@@ -1083,7 +1083,7 @@
}
}
},
- "revision": "20210714",
+ "revision": "20210721",
"rootUrl": "https://apigateway.googleapis.com/",
"schemas": {
"ApigatewayApi": {
diff --git a/googleapiclient/discovery_cache/documents/apigee.v1.json b/googleapiclient/discovery_cache/documents/apigee.v1.json
index 4a6a99225..53ccfecb5 100644
--- a/googleapiclient/discovery_cache/documents/apigee.v1.json
+++ b/googleapiclient/discovery_cache/documents/apigee.v1.json
@@ -7011,7 +7011,7 @@
}
}
},
- "revision": "20210708",
+ "revision": "20210719",
"rootUrl": "https://apigee.googleapis.com/",
"schemas": {
"GoogleApiHttpBody": {
diff --git a/googleapiclient/discovery_cache/documents/apikeys.v2.json b/googleapiclient/discovery_cache/documents/apikeys.v2.json
index bb40ea8d6..8d8e4f9f4 100644
--- a/googleapiclient/discovery_cache/documents/apikeys.v2.json
+++ b/googleapiclient/discovery_cache/documents/apikeys.v2.json
@@ -424,7 +424,7 @@
}
}
},
- "revision": "20210717",
+ "revision": "20210723",
"rootUrl": "https://apikeys.googleapis.com/",
"schemas": {
"Operation": {
diff --git a/googleapiclient/discovery_cache/documents/appengine.v1.json b/googleapiclient/discovery_cache/documents/appengine.v1.json
index a3c78406d..47591e4e7 100644
--- a/googleapiclient/discovery_cache/documents/appengine.v1.json
+++ b/googleapiclient/discovery_cache/documents/appengine.v1.json
@@ -1595,7 +1595,7 @@
}
}
},
- "revision": "20210712",
+ "revision": "20210715",
"rootUrl": "https://appengine.googleapis.com/",
"schemas": {
"ApiConfigHandler": {
diff --git a/googleapiclient/discovery_cache/documents/appengine.v1alpha.json b/googleapiclient/discovery_cache/documents/appengine.v1alpha.json
index 6e773d62d..c513cd0cf 100644
--- a/googleapiclient/discovery_cache/documents/appengine.v1alpha.json
+++ b/googleapiclient/discovery_cache/documents/appengine.v1alpha.json
@@ -709,7 +709,7 @@
}
}
},
- "revision": "20210712",
+ "revision": "20210715",
"rootUrl": "https://appengine.googleapis.com/",
"schemas": {
"AuthorizedCertificate": {
diff --git a/googleapiclient/discovery_cache/documents/appengine.v1beta.json b/googleapiclient/discovery_cache/documents/appengine.v1beta.json
index f863cb6f5..5a51e99de 100644
--- a/googleapiclient/discovery_cache/documents/appengine.v1beta.json
+++ b/googleapiclient/discovery_cache/documents/appengine.v1beta.json
@@ -1595,7 +1595,7 @@
}
}
},
- "revision": "20210712",
+ "revision": "20210715",
"rootUrl": "https://appengine.googleapis.com/",
"schemas": {
"ApiConfigHandler": {
diff --git a/googleapiclient/discovery_cache/documents/area120tables.v1alpha1.json b/googleapiclient/discovery_cache/documents/area120tables.v1alpha1.json
index a90a4a4b4..800d20a79 100644
--- a/googleapiclient/discovery_cache/documents/area120tables.v1alpha1.json
+++ b/googleapiclient/discovery_cache/documents/area120tables.v1alpha1.json
@@ -586,7 +586,7 @@
}
}
},
- "revision": "20210717",
+ "revision": "20210723",
"rootUrl": "https://area120tables.googleapis.com/",
"schemas": {
"BatchCreateRowsRequest": {
diff --git a/googleapiclient/discovery_cache/documents/artifactregistry.v1.json b/googleapiclient/discovery_cache/documents/artifactregistry.v1.json
index d33ae7fd0..5535f54e4 100644
--- a/googleapiclient/discovery_cache/documents/artifactregistry.v1.json
+++ b/googleapiclient/discovery_cache/documents/artifactregistry.v1.json
@@ -348,7 +348,7 @@
}
}
},
- "revision": "20210629",
+ "revision": "20210713",
"rootUrl": "https://artifactregistry.googleapis.com/",
"schemas": {
"AptArtifact": {
diff --git a/googleapiclient/discovery_cache/documents/artifactregistry.v1beta1.json b/googleapiclient/discovery_cache/documents/artifactregistry.v1beta1.json
index 551d57cbd..dd50d788c 100644
--- a/googleapiclient/discovery_cache/documents/artifactregistry.v1beta1.json
+++ b/googleapiclient/discovery_cache/documents/artifactregistry.v1beta1.json
@@ -971,7 +971,7 @@
}
}
},
- "revision": "20210629",
+ "revision": "20210713",
"rootUrl": "https://artifactregistry.googleapis.com/",
"schemas": {
"AptArtifact": {
diff --git a/googleapiclient/discovery_cache/documents/artifactregistry.v1beta2.json b/googleapiclient/discovery_cache/documents/artifactregistry.v1beta2.json
index b1e655fb1..7d365ee39 100644
--- a/googleapiclient/discovery_cache/documents/artifactregistry.v1beta2.json
+++ b/googleapiclient/discovery_cache/documents/artifactregistry.v1beta2.json
@@ -1035,7 +1035,7 @@
}
}
},
- "revision": "20210629",
+ "revision": "20210713",
"rootUrl": "https://artifactregistry.googleapis.com/",
"schemas": {
"AptArtifact": {
diff --git a/googleapiclient/discovery_cache/documents/bigquery.v2.json b/googleapiclient/discovery_cache/documents/bigquery.v2.json
index fbf176433..fc5d06314 100644
--- a/googleapiclient/discovery_cache/documents/bigquery.v2.json
+++ b/googleapiclient/discovery_cache/documents/bigquery.v2.json
@@ -1683,7 +1683,7 @@
}
}
},
- "revision": "20210617",
+ "revision": "20210706",
"rootUrl": "https://bigquery.googleapis.com/",
"schemas": {
"AggregateClassificationMetrics": {
diff --git a/googleapiclient/discovery_cache/documents/bigqueryconnection.v1beta1.json b/googleapiclient/discovery_cache/documents/bigqueryconnection.v1beta1.json
index 2480c6d02..7caa9e59e 100644
--- a/googleapiclient/discovery_cache/documents/bigqueryconnection.v1beta1.json
+++ b/googleapiclient/discovery_cache/documents/bigqueryconnection.v1beta1.json
@@ -395,7 +395,7 @@
}
}
},
- "revision": "20210617",
+ "revision": "20210706",
"rootUrl": "https://bigqueryconnection.googleapis.com/",
"schemas": {
"AuditConfig": {
diff --git a/googleapiclient/discovery_cache/documents/bigqueryreservation.v1.json b/googleapiclient/discovery_cache/documents/bigqueryreservation.v1.json
index fd592c8ba..7f374e960 100644
--- a/googleapiclient/discovery_cache/documents/bigqueryreservation.v1.json
+++ b/googleapiclient/discovery_cache/documents/bigqueryreservation.v1.json
@@ -783,7 +783,7 @@
}
}
},
- "revision": "20210618",
+ "revision": "20210717",
"rootUrl": "https://bigqueryreservation.googleapis.com/",
"schemas": {
"Assignment": {
diff --git a/googleapiclient/discovery_cache/documents/bigqueryreservation.v1beta1.json b/googleapiclient/discovery_cache/documents/bigqueryreservation.v1beta1.json
index 33710c55f..8b597332d 100644
--- a/googleapiclient/discovery_cache/documents/bigqueryreservation.v1beta1.json
+++ b/googleapiclient/discovery_cache/documents/bigqueryreservation.v1beta1.json
@@ -781,7 +781,7 @@
}
}
},
- "revision": "20210618",
+ "revision": "20210717",
"rootUrl": "https://bigqueryreservation.googleapis.com/",
"schemas": {
"Assignment": {
diff --git a/googleapiclient/discovery_cache/documents/bigtableadmin.v1.json b/googleapiclient/discovery_cache/documents/bigtableadmin.v1.json
index bd78e85e5..898ad24c3 100644
--- a/googleapiclient/discovery_cache/documents/bigtableadmin.v1.json
+++ b/googleapiclient/discovery_cache/documents/bigtableadmin.v1.json
@@ -96,7 +96,7 @@
},
"protocol": "rest",
"resources": {},
- "revision": "20210623",
+ "revision": "20210712",
"rootUrl": "https://bigtableadmin.googleapis.com/",
"schemas": {
"Backup": {
diff --git a/googleapiclient/discovery_cache/documents/bigtableadmin.v2.json b/googleapiclient/discovery_cache/documents/bigtableadmin.v2.json
index 3fa2952fc..d04354d64 100644
--- a/googleapiclient/discovery_cache/documents/bigtableadmin.v2.json
+++ b/googleapiclient/discovery_cache/documents/bigtableadmin.v2.json
@@ -1803,7 +1803,7 @@
}
}
},
- "revision": "20210623",
+ "revision": "20210712",
"rootUrl": "https://bigtableadmin.googleapis.com/",
"schemas": {
"AppProfile": {
diff --git a/googleapiclient/discovery_cache/documents/billingbudgets.v1.json b/googleapiclient/discovery_cache/documents/billingbudgets.v1.json
index b1e6458f3..ddc9e20d5 100644
--- a/googleapiclient/discovery_cache/documents/billingbudgets.v1.json
+++ b/googleapiclient/discovery_cache/documents/billingbudgets.v1.json
@@ -270,7 +270,7 @@
}
}
},
- "revision": "20210703",
+ "revision": "20210720",
"rootUrl": "https://billingbudgets.googleapis.com/",
"schemas": {
"GoogleCloudBillingBudgetsV1Budget": {
diff --git a/googleapiclient/discovery_cache/documents/billingbudgets.v1beta1.json b/googleapiclient/discovery_cache/documents/billingbudgets.v1beta1.json
index f4e725a5a..7bcd96dbb 100644
--- a/googleapiclient/discovery_cache/documents/billingbudgets.v1beta1.json
+++ b/googleapiclient/discovery_cache/documents/billingbudgets.v1beta1.json
@@ -264,7 +264,7 @@
}
}
},
- "revision": "20210703",
+ "revision": "20210720",
"rootUrl": "https://billingbudgets.googleapis.com/",
"schemas": {
"GoogleCloudBillingBudgetsV1beta1AllUpdatesRule": {
diff --git a/googleapiclient/discovery_cache/documents/binaryauthorization.v1.json b/googleapiclient/discovery_cache/documents/binaryauthorization.v1.json
index 0b5c94c88..b1f64fba9 100644
--- a/googleapiclient/discovery_cache/documents/binaryauthorization.v1.json
+++ b/googleapiclient/discovery_cache/documents/binaryauthorization.v1.json
@@ -551,7 +551,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210716",
"rootUrl": "https://binaryauthorization.googleapis.com/",
"schemas": {
"AdmissionRule": {
diff --git a/googleapiclient/discovery_cache/documents/binaryauthorization.v1beta1.json b/googleapiclient/discovery_cache/documents/binaryauthorization.v1beta1.json
index 84082d57e..5569f931f 100644
--- a/googleapiclient/discovery_cache/documents/binaryauthorization.v1beta1.json
+++ b/googleapiclient/discovery_cache/documents/binaryauthorization.v1beta1.json
@@ -551,7 +551,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210716",
"rootUrl": "https://binaryauthorization.googleapis.com/",
"schemas": {
"AdmissionRule": {
diff --git a/googleapiclient/discovery_cache/documents/blogger.v2.json b/googleapiclient/discovery_cache/documents/blogger.v2.json
index 08c17ebe9..951695393 100644
--- a/googleapiclient/discovery_cache/documents/blogger.v2.json
+++ b/googleapiclient/discovery_cache/documents/blogger.v2.json
@@ -401,7 +401,7 @@
}
}
},
- "revision": "20210717",
+ "revision": "20210723",
"rootUrl": "https://blogger.googleapis.com/",
"schemas": {
"Blog": {
diff --git a/googleapiclient/discovery_cache/documents/blogger.v3.json b/googleapiclient/discovery_cache/documents/blogger.v3.json
index 3b0ccfc72..9fc4f5376 100644
--- a/googleapiclient/discovery_cache/documents/blogger.v3.json
+++ b/googleapiclient/discovery_cache/documents/blogger.v3.json
@@ -1678,7 +1678,7 @@
}
}
},
- "revision": "20210717",
+ "revision": "20210723",
"rootUrl": "https://blogger.googleapis.com/",
"schemas": {
"Blog": {
diff --git a/googleapiclient/discovery_cache/documents/books.v1.json b/googleapiclient/discovery_cache/documents/books.v1.json
index a0752e524..72024b257 100644
--- a/googleapiclient/discovery_cache/documents/books.v1.json
+++ b/googleapiclient/discovery_cache/documents/books.v1.json
@@ -2671,7 +2671,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210721",
"rootUrl": "https://books.googleapis.com/",
"schemas": {
"Annotation": {
diff --git a/googleapiclient/discovery_cache/documents/calendar.v3.json b/googleapiclient/discovery_cache/documents/calendar.v3.json
index 6c142c8ef..c21719b71 100644
--- a/googleapiclient/discovery_cache/documents/calendar.v3.json
+++ b/googleapiclient/discovery_cache/documents/calendar.v3.json
@@ -1723,7 +1723,7 @@
}
}
},
- "revision": "20210714",
+ "revision": "20210718",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Acl": {
diff --git a/googleapiclient/discovery_cache/documents/chat.v1.json b/googleapiclient/discovery_cache/documents/chat.v1.json
index 3c8d04ca9..336fb8be3 100644
--- a/googleapiclient/discovery_cache/documents/chat.v1.json
+++ b/googleapiclient/discovery_cache/documents/chat.v1.json
@@ -601,7 +601,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210717",
"rootUrl": "https://chat.googleapis.com/",
"schemas": {
"ActionParameter": {
@@ -623,6 +623,10 @@
"description": "Parameters that a bot can use to configure how it's response is posted.",
"id": "ActionResponse",
"properties": {
+ "dialogAction": {
+ "$ref": "DialogAction",
+ "description": "This response is for Dialog related events and must be accompanied by ResponseType.Dialog"
+ },
"type": {
"description": "The type of bot response.",
"enum": [
@@ -646,6 +650,59 @@
},
"type": "object"
},
+ "ActionStatus": {
+ "description": "ActionStatus represents status of a request from the bot developer's side. In specific, for each request a bot gets, the bot developer will set both fields below in relation to what the response status and message related to status should be.",
+ "id": "ActionStatus",
+ "properties": {
+ "statusCode": {
+ "description": "The status code.",
+ "enum": [
+ "OK",
+ "CANCELLED",
+ "UNKNOWN",
+ "INVALID_ARGUMENT",
+ "DEADLINE_EXCEEDED",
+ "NOT_FOUND",
+ "ALREADY_EXISTS",
+ "PERMISSION_DENIED",
+ "UNAUTHENTICATED",
+ "RESOURCE_EXHAUSTED",
+ "FAILED_PRECONDITION",
+ "ABORTED",
+ "OUT_OF_RANGE",
+ "UNIMPLEMENTED",
+ "INTERNAL",
+ "UNAVAILABLE",
+ "DATA_LOSS"
+ ],
+ "enumDescriptions": [
+ "Not an error; returned on success HTTP Mapping: 200 OK",
+ "The operation was cancelled, typically by the caller. HTTP Mapping: 499 Client Closed Request",
+ "Unknown error. For example, this error may be returned when a `Status` value received from another address space belongs to an error space that is not known in this address space. Also errors raised by APIs that do not return enough error information may be converted to this error. HTTP Mapping: 500 Internal Server Error",
+ "The client specified an invalid argument. Note that this differs from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments that are problematic regardless of the state of the system (e.g., a malformed file name). HTTP Mapping: 400 Bad Request",
+ "The deadline expired before the operation could complete. For operations that change the state of the system, this error may be returned even if the operation has completed successfully. For example, a successful response from a server could have been delayed long enough for the deadline to expire. HTTP Mapping: 504 Gateway Timeout",
+ "Some requested entity (e.g., file or directory) was not found. Note to server developers: if a request is denied for an entire class of users, such as gradual feature rollout or undocumented allowlist, `NOT_FOUND` may be used. If a request is denied for some users within a class of users, such as user-based access control, `PERMISSION_DENIED` must be used. HTTP Mapping: 404 Not Found",
+ "The entity that a client attempted to create (e.g., file or directory) already exists. HTTP Mapping: 409 Conflict",
+ "The caller does not have permission to execute the specified operation. `PERMISSION_DENIED` must not be used for rejections caused by exhausting some resource (use `RESOURCE_EXHAUSTED` instead for those errors). `PERMISSION_DENIED` must not be used if the caller can not be identified (use `UNAUTHENTICATED` instead for those errors). This error code does not imply the request is valid or the requested entity exists or satisfies other pre-conditions. HTTP Mapping: 403 Forbidden",
+ "The request does not have valid authentication credentials for the operation. HTTP Mapping: 401 Unauthorized",
+ "Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space. HTTP Mapping: 429 Too Many Requests",
+ "The operation was rejected because the system is not in a state required for the operation's execution. For example, the directory to be deleted is non-empty, an rmdir operation is applied to a non-directory, etc. Service implementors can use the following guidelines to decide between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`: (a) Use `UNAVAILABLE` if the client can retry just the failing call. (b) Use `ABORTED` if the client should retry at a higher level. For example, when a client-specified test-and-set fails, indicating the client should restart a read-modify-write sequence. (c) Use `FAILED_PRECONDITION` if the client should not retry until the system state has been explicitly fixed. For example, if an \"rmdir\" fails because the directory is non-empty, `FAILED_PRECONDITION` should be returned since the client should not retry unless the files are deleted from the directory. HTTP Mapping: 400 Bad Request",
+ "The operation was aborted, typically due to a concurrency issue such as a sequencer check failure or transaction abort. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 409 Conflict",
+ "The operation was attempted past the valid range. E.g., seeking or reading past end-of-file. Unlike `INVALID_ARGUMENT`, this error indicates a problem that may be fixed if the system state changes. For example, a 32-bit file system will generate `INVALID_ARGUMENT` if asked to read at an offset that is not in the range [0,2^32-1], but it will generate `OUT_OF_RANGE` if asked to read from an offset past the current file size. There is a fair bit of overlap between `FAILED_PRECONDITION` and `OUT_OF_RANGE`. We recommend using `OUT_OF_RANGE` (the more specific error) when it applies so that callers who are iterating through a space can easily look for an `OUT_OF_RANGE` error to detect when they are done. HTTP Mapping: 400 Bad Request",
+ "The operation is not implemented or is not supported/enabled in this service. HTTP Mapping: 501 Not Implemented",
+ "Internal errors. This means that some invariants expected by the underlying system have been broken. This error code is reserved for serious errors. HTTP Mapping: 500 Internal Server Error",
+ "The service is currently unavailable. This is most likely a transient condition, which can be corrected by retrying with a backoff. Note that it is not always safe to retry non-idempotent operations. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 503 Service Unavailable",
+ "Unrecoverable data loss or corruption. HTTP Mapping: 500 Internal Server Error"
+ ],
+ "type": "string"
+ },
+ "userFacingMessage": {
+ "description": "This message will be the corresponding string to the above status_code. If unset, an appropriate generic message based on the status_code will be shown to the user. If this field is set then the message will be surfaced to the user for both successes and errors.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"Annotation": {
"description": "Annotations associated with the plain-text body of the message. Example plain-text message body: ``` Hello @FooBot how are you!\" ``` The corresponding annotations metadata: ``` \"annotations\":[{ \"type\":\"USER_MENTION\", \"startIndex\":6, \"length\":7, \"userMention\": { \"user\": { \"name\":\"users/107946847022116401880\", \"displayName\":\"FooBot\", \"avatarUrl\":\"https://goo.gl/aeDtrS\", \"type\":\"BOT\" }, \"type\":\"MENTION\" } }] ```",
"id": "Annotation",
@@ -836,6 +893,33 @@
},
"type": "object"
},
+ "Color": {
+ "description": "Represents a color in the RGBA color space. This representation is designed for simplicity of conversion to/from color representations in various languages over compactness. For example, the fields of this representation can be trivially provided to the constructor of `java.awt.Color` in Java; it can also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha` method in iOS; and, with just a little work, it can be easily formatted into a CSS `rgba()` string in JavaScript. This reference page doesn't carry information about the absolute color space that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default, applications should assume the sRGB color space. When color equality needs to be decided, implementations, unless documented otherwise, treat two colors as equal if all their red, green, blue, and alpha values each differ by at most 1e-5. Example (Java): import com.google.type.Color; // ... public static java.awt.Color fromProto(Color protocolor) { float alpha = protocolor.hasAlpha() ? protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); } public static Color toProto(java.awt.Color color) { float red = (float) color.getRed(); float green = (float) color.getGreen(); float blue = (float) color.getBlue(); float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue / denominator); int alpha = color.getAlpha(); if (alpha != 255) { result.setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .build()); } return resultBuilder.build(); } // ... Example (iOS / Obj-C): // ... static UIColor* fromProto(Color* protocolor) { float red = [protocolor red]; float green = [protocolor green]; float blue = [protocolor blue]; FloatValue* alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper != nil) { alpha = [alpha_wrapper value]; } return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; } static Color* toProto(UIColor* color) { CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) { return nil; } Color* result = [[Color alloc] init]; [result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <= 0.9999) { [result setAlpha:floatWrapperWithValue(alpha)]; } [result autorelease]; return result; } // ... Example (JavaScript): // ... var protoToCssColor = function(rgb_color) { var redFrac = rgb_color.red || 0.0; var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0; var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255); var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) { return rgbToCssColor(red, green, blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); }; var rgbToCssColor = function(red, green, blue) { var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) { resultBuilder.push('0'); } resultBuilder.push(hexString); return resultBuilder.join(''); }; // ...",
+ "id": "Color",
+ "properties": {
+ "alpha": {
+ "description": "The fraction of this color that should be applied to the pixel. That is, the final pixel color is defined by the equation: `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` This means that a value of 1.0 corresponds to a solid color, whereas a value of 0.0 corresponds to a completely transparent color. This uses a wrapper message rather than a simple float scalar so that it is possible to distinguish between a default value and the value being unset. If omitted, this color object is rendered as a solid color (as if the alpha value had been explicitly given a value of 1.0).",
+ "format": "float",
+ "type": "number"
+ },
+ "blue": {
+ "description": "The amount of blue in the color as a value in the interval [0, 1].",
+ "format": "float",
+ "type": "number"
+ },
+ "green": {
+ "description": "The amount of green in the color as a value in the interval [0, 1].",
+ "format": "float",
+ "type": "number"
+ },
+ "red": {
+ "description": "The amount of red in the color as a value in the interval [0, 1].",
+ "format": "float",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
"DeprecatedEvent": {
"description": "Google Chat events.",
"id": "DeprecatedEvent",
@@ -894,6 +978,32 @@
},
"type": "object"
},
+ "Dialog": {
+ "description": "Wrapper around the card body of the dialog.",
+ "id": "Dialog",
+ "properties": {
+ "body": {
+ "$ref": "GoogleAppsCardV1Card",
+ "description": "Body of the dialog, which will be rendered in a modal. NOTE: The following fields within the objects are not supported: google.apps.card.v1.Widget.date_time_picker google.apps.card.v1.DecoratedText.SwitchControl.on_change_action google.apps.card.v1.TextInput.on_change_action google.apps.card.v1.SelectionInput.on_change_action google.apps.card.v1.DateTimePicker.on_change_action Setting the fields above will have no effect on the dialog."
+ }
+ },
+ "type": "object"
+ },
+ "DialogAction": {
+ "description": "Contains dialog if present as well as the ActionStatus for the request sent from user.",
+ "id": "DialogAction",
+ "properties": {
+ "actionStatus": {
+ "$ref": "ActionStatus",
+ "description": "Status for either invoke dialog or submit dialog requests. This will be used to display a status and message to user if needed. For example in case of an error or success."
+ },
+ "dialog": {
+ "$ref": "Dialog",
+ "description": "Dialog for the request."
+ }
+ },
+ "type": "object"
+ },
"DriveDataRef": {
"description": "A reference to the data of a drive attachment.",
"id": "DriveDataRef",
@@ -929,6 +1039,840 @@
},
"type": "object"
},
+ "GoogleAppsCardV1Action": {
+ "description": "An action that describes the behavior when the form is submitted. For example, an Apps Script can be invoked to handle the form.",
+ "id": "GoogleAppsCardV1Action",
+ "properties": {
+ "function": {
+ "description": "Apps Script function to invoke when the containing element is clicked/activated.",
+ "type": "string"
+ },
+ "loadIndicator": {
+ "enum": [
+ "SPINNER",
+ "NONE"
+ ],
+ "enumDescriptions": [
+ "Displays a spinner to indicate that content is loading.",
+ "Nothing is displayed."
+ ],
+ "type": "string"
+ },
+ "parameters": {
+ "description": "List of action parameters.",
+ "items": {
+ "$ref": "GoogleAppsCardV1ActionParameter"
+ },
+ "type": "array"
+ },
+ "persistValues": {
+ "description": "Indicates whether form values persist after the action. The default value is `false`. If `true`, form values remain after the action is triggered. When using [LoadIndicator.NONE](workspace/add-ons/reference/rpc/google.apps.card.v1#loadindicator) for actions, `persist_values` = `true`is recommended, as it ensures that any changes made by the user after form or on change actions are sent to the server are not overwritten by the response. If `false`, the form values are cleared when the action is triggered. When `persist_values` is set to `false`, it is strongly recommended that the card use [LoadIndicator.SPINNER](workspace/add-ons/reference/rpc/google.apps.card.v1#loadindicator) for all actions, as this locks the UI to ensure no changes are made by the user while the action is being processed.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleAppsCardV1ActionParameter": {
+ "description": "List of string parameters to supply when the action method is invoked. For example, consider three snooze buttons: snooze now, snooze 1 day, snooze next week. You might use action method = snooze(), passing the snooze type and snooze time in the list of string parameters.",
+ "id": "GoogleAppsCardV1ActionParameter",
+ "properties": {
+ "key": {
+ "description": "The name of the parameter for the action script.",
+ "type": "string"
+ },
+ "value": {
+ "description": "The value of the parameter.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleAppsCardV1BorderStyle": {
+ "description": "Represents the complete border style applied to widgets.",
+ "id": "GoogleAppsCardV1BorderStyle",
+ "properties": {
+ "cornerRadius": {
+ "description": "The corner radius for the border.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "strokeColor": {
+ "$ref": "Color",
+ "description": "The colors to use when the type is `BORDER_TYPE_STROKE`."
+ },
+ "type": {
+ "description": "The border type.",
+ "enum": [
+ "BORDER_TYPE_UNSPECIFIED",
+ "NO_BORDER",
+ "STROKE"
+ ],
+ "enumDescriptions": [
+ "No value specified.",
+ "No border.",
+ "Outline."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleAppsCardV1Button": {
+ "description": "A button. Can be a text button or an image button.",
+ "id": "GoogleAppsCardV1Button",
+ "properties": {
+ "altText": {
+ "description": "The alternative text used for accessibility. Has no effect when an icon is set; use `icon.alt_text` instead.",
+ "type": "string"
+ },
+ "color": {
+ "$ref": "Color",
+ "description": "If set, the button is filled with a solid background."
+ },
+ "disabled": {
+ "description": "If true, the button is displayed in a disabled state and doesn't respond to user actions.",
+ "type": "boolean"
+ },
+ "icon": {
+ "$ref": "GoogleAppsCardV1Icon",
+ "description": "The icon image."
+ },
+ "onClick": {
+ "$ref": "GoogleAppsCardV1OnClick",
+ "description": "The action to perform when the button is clicked."
+ },
+ "text": {
+ "description": "The text of the button.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleAppsCardV1ButtonList": {
+ "description": "A list of buttons layed out horizontally.",
+ "id": "GoogleAppsCardV1ButtonList",
+ "properties": {
+ "buttons": {
+ "items": {
+ "$ref": "GoogleAppsCardV1Button"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleAppsCardV1Card": {
+ "description": "A card is a UI element that can contain UI widgets such as text and images. For more information, see Cards . For example, the following JSON creates a card that has a header with the name, position, icons, and link for a contact, followed by a section with contact information like email and phone number. ``` { \"header\": { \"title\": \"Heba Salam\", \"subtitle\": \"Software Engineer\", \"imageStyle\": \"ImageStyle.AVATAR\", \"imageUrl\": \"https://example.com/heba_salam.png\", \"imageAltText\": \"Avatar for Heba Salam\" }, \"sections\" : [ { \"header\": \"Contact Info\", \"widgets\": [ { \"decorated_text\": { \"icon\": { \"knownIcon\": \"EMAIL\" }, \"content\": \"heba.salam@example.com\" } }, { \"decoratedText\": { \"icon\": { \"knownIcon\": \"PERSON\" }, \"content\": \"Online\" } }, { \"decoratedText\": { \"icon\": { \"knownIcon\": \"PHONE\" }, \"content\": \"+1 (555) 555-1234\" } }, { \"buttons\": [ { \"textButton\": { \"text\": \"Share\", }, \"onClick\": { \"openLink\": { \"url\": \"https://example.com/share\" } } }, { \"textButton\": { \"text\": \"Edit\", }, \"onClick\": { \"action\": { \"function\": \"goToView\", \"parameters\": [ { \"key\": \"viewType\", \"value\": \"EDIT\" } ], \"loadIndicator\": \"LoadIndicator.SPINNER\" } } } ] } ], \"collapsible\": true, \"uncollapsibleWidgetsCount\": 3 } ], \"cardActions\": [ { \"actionLabel\": \"Send Feedback\", \"onClick\": { \"openLink\": { \"url\": \"https://example.com/feedback\" } } } ], \"name\": \"contact-card-K3wB6arF2H9L\" } ```",
+ "id": "GoogleAppsCardV1Card",
+ "properties": {
+ "cardActions": {
+ "description": "The actions of this card. They are added to a card's generated toolbar menu. For example, the following JSON constructs a card action menu with Settings and Send Feedback options: ``` \"card_actions\": [ { \"actionLabel\": \"Setting\", \"onClick\": { \"action\": { \"functionName\": \"goToView\", \"parameters\": [ { \"key\": \"viewType\", \"value\": \"SETTING\" } ], \"loadIndicator\": \"LoadIndicator.SPINNER\" } } }, { \"actionLabel\": \"Send Feedback\", \"onClick\": { \"openLink\": { \"url\": \"https://example.com/feedback\" } } } ] ```",
+ "items": {
+ "$ref": "GoogleAppsCardV1CardAction"
+ },
+ "type": "array"
+ },
+ "displayStyle": {
+ "description": "The display style for peekCardHeader.",
+ "enum": [
+ "DISPLAY_STYLE_UNSPECIFIED",
+ "PEEK",
+ "REPLACE"
+ ],
+ "enumDescriptions": [
+ "",
+ "The header of the card appears at the bottom of the sidebar, partially covering the current top card of the stack. Clicking the header pops the card into the card stack. If the card has no header, a generated header is used instead.",
+ "The card is shown by replacing the view of the top card in the card stack."
+ ],
+ "type": "string"
+ },
+ "fixedFooter": {
+ "$ref": "GoogleAppsCardV1CardFixedFooter",
+ "description": "The fixed footer shown at the bottom of this card."
+ },
+ "header": {
+ "$ref": "GoogleAppsCardV1CardHeader",
+ "description": "The header of the card. A header usually contains a title and an image."
+ },
+ "name": {
+ "description": "Name of the card, which is used as a identifier for the card in card navigation.",
+ "type": "string"
+ },
+ "peekCardHeader": {
+ "$ref": "GoogleAppsCardV1CardHeader",
+ "description": "When displaying contextual content, the peek card header acts as a placeholder so that the user can navigate forward between the homepage cards and the contextual cards."
+ },
+ "sections": {
+ "description": "Sections are separated by a line divider.",
+ "items": {
+ "$ref": "GoogleAppsCardV1Section"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleAppsCardV1CardAction": {
+ "description": "A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser.",
+ "id": "GoogleAppsCardV1CardAction",
+ "properties": {
+ "actionLabel": {
+ "description": "The label that displays as the action menu item.",
+ "type": "string"
+ },
+ "onClick": {
+ "$ref": "GoogleAppsCardV1OnClick",
+ "description": "The onclick action for this action item."
+ }
+ },
+ "type": "object"
+ },
+ "GoogleAppsCardV1CardFixedFooter": {
+ "description": "A persistent (sticky) footer that is added to the bottom of the card.",
+ "id": "GoogleAppsCardV1CardFixedFooter",
+ "properties": {
+ "primaryButton": {
+ "$ref": "GoogleAppsCardV1Button",
+ "description": "The primary button of the fixed footer. The button must be a text button with text and color set."
+ },
+ "secondaryButton": {
+ "$ref": "GoogleAppsCardV1Button",
+ "description": "The secondary button of the fixed footer. The button must be a text button with text and color set. `primaryButton` must be set if `secondaryButton` is set."
+ }
+ },
+ "type": "object"
+ },
+ "GoogleAppsCardV1CardHeader": {
+ "id": "GoogleAppsCardV1CardHeader",
+ "properties": {
+ "imageAltText": {
+ "description": "The alternative text of this image which is used for accessibility.",
+ "type": "string"
+ },
+ "imageType": {
+ "description": "The image's type.",
+ "enum": [
+ "SQUARE",
+ "CIRCLE"
+ ],
+ "enumDescriptions": [
+ "Applies no cropping to the image.",
+ "Applies a circular mask to the image."
+ ],
+ "type": "string"
+ },
+ "imageUrl": {
+ "description": "The URL of the image in the card header.",
+ "type": "string"
+ },
+ "subtitle": {
+ "description": "The subtitle of the card header.",
+ "type": "string"
+ },
+ "title": {
+ "description": "The title of the card header. The title must be specified. The header has a fixed height: if both a title and subtitle are specified, each takes up one line. If only the title is specified, it takes up both lines.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleAppsCardV1DateTimePicker": {
+ "description": "The widget that lets users to specify a date and time.",
+ "id": "GoogleAppsCardV1DateTimePicker",
+ "properties": {
+ "label": {
+ "description": "The label for the field that displays to the user.",
+ "type": "string"
+ },
+ "name": {
+ "description": "The name of the text input that's used in formInput, and uniquely identifies this input.",
+ "type": "string"
+ },
+ "onChangeAction": {
+ "$ref": "GoogleAppsCardV1Action",
+ "description": "Triggered when the user clicks Save or Clear from the date/time picker dialog. This is only triggered if the value changed as a result of the Save/Clear operation."
+ },
+ "timezoneOffsetDate": {
+ "description": "The number representing the time zone offset from UTC, in minutes. If set, the `value_ms_epoch` is displayed in the specified time zone. If not set, it uses the user's time zone setting on the client side.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "type": {
+ "description": "The type of the date/time picker.",
+ "enum": [
+ "DATE_AND_TIME",
+ "DATE_ONLY",
+ "TIME_ONLY"
+ ],
+ "enumDescriptions": [
+ "The user can select a date and time.",
+ "The user can only select a date.",
+ "The user can only select a time."
+ ],
+ "type": "string"
+ },
+ "valueMsEpoch": {
+ "description": "The value to display as the default value before user input or previous user input. It is represented in milliseconds (Epoch time). For `DATE_AND_TIME` type, the full epoch value is used. For `DATE_ONLY` type, only date of the epoch time is used. For `TIME_ONLY` type, only time of the epoch time is used. For example, you can set epoch time to `3 * 60 * 60 * 1000` to represent 3am.",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleAppsCardV1DecoratedText": {
+ "description": "A widget that displays text with optional decorations such as a label above or below the text, an icon in front of the text, a selection widget or a button after the text.",
+ "id": "GoogleAppsCardV1DecoratedText",
+ "properties": {
+ "bottomLabel": {
+ "description": "The formatted text label that shows below the main text.",
+ "type": "string"
+ },
+ "button": {
+ "$ref": "GoogleAppsCardV1Button",
+ "description": "A button that can be clicked to trigger an action."
+ },
+ "endIcon": {
+ "$ref": "GoogleAppsCardV1Icon",
+ "description": "An icon displayed after the text."
+ },
+ "icon": {
+ "$ref": "GoogleAppsCardV1Icon",
+ "description": "Deprecated in favor of start_icon."
+ },
+ "onClick": {
+ "$ref": "GoogleAppsCardV1OnClick",
+ "description": "Only the top and bottom label and content region are clickable."
+ },
+ "startIcon": {
+ "$ref": "GoogleAppsCardV1Icon",
+ "description": "The icon displayed in front of the text."
+ },
+ "switchControl": {
+ "$ref": "GoogleAppsCardV1SwitchControl",
+ "description": "A switch widget can be clicked to change its state or trigger an action."
+ },
+ "text": {
+ "description": "Required. The main widget formatted text. See Text formatting for details.",
+ "type": "string"
+ },
+ "topLabel": {
+ "description": "The formatted text label that shows above the main text.",
+ "type": "string"
+ },
+ "wrapText": {
+ "description": "The wrap text setting. If `true`, the text is wrapped and displayed in multiline. Otherwise, the text is truncated.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleAppsCardV1Divider": {
+ "description": "A divider that appears in between widgets.",
+ "id": "GoogleAppsCardV1Divider",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleAppsCardV1Grid": {
+ "description": "Represents a Grid widget that displays items in a configurable grid layout.",
+ "id": "GoogleAppsCardV1Grid",
+ "properties": {
+ "borderStyle": {
+ "$ref": "GoogleAppsCardV1BorderStyle",
+ "description": "The border style to apply to each grid item."
+ },
+ "columnCount": {
+ "description": "The number of columns to display in the grid. A default value is used if this field isn't specified, and that default value is different depending on where the grid is shown (dialog versus companion).",
+ "format": "int32",
+ "type": "integer"
+ },
+ "items": {
+ "description": "The items to display in the grid.",
+ "items": {
+ "$ref": "GoogleAppsCardV1GridItem"
+ },
+ "type": "array"
+ },
+ "onClick": {
+ "$ref": "GoogleAppsCardV1OnClick",
+ "description": "This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters."
+ },
+ "title": {
+ "description": "The text that displays in the grid header.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleAppsCardV1GridItem": {
+ "description": "Represents a single item in the grid layout.",
+ "id": "GoogleAppsCardV1GridItem",
+ "properties": {
+ "id": {
+ "description": "A user-specified identifier for this grid item. This identifier is returned in the parent Grid's onClick callback parameters.",
+ "type": "string"
+ },
+ "image": {
+ "$ref": "GoogleAppsCardV1ImageComponent",
+ "description": "The image that displays in the grid item."
+ },
+ "layout": {
+ "description": "The layout to use for the grid item.",
+ "enum": [
+ "GRID_ITEM_LAYOUT_UNSPECIFIED",
+ "TEXT_BELOW",
+ "TEXT_ABOVE"
+ ],
+ "enumDescriptions": [
+ "No layout specified.",
+ "The title and subtitle are shown below the grid item's image.",
+ "The title and subtitle are shown above the grid item's image."
+ ],
+ "type": "string"
+ },
+ "subtitle": {
+ "description": "The grid item's subtitle.",
+ "type": "string"
+ },
+ "textAlignment": {
+ "description": "The horizontal alignment of the grid item's text.",
+ "enum": [
+ "HORIZONTAL_ALIGNMENT_UNSPECIFIED",
+ "START",
+ "CENTER",
+ "END"
+ ],
+ "enumDescriptions": [
+ "Unspecified alignment.",
+ "Alignment to the start position.",
+ "Alignment to the center position.",
+ "Alignment to the end position."
+ ],
+ "type": "string"
+ },
+ "title": {
+ "description": "The grid item's title.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleAppsCardV1Icon": {
+ "id": "GoogleAppsCardV1Icon",
+ "properties": {
+ "altText": {
+ "description": "The description of the icon, used for accessibility. The default value is provided if you don't specify one.",
+ "type": "string"
+ },
+ "iconUrl": {
+ "description": "The icon specified by a URL.",
+ "type": "string"
+ },
+ "imageType": {
+ "description": "The crop style applied to the image. In some cases, applying a `CIRCLE` crop causes the image to be drawn larger than a standard icon.",
+ "enum": [
+ "SQUARE",
+ "CIRCLE"
+ ],
+ "enumDescriptions": [
+ "Applies no cropping to the image.",
+ "Applies a circular mask to the image."
+ ],
+ "type": "string"
+ },
+ "knownIcon": {
+ "description": "The icon specified by the string name of a list of known icons",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleAppsCardV1Image": {
+ "description": "An image that is specified by a URL and can have an onClick action.",
+ "id": "GoogleAppsCardV1Image",
+ "properties": {
+ "altText": {
+ "description": "The alternative text of this image, used for accessibility.",
+ "type": "string"
+ },
+ "imageUrl": {
+ "description": "An image URL.",
+ "type": "string"
+ },
+ "onClick": {
+ "$ref": "GoogleAppsCardV1OnClick"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleAppsCardV1ImageComponent": {
+ "id": "GoogleAppsCardV1ImageComponent",
+ "properties": {
+ "altText": {
+ "description": "The accessibility label for the image.",
+ "type": "string"
+ },
+ "borderStyle": {
+ "$ref": "GoogleAppsCardV1BorderStyle",
+ "description": "The border style to apply to the image."
+ },
+ "cropStyle": {
+ "$ref": "GoogleAppsCardV1ImageCropStyle",
+ "description": "The crop style to apply to the image."
+ },
+ "imageUri": {
+ "description": "The image URL.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleAppsCardV1ImageCropStyle": {
+ "description": "Represents the crop style applied to an image.",
+ "id": "GoogleAppsCardV1ImageCropStyle",
+ "properties": {
+ "aspectRatio": {
+ "description": "The aspect ratio to use if the crop type is `RECTANGLE_CUSTOM`.",
+ "format": "double",
+ "type": "number"
+ },
+ "type": {
+ "description": "The crop type.",
+ "enum": [
+ "IMAGE_CROP_TYPE_UNSPECIFIED",
+ "SQUARE",
+ "CIRCLE",
+ "RECTANGLE_CUSTOM",
+ "RECTANGLE_4_3"
+ ],
+ "enumDescriptions": [
+ "No value specified.",
+ "Applies a square crop.",
+ "Applies a circular crop.",
+ "Applies a rectangular crop with a custom aspect ratio.",
+ "Applies a rectangular crop with a 4:3 aspect ratio."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleAppsCardV1OnClick": {
+ "id": "GoogleAppsCardV1OnClick",
+ "properties": {
+ "action": {
+ "$ref": "GoogleAppsCardV1Action",
+ "description": "If specified, an action is triggered by this onClick."
+ },
+ "card": {
+ "$ref": "GoogleAppsCardV1Card",
+ "description": "A new card is pushed to the card stack after clicking if specified."
+ },
+ "openDynamicLinkAction": {
+ "$ref": "GoogleAppsCardV1Action",
+ "description": "An add-on triggers this action when the action needs to open a link. This differs from the open_link above in that this needs to talk to server to get the link. Thus some preparation work is required for web client to do before the open link action response comes back."
+ },
+ "openLink": {
+ "$ref": "GoogleAppsCardV1OpenLink",
+ "description": "If specified, this onClick triggers an open link action."
+ }
+ },
+ "type": "object"
+ },
+ "GoogleAppsCardV1OpenLink": {
+ "id": "GoogleAppsCardV1OpenLink",
+ "properties": {
+ "onClose": {
+ "enum": [
+ "NOTHING",
+ "RELOAD"
+ ],
+ "enumDescriptions": [
+ "Doesn\u2019t reload the card after the child window closes. Reloads the card after the child window closes. If used in conjunction with [OpenAs.OVERLAY](/workspace/add-ons/reference/rpc/google.apps.card.v1#openas), the child window acts as a modal dialog and the main card is blocked until the child window closes.",
+ ""
+ ],
+ "type": "string"
+ },
+ "openAs": {
+ "enum": [
+ "FULL_SIZE",
+ "OVERLAY"
+ ],
+ "enumDescriptions": [
+ "The link opens as a full size window (if that's the frame used by the client.",
+ "The link opens as an overlay, such as a pop-up."
+ ],
+ "type": "string"
+ },
+ "url": {
+ "description": "The URL to open.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleAppsCardV1Section": {
+ "description": "A section contains a collection of widgets that are rendered vertically in the order that they are specified. Across all platforms, cards have a narrow fixed width, so there is currently no need for layout properties, for example, float.",
+ "id": "GoogleAppsCardV1Section",
+ "properties": {
+ "collapsible": {
+ "description": "Indicates whether this section is collapsible. If a section is collapsible, the description must be given.",
+ "type": "boolean"
+ },
+ "header": {
+ "description": "The header of the section. Formatted text is supported.",
+ "type": "string"
+ },
+ "uncollapsibleWidgetsCount": {
+ "description": "The number of uncollapsible widgets. For example, when a section contains five widgets and the `numUncollapsibleWidget` is set to `2`, the first two widgets are always shown and the last three are collapsed as default. The `numUncollapsibleWidget` is taken into account only when collapsible is set to `true`.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "widgets": {
+ "description": "A section must contain at least 1 widget.",
+ "items": {
+ "$ref": "GoogleAppsCardV1Widget"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleAppsCardV1SelectionInput": {
+ "description": "A widget that creates a UI item (for example, a drop-down list) with options for users to select.",
+ "id": "GoogleAppsCardV1SelectionInput",
+ "properties": {
+ "items": {
+ "items": {
+ "$ref": "GoogleAppsCardV1SelectionItem"
+ },
+ "type": "array"
+ },
+ "label": {
+ "description": "The label displayed ahead of the switch control.",
+ "type": "string"
+ },
+ "name": {
+ "description": "The name of the text input which is used in formInput.",
+ "type": "string"
+ },
+ "onChangeAction": {
+ "$ref": "GoogleAppsCardV1Action",
+ "description": "If specified, the form is submitted when the selection changes. If not specified, you must specify a separate button."
+ },
+ "type": {
+ "enum": [
+ "CHECK_BOX",
+ "RADIO_BUTTON",
+ "SWITCH",
+ "DROPDOWN"
+ ],
+ "enumDescriptions": [
+ "The selection type is a checkbox.",
+ "The selection type is a radio button.",
+ "The selection type is a switch.",
+ "The selection type is a dropdown."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleAppsCardV1SelectionItem": {
+ "description": "The item in the switch control. A radio button, at most one of the items is selected.",
+ "id": "GoogleAppsCardV1SelectionItem",
+ "properties": {
+ "selected": {
+ "description": "If more than one item is selected for `RADIO_BUTTON` and `DROPDOWN`, the first selected item is treated as selected and the ones after are ignored.",
+ "type": "boolean"
+ },
+ "text": {
+ "description": "The text to be displayed.",
+ "type": "string"
+ },
+ "value": {
+ "description": "The value associated with this item. The client should use this as a form input value.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleAppsCardV1SuggestionItem": {
+ "description": "A suggestion item. Only supports text for now.",
+ "id": "GoogleAppsCardV1SuggestionItem",
+ "properties": {
+ "text": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleAppsCardV1Suggestions": {
+ "description": "A container wrapping elements necessary for showing suggestion items used in text input autocomplete.",
+ "id": "GoogleAppsCardV1Suggestions",
+ "properties": {
+ "items": {
+ "description": "A list of suggestions items which will be used in are used in autocomplete.",
+ "items": {
+ "$ref": "GoogleAppsCardV1SuggestionItem"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleAppsCardV1SwitchControl": {
+ "id": "GoogleAppsCardV1SwitchControl",
+ "properties": {
+ "controlType": {
+ "description": "The control type, either switch or checkbox.",
+ "enum": [
+ "SWITCH",
+ "CHECKBOX",
+ "CHECK_BOX"
+ ],
+ "enumDescriptions": [
+ "",
+ "Deprecated in favor of `CHECK_BOX`.",
+ ""
+ ],
+ "type": "string"
+ },
+ "name": {
+ "description": "The name of the switch widget that's used in formInput.",
+ "type": "string"
+ },
+ "onChangeAction": {
+ "$ref": "GoogleAppsCardV1Action",
+ "description": "The action when the switch state is changed."
+ },
+ "selected": {
+ "description": "If the switch is selected.",
+ "type": "boolean"
+ },
+ "value": {
+ "description": "The value is what is passed back in the callback.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleAppsCardV1TextInput": {
+ "description": "A text input is a UI item where users can input text. A text input can also have an onChange action and suggestions.",
+ "id": "GoogleAppsCardV1TextInput",
+ "properties": {
+ "autoCompleteAction": {
+ "$ref": "GoogleAppsCardV1Action",
+ "description": "The refresh function that returns suggestions based on the user's input text. If the callback is not specified, autocomplete is done in client side based on the initial suggestion items."
+ },
+ "hintText": {
+ "description": "The hint text.",
+ "type": "string"
+ },
+ "initialSuggestions": {
+ "$ref": "GoogleAppsCardV1Suggestions",
+ "description": "The initial suggestions made before any user input."
+ },
+ "label": {
+ "description": "At least one of label and hintText must be specified.",
+ "type": "string"
+ },
+ "name": {
+ "description": "The name of the text input which is used in formInput.",
+ "type": "string"
+ },
+ "onChangeAction": {
+ "$ref": "GoogleAppsCardV1Action",
+ "description": "The onChange action, for example, invoke a function."
+ },
+ "type": {
+ "description": "The style of the text, for example, a single line or multiple lines.",
+ "enum": [
+ "SINGLE_LINE",
+ "MULTIPLE_LINE"
+ ],
+ "enumDescriptions": [
+ "The text is put into a single line.",
+ "The text is put into multiple lines."
+ ],
+ "type": "string"
+ },
+ "value": {
+ "description": "The default value when there is no input from the user.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleAppsCardV1TextParagraph": {
+ "description": "A paragraph of text that supports formatting. See [Text formatting](workspace/add-ons/concepts/widgets#text_formatting\") for details.",
+ "id": "GoogleAppsCardV1TextParagraph",
+ "properties": {
+ "text": {
+ "description": "The text that's shown in the widget.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleAppsCardV1Widget": {
+ "description": "A widget is a UI element that presents texts, images, etc.",
+ "id": "GoogleAppsCardV1Widget",
+ "properties": {
+ "buttonList": {
+ "$ref": "GoogleAppsCardV1ButtonList",
+ "description": "A list of buttons. For example, the following JSON creates two buttons. The first is a filled text button and the second is an image button that opens a link: ``` \"buttonList\": { \"buttons\": [ \"button\": { \"text\": \"Edit\", \"Color\": { \"Red\": 255 \"Green\": 255 \"Blue\": 255 } \"disabled\": true }, \"button\": { \"icon\": { \"knownIcon\": \"INVITE\" \"altText\": \"check calendar\" }, \"onClick\": { \"openLink\": { \"url\": \"https://example.com/calendar\" } } }, ] } ```"
+ },
+ "dateTimePicker": {
+ "$ref": "GoogleAppsCardV1DateTimePicker",
+ "description": "Displays a selection/input widget for date/time. For example, the following JSON creates a date/time picker for an appointment time: ``` \"date_time_picker\": { \"name\": \"appointment_time\", \"label\": \"Book your appointment at:\", \"type\": \"DateTimePickerType.DATE_AND_TIME\", \"valueMsEpoch\": \"796435200000\" } ```"
+ },
+ "decoratedText": {
+ "$ref": "GoogleAppsCardV1DecoratedText",
+ "description": "Displays a decorated text item in this widget. For example, the following JSON creates a decorated text widget showing email address: ``` \"decoratedText\": { \"icon\": { \"knownIcon\": \"EMAIL\" }, \"topLabel\": \"Email Address\", \"content\": \"heba.salam@example.com\", \"bottomLabel\": \"This is a new Email address!\", \"switchWidget\": { \"name\": \"has_send_welcome_email_to_heba_salam\", \"selected\": false, \"controlType\": \"ControlType.CHECKBOX\" } } ```"
+ },
+ "divider": {
+ "$ref": "GoogleAppsCardV1Divider",
+ "description": "Displays a divider. For example, the following JSON creates a divider: ``` \"divider\": { } ```"
+ },
+ "grid": {
+ "$ref": "GoogleAppsCardV1Grid",
+ "description": "Displays a grid with a collection of items. For example, the following JSON creates a 2 column grid with a single item: ``` \"grid\": { \"title\": \"A fine collection of items\", \"numColumns\": 2, \"borderStyle\": { \"type\": \"STROKE\", \"cornerRadius\": 4.0 }, \"items\": [ \"image\": { \"imageUri\": \"https://www.example.com/image.png\", \"cropStyle\": { \"type\": \"SQUARE\" }, \"borderStyle\": { \"type\": \"STROKE\" } }, \"title\": \"An item\", \"textAlignment\": \"CENTER\" ], \"onClick\": { \"openLink\": { \"url\":\"https://www.example.com\" } } } ```"
+ },
+ "horizontalAlignment": {
+ "description": "The horizontal alignment of this widget.",
+ "enum": [
+ "HORIZONTAL_ALIGNMENT_UNSPECIFIED",
+ "START",
+ "CENTER",
+ "END"
+ ],
+ "enumDescriptions": [
+ "Unspecified alignment.",
+ "Alignment to the start position.",
+ "Alignment to the center position.",
+ "Alignment to the end position."
+ ],
+ "type": "string"
+ },
+ "image": {
+ "$ref": "GoogleAppsCardV1Image",
+ "description": "Displays an image in this widget. For example, the following JSON creates an image with alternative text: ``` \"image\": { \"imageUrl\": \"https://example.com/heba_salam.png\" \"altText\": \"Avatar for Heba Salam\" } ```"
+ },
+ "selectionInput": {
+ "$ref": "GoogleAppsCardV1SelectionInput",
+ "description": "Displays a switch control in this widget. For example, the following JSON creates a dropdown selection for size: ``` \"switchControl\": { \"name\": \"size\", \"label\": \"Size\" \"type\": \"SelectionType.DROPDOWN\", \"items\": [ { \"text\": \"S\", \"value\": \"small\", \"selected\": false }, { \"text\": \"M\", \"value\": \"medium\", \"selected\": true }, { \"text\": \"L\", \"value\": \"large\", \"selected\": false }, { \"text\": \"XL\", \"value\": \"extra_large\", \"selected\": false } ] } ```"
+ },
+ "textInput": {
+ "$ref": "GoogleAppsCardV1TextInput",
+ "description": "Displays a text input in this widget. For example, the following JSON creates a text input for mail address: ``` \"textInput\": { \"name\": \"mailing_address\", \"label\": \"Mailing Address\" } ``` As another example, the following JSON creates a text input for programming language with static suggestions: ``` \"textInput\": { \"name\": \"preferred_programing_language\", \"label\": \"Preferred Language\", \"initialSuggestions\": { \"items\": [ { \"text\": \"C++\" }, { \"text\": \"Java\" }, { \"text\": \"JavaScript\" }, { \"text\": \"Python\" } ] } } ```"
+ },
+ "textParagraph": {
+ "$ref": "GoogleAppsCardV1TextParagraph",
+ "description": "Displays a text paragraph in this widget. For example, the following JSON creates a bolded text: ``` \"textParagraph\": { \"text\": \" *bold text*\" } ```"
+ }
+ },
+ "type": "object"
+ },
"Image": {
"description": "An image that is specified by a URL and can have an onclick action.",
"id": "Image",
diff --git a/googleapiclient/discovery_cache/documents/chromemanagement.v1.json b/googleapiclient/discovery_cache/documents/chromemanagement.v1.json
index 86ccfde8f..d07a82663 100644
--- a/googleapiclient/discovery_cache/documents/chromemanagement.v1.json
+++ b/googleapiclient/discovery_cache/documents/chromemanagement.v1.json
@@ -288,7 +288,7 @@
}
}
},
- "revision": "20210717",
+ "revision": "20210723",
"rootUrl": "https://chromemanagement.googleapis.com/",
"schemas": {
"GoogleChromeManagementV1BrowserVersion": {
diff --git a/googleapiclient/discovery_cache/documents/chromepolicy.v1.json b/googleapiclient/discovery_cache/documents/chromepolicy.v1.json
index 6d07e6fcc..5fcf25da2 100644
--- a/googleapiclient/discovery_cache/documents/chromepolicy.v1.json
+++ b/googleapiclient/discovery_cache/documents/chromepolicy.v1.json
@@ -324,7 +324,7 @@
}
}
},
- "revision": "20210717",
+ "revision": "20210723",
"rootUrl": "https://chromepolicy.googleapis.com/",
"schemas": {
"GoogleChromePolicyV1AdditionalTargetKeyName": {
diff --git a/googleapiclient/discovery_cache/documents/chromeuxreport.v1.json b/googleapiclient/discovery_cache/documents/chromeuxreport.v1.json
index d7dcae1b3..2b11b1a9d 100644
--- a/googleapiclient/discovery_cache/documents/chromeuxreport.v1.json
+++ b/googleapiclient/discovery_cache/documents/chromeuxreport.v1.json
@@ -116,7 +116,7 @@
}
}
},
- "revision": "20210715",
+ "revision": "20210721",
"rootUrl": "https://chromeuxreport.googleapis.com/",
"schemas": {
"Bin": {
diff --git a/googleapiclient/discovery_cache/documents/classroom.v1.json b/googleapiclient/discovery_cache/documents/classroom.v1.json
index 3dbe5ef4e..5d4d4e4bb 100644
--- a/googleapiclient/discovery_cache/documents/classroom.v1.json
+++ b/googleapiclient/discovery_cache/documents/classroom.v1.json
@@ -2400,7 +2400,7 @@
}
}
},
- "revision": "20210714",
+ "revision": "20210721",
"rootUrl": "https://classroom.googleapis.com/",
"schemas": {
"Announcement": {
diff --git a/googleapiclient/discovery_cache/documents/cloudasset.v1.json b/googleapiclient/discovery_cache/documents/cloudasset.v1.json
index f331c25ac..2ed32944a 100644
--- a/googleapiclient/discovery_cache/documents/cloudasset.v1.json
+++ b/googleapiclient/discovery_cache/documents/cloudasset.v1.json
@@ -434,7 +434,7 @@
]
},
"analyzeIamPolicyLongrunning": {
- "description": "Analyzes IAM policies asynchronously to answer which identities have what accesses on which resources, and writes the analysis results to a Google Cloud Storage or a BigQuery destination. For Cloud Storage destination, the output format is the JSON format that represents a AnalyzeIamPolicyResponse. This method implements the google.longrunning.Operation, which allows you to track the operation status. We recommend intervals of at least 2 seconds with exponential backoff retry to poll the operation result. The metadata contains the request to help callers to map responses to requests.",
+ "description": "Analyzes IAM policies asynchronously to answer which identities have what accesses on which resources, and writes the analysis results to a Google Cloud Storage or a BigQuery destination. For Cloud Storage destination, the output format is the JSON format that represents a AnalyzeIamPolicyResponse. This method implements the google.longrunning.Operation, which allows you to track the operation status. We recommend intervals of at least 2 seconds with exponential backoff retry to poll the operation result. The metadata contains the metadata for the long-running operation.",
"flatPath": "v1/{v1Id}/{v1Id1}:analyzeIamPolicyLongrunning",
"httpMethod": "POST",
"id": "cloudasset.analyzeIamPolicyLongrunning",
@@ -711,7 +711,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210716",
"rootUrl": "https://cloudasset.googleapis.com/",
"schemas": {
"AccessSelector": {
diff --git a/googleapiclient/discovery_cache/documents/cloudasset.v1beta1.json b/googleapiclient/discovery_cache/documents/cloudasset.v1beta1.json
index b5f8c630e..e95139702 100644
--- a/googleapiclient/discovery_cache/documents/cloudasset.v1beta1.json
+++ b/googleapiclient/discovery_cache/documents/cloudasset.v1beta1.json
@@ -411,7 +411,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210716",
"rootUrl": "https://cloudasset.googleapis.com/",
"schemas": {
"AnalyzeIamPolicyLongrunningResponse": {
diff --git a/googleapiclient/discovery_cache/documents/cloudasset.v1p1beta1.json b/googleapiclient/discovery_cache/documents/cloudasset.v1p1beta1.json
index 151353b9f..65498f2fc 100644
--- a/googleapiclient/discovery_cache/documents/cloudasset.v1p1beta1.json
+++ b/googleapiclient/discovery_cache/documents/cloudasset.v1p1beta1.json
@@ -207,7 +207,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210716",
"rootUrl": "https://cloudasset.googleapis.com/",
"schemas": {
"AnalyzeIamPolicyLongrunningResponse": {
diff --git a/googleapiclient/discovery_cache/documents/cloudasset.v1p4beta1.json b/googleapiclient/discovery_cache/documents/cloudasset.v1p4beta1.json
index 59261e3f0..b1f82bd9c 100644
--- a/googleapiclient/discovery_cache/documents/cloudasset.v1p4beta1.json
+++ b/googleapiclient/discovery_cache/documents/cloudasset.v1p4beta1.json
@@ -221,7 +221,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210716",
"rootUrl": "https://cloudasset.googleapis.com/",
"schemas": {
"AccessSelector": {
diff --git a/googleapiclient/discovery_cache/documents/cloudasset.v1p5beta1.json b/googleapiclient/discovery_cache/documents/cloudasset.v1p5beta1.json
index 32a797fe0..7c9a444a2 100644
--- a/googleapiclient/discovery_cache/documents/cloudasset.v1p5beta1.json
+++ b/googleapiclient/discovery_cache/documents/cloudasset.v1p5beta1.json
@@ -177,7 +177,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210716",
"rootUrl": "https://cloudasset.googleapis.com/",
"schemas": {
"AnalyzeIamPolicyLongrunningResponse": {
diff --git a/googleapiclient/discovery_cache/documents/cloudasset.v1p7beta1.json b/googleapiclient/discovery_cache/documents/cloudasset.v1p7beta1.json
index 960ca029b..aa2ba6fdd 100644
--- a/googleapiclient/discovery_cache/documents/cloudasset.v1p7beta1.json
+++ b/googleapiclient/discovery_cache/documents/cloudasset.v1p7beta1.json
@@ -167,7 +167,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210716",
"rootUrl": "https://cloudasset.googleapis.com/",
"schemas": {
"AnalyzeIamPolicyLongrunningResponse": {
diff --git a/googleapiclient/discovery_cache/documents/cloudbuild.v1.json b/googleapiclient/discovery_cache/documents/cloudbuild.v1.json
index 017d37da2..57f24c7ac 100644
--- a/googleapiclient/discovery_cache/documents/cloudbuild.v1.json
+++ b/googleapiclient/discovery_cache/documents/cloudbuild.v1.json
@@ -962,7 +962,7 @@
"type": "string"
},
"parent": {
- "description": "Required. The parent of the collection of `WorkerPools`. Format: `projects/{project}/locations/location`.",
+ "description": "Required. The parent of the collection of `WorkerPools`. Format: `projects/{project}/locations/{location}`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
@@ -1285,7 +1285,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210715",
"rootUrl": "https://cloudbuild.googleapis.com/",
"schemas": {
"ArtifactObjects": {
@@ -1370,6 +1370,11 @@
"readOnly": true,
"type": "string"
},
+ "failureInfo": {
+ "$ref": "FailureInfo",
+ "description": "Output only. Contains information about the build when status=FAILURE.",
+ "readOnly": true
+ },
"finishTime": {
"description": "Output only. Time at which execution of the build was finished. The difference between finish_time and start_time is the duration of the build's execution.",
"format": "google-datetime",
@@ -1842,6 +1847,10 @@
"description": "The `Trigger` name with format: `projects/{project}/locations/{location}/triggers/{trigger}`, where {trigger} is a unique identifier generated by the service.",
"type": "string"
},
+ "sourceToBuild": {
+ "$ref": "GitRepoSource",
+ "description": "The repo and ref of the repository from which to build. This field is used only for those triggers that do not respond to SCM events. Triggers that respond to such events build source at whatever commit caused the event. This field is currently only used by Webhook, Pub/Sub, Manual, and Cron triggers."
+ },
"substitutions": {
"additionalProperties": {
"type": "string"
@@ -1960,6 +1969,39 @@
"properties": {},
"type": "object"
},
+ "FailureInfo": {
+ "description": "A fatal problem encountered during the execution of the build.",
+ "id": "FailureInfo",
+ "properties": {
+ "detail": {
+ "description": "Explains the failure issue in more detail using hard-coded text.",
+ "type": "string"
+ },
+ "type": {
+ "description": "The name of the failure.",
+ "enum": [
+ "FAILURE_TYPE_UNSPECIFIED",
+ "PUSH_FAILED",
+ "PUSH_IMAGE_NOT_FOUND",
+ "PUSH_NOT_AUTHORIZED",
+ "LOGGING_FAILURE",
+ "USER_BUILD_STEP",
+ "FETCH_SOURCE_FAILED"
+ ],
+ "enumDescriptions": [
+ "Type unspecified",
+ "Unable to push the image to the repository.",
+ "Final image not found.",
+ "Unauthorized push of the final image.",
+ "Backend logging failures. Should retry.",
+ "A build step has failed.",
+ "The source fetching has failed."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"FileHashes": {
"description": "Container message for hashes of byte content of files, used in SourceProvenance messages to verify integrity of source input to the build.",
"id": "FileHashes",
@@ -2002,6 +2044,79 @@
},
"type": "object"
},
+ "GitRepoSource": {
+ "description": "GitRepoSource describes a repo and ref of a code repository.",
+ "id": "GitRepoSource",
+ "properties": {
+ "ref": {
+ "description": "The branch or tag to use. Must start with \"refs/\" (required).",
+ "type": "string"
+ },
+ "repoType": {
+ "description": "See RepoType below.",
+ "enum": [
+ "UNKNOWN",
+ "CLOUD_SOURCE_REPOSITORIES",
+ "GITHUB"
+ ],
+ "enumDescriptions": [
+ "The default, unknown repo type.",
+ "A Google Cloud Source Repositories-hosted repo.",
+ "A GitHub-hosted repo not necessarily on \"github.com\" (i.e. GitHub Enterprise)."
+ ],
+ "type": "string"
+ },
+ "uri": {
+ "description": "The URI of the repo (required).",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleDevtoolsCloudbuildV2OperationMetadata": {
+ "description": "Represents the metadata of the long-running operation.",
+ "id": "GoogleDevtoolsCloudbuildV2OperationMetadata",
+ "properties": {
+ "apiVersion": {
+ "description": "Output only. API version used to start the operation.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "createTime": {
+ "description": "Output only. The time the operation was created.",
+ "format": "google-datetime",
+ "readOnly": true,
+ "type": "string"
+ },
+ "endTime": {
+ "description": "Output only. The time the operation finished running.",
+ "format": "google-datetime",
+ "readOnly": true,
+ "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`.",
+ "readOnly": true,
+ "type": "boolean"
+ },
+ "statusMessage": {
+ "description": "Output only. Human-readable status of the operation, if any.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "target": {
+ "description": "Output only. Server-defined resource path for the target of the operation.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "verb": {
+ "description": "Output only. Name of the verb executed by the operation.",
+ "readOnly": true,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"HTTPDelivery": {
"description": "HTTPDelivery is the delivery configuration for an HTTP notification.",
"id": "HTTPDelivery",
@@ -2312,6 +2427,50 @@
},
"type": "object"
},
+ "OperationMetadata": {
+ "description": "Represents the metadata of the long-running operation.",
+ "id": "OperationMetadata",
+ "properties": {
+ "apiVersion": {
+ "description": "Output only. API version used to start the operation.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "cancelRequested": {
+ "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"
+ },
+ "createTime": {
+ "description": "Output only. The time the operation was created.",
+ "format": "google-datetime",
+ "readOnly": true,
+ "type": "string"
+ },
+ "endTime": {
+ "description": "Output only. The time the operation finished running.",
+ "format": "google-datetime",
+ "readOnly": true,
+ "type": "string"
+ },
+ "statusDetail": {
+ "description": "Output only. Human-readable status of the operation, if any.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "target": {
+ "description": "Output only. Server-defined resource path for the target of the operation.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "verb": {
+ "description": "Output only. Name of the verb executed by the operation.",
+ "readOnly": true,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"PoolOption": {
"description": "Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information.",
"id": "PoolOption",
diff --git a/googleapiclient/discovery_cache/documents/cloudbuild.v1alpha1.json b/googleapiclient/discovery_cache/documents/cloudbuild.v1alpha1.json
index 383552823..d2f5bc6f2 100644
--- a/googleapiclient/discovery_cache/documents/cloudbuild.v1alpha1.json
+++ b/googleapiclient/discovery_cache/documents/cloudbuild.v1alpha1.json
@@ -306,7 +306,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210715",
"rootUrl": "https://cloudbuild.googleapis.com/",
"schemas": {
"ArtifactObjects": {
@@ -391,6 +391,11 @@
"readOnly": true,
"type": "string"
},
+ "failureInfo": {
+ "$ref": "FailureInfo",
+ "description": "Output only. Contains information about the build when status=FAILURE.",
+ "readOnly": true
+ },
"finishTime": {
"description": "Output only. Time at which execution of the build was finished. The difference between finish_time and start_time is the duration of the build's execution.",
"format": "google-datetime",
@@ -868,6 +873,39 @@
"properties": {},
"type": "object"
},
+ "FailureInfo": {
+ "description": "A fatal problem encountered during the execution of the build.",
+ "id": "FailureInfo",
+ "properties": {
+ "detail": {
+ "description": "Explains the failure issue in more detail using hard-coded text.",
+ "type": "string"
+ },
+ "type": {
+ "description": "The name of the failure.",
+ "enum": [
+ "FAILURE_TYPE_UNSPECIFIED",
+ "PUSH_FAILED",
+ "PUSH_IMAGE_NOT_FOUND",
+ "PUSH_NOT_AUTHORIZED",
+ "LOGGING_FAILURE",
+ "USER_BUILD_STEP",
+ "FETCH_SOURCE_FAILED"
+ ],
+ "enumDescriptions": [
+ "Type unspecified",
+ "Unable to push the image to the repository.",
+ "Final image not found.",
+ "Unauthorized push of the final image.",
+ "Backend logging failures. Should retry.",
+ "A build step has failed.",
+ "The source fetching has failed."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"FileHashes": {
"description": "Container message for hashes of byte content of files, used in SourceProvenance messages to verify integrity of source input to the build.",
"id": "FileHashes",
@@ -882,6 +920,50 @@
},
"type": "object"
},
+ "GoogleDevtoolsCloudbuildV2OperationMetadata": {
+ "description": "Represents the metadata of the long-running operation.",
+ "id": "GoogleDevtoolsCloudbuildV2OperationMetadata",
+ "properties": {
+ "apiVersion": {
+ "description": "Output only. API version used to start the operation.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "createTime": {
+ "description": "Output only. The time the operation was created.",
+ "format": "google-datetime",
+ "readOnly": true,
+ "type": "string"
+ },
+ "endTime": {
+ "description": "Output only. The time the operation finished running.",
+ "format": "google-datetime",
+ "readOnly": true,
+ "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`.",
+ "readOnly": true,
+ "type": "boolean"
+ },
+ "statusMessage": {
+ "description": "Output only. Human-readable status of the operation, if any.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "target": {
+ "description": "Output only. Server-defined resource path for the target of the operation.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "verb": {
+ "description": "Output only. Name of the verb executed by the operation.",
+ "readOnly": true,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"HTTPDelivery": {
"description": "HTTPDelivery is the delivery configuration for an HTTP notification.",
"id": "HTTPDelivery",
@@ -1119,6 +1201,50 @@
},
"type": "object"
},
+ "OperationMetadata": {
+ "description": "Represents the metadata of the long-running operation.",
+ "id": "OperationMetadata",
+ "properties": {
+ "apiVersion": {
+ "description": "Output only. API version used to start the operation.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "cancelRequested": {
+ "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"
+ },
+ "createTime": {
+ "description": "Output only. The time the operation was created.",
+ "format": "google-datetime",
+ "readOnly": true,
+ "type": "string"
+ },
+ "endTime": {
+ "description": "Output only. The time the operation finished running.",
+ "format": "google-datetime",
+ "readOnly": true,
+ "type": "string"
+ },
+ "statusDetail": {
+ "description": "Output only. Human-readable status of the operation, if any.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "target": {
+ "description": "Output only. Server-defined resource path for the target of the operation.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "verb": {
+ "description": "Output only. Name of the verb executed by the operation.",
+ "readOnly": true,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"PoolOption": {
"description": "Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information.",
"id": "PoolOption",
diff --git a/googleapiclient/discovery_cache/documents/cloudbuild.v1alpha2.json b/googleapiclient/discovery_cache/documents/cloudbuild.v1alpha2.json
index 31ad237b9..91b6b16a8 100644
--- a/googleapiclient/discovery_cache/documents/cloudbuild.v1alpha2.json
+++ b/googleapiclient/discovery_cache/documents/cloudbuild.v1alpha2.json
@@ -317,7 +317,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210715",
"rootUrl": "https://cloudbuild.googleapis.com/",
"schemas": {
"ArtifactObjects": {
@@ -402,6 +402,11 @@
"readOnly": true,
"type": "string"
},
+ "failureInfo": {
+ "$ref": "FailureInfo",
+ "description": "Output only. Contains information about the build when status=FAILURE.",
+ "readOnly": true
+ },
"finishTime": {
"description": "Output only. Time at which execution of the build was finished. The difference between finish_time and start_time is the duration of the build's execution.",
"format": "google-datetime",
@@ -879,6 +884,39 @@
"properties": {},
"type": "object"
},
+ "FailureInfo": {
+ "description": "A fatal problem encountered during the execution of the build.",
+ "id": "FailureInfo",
+ "properties": {
+ "detail": {
+ "description": "Explains the failure issue in more detail using hard-coded text.",
+ "type": "string"
+ },
+ "type": {
+ "description": "The name of the failure.",
+ "enum": [
+ "FAILURE_TYPE_UNSPECIFIED",
+ "PUSH_FAILED",
+ "PUSH_IMAGE_NOT_FOUND",
+ "PUSH_NOT_AUTHORIZED",
+ "LOGGING_FAILURE",
+ "USER_BUILD_STEP",
+ "FETCH_SOURCE_FAILED"
+ ],
+ "enumDescriptions": [
+ "Type unspecified",
+ "Unable to push the image to the repository.",
+ "Final image not found.",
+ "Unauthorized push of the final image.",
+ "Backend logging failures. Should retry.",
+ "A build step has failed.",
+ "The source fetching has failed."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"FileHashes": {
"description": "Container message for hashes of byte content of files, used in SourceProvenance messages to verify integrity of source input to the build.",
"id": "FileHashes",
@@ -893,6 +931,50 @@
},
"type": "object"
},
+ "GoogleDevtoolsCloudbuildV2OperationMetadata": {
+ "description": "Represents the metadata of the long-running operation.",
+ "id": "GoogleDevtoolsCloudbuildV2OperationMetadata",
+ "properties": {
+ "apiVersion": {
+ "description": "Output only. API version used to start the operation.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "createTime": {
+ "description": "Output only. The time the operation was created.",
+ "format": "google-datetime",
+ "readOnly": true,
+ "type": "string"
+ },
+ "endTime": {
+ "description": "Output only. The time the operation finished running.",
+ "format": "google-datetime",
+ "readOnly": true,
+ "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`.",
+ "readOnly": true,
+ "type": "boolean"
+ },
+ "statusMessage": {
+ "description": "Output only. Human-readable status of the operation, if any.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "target": {
+ "description": "Output only. Server-defined resource path for the target of the operation.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "verb": {
+ "description": "Output only. Name of the verb executed by the operation.",
+ "readOnly": true,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"HTTPDelivery": {
"description": "HTTPDelivery is the delivery configuration for an HTTP notification.",
"id": "HTTPDelivery",
@@ -1122,6 +1204,50 @@
},
"type": "object"
},
+ "OperationMetadata": {
+ "description": "Represents the metadata of the long-running operation.",
+ "id": "OperationMetadata",
+ "properties": {
+ "apiVersion": {
+ "description": "Output only. API version used to start the operation.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "cancelRequested": {
+ "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"
+ },
+ "createTime": {
+ "description": "Output only. The time the operation was created.",
+ "format": "google-datetime",
+ "readOnly": true,
+ "type": "string"
+ },
+ "endTime": {
+ "description": "Output only. The time the operation finished running.",
+ "format": "google-datetime",
+ "readOnly": true,
+ "type": "string"
+ },
+ "statusDetail": {
+ "description": "Output only. Human-readable status of the operation, if any.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "target": {
+ "description": "Output only. Server-defined resource path for the target of the operation.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "verb": {
+ "description": "Output only. Name of the verb executed by the operation.",
+ "readOnly": true,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"PoolOption": {
"description": "Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information.",
"id": "PoolOption",
diff --git a/googleapiclient/discovery_cache/documents/cloudbuild.v1beta1.json b/googleapiclient/discovery_cache/documents/cloudbuild.v1beta1.json
index debc918fe..60fc26e12 100644
--- a/googleapiclient/discovery_cache/documents/cloudbuild.v1beta1.json
+++ b/googleapiclient/discovery_cache/documents/cloudbuild.v1beta1.json
@@ -317,7 +317,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210715",
"rootUrl": "https://cloudbuild.googleapis.com/",
"schemas": {
"ArtifactObjects": {
@@ -402,6 +402,11 @@
"readOnly": true,
"type": "string"
},
+ "failureInfo": {
+ "$ref": "FailureInfo",
+ "description": "Output only. Contains information about the build when status=FAILURE.",
+ "readOnly": true
+ },
"finishTime": {
"description": "Output only. Time at which execution of the build was finished. The difference between finish_time and start_time is the duration of the build's execution.",
"format": "google-datetime",
@@ -879,6 +884,39 @@
"properties": {},
"type": "object"
},
+ "FailureInfo": {
+ "description": "A fatal problem encountered during the execution of the build.",
+ "id": "FailureInfo",
+ "properties": {
+ "detail": {
+ "description": "Explains the failure issue in more detail using hard-coded text.",
+ "type": "string"
+ },
+ "type": {
+ "description": "The name of the failure.",
+ "enum": [
+ "FAILURE_TYPE_UNSPECIFIED",
+ "PUSH_FAILED",
+ "PUSH_IMAGE_NOT_FOUND",
+ "PUSH_NOT_AUTHORIZED",
+ "LOGGING_FAILURE",
+ "USER_BUILD_STEP",
+ "FETCH_SOURCE_FAILED"
+ ],
+ "enumDescriptions": [
+ "Type unspecified",
+ "Unable to push the image to the repository.",
+ "Final image not found.",
+ "Unauthorized push of the final image.",
+ "Backend logging failures. Should retry.",
+ "A build step has failed.",
+ "The source fetching has failed."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"FileHashes": {
"description": "Container message for hashes of byte content of files, used in SourceProvenance messages to verify integrity of source input to the build.",
"id": "FileHashes",
@@ -893,6 +931,50 @@
},
"type": "object"
},
+ "GoogleDevtoolsCloudbuildV2OperationMetadata": {
+ "description": "Represents the metadata of the long-running operation.",
+ "id": "GoogleDevtoolsCloudbuildV2OperationMetadata",
+ "properties": {
+ "apiVersion": {
+ "description": "Output only. API version used to start the operation.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "createTime": {
+ "description": "Output only. The time the operation was created.",
+ "format": "google-datetime",
+ "readOnly": true,
+ "type": "string"
+ },
+ "endTime": {
+ "description": "Output only. The time the operation finished running.",
+ "format": "google-datetime",
+ "readOnly": true,
+ "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`.",
+ "readOnly": true,
+ "type": "boolean"
+ },
+ "statusMessage": {
+ "description": "Output only. Human-readable status of the operation, if any.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "target": {
+ "description": "Output only. Server-defined resource path for the target of the operation.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "verb": {
+ "description": "Output only. Name of the verb executed by the operation.",
+ "readOnly": true,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"HTTPDelivery": {
"description": "HTTPDelivery is the delivery configuration for an HTTP notification.",
"id": "HTTPDelivery",
@@ -1122,6 +1204,50 @@
},
"type": "object"
},
+ "OperationMetadata": {
+ "description": "Represents the metadata of the long-running operation.",
+ "id": "OperationMetadata",
+ "properties": {
+ "apiVersion": {
+ "description": "Output only. API version used to start the operation.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "cancelRequested": {
+ "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"
+ },
+ "createTime": {
+ "description": "Output only. The time the operation was created.",
+ "format": "google-datetime",
+ "readOnly": true,
+ "type": "string"
+ },
+ "endTime": {
+ "description": "Output only. The time the operation finished running.",
+ "format": "google-datetime",
+ "readOnly": true,
+ "type": "string"
+ },
+ "statusDetail": {
+ "description": "Output only. Human-readable status of the operation, if any.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "target": {
+ "description": "Output only. Server-defined resource path for the target of the operation.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "verb": {
+ "description": "Output only. Name of the verb executed by the operation.",
+ "readOnly": true,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"PoolOption": {
"description": "Details about how a build should be executed on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information.",
"id": "PoolOption",
diff --git a/googleapiclient/discovery_cache/documents/cloudchannel.v1.json b/googleapiclient/discovery_cache/documents/cloudchannel.v1.json
index 93d26bfb4..c54d5fac4 100644
--- a/googleapiclient/discovery_cache/documents/cloudchannel.v1.json
+++ b/googleapiclient/discovery_cache/documents/cloudchannel.v1.json
@@ -1533,7 +1533,7 @@
}
}
},
- "revision": "20210717",
+ "revision": "20210723",
"rootUrl": "https://cloudchannel.googleapis.com/",
"schemas": {
"GoogleCloudChannelV1ActivateEntitlementRequest": {
diff --git a/googleapiclient/discovery_cache/documents/clouddebugger.v2.json b/googleapiclient/discovery_cache/documents/clouddebugger.v2.json
index c6961e09f..f230c9033 100644
--- a/googleapiclient/discovery_cache/documents/clouddebugger.v2.json
+++ b/googleapiclient/discovery_cache/documents/clouddebugger.v2.json
@@ -448,7 +448,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210716",
"rootUrl": "https://clouddebugger.googleapis.com/",
"schemas": {
"AliasContext": {
diff --git a/googleapiclient/discovery_cache/documents/cloudfunctions.v1.json b/googleapiclient/discovery_cache/documents/cloudfunctions.v1.json
index e484b3302..87d0095a5 100644
--- a/googleapiclient/discovery_cache/documents/cloudfunctions.v1.json
+++ b/googleapiclient/discovery_cache/documents/cloudfunctions.v1.json
@@ -546,7 +546,7 @@
}
}
},
- "revision": "20210708",
+ "revision": "20210715",
"rootUrl": "https://cloudfunctions.googleapis.com/",
"schemas": {
"AuditConfig": {
@@ -650,7 +650,7 @@
"type": "object"
},
"CloudFunction": {
- "description": "Describes a Cloud Function that contains user computation executed in response to an event. It encapsulate function and triggers configurations.",
+ "description": "Describes a Cloud Function that contains user computation executed in response to an event. It encapsulate function and triggers configurations. Next tag: 35",
"id": "CloudFunction",
"properties": {
"availableMemoryMb": {
@@ -1186,7 +1186,7 @@
"type": "string"
},
"projectId": {
- "description": "Project whose secret manager data is being referenced. Cross project secrets are not supported.",
+ "description": "Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.",
"type": "string"
},
"secret": {
@@ -1224,7 +1224,7 @@
"type": "string"
},
"projectId": {
- "description": "Project whose secret manager data is being referenced. Cross project secrets are not supported.",
+ "description": "Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.",
"type": "string"
},
"secret": {
diff --git a/googleapiclient/discovery_cache/documents/cloudidentity.v1.json b/googleapiclient/discovery_cache/documents/cloudidentity.v1.json
index cb53f243e..60ddf81ac 100644
--- a/googleapiclient/discovery_cache/documents/cloudidentity.v1.json
+++ b/googleapiclient/discovery_cache/documents/cloudidentity.v1.json
@@ -1273,7 +1273,7 @@
}
}
},
- "revision": "20210713",
+ "revision": "20210720",
"rootUrl": "https://cloudidentity.googleapis.com/",
"schemas": {
"CheckTransitiveMembershipResponse": {
diff --git a/googleapiclient/discovery_cache/documents/cloudidentity.v1beta1.json b/googleapiclient/discovery_cache/documents/cloudidentity.v1beta1.json
index 5a0f7b51f..9bc59dbbb 100644
--- a/googleapiclient/discovery_cache/documents/cloudidentity.v1beta1.json
+++ b/googleapiclient/discovery_cache/documents/cloudidentity.v1beta1.json
@@ -1336,7 +1336,7 @@
}
}
},
- "revision": "20210713",
+ "revision": "20210720",
"rootUrl": "https://cloudidentity.googleapis.com/",
"schemas": {
"AndroidAttributes": {
diff --git a/googleapiclient/discovery_cache/documents/cloudiot.v1.json b/googleapiclient/discovery_cache/documents/cloudiot.v1.json
index 9e4532de4..e6155ece2 100644
--- a/googleapiclient/discovery_cache/documents/cloudiot.v1.json
+++ b/googleapiclient/discovery_cache/documents/cloudiot.v1.json
@@ -938,7 +938,7 @@
}
}
},
- "revision": "20210706",
+ "revision": "20210713",
"rootUrl": "https://cloudiot.googleapis.com/",
"schemas": {
"BindDeviceToGatewayRequest": {
diff --git a/googleapiclient/discovery_cache/documents/cloudprofiler.v2.json b/googleapiclient/discovery_cache/documents/cloudprofiler.v2.json
index c08ea8f34..a717af2f8 100644
--- a/googleapiclient/discovery_cache/documents/cloudprofiler.v2.json
+++ b/googleapiclient/discovery_cache/documents/cloudprofiler.v2.json
@@ -216,7 +216,7 @@
}
}
},
- "revision": "20210712",
+ "revision": "20210717",
"rootUrl": "https://cloudprofiler.googleapis.com/",
"schemas": {
"CreateProfileRequest": {
diff --git a/googleapiclient/discovery_cache/documents/cloudresourcemanager.v1.json b/googleapiclient/discovery_cache/documents/cloudresourcemanager.v1.json
index 73d061e7b..9b1bd3445 100644
--- a/googleapiclient/discovery_cache/documents/cloudresourcemanager.v1.json
+++ b/googleapiclient/discovery_cache/documents/cloudresourcemanager.v1.json
@@ -1171,7 +1171,7 @@
}
}
},
- "revision": "20210712",
+ "revision": "20210718",
"rootUrl": "https://cloudresourcemanager.googleapis.com/",
"schemas": {
"Ancestor": {
diff --git a/googleapiclient/discovery_cache/documents/cloudresourcemanager.v1beta1.json b/googleapiclient/discovery_cache/documents/cloudresourcemanager.v1beta1.json
index 040d73c42..75c6bf1d1 100644
--- a/googleapiclient/discovery_cache/documents/cloudresourcemanager.v1beta1.json
+++ b/googleapiclient/discovery_cache/documents/cloudresourcemanager.v1beta1.json
@@ -566,7 +566,7 @@
}
}
},
- "revision": "20210712",
+ "revision": "20210718",
"rootUrl": "https://cloudresourcemanager.googleapis.com/",
"schemas": {
"Ancestor": {
diff --git a/googleapiclient/discovery_cache/documents/cloudresourcemanager.v2.json b/googleapiclient/discovery_cache/documents/cloudresourcemanager.v2.json
index 1adfb4698..9a6345aed 100644
--- a/googleapiclient/discovery_cache/documents/cloudresourcemanager.v2.json
+++ b/googleapiclient/discovery_cache/documents/cloudresourcemanager.v2.json
@@ -450,7 +450,7 @@
}
}
},
- "revision": "20210712",
+ "revision": "20210718",
"rootUrl": "https://cloudresourcemanager.googleapis.com/",
"schemas": {
"AuditConfig": {
diff --git a/googleapiclient/discovery_cache/documents/cloudresourcemanager.v2beta1.json b/googleapiclient/discovery_cache/documents/cloudresourcemanager.v2beta1.json
index 60fd0a7e6..a120f794c 100644
--- a/googleapiclient/discovery_cache/documents/cloudresourcemanager.v2beta1.json
+++ b/googleapiclient/discovery_cache/documents/cloudresourcemanager.v2beta1.json
@@ -450,7 +450,7 @@
}
}
},
- "revision": "20210712",
+ "revision": "20210718",
"rootUrl": "https://cloudresourcemanager.googleapis.com/",
"schemas": {
"AuditConfig": {
diff --git a/googleapiclient/discovery_cache/documents/cloudresourcemanager.v3.json b/googleapiclient/discovery_cache/documents/cloudresourcemanager.v3.json
index 329c9f30b..8714f98c4 100644
--- a/googleapiclient/discovery_cache/documents/cloudresourcemanager.v3.json
+++ b/googleapiclient/discovery_cache/documents/cloudresourcemanager.v3.json
@@ -1612,7 +1612,7 @@
}
}
},
- "revision": "20210712",
+ "revision": "20210718",
"rootUrl": "https://cloudresourcemanager.googleapis.com/",
"schemas": {
"AuditConfig": {
diff --git a/googleapiclient/discovery_cache/documents/cloudscheduler.v1.json b/googleapiclient/discovery_cache/documents/cloudscheduler.v1.json
index ec7a6ea0f..9c7cf6d06 100644
--- a/googleapiclient/discovery_cache/documents/cloudscheduler.v1.json
+++ b/googleapiclient/discovery_cache/documents/cloudscheduler.v1.json
@@ -418,7 +418,7 @@
}
}
},
- "revision": "20210625",
+ "revision": "20210713",
"rootUrl": "https://cloudscheduler.googleapis.com/",
"schemas": {
"AppEngineHttpTarget": {
diff --git a/googleapiclient/discovery_cache/documents/cloudscheduler.v1beta1.json b/googleapiclient/discovery_cache/documents/cloudscheduler.v1beta1.json
index 676bebcac..5f4b88469 100644
--- a/googleapiclient/discovery_cache/documents/cloudscheduler.v1beta1.json
+++ b/googleapiclient/discovery_cache/documents/cloudscheduler.v1beta1.json
@@ -428,7 +428,7 @@
}
}
},
- "revision": "20210625",
+ "revision": "20210713",
"rootUrl": "https://cloudscheduler.googleapis.com/",
"schemas": {
"AppEngineHttpTarget": {
diff --git a/googleapiclient/discovery_cache/documents/cloudsearch.v1.json b/googleapiclient/discovery_cache/documents/cloudsearch.v1.json
index 1a804898d..011701dd9 100644
--- a/googleapiclient/discovery_cache/documents/cloudsearch.v1.json
+++ b/googleapiclient/discovery_cache/documents/cloudsearch.v1.json
@@ -1916,7 +1916,7 @@
}
}
},
- "revision": "20210706",
+ "revision": "20210713",
"rootUrl": "https://cloudsearch.googleapis.com/",
"schemas": {
"AuditLoggingSettings": {
diff --git a/googleapiclient/discovery_cache/documents/cloudtasks.v2.json b/googleapiclient/discovery_cache/documents/cloudtasks.v2.json
index c01ab21a5..ad7ca00ba 100644
--- a/googleapiclient/discovery_cache/documents/cloudtasks.v2.json
+++ b/googleapiclient/discovery_cache/documents/cloudtasks.v2.json
@@ -685,7 +685,7 @@
}
}
},
- "revision": "20210624",
+ "revision": "20210713",
"rootUrl": "https://cloudtasks.googleapis.com/",
"schemas": {
"AppEngineHttpRequest": {
diff --git a/googleapiclient/discovery_cache/documents/cloudtasks.v2beta2.json b/googleapiclient/discovery_cache/documents/cloudtasks.v2beta2.json
index 66b6a9e27..63a55c311 100644
--- a/googleapiclient/discovery_cache/documents/cloudtasks.v2beta2.json
+++ b/googleapiclient/discovery_cache/documents/cloudtasks.v2beta2.json
@@ -809,7 +809,7 @@
}
}
},
- "revision": "20210624",
+ "revision": "20210713",
"rootUrl": "https://cloudtasks.googleapis.com/",
"schemas": {
"AcknowledgeTaskRequest": {
diff --git a/googleapiclient/discovery_cache/documents/cloudtasks.v2beta3.json b/googleapiclient/discovery_cache/documents/cloudtasks.v2beta3.json
index 9e54c4fa9..77697b28b 100644
--- a/googleapiclient/discovery_cache/documents/cloudtasks.v2beta3.json
+++ b/googleapiclient/discovery_cache/documents/cloudtasks.v2beta3.json
@@ -697,7 +697,7 @@
}
}
},
- "revision": "20210624",
+ "revision": "20210713",
"rootUrl": "https://cloudtasks.googleapis.com/",
"schemas": {
"AppEngineHttpQueue": {
diff --git a/googleapiclient/discovery_cache/documents/cloudtrace.v1.json b/googleapiclient/discovery_cache/documents/cloudtrace.v1.json
index 2159f3e54..4b5ae1bce 100644
--- a/googleapiclient/discovery_cache/documents/cloudtrace.v1.json
+++ b/googleapiclient/discovery_cache/documents/cloudtrace.v1.json
@@ -257,7 +257,7 @@
}
}
},
- "revision": "20210628",
+ "revision": "20210719",
"rootUrl": "https://cloudtrace.googleapis.com/",
"schemas": {
"Empty": {
diff --git a/googleapiclient/discovery_cache/documents/cloudtrace.v2.json b/googleapiclient/discovery_cache/documents/cloudtrace.v2.json
index 4c808522b..884fc9fdf 100644
--- a/googleapiclient/discovery_cache/documents/cloudtrace.v2.json
+++ b/googleapiclient/discovery_cache/documents/cloudtrace.v2.json
@@ -181,7 +181,7 @@
}
}
},
- "revision": "20210628",
+ "revision": "20210719",
"rootUrl": "https://cloudtrace.googleapis.com/",
"schemas": {
"Annotation": {
diff --git a/googleapiclient/discovery_cache/documents/cloudtrace.v2beta1.json b/googleapiclient/discovery_cache/documents/cloudtrace.v2beta1.json
index 3f17efdf1..bff08d119 100644
--- a/googleapiclient/discovery_cache/documents/cloudtrace.v2beta1.json
+++ b/googleapiclient/discovery_cache/documents/cloudtrace.v2beta1.json
@@ -273,7 +273,7 @@
}
}
},
- "revision": "20210628",
+ "revision": "20210719",
"rootUrl": "https://cloudtrace.googleapis.com/",
"schemas": {
"Empty": {
diff --git a/googleapiclient/discovery_cache/documents/composer.v1.json b/googleapiclient/discovery_cache/documents/composer.v1.json
index 4bf9800ec..464d71532 100644
--- a/googleapiclient/discovery_cache/documents/composer.v1.json
+++ b/googleapiclient/discovery_cache/documents/composer.v1.json
@@ -406,7 +406,7 @@
}
}
},
- "revision": "20210713",
+ "revision": "20210721",
"rootUrl": "https://composer.googleapis.com/",
"schemas": {
"AllowedIpRange": {
diff --git a/googleapiclient/discovery_cache/documents/composer.v1beta1.json b/googleapiclient/discovery_cache/documents/composer.v1beta1.json
index d5f2fb11a..fbe0609b4 100644
--- a/googleapiclient/discovery_cache/documents/composer.v1beta1.json
+++ b/googleapiclient/discovery_cache/documents/composer.v1beta1.json
@@ -462,7 +462,7 @@
}
}
},
- "revision": "20210713",
+ "revision": "20210721",
"rootUrl": "https://composer.googleapis.com/",
"schemas": {
"AllowedIpRange": {
diff --git a/googleapiclient/discovery_cache/documents/container.v1.json b/googleapiclient/discovery_cache/documents/container.v1.json
index 104da6fa3..9bfed38fb 100644
--- a/googleapiclient/discovery_cache/documents/container.v1.json
+++ b/googleapiclient/discovery_cache/documents/container.v1.json
@@ -2459,7 +2459,7 @@
}
}
},
- "revision": "20210628",
+ "revision": "20210708",
"rootUrl": "https://container.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
@@ -4147,7 +4147,7 @@
"type": "boolean"
},
"maxNodeCount": {
- "description": "Maximum number of nodes in the NodePool. Must be >= min_node_count. There has to enough quota to scale up the cluster.",
+ "description": "Maximum number of nodes in the NodePool. Must be >= min_node_count. There has to be enough quota to scale up the cluster.",
"format": "int32",
"type": "integer"
},
diff --git a/googleapiclient/discovery_cache/documents/container.v1beta1.json b/googleapiclient/discovery_cache/documents/container.v1beta1.json
index 578850d99..92cc60f01 100644
--- a/googleapiclient/discovery_cache/documents/container.v1beta1.json
+++ b/googleapiclient/discovery_cache/documents/container.v1beta1.json
@@ -2484,7 +2484,7 @@
}
}
},
- "revision": "20210628",
+ "revision": "20210708",
"rootUrl": "https://container.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
@@ -4528,7 +4528,7 @@
"type": "boolean"
},
"maxNodeCount": {
- "description": "Maximum number of nodes in the NodePool. Must be >= min_node_count. There has to enough quota to scale up the cluster.",
+ "description": "Maximum number of nodes in the NodePool. Must be >= min_node_count. There has to be enough quota to scale up the cluster.",
"format": "int32",
"type": "integer"
},
diff --git a/googleapiclient/discovery_cache/documents/containeranalysis.v1alpha1.json b/googleapiclient/discovery_cache/documents/containeranalysis.v1alpha1.json
index 6795ac841..f4e76e081 100644
--- a/googleapiclient/discovery_cache/documents/containeranalysis.v1alpha1.json
+++ b/googleapiclient/discovery_cache/documents/containeranalysis.v1alpha1.json
@@ -1219,7 +1219,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210714",
"rootUrl": "https://containeranalysis.googleapis.com/",
"schemas": {
"Artifact": {
diff --git a/googleapiclient/discovery_cache/documents/containeranalysis.v1beta1.json b/googleapiclient/discovery_cache/documents/containeranalysis.v1beta1.json
index 7cd890bd8..026b34228 100644
--- a/googleapiclient/discovery_cache/documents/containeranalysis.v1beta1.json
+++ b/googleapiclient/discovery_cache/documents/containeranalysis.v1beta1.json
@@ -853,7 +853,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210714",
"rootUrl": "https://containeranalysis.googleapis.com/",
"schemas": {
"AliasContext": {
diff --git a/googleapiclient/discovery_cache/documents/content.v2.1.json b/googleapiclient/discovery_cache/documents/content.v2.1.json
index 9fd3b26e1..114451fe8 100644
--- a/googleapiclient/discovery_cache/documents/content.v2.1.json
+++ b/googleapiclient/discovery_cache/documents/content.v2.1.json
@@ -428,6 +428,42 @@
"https://www.googleapis.com/auth/content"
]
},
+ "requestphoneverification": {
+ "description": "Request verification code to start phone verification.",
+ "flatPath": "{merchantId}/accounts/{accountId}/requestphoneverification",
+ "httpMethod": "POST",
+ "id": "content.accounts.requestphoneverification",
+ "parameterOrder": [
+ "merchantId",
+ "accountId"
+ ],
+ "parameters": {
+ "accountId": {
+ "description": "Required. The ID of the account.",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "merchantId": {
+ "description": "Required. The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{merchantId}/accounts/{accountId}/requestphoneverification",
+ "request": {
+ "$ref": "RequestPhoneVerificationRequest"
+ },
+ "response": {
+ "$ref": "RequestPhoneVerificationResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/content"
+ ]
+ },
"update": {
"description": "Updates a Merchant Center account. Any fields that are not provided are deleted from the resource.",
"flatPath": "{merchantId}/accounts/{accountId}",
@@ -499,6 +535,42 @@
"scopes": [
"https://www.googleapis.com/auth/content"
]
+ },
+ "verifyphonenumber": {
+ "description": "Validates verification code to verify phone number for the account.",
+ "flatPath": "{merchantId}/accounts/{accountId}/verifyphonenumber",
+ "httpMethod": "POST",
+ "id": "content.accounts.verifyphonenumber",
+ "parameterOrder": [
+ "merchantId",
+ "accountId"
+ ],
+ "parameters": {
+ "accountId": {
+ "description": "Required. The ID of the account.",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "merchantId": {
+ "description": "Required. The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{merchantId}/accounts/{accountId}/verifyphonenumber",
+ "request": {
+ "$ref": "VerifyPhoneNumberRequest"
+ },
+ "response": {
+ "$ref": "VerifyPhoneNumberResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/content"
+ ]
}
},
"resources": {
@@ -1821,6 +1893,60 @@
}
}
},
+ "freelistingsprogram": {
+ "methods": {
+ "get": {
+ "description": "Retrieves the status and review eligibility for the free listing program.",
+ "flatPath": "{merchantId}/freelistingsprogram",
+ "httpMethod": "GET",
+ "id": "content.freelistingsprogram.get",
+ "parameterOrder": [
+ "merchantId"
+ ],
+ "parameters": {
+ "merchantId": {
+ "description": "Required. The ID of the account.",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{merchantId}/freelistingsprogram",
+ "response": {
+ "$ref": "FreeListingsProgramStatus"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/content"
+ ]
+ },
+ "requestreview": {
+ "description": "Requests a review for Free Listings program in the provided region. Important: This method is only whitelisted for selected merchants.",
+ "flatPath": "{merchantId}/freelistingsprogram/requestreview",
+ "httpMethod": "POST",
+ "id": "content.freelistingsprogram.requestreview",
+ "parameterOrder": [
+ "merchantId"
+ ],
+ "parameters": {
+ "merchantId": {
+ "description": "Required. The ID of the account.",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{merchantId}/freelistingsprogram/requestreview",
+ "request": {
+ "$ref": "RequestReviewFreeListingsRequest"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/content"
+ ]
+ }
+ }
+ },
"liasettings": {
"methods": {
"custombatch": {
@@ -5493,9 +5619,63 @@
]
}
}
+ },
+ "shoppingadsprogram": {
+ "methods": {
+ "get": {
+ "description": "Retrieves the status and review eligibility for the Shopping Ads program.",
+ "flatPath": "{merchantId}/shoppingadsprogram",
+ "httpMethod": "GET",
+ "id": "content.shoppingadsprogram.get",
+ "parameterOrder": [
+ "merchantId"
+ ],
+ "parameters": {
+ "merchantId": {
+ "description": "Required. The ID of the account.",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{merchantId}/shoppingadsprogram",
+ "response": {
+ "$ref": "ShoppingAdsProgramStatus"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/content"
+ ]
+ },
+ "requestreview": {
+ "description": "Requests a review for Shopping Ads program in the provided country.",
+ "flatPath": "{merchantId}/shoppingadsprogram/requestreview",
+ "httpMethod": "POST",
+ "id": "content.shoppingadsprogram.requestreview",
+ "parameterOrder": [
+ "merchantId"
+ ],
+ "parameters": {
+ "merchantId": {
+ "description": "Required. The ID of the account.",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{merchantId}/shoppingadsprogram/requestreview",
+ "request": {
+ "$ref": "RequestReviewShoppingAdsRequest"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/content"
+ ]
+ }
+ }
}
},
- "revision": "20210715",
+ "revision": "20210722",
"rootUrl": "https://shoppingcontent.googleapis.com/",
"schemas": {
"Account": {
@@ -7559,6 +7739,121 @@
},
"type": "object"
},
+ "FreeListingsProgramStatus": {
+ "description": "Response message for GetFreeListingsProgramStatus.",
+ "id": "FreeListingsProgramStatus",
+ "properties": {
+ "regionStatuses": {
+ "description": "Status of the program in each region. Regions with the same status and review eligibility are grouped together in `regionCodes`.",
+ "items": {
+ "$ref": "FreeListingsProgramStatusRegionStatus"
+ },
+ "type": "array"
+ },
+ "state": {
+ "description": "If program is successfully onboarded for at least one region.",
+ "enum": [
+ "PROGRAM_STATE_UNSPECIFIED",
+ "ONBOARDED",
+ "NOT_ONBOARDED"
+ ],
+ "enumDescriptions": [
+ "State is not known.",
+ "Program is onboarded for at least one country.",
+ "Program is not onboarded for any country."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "FreeListingsProgramStatusRegionStatus": {
+ "description": "Status of program and region.",
+ "id": "FreeListingsProgramStatusRegionStatus",
+ "properties": {
+ "disapprovalDate": {
+ "description": "Date by which `eligibility_status` will go from `WARNING` to `DISAPPROVED`. It will be present when `eligibility_status` is `WARNING`. Date will be provided in ISO 8601 format i.e. YYYY-MM-DD",
+ "type": "string"
+ },
+ "eligibilityStatus": {
+ "description": "Eligibility status of the standard free listing program.",
+ "enum": [
+ "STATE_UNSPECIFIED",
+ "APPROVED",
+ "DISAPPROVED",
+ "WARNING",
+ "UNDER_REVIEW",
+ "PENDING_REVIEW",
+ "ONBOARDING"
+ ],
+ "enumDescriptions": [
+ "State is not known.",
+ "If the account has no issues and review is completed successfully.",
+ "There are one or more issues that needs to be resolved for account to be active for the program. Detailed list of account issues are available in [accountstatuses](https://developers.google.com/shopping-content/reference/rest/v2.1/accountstatuses) API.",
+ "If account has issues but offers are servable. Some of the issue can make account DISAPPROVED after a certain deadline.",
+ "Account is under review.",
+ "Account is waiting for review to start.",
+ "Program is currently onboarding."
+ ],
+ "type": "string"
+ },
+ "enhancedEligibilityStatus": {
+ "description": "Eligibility status of the enhanced free listing program.",
+ "enum": [
+ "STATE_UNSPECIFIED",
+ "APPROVED",
+ "DISAPPROVED",
+ "WARNING",
+ "UNDER_REVIEW",
+ "PENDING_REVIEW",
+ "ONBOARDING"
+ ],
+ "enumDescriptions": [
+ "State is not known.",
+ "If the account has no issues and review is completed successfully.",
+ "There are one or more issues that needs to be resolved for account to be active for the program. Detailed list of account issues are available in [accountstatuses](https://developers.google.com/shopping-content/reference/rest/v2.1/accountstatuses) API.",
+ "If account has issues but offers are servable. Some of the issue can make account DISAPPROVED after a certain deadline.",
+ "Account is under review.",
+ "Account is waiting for review to start.",
+ "Program is currently onboarding."
+ ],
+ "type": "string"
+ },
+ "ineligibilityReason": {
+ "description": "Reason if a program in a given country is not eligible for review. Populated only if `review_eligibility_status` is `INELIGIBLE`.",
+ "type": "string"
+ },
+ "regionCodes": {
+ "description": "The two-letter [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) codes for all the regions with the same `eligibilityStatus` and `reviewEligibility`.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "reviewEligibilityStatus": {
+ "description": "If a program in a given country is eligible for review. It will be present only if eligibility status is `DISAPPROVED`.",
+ "enum": [
+ "REVIEW_ELIGIBILITY_UNSPECIFIED",
+ "ELIGIBLE",
+ "INELIGIBLE"
+ ],
+ "enumDescriptions": [
+ "Review eligibility state is unknown.",
+ "Account for a region code is eligible for review.",
+ "Account for a region code is not eligible for review."
+ ],
+ "type": "string"
+ },
+ "reviewIssues": {
+ "description": "These issues will be evaluated in review process. Fix all the issues before requesting the review.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"GmbAccounts": {
"id": "GmbAccounts",
"properties": {
@@ -13134,12 +13429,78 @@
},
"type": "object"
},
+ "RequestPhoneVerificationRequest": {
+ "description": "Request message for the RequestPhoneVerification method.",
+ "id": "RequestPhoneVerificationRequest",
+ "properties": {
+ "languageCode": {
+ "description": "Language code [IETF BCP 47 syntax](https://tools.ietf.org/html/bcp47) (for example, en-US). Language code is used to provide localized `SMS` and `PHONE_CALL`. Default language used is en-US if not provided.",
+ "type": "string"
+ },
+ "phoneNumber": {
+ "description": "Phone number to be verified.",
+ "type": "string"
+ },
+ "phoneRegionCode": {
+ "description": "Required. Two letter country code for the phone number, for example `CA` for Canadian numbers. See the [ISO 3166-1 alpha-2](https://wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) officially assigned codes.",
+ "type": "string"
+ },
+ "phoneVerificationMethod": {
+ "description": "Verification method to receive verification code.",
+ "enum": [
+ "PHONE_VERIFICATION_METHOD_UNSPECIFIED",
+ "SMS",
+ "PHONE_CALL"
+ ],
+ "enumDescriptions": [
+ "Unknown method.",
+ "Receive verification code by SMS.",
+ "Receive verification code by phone call."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "RequestPhoneVerificationResponse": {
+ "description": "Response message for the RequestPhoneVerification method.",
+ "id": "RequestPhoneVerificationResponse",
+ "properties": {
+ "verificationId": {
+ "description": "The verification ID to use in subsequent calls to `verifyphonenumber`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"RequestReviewBuyOnGoogleProgramRequest": {
"description": "Request message for the RequestReviewProgram method.",
"id": "RequestReviewBuyOnGoogleProgramRequest",
"properties": {},
"type": "object"
},
+ "RequestReviewFreeListingsRequest": {
+ "description": "Request message for the RequestReviewFreeListings Program method.",
+ "id": "RequestReviewFreeListingsRequest",
+ "properties": {
+ "regionCode": {
+ "description": "The code [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the country for which review is to be requested.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "RequestReviewShoppingAdsRequest": {
+ "description": "Request message for the RequestReviewShoppingAds program method.",
+ "id": "RequestReviewShoppingAdsRequest",
+ "properties": {
+ "regionCode": {
+ "description": "The code [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the country for which review is to be requested.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"ReturnAddress": {
"description": "Return address resource.",
"id": "ReturnAddress",
@@ -13793,7 +14154,7 @@
"type": "string"
},
"query": {
- "description": "Required. Query that defines performance metrics to retrieve and dimensions according to which the metrics are to be segmented.",
+ "description": "Required. Query that defines performance metrics to retrieve and dimensions according to which the metrics are to be segmented. For details on how to construct your query, see the [Query Language guide](https://developers.google.com/shopping-content/guides/reports/query-language/overview).",
"type": "string"
}
},
@@ -13826,23 +14187,23 @@
"type": "string"
},
"categoryL1": {
- "description": "Product category (1st level) in Google's product taxonomy.",
+ "description": "[Product category (1st level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in Google's product taxonomy.",
"type": "string"
},
"categoryL2": {
- "description": "Product category (2nd level) in Google's product taxonomy.",
+ "description": "[Product category (2nd level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in Google's product taxonomy.",
"type": "string"
},
"categoryL3": {
- "description": "Product category (3rd level) in Google's product taxonomy.",
+ "description": "[Product category (3rd level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in Google's product taxonomy.",
"type": "string"
},
"categoryL4": {
- "description": "Product category (4th level) in Google's product taxonomy.",
+ "description": "[Product category (4th level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in Google's product taxonomy.",
"type": "string"
},
"categoryL5": {
- "description": "Product category (5th level) in Google's product taxonomy.",
+ "description": "[Product category (5th level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in Google's product taxonomy.",
"type": "string"
},
"currencyCode": {
@@ -13878,23 +14239,23 @@
"type": "string"
},
"productTypeL1": {
- "description": "Product category (1st level) in merchant's own product taxonomy.",
+ "description": "[Product type (1st level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in merchant's own product taxonomy.",
"type": "string"
},
"productTypeL2": {
- "description": "Product category (2nd level) in merchant's own product taxonomy.",
+ "description": "[Product type (2nd level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in merchant's own product taxonomy.",
"type": "string"
},
"productTypeL3": {
- "description": "Product category (3rd level) in merchant's own product taxonomy.",
+ "description": "[Product type (3rd level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in merchant's own product taxonomy.",
"type": "string"
},
"productTypeL4": {
- "description": "Product category (4th level) in merchant's own product taxonomy.",
+ "description": "[Product type (4th level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in merchant's own product taxonomy.",
"type": "string"
},
"productTypeL5": {
- "description": "Product category (5th level) in merchant's own product taxonomy.",
+ "description": "[Product type (5th level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) in merchant's own product taxonomy.",
"type": "string"
},
"program": {
@@ -14407,6 +14768,99 @@
},
"type": "object"
},
+ "ShoppingAdsProgramStatus": {
+ "description": "Response message for GetShoppingAdsProgramStatus.",
+ "id": "ShoppingAdsProgramStatus",
+ "properties": {
+ "regionStatuses": {
+ "description": "Status of the program in each region. Regions with the same status and review eligibility are grouped together in `regionCodes`.",
+ "items": {
+ "$ref": "ShoppingAdsProgramStatusRegionStatus"
+ },
+ "type": "array"
+ },
+ "state": {
+ "description": "If program is successfully onboarded for at least one region.",
+ "enum": [
+ "PROGRAM_STATE_UNSPECIFIED",
+ "ONBOARDED",
+ "NOT_ONBOARDED"
+ ],
+ "enumDescriptions": [
+ "State is not known.",
+ "Program is onboarded for at least one country.",
+ "Program is not onboarded for any country."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ShoppingAdsProgramStatusRegionStatus": {
+ "description": "Status of program and region.",
+ "id": "ShoppingAdsProgramStatusRegionStatus",
+ "properties": {
+ "disapprovalDate": {
+ "description": "Date by which `eligibility_status` will go from `WARNING` to `DISAPPROVED`. It will be present when `eligibility_status` is `WARNING`. Date will be provided in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format i.e. YYYY-MM-DD",
+ "type": "string"
+ },
+ "eligibilityStatus": {
+ "description": "Eligibility status of the Shopping Ads program.",
+ "enum": [
+ "STATE_UNSPECIFIED",
+ "APPROVED",
+ "DISAPPROVED",
+ "WARNING",
+ "UNDER_REVIEW",
+ "PENDING_REVIEW",
+ "ONBOARDING"
+ ],
+ "enumDescriptions": [
+ "State is not known.",
+ "If the account has no issues and review is completed successfully.",
+ "There are one or more issues that needs to be resolved for account to be active for the program. Detailed list of account issues are available in [accountstatuses](https://developers.google.com/shopping-content/reference/rest/v2.1/accountstatuses) API.",
+ "If account has issues but offers are servable. Some of the issue can make account DISAPPROVED after a certain deadline.",
+ "Account is under review.",
+ "Account is waiting for review to start.",
+ "Program is currently onboarding."
+ ],
+ "type": "string"
+ },
+ "ineligibilityReason": {
+ "description": "Reason if a program in a given country is not eligible for review. Populated only if `review_eligibility_status` is `INELIGIBLE`.",
+ "type": "string"
+ },
+ "regionCodes": {
+ "description": "The two-letter [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) codes for all the regions with the same `eligibilityStatus` and `reviewEligibility`.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "reviewEligibilityStatus": {
+ "description": "If a program in a given country is eligible for review. It will be present only if eligibility status is `DISAPPROVED`.",
+ "enum": [
+ "REVIEW_ELIGIBILITY_UNSPECIFIED",
+ "ELIGIBLE",
+ "INELIGIBLE"
+ ],
+ "enumDescriptions": [
+ "Review eligibility state is unknown.",
+ "Account for a region code is eligible for review.",
+ "Account for a region code is not eligible for review."
+ ],
+ "type": "string"
+ },
+ "reviewIssues": {
+ "description": "These issues will be evaluated in review process. Fix all the issues before requesting the review.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"Table": {
"id": "Table",
"properties": {
@@ -14836,6 +15290,46 @@
},
"type": "object"
},
+ "VerifyPhoneNumberRequest": {
+ "description": "Request message for the VerifyPhoneNumber method.",
+ "id": "VerifyPhoneNumberRequest",
+ "properties": {
+ "phoneVerificationMethod": {
+ "description": "Verification method used to receive verification code.",
+ "enum": [
+ "PHONE_VERIFICATION_METHOD_UNSPECIFIED",
+ "SMS",
+ "PHONE_CALL"
+ ],
+ "enumDescriptions": [
+ "Unknown method.",
+ "Receive verification code by SMS.",
+ "Receive verification code by phone call."
+ ],
+ "type": "string"
+ },
+ "verificationCode": {
+ "description": "The verification code that was sent to the phone number for validation.",
+ "type": "string"
+ },
+ "verificationId": {
+ "description": "The verification ID returned by `requestphoneverification`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "VerifyPhoneNumberResponse": {
+ "description": "Response message for the VerifyPhoneNumber method.",
+ "id": "VerifyPhoneNumberResponse",
+ "properties": {
+ "verifiedPhoneNumber": {
+ "description": "Verified phone number if verification is successful.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"WarehouseBasedDeliveryTime": {
"id": "WarehouseBasedDeliveryTime",
"properties": {
diff --git a/googleapiclient/discovery_cache/documents/content.v2.json b/googleapiclient/discovery_cache/documents/content.v2.json
index 53b31b897..bbd5fde8c 100644
--- a/googleapiclient/discovery_cache/documents/content.v2.json
+++ b/googleapiclient/discovery_cache/documents/content.v2.json
@@ -3298,7 +3298,7 @@
}
}
},
- "revision": "20210715",
+ "revision": "20210722",
"rootUrl": "https://shoppingcontent.googleapis.com/",
"schemas": {
"Account": {
diff --git a/googleapiclient/discovery_cache/documents/customsearch.v1.json b/googleapiclient/discovery_cache/documents/customsearch.v1.json
index 8f8dd0440..f5dafa77f 100644
--- a/googleapiclient/discovery_cache/documents/customsearch.v1.json
+++ b/googleapiclient/discovery_cache/documents/customsearch.v1.json
@@ -674,7 +674,7 @@
}
}
},
- "revision": "20210717",
+ "revision": "20210723",
"rootUrl": "https://customsearch.googleapis.com/",
"schemas": {
"Promotion": {
diff --git a/googleapiclient/discovery_cache/documents/dataflow.v1b3.json b/googleapiclient/discovery_cache/documents/dataflow.v1b3.json
index 5fbc81d5c..98478bc58 100644
--- a/googleapiclient/discovery_cache/documents/dataflow.v1b3.json
+++ b/googleapiclient/discovery_cache/documents/dataflow.v1b3.json
@@ -2225,7 +2225,7 @@
}
}
},
- "revision": "20210703",
+ "revision": "20210720",
"rootUrl": "https://dataflow.googleapis.com/",
"schemas": {
"ApproximateProgress": {
diff --git a/googleapiclient/discovery_cache/documents/datalabeling.v1beta1.json b/googleapiclient/discovery_cache/documents/datalabeling.v1beta1.json
index 2837c6403..2d0d40bdf 100644
--- a/googleapiclient/discovery_cache/documents/datalabeling.v1beta1.json
+++ b/googleapiclient/discovery_cache/documents/datalabeling.v1beta1.json
@@ -1596,7 +1596,7 @@
}
}
},
- "revision": "20210706",
+ "revision": "20210719",
"rootUrl": "https://datalabeling.googleapis.com/",
"schemas": {
"GoogleCloudDatalabelingV1alpha1CreateInstructionMetadata": {
diff --git a/googleapiclient/discovery_cache/documents/datamigration.v1.json b/googleapiclient/discovery_cache/documents/datamigration.v1.json
index 466e8ab2f..edd164540 100644
--- a/googleapiclient/discovery_cache/documents/datamigration.v1.json
+++ b/googleapiclient/discovery_cache/documents/datamigration.v1.json
@@ -1049,7 +1049,7 @@
}
}
},
- "revision": "20210630",
+ "revision": "20210717",
"rootUrl": "https://datamigration.googleapis.com/",
"schemas": {
"AuditConfig": {
diff --git a/googleapiclient/discovery_cache/documents/datamigration.v1beta1.json b/googleapiclient/discovery_cache/documents/datamigration.v1beta1.json
index 0acc8f380..084ab871c 100644
--- a/googleapiclient/discovery_cache/documents/datamigration.v1beta1.json
+++ b/googleapiclient/discovery_cache/documents/datamigration.v1beta1.json
@@ -1049,7 +1049,7 @@
}
}
},
- "revision": "20210630",
+ "revision": "20210717",
"rootUrl": "https://datamigration.googleapis.com/",
"schemas": {
"AuditConfig": {
diff --git a/googleapiclient/discovery_cache/documents/dataproc.v1.json b/googleapiclient/discovery_cache/documents/dataproc.v1.json
index 62f03531c..d8e0c8574 100644
--- a/googleapiclient/discovery_cache/documents/dataproc.v1.json
+++ b/googleapiclient/discovery_cache/documents/dataproc.v1.json
@@ -2301,7 +2301,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210715",
"rootUrl": "https://dataproc.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
diff --git a/googleapiclient/discovery_cache/documents/dataproc.v1beta2.json b/googleapiclient/discovery_cache/documents/dataproc.v1beta2.json
index 1ecf5685f..4460101f2 100644
--- a/googleapiclient/discovery_cache/documents/dataproc.v1beta2.json
+++ b/googleapiclient/discovery_cache/documents/dataproc.v1beta2.json
@@ -2291,7 +2291,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210715",
"rootUrl": "https://dataproc.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
diff --git a/googleapiclient/discovery_cache/documents/deploymentmanager.alpha.json b/googleapiclient/discovery_cache/documents/deploymentmanager.alpha.json
index 3277cf9a0..002ff928d 100644
--- a/googleapiclient/discovery_cache/documents/deploymentmanager.alpha.json
+++ b/googleapiclient/discovery_cache/documents/deploymentmanager.alpha.json
@@ -1588,7 +1588,7 @@
}
}
},
- "revision": "20210624",
+ "revision": "20210715",
"rootUrl": "https://deploymentmanager.googleapis.com/",
"schemas": {
"AsyncOptions": {
diff --git a/googleapiclient/discovery_cache/documents/deploymentmanager.v2.json b/googleapiclient/discovery_cache/documents/deploymentmanager.v2.json
index 587be4275..c6fd56122 100644
--- a/googleapiclient/discovery_cache/documents/deploymentmanager.v2.json
+++ b/googleapiclient/discovery_cache/documents/deploymentmanager.v2.json
@@ -988,7 +988,7 @@
}
}
},
- "revision": "20210624",
+ "revision": "20210715",
"rootUrl": "https://deploymentmanager.googleapis.com/",
"schemas": {
"AuditConfig": {
diff --git a/googleapiclient/discovery_cache/documents/deploymentmanager.v2beta.json b/googleapiclient/discovery_cache/documents/deploymentmanager.v2beta.json
index 7856ca0d9..dd53e9e5f 100644
--- a/googleapiclient/discovery_cache/documents/deploymentmanager.v2beta.json
+++ b/googleapiclient/discovery_cache/documents/deploymentmanager.v2beta.json
@@ -1552,7 +1552,7 @@
}
}
},
- "revision": "20210624",
+ "revision": "20210715",
"rootUrl": "https://deploymentmanager.googleapis.com/",
"schemas": {
"AsyncOptions": {
diff --git a/googleapiclient/discovery_cache/documents/digitalassetlinks.v1.json b/googleapiclient/discovery_cache/documents/digitalassetlinks.v1.json
index 6de98214d..0357a3e76 100644
--- a/googleapiclient/discovery_cache/documents/digitalassetlinks.v1.json
+++ b/googleapiclient/discovery_cache/documents/digitalassetlinks.v1.json
@@ -184,7 +184,7 @@
}
}
},
- "revision": "20210713",
+ "revision": "20210720",
"rootUrl": "https://digitalassetlinks.googleapis.com/",
"schemas": {
"AndroidAppAsset": {
diff --git a/googleapiclient/discovery_cache/documents/displayvideo.v1.json b/googleapiclient/discovery_cache/documents/displayvideo.v1.json
index 548c8cf02..2a442c25b 100644
--- a/googleapiclient/discovery_cache/documents/displayvideo.v1.json
+++ b/googleapiclient/discovery_cache/documents/displayvideo.v1.json
@@ -754,7 +754,10 @@
"TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
"TARGETING_TYPE_EXCHANGE",
"TARGETING_TYPE_SUB_EXCHANGE",
- "TARGETING_TYPE_NATIVE_CONTENT_POSITION"
+ "TARGETING_TYPE_POI",
+ "TARGETING_TYPE_BUSINESS_CHAIN",
+ "TARGETING_TYPE_NATIVE_CONTENT_POSITION",
+ "TARGETING_TYPE_OMID"
],
"enumDescriptions": [
"Default value when type is not specified or is unknown in this version.",
@@ -795,7 +798,10 @@
"Purchase impressions from a group of deals and auction packages.",
"Purchase impressions from specific exchanges.",
"Purchase impressions from specific sub-exchanges.",
- "Target ads to a specific native content position."
+ "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.",
+ "Target ads around locations of a business chain within a specific geo region.",
+ "Target ads to a specific native content position.",
+ "Target ads in an Open Measurement enabled inventory."
],
"location": "path",
"pattern": "^[^/]+$",
@@ -900,7 +906,10 @@
"TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
"TARGETING_TYPE_EXCHANGE",
"TARGETING_TYPE_SUB_EXCHANGE",
- "TARGETING_TYPE_NATIVE_CONTENT_POSITION"
+ "TARGETING_TYPE_POI",
+ "TARGETING_TYPE_BUSINESS_CHAIN",
+ "TARGETING_TYPE_NATIVE_CONTENT_POSITION",
+ "TARGETING_TYPE_OMID"
],
"enumDescriptions": [
"Default value when type is not specified or is unknown in this version.",
@@ -941,7 +950,10 @@
"Purchase impressions from a group of deals and auction packages.",
"Purchase impressions from specific exchanges.",
"Purchase impressions from specific sub-exchanges.",
- "Target ads to a specific native content position."
+ "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.",
+ "Target ads around locations of a business chain within a specific geo region.",
+ "Target ads to a specific native content position.",
+ "Target ads in an Open Measurement enabled inventory."
],
"location": "path",
"pattern": "^[^/]+$",
@@ -1902,7 +1914,10 @@
"TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
"TARGETING_TYPE_EXCHANGE",
"TARGETING_TYPE_SUB_EXCHANGE",
- "TARGETING_TYPE_NATIVE_CONTENT_POSITION"
+ "TARGETING_TYPE_POI",
+ "TARGETING_TYPE_BUSINESS_CHAIN",
+ "TARGETING_TYPE_NATIVE_CONTENT_POSITION",
+ "TARGETING_TYPE_OMID"
],
"enumDescriptions": [
"Default value when type is not specified or is unknown in this version.",
@@ -1943,7 +1958,10 @@
"Purchase impressions from a group of deals and auction packages.",
"Purchase impressions from specific exchanges.",
"Purchase impressions from specific sub-exchanges.",
- "Target ads to a specific native content position."
+ "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.",
+ "Target ads around locations of a business chain within a specific geo region.",
+ "Target ads to a specific native content position.",
+ "Target ads in an Open Measurement enabled inventory."
],
"location": "path",
"pattern": "^[^/]+$",
@@ -2048,7 +2066,10 @@
"TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
"TARGETING_TYPE_EXCHANGE",
"TARGETING_TYPE_SUB_EXCHANGE",
- "TARGETING_TYPE_NATIVE_CONTENT_POSITION"
+ "TARGETING_TYPE_POI",
+ "TARGETING_TYPE_BUSINESS_CHAIN",
+ "TARGETING_TYPE_NATIVE_CONTENT_POSITION",
+ "TARGETING_TYPE_OMID"
],
"enumDescriptions": [
"Default value when type is not specified or is unknown in this version.",
@@ -2089,7 +2110,10 @@
"Purchase impressions from a group of deals and auction packages.",
"Purchase impressions from specific exchanges.",
"Purchase impressions from specific sub-exchanges.",
- "Target ads to a specific native content position."
+ "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.",
+ "Target ads around locations of a business chain within a specific geo region.",
+ "Target ads to a specific native content position.",
+ "Target ads in an Open Measurement enabled inventory."
],
"location": "path",
"pattern": "^[^/]+$",
@@ -2594,7 +2618,10 @@
"TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
"TARGETING_TYPE_EXCHANGE",
"TARGETING_TYPE_SUB_EXCHANGE",
- "TARGETING_TYPE_NATIVE_CONTENT_POSITION"
+ "TARGETING_TYPE_POI",
+ "TARGETING_TYPE_BUSINESS_CHAIN",
+ "TARGETING_TYPE_NATIVE_CONTENT_POSITION",
+ "TARGETING_TYPE_OMID"
],
"enumDescriptions": [
"Default value when type is not specified or is unknown in this version.",
@@ -2635,7 +2662,10 @@
"Purchase impressions from a group of deals and auction packages.",
"Purchase impressions from specific exchanges.",
"Purchase impressions from specific sub-exchanges.",
- "Target ads to a specific native content position."
+ "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.",
+ "Target ads around locations of a business chain within a specific geo region.",
+ "Target ads to a specific native content position.",
+ "Target ads in an Open Measurement enabled inventory."
],
"location": "path",
"pattern": "^[^/]+$",
@@ -2730,7 +2760,10 @@
"TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
"TARGETING_TYPE_EXCHANGE",
"TARGETING_TYPE_SUB_EXCHANGE",
- "TARGETING_TYPE_NATIVE_CONTENT_POSITION"
+ "TARGETING_TYPE_POI",
+ "TARGETING_TYPE_BUSINESS_CHAIN",
+ "TARGETING_TYPE_NATIVE_CONTENT_POSITION",
+ "TARGETING_TYPE_OMID"
],
"enumDescriptions": [
"Default value when type is not specified or is unknown in this version.",
@@ -2771,7 +2804,10 @@
"Purchase impressions from a group of deals and auction packages.",
"Purchase impressions from specific exchanges.",
"Purchase impressions from specific sub-exchanges.",
- "Target ads to a specific native content position."
+ "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.",
+ "Target ads around locations of a business chain within a specific geo region.",
+ "Target ads to a specific native content position.",
+ "Target ads in an Open Measurement enabled inventory."
],
"location": "path",
"pattern": "^[^/]+$",
@@ -2863,7 +2899,10 @@
"TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
"TARGETING_TYPE_EXCHANGE",
"TARGETING_TYPE_SUB_EXCHANGE",
- "TARGETING_TYPE_NATIVE_CONTENT_POSITION"
+ "TARGETING_TYPE_POI",
+ "TARGETING_TYPE_BUSINESS_CHAIN",
+ "TARGETING_TYPE_NATIVE_CONTENT_POSITION",
+ "TARGETING_TYPE_OMID"
],
"enumDescriptions": [
"Default value when type is not specified or is unknown in this version.",
@@ -2904,7 +2943,10 @@
"Purchase impressions from a group of deals and auction packages.",
"Purchase impressions from specific exchanges.",
"Purchase impressions from specific sub-exchanges.",
- "Target ads to a specific native content position."
+ "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.",
+ "Target ads around locations of a business chain within a specific geo region.",
+ "Target ads to a specific native content position.",
+ "Target ads in an Open Measurement enabled inventory."
],
"location": "path",
"pattern": "^[^/]+$",
@@ -3009,7 +3051,10 @@
"TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
"TARGETING_TYPE_EXCHANGE",
"TARGETING_TYPE_SUB_EXCHANGE",
- "TARGETING_TYPE_NATIVE_CONTENT_POSITION"
+ "TARGETING_TYPE_POI",
+ "TARGETING_TYPE_BUSINESS_CHAIN",
+ "TARGETING_TYPE_NATIVE_CONTENT_POSITION",
+ "TARGETING_TYPE_OMID"
],
"enumDescriptions": [
"Default value when type is not specified or is unknown in this version.",
@@ -3050,7 +3095,10 @@
"Purchase impressions from a group of deals and auction packages.",
"Purchase impressions from specific exchanges.",
"Purchase impressions from specific sub-exchanges.",
- "Target ads to a specific native content position."
+ "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.",
+ "Target ads around locations of a business chain within a specific geo region.",
+ "Target ads to a specific native content position.",
+ "Target ads in an Open Measurement enabled inventory."
],
"location": "path",
"pattern": "^[^/]+$",
@@ -4061,7 +4109,7 @@
"type": "string"
},
"targetingType": {
- "description": "Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`",
+ "description": "Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`",
"enum": [
"TARGETING_TYPE_UNSPECIFIED",
"TARGETING_TYPE_CHANNEL",
@@ -4101,7 +4149,10 @@
"TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
"TARGETING_TYPE_EXCHANGE",
"TARGETING_TYPE_SUB_EXCHANGE",
- "TARGETING_TYPE_NATIVE_CONTENT_POSITION"
+ "TARGETING_TYPE_POI",
+ "TARGETING_TYPE_BUSINESS_CHAIN",
+ "TARGETING_TYPE_NATIVE_CONTENT_POSITION",
+ "TARGETING_TYPE_OMID"
],
"enumDescriptions": [
"Default value when type is not specified or is unknown in this version.",
@@ -4142,7 +4193,10 @@
"Purchase impressions from a group of deals and auction packages.",
"Purchase impressions from specific exchanges.",
"Purchase impressions from specific sub-exchanges.",
- "Target ads to a specific native content position."
+ "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.",
+ "Target ads around locations of a business chain within a specific geo region.",
+ "Target ads to a specific native content position.",
+ "Target ads in an Open Measurement enabled inventory."
],
"location": "path",
"pattern": "^[^/]+$",
@@ -4188,7 +4242,7 @@
"type": "string"
},
"targetingType": {
- "description": "Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`",
+ "description": "Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`",
"enum": [
"TARGETING_TYPE_UNSPECIFIED",
"TARGETING_TYPE_CHANNEL",
@@ -4228,7 +4282,10 @@
"TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
"TARGETING_TYPE_EXCHANGE",
"TARGETING_TYPE_SUB_EXCHANGE",
- "TARGETING_TYPE_NATIVE_CONTENT_POSITION"
+ "TARGETING_TYPE_POI",
+ "TARGETING_TYPE_BUSINESS_CHAIN",
+ "TARGETING_TYPE_NATIVE_CONTENT_POSITION",
+ "TARGETING_TYPE_OMID"
],
"enumDescriptions": [
"Default value when type is not specified or is unknown in this version.",
@@ -4269,7 +4326,10 @@
"Purchase impressions from a group of deals and auction packages.",
"Purchase impressions from specific exchanges.",
"Purchase impressions from specific sub-exchanges.",
- "Target ads to a specific native content position."
+ "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.",
+ "Target ads around locations of a business chain within a specific geo region.",
+ "Target ads to a specific native content position.",
+ "Target ads in an Open Measurement enabled inventory."
],
"location": "path",
"pattern": "^[^/]+$",
@@ -4312,7 +4372,7 @@
"type": "string"
},
"targetingType": {
- "description": "Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`",
+ "description": "Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`",
"enum": [
"TARGETING_TYPE_UNSPECIFIED",
"TARGETING_TYPE_CHANNEL",
@@ -4352,7 +4412,10 @@
"TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
"TARGETING_TYPE_EXCHANGE",
"TARGETING_TYPE_SUB_EXCHANGE",
- "TARGETING_TYPE_NATIVE_CONTENT_POSITION"
+ "TARGETING_TYPE_POI",
+ "TARGETING_TYPE_BUSINESS_CHAIN",
+ "TARGETING_TYPE_NATIVE_CONTENT_POSITION",
+ "TARGETING_TYPE_OMID"
],
"enumDescriptions": [
"Default value when type is not specified or is unknown in this version.",
@@ -4393,7 +4456,10 @@
"Purchase impressions from a group of deals and auction packages.",
"Purchase impressions from specific exchanges.",
"Purchase impressions from specific sub-exchanges.",
- "Target ads to a specific native content position."
+ "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.",
+ "Target ads around locations of a business chain within a specific geo region.",
+ "Target ads to a specific native content position.",
+ "Target ads in an Open Measurement enabled inventory."
],
"location": "path",
"pattern": "^[^/]+$",
@@ -4449,7 +4515,7 @@
"type": "string"
},
"targetingType": {
- "description": "Required. Identifies the type of assigned targeting options to list. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`",
+ "description": "Required. Identifies the type of assigned targeting options to list. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`",
"enum": [
"TARGETING_TYPE_UNSPECIFIED",
"TARGETING_TYPE_CHANNEL",
@@ -4489,7 +4555,10 @@
"TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
"TARGETING_TYPE_EXCHANGE",
"TARGETING_TYPE_SUB_EXCHANGE",
- "TARGETING_TYPE_NATIVE_CONTENT_POSITION"
+ "TARGETING_TYPE_POI",
+ "TARGETING_TYPE_BUSINESS_CHAIN",
+ "TARGETING_TYPE_NATIVE_CONTENT_POSITION",
+ "TARGETING_TYPE_OMID"
],
"enumDescriptions": [
"Default value when type is not specified or is unknown in this version.",
@@ -4530,7 +4599,10 @@
"Purchase impressions from a group of deals and auction packages.",
"Purchase impressions from specific exchanges.",
"Purchase impressions from specific sub-exchanges.",
- "Target ads to a specific native content position."
+ "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.",
+ "Target ads around locations of a business chain within a specific geo region.",
+ "Target ads to a specific native content position.",
+ "Target ads in an Open Measurement enabled inventory."
],
"location": "path",
"pattern": "^[^/]+$",
@@ -6149,7 +6221,10 @@
"TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
"TARGETING_TYPE_EXCHANGE",
"TARGETING_TYPE_SUB_EXCHANGE",
- "TARGETING_TYPE_NATIVE_CONTENT_POSITION"
+ "TARGETING_TYPE_POI",
+ "TARGETING_TYPE_BUSINESS_CHAIN",
+ "TARGETING_TYPE_NATIVE_CONTENT_POSITION",
+ "TARGETING_TYPE_OMID"
],
"enumDescriptions": [
"Default value when type is not specified or is unknown in this version.",
@@ -6190,7 +6265,10 @@
"Purchase impressions from a group of deals and auction packages.",
"Purchase impressions from specific exchanges.",
"Purchase impressions from specific sub-exchanges.",
- "Target ads to a specific native content position."
+ "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.",
+ "Target ads around locations of a business chain within a specific geo region.",
+ "Target ads to a specific native content position.",
+ "Target ads in an Open Measurement enabled inventory."
],
"location": "path",
"pattern": "^[^/]+$",
@@ -6276,7 +6354,10 @@
"TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
"TARGETING_TYPE_EXCHANGE",
"TARGETING_TYPE_SUB_EXCHANGE",
- "TARGETING_TYPE_NATIVE_CONTENT_POSITION"
+ "TARGETING_TYPE_POI",
+ "TARGETING_TYPE_BUSINESS_CHAIN",
+ "TARGETING_TYPE_NATIVE_CONTENT_POSITION",
+ "TARGETING_TYPE_OMID"
],
"enumDescriptions": [
"Default value when type is not specified or is unknown in this version.",
@@ -6317,7 +6398,10 @@
"Purchase impressions from a group of deals and auction packages.",
"Purchase impressions from specific exchanges.",
"Purchase impressions from specific sub-exchanges.",
- "Target ads to a specific native content position."
+ "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.",
+ "Target ads around locations of a business chain within a specific geo region.",
+ "Target ads to a specific native content position.",
+ "Target ads in an Open Measurement enabled inventory."
],
"location": "path",
"pattern": "^[^/]+$",
@@ -6400,7 +6484,10 @@
"TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
"TARGETING_TYPE_EXCHANGE",
"TARGETING_TYPE_SUB_EXCHANGE",
- "TARGETING_TYPE_NATIVE_CONTENT_POSITION"
+ "TARGETING_TYPE_POI",
+ "TARGETING_TYPE_BUSINESS_CHAIN",
+ "TARGETING_TYPE_NATIVE_CONTENT_POSITION",
+ "TARGETING_TYPE_OMID"
],
"enumDescriptions": [
"Default value when type is not specified or is unknown in this version.",
@@ -6441,7 +6528,10 @@
"Purchase impressions from a group of deals and auction packages.",
"Purchase impressions from specific exchanges.",
"Purchase impressions from specific sub-exchanges.",
- "Target ads to a specific native content position."
+ "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.",
+ "Target ads around locations of a business chain within a specific geo region.",
+ "Target ads to a specific native content position.",
+ "Target ads in an Open Measurement enabled inventory."
],
"location": "path",
"pattern": "^[^/]+$",
@@ -6537,7 +6627,10 @@
"TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
"TARGETING_TYPE_EXCHANGE",
"TARGETING_TYPE_SUB_EXCHANGE",
- "TARGETING_TYPE_NATIVE_CONTENT_POSITION"
+ "TARGETING_TYPE_POI",
+ "TARGETING_TYPE_BUSINESS_CHAIN",
+ "TARGETING_TYPE_NATIVE_CONTENT_POSITION",
+ "TARGETING_TYPE_OMID"
],
"enumDescriptions": [
"Default value when type is not specified or is unknown in this version.",
@@ -6578,7 +6671,10 @@
"Purchase impressions from a group of deals and auction packages.",
"Purchase impressions from specific exchanges.",
"Purchase impressions from specific sub-exchanges.",
- "Target ads to a specific native content position."
+ "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.",
+ "Target ads around locations of a business chain within a specific geo region.",
+ "Target ads to a specific native content position.",
+ "Target ads in an Open Measurement enabled inventory."
],
"location": "path",
"pattern": "^[^/]+$",
@@ -6722,7 +6818,10 @@
"TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
"TARGETING_TYPE_EXCHANGE",
"TARGETING_TYPE_SUB_EXCHANGE",
- "TARGETING_TYPE_NATIVE_CONTENT_POSITION"
+ "TARGETING_TYPE_POI",
+ "TARGETING_TYPE_BUSINESS_CHAIN",
+ "TARGETING_TYPE_NATIVE_CONTENT_POSITION",
+ "TARGETING_TYPE_OMID"
],
"enumDescriptions": [
"Default value when type is not specified or is unknown in this version.",
@@ -6763,7 +6862,10 @@
"Purchase impressions from a group of deals and auction packages.",
"Purchase impressions from specific exchanges.",
"Purchase impressions from specific sub-exchanges.",
- "Target ads to a specific native content position."
+ "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.",
+ "Target ads around locations of a business chain within a specific geo region.",
+ "Target ads to a specific native content position.",
+ "Target ads in an Open Measurement enabled inventory."
],
"location": "path",
"pattern": "^[^/]+$",
@@ -6856,7 +6958,10 @@
"TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
"TARGETING_TYPE_EXCHANGE",
"TARGETING_TYPE_SUB_EXCHANGE",
- "TARGETING_TYPE_NATIVE_CONTENT_POSITION"
+ "TARGETING_TYPE_POI",
+ "TARGETING_TYPE_BUSINESS_CHAIN",
+ "TARGETING_TYPE_NATIVE_CONTENT_POSITION",
+ "TARGETING_TYPE_OMID"
],
"enumDescriptions": [
"Default value when type is not specified or is unknown in this version.",
@@ -6897,7 +7002,10 @@
"Purchase impressions from a group of deals and auction packages.",
"Purchase impressions from specific exchanges.",
"Purchase impressions from specific sub-exchanges.",
- "Target ads to a specific native content position."
+ "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.",
+ "Target ads around locations of a business chain within a specific geo region.",
+ "Target ads to a specific native content position.",
+ "Target ads in an Open Measurement enabled inventory."
],
"location": "path",
"pattern": "^[^/]+$",
@@ -6923,7 +7031,7 @@
],
"parameters": {
"targetingType": {
- "description": "Required. The type of targeting options to retrieve. Accepted values are: * `TARGETING_TYPE_GEO_REGION`",
+ "description": "Required. The type of targeting options to retrieve. Accepted values are: * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_POI` * `TARGETING_TYPE_BUSINESS_CHAIN`",
"enum": [
"TARGETING_TYPE_UNSPECIFIED",
"TARGETING_TYPE_CHANNEL",
@@ -6963,7 +7071,10 @@
"TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
"TARGETING_TYPE_EXCHANGE",
"TARGETING_TYPE_SUB_EXCHANGE",
- "TARGETING_TYPE_NATIVE_CONTENT_POSITION"
+ "TARGETING_TYPE_POI",
+ "TARGETING_TYPE_BUSINESS_CHAIN",
+ "TARGETING_TYPE_NATIVE_CONTENT_POSITION",
+ "TARGETING_TYPE_OMID"
],
"enumDescriptions": [
"Default value when type is not specified or is unknown in this version.",
@@ -7004,7 +7115,10 @@
"Purchase impressions from a group of deals and auction packages.",
"Purchase impressions from specific exchanges.",
"Purchase impressions from specific sub-exchanges.",
- "Target ads to a specific native content position."
+ "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.",
+ "Target ads around locations of a business chain within a specific geo region.",
+ "Target ads to a specific native content position.",
+ "Target ads in an Open Measurement enabled inventory."
],
"location": "path",
"pattern": "^[^/]+$",
@@ -7203,7 +7317,7 @@
}
}
},
- "revision": "20210708",
+ "revision": "20210722",
"rootUrl": "https://displayvideo.googleapis.com/",
"schemas": {
"ActivateManualTriggerRequest": {
@@ -7836,6 +7950,10 @@
"$ref": "BrowserAssignedTargetingOptionDetails",
"description": "Browser details. This field will be populated when the targeting_type is `TARGETING_TYPE_BROWSER`."
},
+ "businessChainDetails": {
+ "$ref": "BusinessChainAssignedTargetingOptionDetails",
+ "description": "Business chain details. This field will be populated when the targeting_type is `TARGETING_TYPE_BUSINESS_CHAIN`."
+ },
"carrierAndIspDetails": {
"$ref": "CarrierAndIspAssignedTargetingOptionDetails",
"description": "Carrier and ISP details. This field will be populated when the targeting_type is `TARGETING_TYPE_CARRIER_AND_ISP`."
@@ -7938,6 +8056,10 @@
"$ref": "NegativeKeywordListAssignedTargetingOptionDetails",
"description": "Keyword details. This field will be populated when the targeting_type is `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST`. A maximum of 4 negative keyword lists can be assigned to a resource."
},
+ "omidDetails": {
+ "$ref": "OmidAssignedTargetingOptionDetails",
+ "description": "Open Measurement enabled inventory details. This field will be populated when the targeting_type is `TARGETING_TYPE_OMID`."
+ },
"onScreenPositionDetails": {
"$ref": "OnScreenPositionAssignedTargetingOptionDetails",
"description": "On screen position details. This field will be populated when the targeting_type is `TARGETING_TYPE_ON_SCREEN_POSITION`."
@@ -7950,6 +8072,10 @@
"$ref": "ParentalStatusAssignedTargetingOptionDetails",
"description": "Parental status details. This field will be populated when the targeting_type is `TARGETING_TYPE_PARENTAL_STATUS`."
},
+ "poiDetails": {
+ "$ref": "PoiAssignedTargetingOptionDetails",
+ "description": "POI details. This field will be populated when the targeting_type is `TARGETING_TYPE_POI`."
+ },
"proximityLocationListDetails": {
"$ref": "ProximityLocationListAssignedTargetingOptionDetails",
"description": "Proximity location list details. This field will be populated when the targeting_type is `TARGETING_TYPE_PROXIMITY_LOCATION_LIST`."
@@ -8007,7 +8133,10 @@
"TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
"TARGETING_TYPE_EXCHANGE",
"TARGETING_TYPE_SUB_EXCHANGE",
- "TARGETING_TYPE_NATIVE_CONTENT_POSITION"
+ "TARGETING_TYPE_POI",
+ "TARGETING_TYPE_BUSINESS_CHAIN",
+ "TARGETING_TYPE_NATIVE_CONTENT_POSITION",
+ "TARGETING_TYPE_OMID"
],
"enumDescriptions": [
"Default value when type is not specified or is unknown in this version.",
@@ -8048,7 +8177,10 @@
"Purchase impressions from a group of deals and auction packages.",
"Purchase impressions from specific exchanges.",
"Purchase impressions from specific sub-exchanges.",
- "Target ads to a specific native content position."
+ "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.",
+ "Target ads around locations of a business chain within a specific geo region.",
+ "Target ads to a specific native content position.",
+ "Target ads in an Open Measurement enabled inventory."
],
"readOnly": true,
"type": "string"
@@ -8362,14 +8494,14 @@
"id": "BulkEditAdvertiserAssignedTargetingOptionsRequest",
"properties": {
"createRequests": {
- "description": "The assigned targeting options to create in batch, specified as a list of `CreateAssignedTargetingOptionsRequest`. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`",
+ "description": "The assigned targeting options to create in batch, specified as a list of `CreateAssignedTargetingOptionsRequest`. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`",
"items": {
"$ref": "CreateAssignedTargetingOptionsRequest"
},
"type": "array"
},
"deleteRequests": {
- "description": "The assigned targeting options to delete in batch, specified as a list of `DeleteAssignedTargetingOptionsRequest`. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`",
+ "description": "The assigned targeting options to delete in batch, specified as a list of `DeleteAssignedTargetingOptionsRequest`. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`",
"items": {
"$ref": "DeleteAssignedTargetingOptionsRequest"
},
@@ -8725,6 +8857,140 @@
},
"type": "object"
},
+ "BusinessChainAssignedTargetingOptionDetails": {
+ "description": "Details for assigned Business chain targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_BUSINESS_CHAIN`.",
+ "id": "BusinessChainAssignedTargetingOptionDetails",
+ "properties": {
+ "displayName": {
+ "description": "Output only. The display name of a business chain, e.g. \"KFC\", \"Chase Bank\".",
+ "readOnly": true,
+ "type": "string"
+ },
+ "proximityRadiusAmount": {
+ "description": "Required. The radius of the area around the business chain that will be targeted. The units of the radius are specified by proximity_radius_unit. Must be 1 to 800 if unit is `DISTANCE_UNIT_KILOMETERS` and 1 to 500 if unit is `DISTANCE_UNIT_MILES`. The minimum increment for both cases is 0.1. Inputs will be rounded to the nearest acceptable value if it is too granular, e.g. 15.57 will become 15.6.",
+ "format": "double",
+ "type": "number"
+ },
+ "proximityRadiusUnit": {
+ "description": "Required. The unit of distance by which the targeting radius is measured.",
+ "enum": [
+ "DISTANCE_UNIT_UNSPECIFIED",
+ "DISTANCE_UNIT_MILES",
+ "DISTANCE_UNIT_KILOMETERS"
+ ],
+ "enumDescriptions": [
+ "Type value is not specified or is unknown in this version.",
+ "Miles.",
+ "Kilometers."
+ ],
+ "type": "string"
+ },
+ "targetingOptionId": {
+ "description": "Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_BUSINESS_CHAIN`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "BusinessChainSearchTerms": {
+ "description": "Search terms for Business Chain targeting options. At least one of the field should be populated.",
+ "id": "BusinessChainSearchTerms",
+ "properties": {
+ "businessChain": {
+ "description": "The search query for the desired business chain. The query can be a prefix, e.g. \"KFC\", \"mercede\".",
+ "type": "string"
+ },
+ "region": {
+ "description": "The search query for the desired geo region, e.g. \"Seattle\", \"United State\".",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "BusinessChainTargetingOptionDetails": {
+ "description": "Represents a targetable business chain within a geo region. This will be populated in the business_chain_details field when targeting_type is `TARGETING_TYPE_BUSINESS_CHAIN`.",
+ "id": "BusinessChainTargetingOptionDetails",
+ "properties": {
+ "businessChain": {
+ "description": "Output only. The display name of the business chain, e.g. \"KFC\", \"Chase Bank\".",
+ "readOnly": true,
+ "type": "string"
+ },
+ "geoRegion": {
+ "description": "Output only. The display name of the geographic region, e.g. \"Ontario, Canada\".",
+ "readOnly": true,
+ "type": "string"
+ },
+ "geoRegionType": {
+ "description": "Output only. The type of the geographic region.",
+ "enum": [
+ "GEO_REGION_TYPE_UNKNOWN",
+ "GEO_REGION_TYPE_OTHER",
+ "GEO_REGION_TYPE_COUNTRY",
+ "GEO_REGION_TYPE_REGION",
+ "GEO_REGION_TYPE_TERRITORY",
+ "GEO_REGION_TYPE_PROVINCE",
+ "GEO_REGION_TYPE_STATE",
+ "GEO_REGION_TYPE_PREFECTURE",
+ "GEO_REGION_TYPE_GOVERNORATE",
+ "GEO_REGION_TYPE_CANTON",
+ "GEO_REGION_TYPE_UNION_TERRITORY",
+ "GEO_REGION_TYPE_AUTONOMOUS_COMMUNITY",
+ "GEO_REGION_TYPE_DMA_REGION",
+ "GEO_REGION_TYPE_METRO",
+ "GEO_REGION_TYPE_CONGRESSIONAL_DISTRICT",
+ "GEO_REGION_TYPE_COUNTY",
+ "GEO_REGION_TYPE_MUNICIPALITY",
+ "GEO_REGION_TYPE_CITY",
+ "GEO_REGION_TYPE_POSTAL_CODE",
+ "GEO_REGION_TYPE_DEPARTMENT",
+ "GEO_REGION_TYPE_AIRPORT",
+ "GEO_REGION_TYPE_TV_REGION",
+ "GEO_REGION_TYPE_OKRUG",
+ "GEO_REGION_TYPE_BOROUGH",
+ "GEO_REGION_TYPE_CITY_REGION",
+ "GEO_REGION_TYPE_ARRONDISSEMENT",
+ "GEO_REGION_TYPE_NEIGHBORHOOD",
+ "GEO_REGION_TYPE_UNIVERSITY",
+ "GEO_REGION_TYPE_DISTRICT"
+ ],
+ "enumDescriptions": [
+ "The geographic region type is unknown.",
+ "The geographic region type is other.",
+ "The geographic region is a country.",
+ "The geographic region type is region.",
+ "The geographic region is a territory.",
+ "The geographic region is a province.",
+ "The geographic region is a state.",
+ "The geographic region is a prefecture.",
+ "The geographic region is a governorate.",
+ "The geographic region is a canton.",
+ "The geographic region is a union territory.",
+ "The geographic region is an autonomous community.",
+ "The geographic region is a designated market area (DMA) region.",
+ "The geographic region type is metro.",
+ "The geographic region is a congressional district.",
+ "The geographic region is a county.",
+ "The geographic region is a municipality.",
+ "The geographic region is a city.",
+ "The geographic region targeting type is postal code.",
+ "The geographic region targeting type is department.",
+ "The geographic region is an airport.",
+ "The geographic region is a TV region.",
+ "The geographic region is an okrug.",
+ "The geographic region is a borough.",
+ "The geographic region is a city region.",
+ "The geographic region is an arrondissement.",
+ "The geographic region is a neighborhood.",
+ "The geographic region is a university.",
+ "The geographic region is a district."
+ ],
+ "readOnly": true,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"Campaign": {
"description": "A single campaign.",
"id": "Campaign",
@@ -9413,7 +9679,10 @@
"TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
"TARGETING_TYPE_EXCHANGE",
"TARGETING_TYPE_SUB_EXCHANGE",
- "TARGETING_TYPE_NATIVE_CONTENT_POSITION"
+ "TARGETING_TYPE_POI",
+ "TARGETING_TYPE_BUSINESS_CHAIN",
+ "TARGETING_TYPE_NATIVE_CONTENT_POSITION",
+ "TARGETING_TYPE_OMID"
],
"enumDescriptions": [
"Default value when type is not specified or is unknown in this version.",
@@ -9454,7 +9723,10 @@
"Purchase impressions from a group of deals and auction packages.",
"Purchase impressions from specific exchanges.",
"Purchase impressions from specific sub-exchanges.",
- "Target ads to a specific native content position."
+ "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.",
+ "Target ads around locations of a business chain within a specific geo region.",
+ "Target ads to a specific native content position.",
+ "Target ads in an Open Measurement enabled inventory."
],
"type": "string"
}
@@ -10192,7 +10464,10 @@
"TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
"TARGETING_TYPE_EXCHANGE",
"TARGETING_TYPE_SUB_EXCHANGE",
- "TARGETING_TYPE_NATIVE_CONTENT_POSITION"
+ "TARGETING_TYPE_POI",
+ "TARGETING_TYPE_BUSINESS_CHAIN",
+ "TARGETING_TYPE_NATIVE_CONTENT_POSITION",
+ "TARGETING_TYPE_OMID"
],
"enumDescriptions": [
"Default value when type is not specified or is unknown in this version.",
@@ -10233,7 +10508,10 @@
"Purchase impressions from a group of deals and auction packages.",
"Purchase impressions from specific exchanges.",
"Purchase impressions from specific sub-exchanges.",
- "Target ads to a specific native content position."
+ "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.",
+ "Target ads around locations of a business chain within a specific geo region.",
+ "Target ads to a specific native content position.",
+ "Target ads in an Open Measurement enabled inventory."
],
"type": "string"
}
@@ -14276,6 +14554,50 @@
},
"type": "object"
},
+ "OmidAssignedTargetingOptionDetails": {
+ "description": "Represents a targetable Open Measurement enabled inventory type. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_OMID`.",
+ "id": "OmidAssignedTargetingOptionDetails",
+ "properties": {
+ "omid": {
+ "description": "Output only. The type of Open Measurement enabled inventory.",
+ "enum": [
+ "OMID_UNSPECIFIED",
+ "OMID_FOR_MOBILE_DISPLAY_ADS"
+ ],
+ "enumDescriptions": [
+ "Default value when omid targeting is not specified in this version.",
+ "Open Measurement enabled mobile display inventory."
+ ],
+ "readOnly": true,
+ "type": "string"
+ },
+ "targetingOptionId": {
+ "description": "Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_OMID`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "OmidTargetingOptionDetails": {
+ "description": "Represents a targetable Open Measurement enabled inventory type. This will be populated in the omid_details field when targeting_type is `TARGETING_TYPE_OMID`.",
+ "id": "OmidTargetingOptionDetails",
+ "properties": {
+ "omid": {
+ "description": "Output only. The type of Open Measurement enabled inventory.",
+ "enum": [
+ "OMID_UNSPECIFIED",
+ "OMID_FOR_MOBILE_DISPLAY_ADS"
+ ],
+ "enumDescriptions": [
+ "Default value when omid targeting is not specified in this version.",
+ "Open Measurement enabled mobile display inventory."
+ ],
+ "readOnly": true,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"OnScreenPositionAssignedTargetingOptionDetails": {
"description": "On screen position targeting option details. This will be populated in the on_screen_position_details field when targeting_type is `TARGETING_TYPE_ON_SCREEN_POSITION`.",
"id": "OnScreenPositionAssignedTargetingOptionDetails",
@@ -14921,6 +15243,88 @@
},
"type": "object"
},
+ "PoiAssignedTargetingOptionDetails": {
+ "description": "Details for assigned POI targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_POI`.",
+ "id": "PoiAssignedTargetingOptionDetails",
+ "properties": {
+ "displayName": {
+ "description": "Output only. The display name of a POI, e.g. \"Times Square\", \"Space Needle\".",
+ "readOnly": true,
+ "type": "string"
+ },
+ "latitude": {
+ "description": "Output only. Latitude of the POI rounding to 6th decimal place.",
+ "format": "double",
+ "readOnly": true,
+ "type": "number"
+ },
+ "longitude": {
+ "description": "Output only. Longitude of the POI rounding to 6th decimal place.",
+ "format": "double",
+ "readOnly": true,
+ "type": "number"
+ },
+ "proximityRadiusAmount": {
+ "description": "Required. The radius of the area around the POI that will be targeted. The units of the radius are specified by proximity_radius_unit. Must be 1 to 800 if unit is `DISTANCE_UNIT_KILOMETERS` and 1 to 500 if unit is `DISTANCE_UNIT_MILES`.",
+ "format": "double",
+ "type": "number"
+ },
+ "proximityRadiusUnit": {
+ "description": "Required. The unit of distance by which the targeting radius is measured.",
+ "enum": [
+ "DISTANCE_UNIT_UNSPECIFIED",
+ "DISTANCE_UNIT_MILES",
+ "DISTANCE_UNIT_KILOMETERS"
+ ],
+ "enumDescriptions": [
+ "Type value is not specified or is unknown in this version.",
+ "Miles.",
+ "Kilometers."
+ ],
+ "type": "string"
+ },
+ "targetingOptionId": {
+ "description": "Input only. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_POI`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "PoiSearchTerms": {
+ "description": "Search terms for POI targeting options.",
+ "id": "PoiSearchTerms",
+ "properties": {
+ "poiQuery": {
+ "description": "The search query for the desired POI name, street address, or coordinate of the desired POI. The query can be a prefix, e.g. \"Times squar\", \"40.7505045,-73.99562\", \"315 W 44th St\", etc.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "PoiTargetingOptionDetails": {
+ "description": "Represents a targetable point of interest(POI). This will be populated in the poi_details field when targeting_type is `TARGETING_TYPE_POI`.",
+ "id": "PoiTargetingOptionDetails",
+ "properties": {
+ "displayName": {
+ "description": "Output only. The display name of a POI, e.g. \"Times Square\", \"Space Needle\".",
+ "readOnly": true,
+ "type": "string"
+ },
+ "latitude": {
+ "description": "Output only. Latitude of the POI rounding to 6th decimal place.",
+ "format": "double",
+ "readOnly": true,
+ "type": "number"
+ },
+ "longitude": {
+ "description": "Output only. Longitude of the POI rounding to 6th decimal place.",
+ "format": "double",
+ "readOnly": true,
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
"PrismaConfig": {
"description": "Settings specific to the Mediaocean Prisma tool.",
"id": "PrismaConfig",
@@ -15324,6 +15728,10 @@
"format": "int64",
"type": "string"
},
+ "businessChainSearchTerms": {
+ "$ref": "BusinessChainSearchTerms",
+ "description": "Search terms for Business Chain targeting options. Can only be used when targeting_type is `TARGETING_TYPE_BUSINESS_CHAIN`."
+ },
"geoRegionSearchTerms": {
"$ref": "GeoRegionSearchTerms",
"description": "Search terms for geo region targeting options. Can only be used when targeting_type is `TARGETING_TYPE_GEO_REGION`."
@@ -15336,6 +15744,10 @@
"pageToken": {
"description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `SearchTargetingOptions` method. If not specified, the first page of results will be returned.",
"type": "string"
+ },
+ "poiSearchTerms": {
+ "$ref": "PoiSearchTerms",
+ "description": "Search terms for POI targeting options. Can only be used when targeting_type is `TARGETING_TYPE_POI`."
}
},
"type": "object"
@@ -15585,6 +15997,10 @@
"$ref": "BrowserTargetingOptionDetails",
"description": "Browser details."
},
+ "businessChainDetails": {
+ "$ref": "BusinessChainTargetingOptionDetails",
+ "description": "Business chain resource details."
+ },
"carrierAndIspDetails": {
"$ref": "CarrierAndIspTargetingOptionDetails",
"description": "Carrier and ISP details."
@@ -15646,6 +16062,10 @@
"$ref": "NativeContentPositionTargetingOptionDetails",
"description": "Native content position details."
},
+ "omidDetails": {
+ "$ref": "OmidTargetingOptionDetails",
+ "description": "Open Measurement enabled inventory details."
+ },
"onScreenPositionDetails": {
"$ref": "OnScreenPositionTargetingOptionDetails",
"description": "On screen position details."
@@ -15658,6 +16078,10 @@
"$ref": "ParentalStatusTargetingOptionDetails",
"description": "Parental status details."
},
+ "poiDetails": {
+ "$ref": "PoiTargetingOptionDetails",
+ "description": "POI resource details."
+ },
"sensitiveCategoryDetails": {
"$ref": "SensitiveCategoryTargetingOptionDetails",
"description": "Sensitive Category details."
@@ -15712,7 +16136,10 @@
"TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
"TARGETING_TYPE_EXCHANGE",
"TARGETING_TYPE_SUB_EXCHANGE",
- "TARGETING_TYPE_NATIVE_CONTENT_POSITION"
+ "TARGETING_TYPE_POI",
+ "TARGETING_TYPE_BUSINESS_CHAIN",
+ "TARGETING_TYPE_NATIVE_CONTENT_POSITION",
+ "TARGETING_TYPE_OMID"
],
"enumDescriptions": [
"Default value when type is not specified or is unknown in this version.",
@@ -15753,7 +16180,10 @@
"Purchase impressions from a group of deals and auction packages.",
"Purchase impressions from specific exchanges.",
"Purchase impressions from specific sub-exchanges.",
- "Target ads to a specific native content position."
+ "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.",
+ "Target ads around locations of a business chain within a specific geo region.",
+ "Target ads to a specific native content position.",
+ "Target ads in an Open Measurement enabled inventory."
],
"readOnly": true,
"type": "string"
diff --git a/googleapiclient/discovery_cache/documents/dlp.v2.json b/googleapiclient/discovery_cache/documents/dlp.v2.json
index 951b53a92..fc70e2833 100644
--- a/googleapiclient/discovery_cache/documents/dlp.v2.json
+++ b/googleapiclient/discovery_cache/documents/dlp.v2.json
@@ -3412,7 +3412,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210717",
"rootUrl": "https://dlp.googleapis.com/",
"schemas": {
"GooglePrivacyDlpV2Action": {
diff --git a/googleapiclient/discovery_cache/documents/dns.v1.json b/googleapiclient/discovery_cache/documents/dns.v1.json
index 08673fa1e..f7a872bfb 100644
--- a/googleapiclient/discovery_cache/documents/dns.v1.json
+++ b/googleapiclient/discovery_cache/documents/dns.v1.json
@@ -1235,7 +1235,7 @@
}
}
},
- "revision": "20210712",
+ "revision": "20210717",
"rootUrl": "https://dns.googleapis.com/",
"schemas": {
"Change": {
diff --git a/googleapiclient/discovery_cache/documents/dns.v1beta2.json b/googleapiclient/discovery_cache/documents/dns.v1beta2.json
index 2abb18245..fd029031a 100644
--- a/googleapiclient/discovery_cache/documents/dns.v1beta2.json
+++ b/googleapiclient/discovery_cache/documents/dns.v1beta2.json
@@ -1730,7 +1730,7 @@
}
}
},
- "revision": "20210712",
+ "revision": "20210717",
"rootUrl": "https://dns.googleapis.com/",
"schemas": {
"Change": {
@@ -2606,6 +2606,11 @@
"format": "int32",
"type": "integer"
},
+ "itemsPerRoutingPolicy": {
+ "description": "Maximum allowed number of items per routing policy.",
+ "format": "int32",
+ "type": "integer"
+ },
"kind": {
"default": "dns#quota",
"type": "string"
@@ -2690,6 +2695,124 @@
},
"type": "object"
},
+ "RRSetRoutingPolicy": {
+ "description": "A RRSetRoutingPolicy represents ResourceRecordSet data that is returned dynamically with the response varying based on configured properties such as geolocation or by weighted random selection.",
+ "id": "RRSetRoutingPolicy",
+ "properties": {
+ "geo": {
+ "$ref": "RRSetRoutingPolicyGeoPolicy"
+ },
+ "geoPolicy": {
+ "$ref": "RRSetRoutingPolicyGeoPolicy"
+ },
+ "kind": {
+ "default": "dns#rRSetRoutingPolicy",
+ "type": "string"
+ },
+ "wrr": {
+ "$ref": "RRSetRoutingPolicyWrrPolicy"
+ },
+ "wrrPolicy": {
+ "$ref": "RRSetRoutingPolicyWrrPolicy"
+ }
+ },
+ "type": "object"
+ },
+ "RRSetRoutingPolicyGeoPolicy": {
+ "id": "RRSetRoutingPolicyGeoPolicy",
+ "properties": {
+ "failovers": {
+ "description": "If the health check for the primary target for a geo location returns an unhealthy status, the failover target is returned instead. This failover configuration is not mandatory. If a failover is not provided, the primary target won't be healthchecked, and it returns the primarily configured rrdata irrespective of whether it is healthy or not.",
+ "items": {
+ "$ref": "RRSetRoutingPolicyGeoPolicyGeoPolicyItem"
+ },
+ "type": "array"
+ },
+ "items": {
+ "description": "The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.",
+ "items": {
+ "$ref": "RRSetRoutingPolicyGeoPolicyGeoPolicyItem"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "default": "dns#rRSetRoutingPolicyGeoPolicy",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "RRSetRoutingPolicyGeoPolicyGeoPolicyItem": {
+ "id": "RRSetRoutingPolicyGeoPolicyGeoPolicyItem",
+ "properties": {
+ "kind": {
+ "default": "dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem",
+ "type": "string"
+ },
+ "location": {
+ "description": "The geo-location granularity is a GCP region. This location string should correspond to a GCP region. e.g. \"us-east1\", \"southamerica-east1\", \"asia-east1\", etc.",
+ "type": "string"
+ },
+ "rrdatas": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "signatureRrdatas": {
+ "description": "DNSSEC generated signatures for the above geo_rrdata.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "RRSetRoutingPolicyWrrPolicy": {
+ "id": "RRSetRoutingPolicyWrrPolicy",
+ "properties": {
+ "items": {
+ "items": {
+ "$ref": "RRSetRoutingPolicyWrrPolicyWrrPolicyItem"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "default": "dns#rRSetRoutingPolicyWrrPolicy",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "RRSetRoutingPolicyWrrPolicyWrrPolicyItem": {
+ "id": "RRSetRoutingPolicyWrrPolicyWrrPolicyItem",
+ "properties": {
+ "kind": {
+ "default": "dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem",
+ "type": "string"
+ },
+ "rrdatas": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "signatureRrdatas": {
+ "description": "DNSSEC generated signatures for the above wrr_rrdata.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "weight": {
+ "description": "The weight corresponding to this subset of rrdata. When multiple WeightedRoundRobinPolicyItems are configured, the probability of returning an rrset is proportional to its weight relative to the sum of weights configured for all items. This weight should be non-negative.",
+ "format": "double",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
"ResourceRecordSet": {
"description": "A unit of data that is returned by the DNS servers.",
"id": "ResourceRecordSet",
@@ -2702,6 +2825,10 @@
"description": "For example, www.example.com.",
"type": "string"
},
+ "routingPolicy": {
+ "$ref": "RRSetRoutingPolicy",
+ "description": "Configures dynamic query responses based on geo location of querying user or a weighted round robin based routing policy. A ResourceRecordSet should only have either rrdata (static) or routing_policy (dynamic). An error is returned otherwise."
+ },
"rrdatas": {
"description": "As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.",
"items": {
diff --git a/googleapiclient/discovery_cache/documents/docs.v1.json b/googleapiclient/discovery_cache/documents/docs.v1.json
index 8bf365aa6..de77ebf2d 100644
--- a/googleapiclient/discovery_cache/documents/docs.v1.json
+++ b/googleapiclient/discovery_cache/documents/docs.v1.json
@@ -216,7 +216,7 @@
}
}
},
- "revision": "20210713",
+ "revision": "20210720",
"rootUrl": "https://docs.googleapis.com/",
"schemas": {
"AutoText": {
diff --git a/googleapiclient/discovery_cache/documents/documentai.v1.json b/googleapiclient/discovery_cache/documents/documentai.v1.json
index dca1ace63..33093ec6d 100644
--- a/googleapiclient/discovery_cache/documents/documentai.v1.json
+++ b/googleapiclient/discovery_cache/documents/documentai.v1.json
@@ -664,7 +664,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210719",
"rootUrl": "https://documentai.googleapis.com/",
"schemas": {
"GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata": {
diff --git a/googleapiclient/discovery_cache/documents/documentai.v1beta2.json b/googleapiclient/discovery_cache/documents/documentai.v1beta2.json
index f4ea60eeb..2458f7974 100644
--- a/googleapiclient/discovery_cache/documents/documentai.v1beta2.json
+++ b/googleapiclient/discovery_cache/documents/documentai.v1beta2.json
@@ -292,7 +292,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210719",
"rootUrl": "https://documentai.googleapis.com/",
"schemas": {
"GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata": {
diff --git a/googleapiclient/discovery_cache/documents/documentai.v1beta3.json b/googleapiclient/discovery_cache/documents/documentai.v1beta3.json
index 9b0fea77a..30e6d7e25 100644
--- a/googleapiclient/discovery_cache/documents/documentai.v1beta3.json
+++ b/googleapiclient/discovery_cache/documents/documentai.v1beta3.json
@@ -601,7 +601,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210719",
"rootUrl": "https://documentai.googleapis.com/",
"schemas": {
"GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata": {
diff --git a/googleapiclient/discovery_cache/documents/domains.v1alpha2.json b/googleapiclient/discovery_cache/documents/domains.v1alpha2.json
index fa335bafb..a02c427aa 100644
--- a/googleapiclient/discovery_cache/documents/domains.v1alpha2.json
+++ b/googleapiclient/discovery_cache/documents/domains.v1alpha2.json
@@ -721,7 +721,7 @@
}
}
},
- "revision": "20210629",
+ "revision": "20210717",
"rootUrl": "https://domains.googleapis.com/",
"schemas": {
"AuditConfig": {
diff --git a/googleapiclient/discovery_cache/documents/domainsrdap.v1.json b/googleapiclient/discovery_cache/documents/domainsrdap.v1.json
index b94d04d95..bdc45077b 100644
--- a/googleapiclient/discovery_cache/documents/domainsrdap.v1.json
+++ b/googleapiclient/discovery_cache/documents/domainsrdap.v1.json
@@ -289,7 +289,7 @@
}
}
},
- "revision": "20210719",
+ "revision": "20210723",
"rootUrl": "https://domainsrdap.googleapis.com/",
"schemas": {
"HttpBody": {
diff --git a/googleapiclient/discovery_cache/documents/doubleclickbidmanager.v1.1.json b/googleapiclient/discovery_cache/documents/doubleclickbidmanager.v1.1.json
index f81489137..387851353 100644
--- a/googleapiclient/discovery_cache/documents/doubleclickbidmanager.v1.1.json
+++ b/googleapiclient/discovery_cache/documents/doubleclickbidmanager.v1.1.json
@@ -280,7 +280,7 @@
}
}
},
- "revision": "20210629",
+ "revision": "20210721",
"rootUrl": "https://doubleclickbidmanager.googleapis.com/",
"schemas": {
"ChannelGrouping": {
@@ -2020,7 +2020,8 @@
"METRIC_PERCENTAGE_FROM_CURRENT_IO_GOAL",
"METRIC_DUPLICATE_FLOODLIGHT_IMPRESSIONS",
"METRIC_COOKIE_CONSENTED_FLOODLIGHT_IMPRESSIONS",
- "METRIC_COOKIE_UNCONSENTED_FLOODLIGHT_IMPRESSIONS"
+ "METRIC_COOKIE_UNCONSENTED_FLOODLIGHT_IMPRESSIONS",
+ "METRIC_TRACKING_UNCONSENTED_CLICKS"
],
"enumDescriptions": [
"",
@@ -2481,6 +2482,7 @@
"",
"",
"",
+ "",
""
],
"type": "string"
diff --git a/googleapiclient/discovery_cache/documents/doubleclickbidmanager.v1.json b/googleapiclient/discovery_cache/documents/doubleclickbidmanager.v1.json
index d97fa120f..29df71e77 100644
--- a/googleapiclient/discovery_cache/documents/doubleclickbidmanager.v1.json
+++ b/googleapiclient/discovery_cache/documents/doubleclickbidmanager.v1.json
@@ -96,7 +96,7 @@
},
"protocol": "rest",
"resources": {},
- "revision": "20210629",
+ "revision": "20210721",
"rootUrl": "https://doubleclickbidmanager.googleapis.com/",
"schemas": {},
"servicePath": "doubleclickbidmanager/v1/",
diff --git a/googleapiclient/discovery_cache/documents/doubleclicksearch.v2.json b/googleapiclient/discovery_cache/documents/doubleclicksearch.v2.json
index 3817acb2b..c81e68ea7 100644
--- a/googleapiclient/discovery_cache/documents/doubleclicksearch.v2.json
+++ b/googleapiclient/discovery_cache/documents/doubleclicksearch.v2.json
@@ -399,7 +399,7 @@
}
}
},
- "revision": "20210713",
+ "revision": "20210720",
"rootUrl": "https://doubleclicksearch.googleapis.com/",
"schemas": {
"Availability": {
diff --git a/googleapiclient/discovery_cache/documents/drive.v2.json b/googleapiclient/discovery_cache/documents/drive.v2.json
index 21a014102..9462a6e9a 100644
--- a/googleapiclient/discovery_cache/documents/drive.v2.json
+++ b/googleapiclient/discovery_cache/documents/drive.v2.json
@@ -38,7 +38,7 @@
"description": "Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/drive/",
- "etag": "\"uWj2hSb4GVjzdDlAnRd2gbM1ZQ8/wVU03Ppwd5ggXGhnpKZIvZMbgyQ\"",
+ "etag": "\"uWj2hSb4GVjzdDlAnRd2gbM1ZQ8/3C2SqaIsGtaKNfA_Qui6Cbm4VKo\"",
"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"
@@ -3527,7 +3527,7 @@
}
}
},
- "revision": "20210711",
+ "revision": "20210719",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"About": {
diff --git a/googleapiclient/discovery_cache/documents/drive.v3.json b/googleapiclient/discovery_cache/documents/drive.v3.json
index e31ec5222..ff63d9f61 100644
--- a/googleapiclient/discovery_cache/documents/drive.v3.json
+++ b/googleapiclient/discovery_cache/documents/drive.v3.json
@@ -35,7 +35,7 @@
"description": "Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/drive/",
- "etag": "\"uWj2hSb4GVjzdDlAnRd2gbM1ZQ8/VonNZXFgC6DHBVYBUSgfHu7sXik\"",
+ "etag": "\"uWj2hSb4GVjzdDlAnRd2gbM1ZQ8/_Lvps3-KgyI7_IwBA-9lM1tZSh4\"",
"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"
@@ -2191,7 +2191,7 @@
}
}
},
- "revision": "20210711",
+ "revision": "20210719",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"About": {
diff --git a/googleapiclient/discovery_cache/documents/driveactivity.v2.json b/googleapiclient/discovery_cache/documents/driveactivity.v2.json
index 3516f3d31..a4f3f1cee 100644
--- a/googleapiclient/discovery_cache/documents/driveactivity.v2.json
+++ b/googleapiclient/discovery_cache/documents/driveactivity.v2.json
@@ -132,7 +132,7 @@
}
}
},
- "revision": "20210713",
+ "revision": "20210720",
"rootUrl": "https://driveactivity.googleapis.com/",
"schemas": {
"Action": {
diff --git a/googleapiclient/discovery_cache/documents/essentialcontacts.v1.json b/googleapiclient/discovery_cache/documents/essentialcontacts.v1.json
index 349090d6d..8d7da23be 100644
--- a/googleapiclient/discovery_cache/documents/essentialcontacts.v1.json
+++ b/googleapiclient/discovery_cache/documents/essentialcontacts.v1.json
@@ -850,7 +850,7 @@
}
}
},
- "revision": "20210717",
+ "revision": "20210723",
"rootUrl": "https://essentialcontacts.googleapis.com/",
"schemas": {
"GoogleCloudEssentialcontactsV1ComputeContactsResponse": {
diff --git a/googleapiclient/discovery_cache/documents/eventarc.v1.json b/googleapiclient/discovery_cache/documents/eventarc.v1.json
index 99399222b..f91df0e20 100644
--- a/googleapiclient/discovery_cache/documents/eventarc.v1.json
+++ b/googleapiclient/discovery_cache/documents/eventarc.v1.json
@@ -177,6 +177,97 @@
}
},
"resources": {
+ "channels": {
+ "methods": {
+ "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}/channels/{channelsId}:getIamPolicy",
+ "httpMethod": "GET",
+ "id": "eventarc.projects.locations.channels.getIamPolicy",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "options.requestedPolicyVersion": {
+ "description": "Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value 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).",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "resource": {
+ "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/channels/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+resource}:getIamPolicy",
+ "response": {
+ "$ref": "Policy"
+ },
+ "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}/channels/{channelsId}:setIamPolicy",
+ "httpMethod": "POST",
+ "id": "eventarc.projects.locations.channels.setIamPolicy",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/channels/[^/]+$",
+ "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}/channels/{channelsId}:testIamPermissions",
+ "httpMethod": "POST",
+ "id": "eventarc.projects.locations.channels.testIamPermissions",
+ "parameterOrder": [
+ "resource"
+ ],
+ "parameters": {
+ "resource": {
+ "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/channels/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+resource}:testIamPermissions",
+ "request": {
+ "$ref": "TestIamPermissionsRequest"
+ },
+ "response": {
+ "$ref": "TestIamPermissionsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ },
"operations": {
"methods": {
"cancel": {
@@ -584,7 +675,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210723",
"rootUrl": "https://eventarc.googleapis.com/",
"schemas": {
"AuditConfig": {
diff --git a/googleapiclient/discovery_cache/documents/eventarc.v1beta1.json b/googleapiclient/discovery_cache/documents/eventarc.v1beta1.json
index e5f25d530..8718e607d 100644
--- a/googleapiclient/discovery_cache/documents/eventarc.v1beta1.json
+++ b/googleapiclient/discovery_cache/documents/eventarc.v1beta1.json
@@ -584,7 +584,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210716",
"rootUrl": "https://eventarc.googleapis.com/",
"schemas": {
"AuditConfig": {
diff --git a/googleapiclient/discovery_cache/documents/factchecktools.v1alpha1.json b/googleapiclient/discovery_cache/documents/factchecktools.v1alpha1.json
index f85b38765..ba83ae780 100644
--- a/googleapiclient/discovery_cache/documents/factchecktools.v1alpha1.json
+++ b/googleapiclient/discovery_cache/documents/factchecktools.v1alpha1.json
@@ -304,7 +304,7 @@
}
}
},
- "revision": "20210717",
+ "revision": "20210723",
"rootUrl": "https://factchecktools.googleapis.com/",
"schemas": {
"GoogleFactcheckingFactchecktoolsV1alpha1Claim": {
diff --git a/googleapiclient/discovery_cache/documents/fcm.v1.json b/googleapiclient/discovery_cache/documents/fcm.v1.json
index e96082a98..99054e104 100644
--- a/googleapiclient/discovery_cache/documents/fcm.v1.json
+++ b/googleapiclient/discovery_cache/documents/fcm.v1.json
@@ -142,7 +142,7 @@
}
}
},
- "revision": "20210712",
+ "revision": "20210719",
"rootUrl": "https://fcm.googleapis.com/",
"schemas": {
"AndroidConfig": {
diff --git a/googleapiclient/discovery_cache/documents/fcmdata.v1beta1.json b/googleapiclient/discovery_cache/documents/fcmdata.v1beta1.json
index 7a54abdc4..c95748745 100644
--- a/googleapiclient/discovery_cache/documents/fcmdata.v1beta1.json
+++ b/googleapiclient/discovery_cache/documents/fcmdata.v1beta1.json
@@ -154,7 +154,7 @@
}
}
},
- "revision": "20210717",
+ "revision": "20210723",
"rootUrl": "https://fcmdata.googleapis.com/",
"schemas": {
"GoogleFirebaseFcmDataV1beta1AndroidDeliveryData": {
diff --git a/googleapiclient/discovery_cache/documents/file.v1beta1.json b/googleapiclient/discovery_cache/documents/file.v1beta1.json
index bf9f2026e..34e8bd72a 100644
--- a/googleapiclient/discovery_cache/documents/file.v1beta1.json
+++ b/googleapiclient/discovery_cache/documents/file.v1beta1.json
@@ -542,6 +542,175 @@
"https://www.googleapis.com/auth/cloud-platform"
]
}
+ },
+ "resources": {
+ "snapshots": {
+ "methods": {
+ "create": {
+ "description": "Creates a snapshot.",
+ "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/snapshots",
+ "httpMethod": "POST",
+ "id": "file.projects.locations.instances.snapshots.create",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Required. The Filestore Instance to create the snapshots of, in the format projects/{project_id}/locations/{location}/instances/{instance_id}",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "snapshotId": {
+ "description": "Required. The ID to use for the snapshot. The ID must be unique within the specified instance. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+parent}/snapshots",
+ "request": {
+ "$ref": "Snapshot"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "delete": {
+ "description": "Deletes a snapshot.",
+ "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/snapshots/{snapshotsId}",
+ "httpMethod": "DELETE",
+ "id": "file.projects.locations.instances.snapshots.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The snapshot resource name, in the format projects/{project_id}/locations/{location}/instances/{instance_id}/snapshots/{snapshot_id}",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+/snapshots/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+name}",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "get": {
+ "description": "Gets the details of a specific snapshot.",
+ "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/snapshots/{snapshotsId}",
+ "httpMethod": "GET",
+ "id": "file.projects.locations.instances.snapshots.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The snapshot resource name, in the format projects/{project_id}/locations/{location}/instances/{instance_id}/snapshots/{snapshot_id}",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+/snapshots/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+name}",
+ "response": {
+ "$ref": "Snapshot"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "list": {
+ "description": "Lists all snapshots in a project for either a specified location or for all locations.",
+ "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/snapshots",
+ "httpMethod": "GET",
+ "id": "file.projects.locations.instances.snapshots.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "filter": {
+ "description": "List filter.",
+ "location": "query",
+ "type": "string"
+ },
+ "orderBy": {
+ "description": "Sort results. Supported values are \"name\", \"name desc\" or \"\" (unsorted).",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "The maximum number of items to return.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "The next_page_token value to use if there are additional results to retrieve for this list request.",
+ "location": "query",
+ "type": "string"
+ },
+ "parent": {
+ "description": "Required. The instance for which to retrieve snapshot information, in the format projects/{project_id}/locations/{location}/instances/{instance_id}.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+parent}/snapshots",
+ "response": {
+ "$ref": "ListSnapshotsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "patch": {
+ "description": "Updates the settings of a specific snapshot.",
+ "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/snapshots/{snapshotsId}",
+ "httpMethod": "PATCH",
+ "id": "file.projects.locations.instances.snapshots.patch",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Output only. The resource name of the snapshot, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id}/snapshots/{snapshot_id}.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+/snapshots/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "updateMask": {
+ "description": "Required. Mask of fields to update. At least one path must be supplied in this field.",
+ "format": "google-fieldmask",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1beta1/{+name}",
+ "request": {
+ "$ref": "Snapshot"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ }
}
},
"operations": {
@@ -672,7 +841,7 @@
}
}
},
- "revision": "20210708",
+ "revision": "20210721",
"rootUrl": "https://file.googleapis.com/",
"schemas": {
"Backup": {
@@ -1348,6 +1517,24 @@
},
"type": "object"
},
+ "ListSnapshotsResponse": {
+ "description": "ListSnapshotsResponse is the result of ListSnapshotsRequest.",
+ "id": "ListSnapshotsResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.",
+ "type": "string"
+ },
+ "snapshots": {
+ "description": "A list of snapshots in the project for the specified instance.",
+ "items": {
+ "$ref": "Snapshot"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"Location": {
"description": "A resource that represents Google Cloud Platform location.",
"id": "Location",
@@ -1493,7 +1680,7 @@
"type": "string"
},
"reservedIpRange": {
- "description": "A /29 CIDR block for Basic or a /23 CIDR block for High Scale in one of the [internal IP address ranges](https://www.arin.net/knowledge/address_filters.html) that identifies the range of IP addresses reserved for this instance. For example, 10.0.0.0/29 or 192.168.0.0/23. The range you specify can't overlap with either existing subnets or assigned IP address ranges for other Cloud Filestore instances in the selected VPC network.",
+ "description": "Optional, reserved_ip_range can have one of the following two types of values. * CIDR range value when using DIRECT_PEERING connect mode. * [Named Address Range](https://cloud.google.com/compute/docs/ip-addresses/reserve-static-internal-ip-address) when using PRIVATE_SERVICE_ACCESS connect mode. For both cases, the range value (direct CIDR value or the range value with which the named range was created) must be a /29 CIDR block for Basic tier or a /23 CIDR block for High Scale or Enterprise tier in one of the [internal IP address ranges](https://www.arin.net/knowledge/address_filters.html) that identifies the range of IP addresses reserved for this instance. For example, 10.0.0.0/29 or 192.168.0.0/23. The range you specify can't overlap with either existing subnets or assigned IP address ranges for other Cloud Filestore instances in the selected VPC network.",
"type": "string"
}
},
@@ -1689,6 +1876,58 @@
},
"type": "object"
},
+ "Snapshot": {
+ "description": "A Cloud Filestore snapshot.",
+ "id": "Snapshot",
+ "properties": {
+ "createTime": {
+ "description": "Output only. The time when the snapshot was created.",
+ "format": "google-datetime",
+ "readOnly": true,
+ "type": "string"
+ },
+ "description": {
+ "description": "A description of the snapshot with 2048 characters or less. Requests with longer descriptions will be rejected.",
+ "type": "string"
+ },
+ "filesystemUsedBytes": {
+ "description": "Output only. The amount of bytes needed to allocate a full copy of the snapshot content",
+ "format": "int64",
+ "readOnly": true,
+ "type": "string"
+ },
+ "labels": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource labels to represent user provided metadata.",
+ "type": "object"
+ },
+ "name": {
+ "description": "Output only. The resource name of the snapshot, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id}/snapshots/{snapshot_id}.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "state": {
+ "description": "Output only. The snapshot state.",
+ "enum": [
+ "STATE_UNSPECIFIED",
+ "CREATING",
+ "READY",
+ "DELETING"
+ ],
+ "enumDescriptions": [
+ "State not set.",
+ "Snapshot is being created.",
+ "Snapshot is available for use.",
+ "Snapshot is being deleted."
+ ],
+ "readOnly": true,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"Status": {
"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).",
"id": "Status",
@@ -1762,7 +2001,7 @@
"type": "string"
},
"denyMaintenancePeriods": {
- "description": "Deny Maintenance Period that is applied to resource to indicate when maintenance is forbidden. User can specify zero or more non-overlapping deny periods. For V1, Maximum number of deny_maintenance_periods is expected to be one.",
+ "description": "Deny Maintenance Period that is applied to resource to indicate when maintenance is forbidden. User can specify zero or more non-overlapping deny periods. Maximum number of deny_maintenance_periods expected is one.",
"items": {
"$ref": "DenyMaintenancePeriod"
},
diff --git a/googleapiclient/discovery_cache/documents/firebase.v1beta1.json b/googleapiclient/discovery_cache/documents/firebase.v1beta1.json
index e6f82b4f5..3138b4836 100644
--- a/googleapiclient/discovery_cache/documents/firebase.v1beta1.json
+++ b/googleapiclient/discovery_cache/documents/firebase.v1beta1.json
@@ -1121,7 +1121,7 @@
}
}
},
- "revision": "20210716",
+ "revision": "20210723",
"rootUrl": "https://firebase.googleapis.com/",
"schemas": {
"AddFirebaseRequest": {
diff --git a/googleapiclient/discovery_cache/documents/firebaseappcheck.v1beta.json b/googleapiclient/discovery_cache/documents/firebaseappcheck.v1beta.json
index 882260e8c..91f8f0027 100644
--- a/googleapiclient/discovery_cache/documents/firebaseappcheck.v1beta.json
+++ b/googleapiclient/discovery_cache/documents/firebaseappcheck.v1beta.json
@@ -1057,7 +1057,7 @@
}
}
},
- "revision": "20210712",
+ "revision": "20210716",
"rootUrl": "https://firebaseappcheck.googleapis.com/",
"schemas": {
"GoogleFirebaseAppcheckV1betaAppAttestChallengeResponse": {
diff --git a/googleapiclient/discovery_cache/documents/firebasedatabase.v1beta.json b/googleapiclient/discovery_cache/documents/firebasedatabase.v1beta.json
index c661141bf..d1a73482a 100644
--- a/googleapiclient/discovery_cache/documents/firebasedatabase.v1beta.json
+++ b/googleapiclient/discovery_cache/documents/firebasedatabase.v1beta.json
@@ -317,7 +317,7 @@
}
}
},
- "revision": "20210716",
+ "revision": "20210723",
"rootUrl": "https://firebasedatabase.googleapis.com/",
"schemas": {
"DatabaseInstance": {
diff --git a/googleapiclient/discovery_cache/documents/firebasedynamiclinks.v1.json b/googleapiclient/discovery_cache/documents/firebasedynamiclinks.v1.json
index fb1a3492d..8e4b8f84f 100644
--- a/googleapiclient/discovery_cache/documents/firebasedynamiclinks.v1.json
+++ b/googleapiclient/discovery_cache/documents/firebasedynamiclinks.v1.json
@@ -224,7 +224,7 @@
}
}
},
- "revision": "20210715",
+ "revision": "20210719",
"rootUrl": "https://firebasedynamiclinks.googleapis.com/",
"schemas": {
"AnalyticsInfo": {
diff --git a/googleapiclient/discovery_cache/documents/firebasehosting.v1.json b/googleapiclient/discovery_cache/documents/firebasehosting.v1.json
index 21fc11838..0d94e9b05 100644
--- a/googleapiclient/discovery_cache/documents/firebasehosting.v1.json
+++ b/googleapiclient/discovery_cache/documents/firebasehosting.v1.json
@@ -186,7 +186,7 @@
}
}
},
- "revision": "20210628",
+ "revision": "20210720",
"rootUrl": "https://firebasehosting.googleapis.com/",
"schemas": {
"CancelOperationRequest": {
diff --git a/googleapiclient/discovery_cache/documents/firebasehosting.v1beta1.json b/googleapiclient/discovery_cache/documents/firebasehosting.v1beta1.json
index 3c126da27..31fbadee7 100644
--- a/googleapiclient/discovery_cache/documents/firebasehosting.v1beta1.json
+++ b/googleapiclient/discovery_cache/documents/firebasehosting.v1beta1.json
@@ -1939,7 +1939,7 @@
}
}
},
- "revision": "20210628",
+ "revision": "20210720",
"rootUrl": "https://firebasehosting.googleapis.com/",
"schemas": {
"ActingUser": {
diff --git a/googleapiclient/discovery_cache/documents/firebaseml.v1.json b/googleapiclient/discovery_cache/documents/firebaseml.v1.json
index 3f854b35a..25483c3bb 100644
--- a/googleapiclient/discovery_cache/documents/firebaseml.v1.json
+++ b/googleapiclient/discovery_cache/documents/firebaseml.v1.json
@@ -204,7 +204,7 @@
}
}
},
- "revision": "20210628",
+ "revision": "20210721",
"rootUrl": "https://firebaseml.googleapis.com/",
"schemas": {
"CancelOperationRequest": {
diff --git a/googleapiclient/discovery_cache/documents/firebaseml.v1beta2.json b/googleapiclient/discovery_cache/documents/firebaseml.v1beta2.json
index 76b6deb55..6576d36be 100644
--- a/googleapiclient/discovery_cache/documents/firebaseml.v1beta2.json
+++ b/googleapiclient/discovery_cache/documents/firebaseml.v1beta2.json
@@ -318,7 +318,7 @@
}
}
},
- "revision": "20210628",
+ "revision": "20210721",
"rootUrl": "https://firebaseml.googleapis.com/",
"schemas": {
"DownloadModelResponse": {
diff --git a/googleapiclient/discovery_cache/documents/firebasestorage.v1beta.json b/googleapiclient/discovery_cache/documents/firebasestorage.v1beta.json
index a5bb7bef4..8964d5f4e 100644
--- a/googleapiclient/discovery_cache/documents/firebasestorage.v1beta.json
+++ b/googleapiclient/discovery_cache/documents/firebasestorage.v1beta.json
@@ -238,7 +238,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210716",
"rootUrl": "https://firebasestorage.googleapis.com/",
"schemas": {
"AddFirebaseRequest": {
diff --git a/googleapiclient/discovery_cache/documents/fitness.v1.json b/googleapiclient/discovery_cache/documents/fitness.v1.json
index 033a7a977..a08847605 100644
--- a/googleapiclient/discovery_cache/documents/fitness.v1.json
+++ b/googleapiclient/discovery_cache/documents/fitness.v1.json
@@ -831,7 +831,7 @@
}
}
},
- "revision": "20210714",
+ "revision": "20210721",
"rootUrl": "https://fitness.googleapis.com/",
"schemas": {
"AggregateBucket": {
diff --git a/googleapiclient/discovery_cache/documents/games.v1.json b/googleapiclient/discovery_cache/documents/games.v1.json
index 02fa99f2b..bfef6a4a9 100644
--- a/googleapiclient/discovery_cache/documents/games.v1.json
+++ b/googleapiclient/discovery_cache/documents/games.v1.json
@@ -1224,7 +1224,7 @@
}
}
},
- "revision": "20210719",
+ "revision": "20210721",
"rootUrl": "https://games.googleapis.com/",
"schemas": {
"AchievementDefinition": {
diff --git a/googleapiclient/discovery_cache/documents/gamesConfiguration.v1configuration.json b/googleapiclient/discovery_cache/documents/gamesConfiguration.v1configuration.json
index a8350c90c..6fce94cb0 100644
--- a/googleapiclient/discovery_cache/documents/gamesConfiguration.v1configuration.json
+++ b/googleapiclient/discovery_cache/documents/gamesConfiguration.v1configuration.json
@@ -439,7 +439,7 @@
}
}
},
- "revision": "20210719",
+ "revision": "20210721",
"rootUrl": "https://gamesconfiguration.googleapis.com/",
"schemas": {
"AchievementConfiguration": {
diff --git a/googleapiclient/discovery_cache/documents/gamesManagement.v1management.json b/googleapiclient/discovery_cache/documents/gamesManagement.v1management.json
index dabd356b5..c252dc01f 100644
--- a/googleapiclient/discovery_cache/documents/gamesManagement.v1management.json
+++ b/googleapiclient/discovery_cache/documents/gamesManagement.v1management.json
@@ -471,7 +471,7 @@
}
}
},
- "revision": "20210719",
+ "revision": "20210721",
"rootUrl": "https://gamesmanagement.googleapis.com/",
"schemas": {
"AchievementResetAllResponse": {
diff --git a/googleapiclient/discovery_cache/documents/gameservices.v1beta.json b/googleapiclient/discovery_cache/documents/gameservices.v1beta.json
index e972b8c02..5153409de 100644
--- a/googleapiclient/discovery_cache/documents/gameservices.v1beta.json
+++ b/googleapiclient/discovery_cache/documents/gameservices.v1beta.json
@@ -1357,7 +1357,7 @@
}
}
},
- "revision": "20210707",
+ "revision": "20210714",
"rootUrl": "https://gameservices.googleapis.com/",
"schemas": {
"AuditConfig": {
diff --git a/googleapiclient/discovery_cache/documents/genomics.v2alpha1.json b/googleapiclient/discovery_cache/documents/genomics.v2alpha1.json
index 4839b33b2..0b8eb11d3 100644
--- a/googleapiclient/discovery_cache/documents/genomics.v2alpha1.json
+++ b/googleapiclient/discovery_cache/documents/genomics.v2alpha1.json
@@ -301,7 +301,7 @@
}
}
},
- "revision": "20210712",
+ "revision": "20210720",
"rootUrl": "https://genomics.googleapis.com/",
"schemas": {
"Accelerator": {
diff --git a/googleapiclient/discovery_cache/documents/gkehub.v1.json b/googleapiclient/discovery_cache/documents/gkehub.v1.json
index a8fc993b3..01aa65455 100644
--- a/googleapiclient/discovery_cache/documents/gkehub.v1.json
+++ b/googleapiclient/discovery_cache/documents/gkehub.v1.json
@@ -905,7 +905,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210716",
"rootUrl": "https://gkehub.googleapis.com/",
"schemas": {
"AuditConfig": {
diff --git a/googleapiclient/discovery_cache/documents/gkehub.v1alpha.json b/googleapiclient/discovery_cache/documents/gkehub.v1alpha.json
index 436c97b94..14fc11cee 100644
--- a/googleapiclient/discovery_cache/documents/gkehub.v1alpha.json
+++ b/googleapiclient/discovery_cache/documents/gkehub.v1alpha.json
@@ -670,7 +670,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210723",
"rootUrl": "https://gkehub.googleapis.com/",
"schemas": {
"AuditConfig": {
diff --git a/googleapiclient/discovery_cache/documents/gmail.v1.json b/googleapiclient/discovery_cache/documents/gmail.v1.json
index 0bc522566..6868bb4ee 100644
--- a/googleapiclient/discovery_cache/documents/gmail.v1.json
+++ b/googleapiclient/discovery_cache/documents/gmail.v1.json
@@ -2682,7 +2682,7 @@
}
}
},
- "revision": "20210712",
+ "revision": "20210719",
"rootUrl": "https://gmail.googleapis.com/",
"schemas": {
"AutoForwarding": {
diff --git a/googleapiclient/discovery_cache/documents/gmailpostmastertools.v1.json b/googleapiclient/discovery_cache/documents/gmailpostmastertools.v1.json
index 5d1a44a85..0882d62b5 100644
--- a/googleapiclient/discovery_cache/documents/gmailpostmastertools.v1.json
+++ b/googleapiclient/discovery_cache/documents/gmailpostmastertools.v1.json
@@ -265,7 +265,7 @@
}
}
},
- "revision": "20210717",
+ "revision": "20210723",
"rootUrl": "https://gmailpostmastertools.googleapis.com/",
"schemas": {
"DeliveryError": {
diff --git a/googleapiclient/discovery_cache/documents/gmailpostmastertools.v1beta1.json b/googleapiclient/discovery_cache/documents/gmailpostmastertools.v1beta1.json
index d2d053f34..78428cc09 100644
--- a/googleapiclient/discovery_cache/documents/gmailpostmastertools.v1beta1.json
+++ b/googleapiclient/discovery_cache/documents/gmailpostmastertools.v1beta1.json
@@ -265,7 +265,7 @@
}
}
},
- "revision": "20210717",
+ "revision": "20210723",
"rootUrl": "https://gmailpostmastertools.googleapis.com/",
"schemas": {
"DeliveryError": {
diff --git a/googleapiclient/discovery_cache/documents/groupsmigration.v1.json b/googleapiclient/discovery_cache/documents/groupsmigration.v1.json
index 013156038..a637a091f 100644
--- a/googleapiclient/discovery_cache/documents/groupsmigration.v1.json
+++ b/googleapiclient/discovery_cache/documents/groupsmigration.v1.json
@@ -146,7 +146,7 @@
}
}
},
- "revision": "20210708",
+ "revision": "20210715",
"rootUrl": "https://groupsmigration.googleapis.com/",
"schemas": {
"Groups": {
diff --git a/googleapiclient/discovery_cache/documents/groupssettings.v1.json b/googleapiclient/discovery_cache/documents/groupssettings.v1.json
index 3ab2cc900..e5fc517d4 100644
--- a/googleapiclient/discovery_cache/documents/groupssettings.v1.json
+++ b/googleapiclient/discovery_cache/documents/groupssettings.v1.json
@@ -152,7 +152,7 @@
}
}
},
- "revision": "20210708",
+ "revision": "20210715",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Groups": {
diff --git a/googleapiclient/discovery_cache/documents/healthcare.v1.json b/googleapiclient/discovery_cache/documents/healthcare.v1.json
index 678192e27..76a184c6a 100644
--- a/googleapiclient/discovery_cache/documents/healthcare.v1.json
+++ b/googleapiclient/discovery_cache/documents/healthcare.v1.json
@@ -3920,7 +3920,7 @@
}
}
},
- "revision": "20210712",
+ "revision": "20210715",
"rootUrl": "https://healthcare.googleapis.com/",
"schemas": {
"ActivateConsentRequest": {
diff --git a/googleapiclient/discovery_cache/documents/healthcare.v1beta1.json b/googleapiclient/discovery_cache/documents/healthcare.v1beta1.json
index 83a718de6..cb66b8681 100644
--- a/googleapiclient/discovery_cache/documents/healthcare.v1beta1.json
+++ b/googleapiclient/discovery_cache/documents/healthcare.v1beta1.json
@@ -4829,7 +4829,7 @@
"nlp": {
"methods": {
"analyzeEntities": {
- "description": "Analyze heathcare entity in a document. Its response includes the recognized entity mentions and the relationships between them. AnalyzeEntities uses context aware models to detect entities.",
+ "description": "Analyze heathcare entity in a document. Its response includes the recognized entity mentions and the relationships between them. AnalyzeEntities uses context aware models to detect entities. This method can only analyze documents written in English.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/services/nlp:analyzeEntities",
"httpMethod": "POST",
"id": "healthcare.projects.locations.services.nlp.analyzeEntities",
@@ -4865,7 +4865,7 @@
}
}
},
- "revision": "20210712",
+ "revision": "20210715",
"rootUrl": "https://healthcare.googleapis.com/",
"schemas": {
"ActivateConsentRequest": {
diff --git a/googleapiclient/discovery_cache/documents/homegraph.v1.json b/googleapiclient/discovery_cache/documents/homegraph.v1.json
index 892a5de81..b25d5d2b3 100644
--- a/googleapiclient/discovery_cache/documents/homegraph.v1.json
+++ b/googleapiclient/discovery_cache/documents/homegraph.v1.json
@@ -216,7 +216,7 @@
}
}
},
- "revision": "20210713",
+ "revision": "20210720",
"rootUrl": "https://homegraph.googleapis.com/",
"schemas": {
"AgentDeviceId": {
diff --git a/googleapiclient/discovery_cache/documents/iam.v1.json b/googleapiclient/discovery_cache/documents/iam.v1.json
index 612c5d0db..fe57b81d3 100644
--- a/googleapiclient/discovery_cache/documents/iam.v1.json
+++ b/googleapiclient/discovery_cache/documents/iam.v1.json
@@ -1696,7 +1696,7 @@
}
}
},
- "revision": "20210623",
+ "revision": "20210714",
"rootUrl": "https://iam.googleapis.com/",
"schemas": {
"AdminAuditData": {
diff --git a/googleapiclient/discovery_cache/documents/iamcredentials.v1.json b/googleapiclient/discovery_cache/documents/iamcredentials.v1.json
index cf9bebc16..b4c5679fd 100644
--- a/googleapiclient/discovery_cache/documents/iamcredentials.v1.json
+++ b/googleapiclient/discovery_cache/documents/iamcredentials.v1.json
@@ -226,7 +226,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210716",
"rootUrl": "https://iamcredentials.googleapis.com/",
"schemas": {
"GenerateAccessTokenRequest": {
diff --git a/googleapiclient/discovery_cache/documents/iap.v1.json b/googleapiclient/discovery_cache/documents/iap.v1.json
index 736565dd8..801146de3 100644
--- a/googleapiclient/discovery_cache/documents/iap.v1.json
+++ b/googleapiclient/discovery_cache/documents/iap.v1.json
@@ -487,7 +487,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210716",
"rootUrl": "https://iap.googleapis.com/",
"schemas": {
"AccessDeniedPageSettings": {
diff --git a/googleapiclient/discovery_cache/documents/iap.v1beta1.json b/googleapiclient/discovery_cache/documents/iap.v1beta1.json
index bf97f9587..f0823b816 100644
--- a/googleapiclient/discovery_cache/documents/iap.v1beta1.json
+++ b/googleapiclient/discovery_cache/documents/iap.v1beta1.json
@@ -194,7 +194,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210716",
"rootUrl": "https://iap.googleapis.com/",
"schemas": {
"Binding": {
diff --git a/googleapiclient/discovery_cache/documents/ideahub.v1alpha.json b/googleapiclient/discovery_cache/documents/ideahub.v1alpha.json
index 39dfb5c4d..5fb85ea75 100644
--- a/googleapiclient/discovery_cache/documents/ideahub.v1alpha.json
+++ b/googleapiclient/discovery_cache/documents/ideahub.v1alpha.json
@@ -371,7 +371,7 @@
}
}
},
- "revision": "20210717",
+ "revision": "20210723",
"rootUrl": "https://ideahub.googleapis.com/",
"schemas": {
"GoogleSearchIdeahubV1alphaAvailableLocale": {
diff --git a/googleapiclient/discovery_cache/documents/keep.v1.json b/googleapiclient/discovery_cache/documents/keep.v1.json
index c0422a28b..13701eac9 100644
--- a/googleapiclient/discovery_cache/documents/keep.v1.json
+++ b/googleapiclient/discovery_cache/documents/keep.v1.json
@@ -314,7 +314,7 @@
}
}
},
- "revision": "20210713",
+ "revision": "20210720",
"rootUrl": "https://keep.googleapis.com/",
"schemas": {
"Attachment": {
diff --git a/googleapiclient/discovery_cache/documents/language.v1.json b/googleapiclient/discovery_cache/documents/language.v1.json
index b399c211d..35f1bccec 100644
--- a/googleapiclient/discovery_cache/documents/language.v1.json
+++ b/googleapiclient/discovery_cache/documents/language.v1.json
@@ -227,7 +227,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210717",
"rootUrl": "https://language.googleapis.com/",
"schemas": {
"AnalyzeEntitiesRequest": {
diff --git a/googleapiclient/discovery_cache/documents/language.v1beta1.json b/googleapiclient/discovery_cache/documents/language.v1beta1.json
index 2955e574d..df3660386 100644
--- a/googleapiclient/discovery_cache/documents/language.v1beta1.json
+++ b/googleapiclient/discovery_cache/documents/language.v1beta1.json
@@ -189,7 +189,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210717",
"rootUrl": "https://language.googleapis.com/",
"schemas": {
"AnalyzeEntitiesRequest": {
diff --git a/googleapiclient/discovery_cache/documents/language.v1beta2.json b/googleapiclient/discovery_cache/documents/language.v1beta2.json
index 45ddfa174..8186e53b3 100644
--- a/googleapiclient/discovery_cache/documents/language.v1beta2.json
+++ b/googleapiclient/discovery_cache/documents/language.v1beta2.json
@@ -227,7 +227,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210717",
"rootUrl": "https://language.googleapis.com/",
"schemas": {
"AnalyzeEntitiesRequest": {
diff --git a/googleapiclient/discovery_cache/documents/libraryagent.v1.json b/googleapiclient/discovery_cache/documents/libraryagent.v1.json
index 09bb92a40..7844635c4 100644
--- a/googleapiclient/discovery_cache/documents/libraryagent.v1.json
+++ b/googleapiclient/discovery_cache/documents/libraryagent.v1.json
@@ -279,7 +279,7 @@
}
}
},
- "revision": "20210717",
+ "revision": "20210723",
"rootUrl": "https://libraryagent.googleapis.com/",
"schemas": {
"GoogleExampleLibraryagentV1Book": {
diff --git a/googleapiclient/discovery_cache/documents/localservices.v1.json b/googleapiclient/discovery_cache/documents/localservices.v1.json
index 9fa3eed29..1f005bf58 100644
--- a/googleapiclient/discovery_cache/documents/localservices.v1.json
+++ b/googleapiclient/discovery_cache/documents/localservices.v1.json
@@ -250,7 +250,7 @@
}
}
},
- "revision": "20210717",
+ "revision": "20210723",
"rootUrl": "https://localservices.googleapis.com/",
"schemas": {
"GoogleAdsHomeservicesLocalservicesV1AccountReport": {
diff --git a/googleapiclient/discovery_cache/documents/logging.v2.json b/googleapiclient/discovery_cache/documents/logging.v2.json
index af31f22b7..aaf324587 100644
--- a/googleapiclient/discovery_cache/documents/logging.v2.json
+++ b/googleapiclient/discovery_cache/documents/logging.v2.json
@@ -5482,7 +5482,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210714",
"rootUrl": "https://logging.googleapis.com/",
"schemas": {
"BigQueryOptions": {
diff --git a/googleapiclient/discovery_cache/documents/manufacturers.v1.json b/googleapiclient/discovery_cache/documents/manufacturers.v1.json
index f4f3a4368..e62e66bf2 100644
--- a/googleapiclient/discovery_cache/documents/manufacturers.v1.json
+++ b/googleapiclient/discovery_cache/documents/manufacturers.v1.json
@@ -287,7 +287,7 @@
}
}
},
- "revision": "20210714",
+ "revision": "20210721",
"rootUrl": "https://manufacturers.googleapis.com/",
"schemas": {
"Attributes": {
diff --git a/googleapiclient/discovery_cache/documents/metastore.v1alpha.json b/googleapiclient/discovery_cache/documents/metastore.v1alpha.json
index f4f551d84..a0e9c9a02 100644
--- a/googleapiclient/discovery_cache/documents/metastore.v1alpha.json
+++ b/googleapiclient/discovery_cache/documents/metastore.v1alpha.json
@@ -986,7 +986,7 @@
}
}
},
- "revision": "20210702",
+ "revision": "20210715",
"rootUrl": "https://metastore.googleapis.com/",
"schemas": {
"AuditConfig": {
@@ -1073,14 +1073,16 @@
"CREATING",
"DELETING",
"ACTIVE",
- "FAILED"
+ "FAILED",
+ "RESTORING"
],
"enumDescriptions": [
"The state of the backup is unknown.",
"The backup is being created.",
"The backup is being deleted.",
"The backup is active and ready to use.",
- "The backup failed."
+ "The backup failed.",
+ "The backup is being restored."
],
"readOnly": true,
"type": "string"
diff --git a/googleapiclient/discovery_cache/documents/metastore.v1beta.json b/googleapiclient/discovery_cache/documents/metastore.v1beta.json
index 4df5cecce..39018e983 100644
--- a/googleapiclient/discovery_cache/documents/metastore.v1beta.json
+++ b/googleapiclient/discovery_cache/documents/metastore.v1beta.json
@@ -986,7 +986,7 @@
}
}
},
- "revision": "20210702",
+ "revision": "20210715",
"rootUrl": "https://metastore.googleapis.com/",
"schemas": {
"AuditConfig": {
@@ -1073,14 +1073,16 @@
"CREATING",
"DELETING",
"ACTIVE",
- "FAILED"
+ "FAILED",
+ "RESTORING"
],
"enumDescriptions": [
"The state of the backup is unknown.",
"The backup is being created.",
"The backup is being deleted.",
"The backup is active and ready to use.",
- "The backup failed."
+ "The backup failed.",
+ "The backup is being restored."
],
"readOnly": true,
"type": "string"
diff --git a/googleapiclient/discovery_cache/documents/ml.v1.json b/googleapiclient/discovery_cache/documents/ml.v1.json
index 03ce4da5f..7d73a3979 100644
--- a/googleapiclient/discovery_cache/documents/ml.v1.json
+++ b/googleapiclient/discovery_cache/documents/ml.v1.json
@@ -1486,7 +1486,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210720",
"rootUrl": "https://ml.googleapis.com/",
"schemas": {
"GoogleApi__HttpBody": {
diff --git a/googleapiclient/discovery_cache/documents/monitoring.v1.json b/googleapiclient/discovery_cache/documents/monitoring.v1.json
index b74864501..b66e4d649 100644
--- a/googleapiclient/discovery_cache/documents/monitoring.v1.json
+++ b/googleapiclient/discovery_cache/documents/monitoring.v1.json
@@ -114,6 +114,131 @@
},
"protocol": "rest",
"resources": {
+ "locations": {
+ "resources": {
+ "global": {
+ "resources": {
+ "metricsScopes": {
+ "methods": {
+ "get": {
+ "description": "Returns a specific Metrics Scope.",
+ "flatPath": "v1/locations/global/metricsScopes/{metricsScopesId}",
+ "httpMethod": "GET",
+ "id": "monitoring.locations.global.metricsScopes.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The resource name of the Metrics Scope. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}",
+ "location": "path",
+ "pattern": "^locations/global/metricsScopes/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "MetricsScope"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/monitoring",
+ "https://www.googleapis.com/auth/monitoring.read"
+ ]
+ },
+ "listMetricScopesByMonitoredProject": {
+ "description": "Returns a list of every Metrics Scope that a specific MonitoredProject has been added to. The metrics scope representing the specified monitored project will always be the first entry in the response.",
+ "flatPath": "v1/locations/global/metricsScopes:listMetricScopesByMonitoredProject",
+ "httpMethod": "GET",
+ "id": "monitoring.locations.global.metricsScopes.listMetricScopesByMonitoredProject",
+ "parameterOrder": [],
+ "parameters": {
+ "monitoredResourceContainer": {
+ "description": "Required. The resource name of the Monitored Project being requested. Example: projects/{MONITORED_PROJECT_ID_OR_NUMBER}",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/locations/global/metricsScopes:listMetricScopesByMonitoredProject",
+ "response": {
+ "$ref": "ListMetricsScopesByMonitoredProjectResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/monitoring",
+ "https://www.googleapis.com/auth/monitoring.read"
+ ]
+ }
+ },
+ "resources": {
+ "projects": {
+ "methods": {
+ "create": {
+ "description": "Adds a MonitoredProject with the given project ID to the specified Metrics Scope.",
+ "flatPath": "v1/locations/global/metricsScopes/{metricsScopesId}/projects",
+ "httpMethod": "POST",
+ "id": "monitoring.locations.global.metricsScopes.projects.create",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Required. The resource name of the existing Metrics Scope that will monitor this project. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}",
+ "location": "path",
+ "pattern": "^locations/global/metricsScopes/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/projects",
+ "request": {
+ "$ref": "MonitoredProject"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/monitoring",
+ "https://www.googleapis.com/auth/monitoring.write"
+ ]
+ },
+ "delete": {
+ "description": "Deletes a MonitoredProject from the specified Metrics Scope.",
+ "flatPath": "v1/locations/global/metricsScopes/{metricsScopesId}/projects/{projectsId}",
+ "httpMethod": "DELETE",
+ "id": "monitoring.locations.global.metricsScopes.projects.delete",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Required. The resource name of the MonitoredProject. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}/projects/{MONITORED_PROJECT_ID_OR_NUMBER}Authorization requires the following Google IAM (https://cloud.google.com/iam) permissions on both the Metrics Scope and on the MonitoredProject: monitoring.metricsScopes.link",
+ "location": "path",
+ "pattern": "^locations/global/metricsScopes/[^/]+/projects/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/monitoring",
+ "https://www.googleapis.com/auth/monitoring.write"
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
"operations": {
"methods": {
"get": {
@@ -316,7 +441,7 @@
}
}
},
- "revision": "20210712",
+ "revision": "20210720",
"rootUrl": "https://monitoring.googleapis.com/",
"schemas": {
"Aggregation": {
@@ -765,6 +890,68 @@
},
"type": "object"
},
+ "ListMetricsScopesByMonitoredProjectResponse": {
+ "description": "Response for the ListMetricsScopesByMonitoredProject method.",
+ "id": "ListMetricsScopesByMonitoredProjectResponse",
+ "properties": {
+ "metricsScopes": {
+ "description": "A set of all metrics scopes that the specified monitored project has been added to.",
+ "items": {
+ "$ref": "MetricsScope"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "MetricsScope": {
+ "description": "Represents a Metrics Scope (https://cloud.google.com/monitoring/settings#concept-scope) in Cloud Monitoring, which specifies one or more Google projects and zero or more AWS accounts to monitor together.",
+ "id": "MetricsScope",
+ "properties": {
+ "createTime": {
+ "description": "Output only. The time when this Metrics Scope was created.",
+ "format": "google-datetime",
+ "readOnly": true,
+ "type": "string"
+ },
+ "monitoredProjects": {
+ "description": "Output only. The list of projects monitored by this Metrics Scope.",
+ "items": {
+ "$ref": "MonitoredProject"
+ },
+ "readOnly": true,
+ "type": "array"
+ },
+ "name": {
+ "description": "Immutable. The resource name of the Monitoring Metrics Scope. On input, the resource name can be specified with the scoping project ID or number. On output, the resource name is specified with the scoping project number. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}",
+ "type": "string"
+ },
+ "updateTime": {
+ "description": "Output only. The time when this Metrics Scope record was last updated.",
+ "format": "google-datetime",
+ "readOnly": true,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "MonitoredProject": {
+ "description": "A project being monitored (https://cloud.google.com/monitoring/settings/multiple-projects#create-multi) by a Metrics Scope.",
+ "id": "MonitoredProject",
+ "properties": {
+ "createTime": {
+ "description": "Output only. The time when this MonitoredProject was created.",
+ "format": "google-datetime",
+ "readOnly": true,
+ "type": "string"
+ },
+ "name": {
+ "description": "Immutable. The resource name of the MonitoredProject. On input, the resource name includes the scoping project ID and monitored project ID. On output, it contains the equivalent project numbers. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}/projects/{MONITORED_PROJECT_ID_OR_NUMBER}",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"MosaicLayout": {
"description": "A mosaic layout divides the available space into a grid of blocks, and overlays the grid with tiles. Unlike GridLayout, tiles may span multiple grid blocks and can be placed at arbitrary locations in the grid.",
"id": "MosaicLayout",
diff --git a/googleapiclient/discovery_cache/documents/monitoring.v3.json b/googleapiclient/discovery_cache/documents/monitoring.v3.json
index 188ad1337..9c5dd6f00 100644
--- a/googleapiclient/discovery_cache/documents/monitoring.v3.json
+++ b/googleapiclient/discovery_cache/documents/monitoring.v3.json
@@ -2541,7 +2541,7 @@
}
}
},
- "revision": "20210712",
+ "revision": "20210720",
"rootUrl": "https://monitoring.googleapis.com/",
"schemas": {
"Aggregation": {
@@ -3162,7 +3162,7 @@
"type": "object"
},
"DistributionCut": {
- "description": "A DistributionCut defines a TimeSeries and thresholds used for measuring good service and total service. The TimeSeries must have ValueType = DISTRIBUTION and MetricKind = DELTA or MetricKind = CUMULATIVE. The computed good_service will be the count of values x in the Distribution such that range.min <= x < range.max.",
+ "description": "A DistributionCut defines a TimeSeries and thresholds used for measuring good service and total service. The TimeSeries must have ValueType = DISTRIBUTION and MetricKind = DELTA or MetricKind = CUMULATIVE. The computed good_service will be the estimated count of values in the Distribution that fall within the specified min and max.",
"id": "DistributionCut",
"properties": {
"distributionFilter": {
@@ -3427,7 +3427,7 @@
"type": "object"
},
"GoogleMonitoringV3Range": {
- "description": "Range of numerical values, inclusive of min and exclusive of max. If the open range \"< range.max\" is desired, set range.min = -infinity. If the open range \">= range.min\" is desired, set range.max = infinity.",
+ "description": "Range of numerical values within min and max. If the open range \"< range.max\" is desired, set range.min = -infinity. If the open range \">= range.min\" is desired, set range.max = infinity.",
"id": "GoogleMonitoringV3Range",
"properties": {
"max": {
@@ -4161,7 +4161,7 @@
"type": "object"
},
"MetricRange": {
- "description": "A MetricRange is used when each window is good when the value x of a single TimeSeries satisfies range.min <= x < range.max. The provided TimeSeries must have ValueType = INT64 or ValueType = DOUBLE and MetricKind = GAUGE.",
+ "description": "A MetricRange is used when each window is good when the value x of a single TimeSeries satisfies range.min <= x <= range.max. The provided TimeSeries must have ValueType = INT64 or ValueType = DOUBLE and MetricKind = GAUGE.",
"id": "MetricRange",
"properties": {
"range": {
diff --git a/googleapiclient/discovery_cache/documents/mybusinessaccountmanagement.v1.json b/googleapiclient/discovery_cache/documents/mybusinessaccountmanagement.v1.json
index 606797040..cb27e6acb 100644
--- a/googleapiclient/discovery_cache/documents/mybusinessaccountmanagement.v1.json
+++ b/googleapiclient/discovery_cache/documents/mybusinessaccountmanagement.v1.json
@@ -530,7 +530,7 @@
}
}
},
- "revision": "20210717",
+ "revision": "20210723",
"rootUrl": "https://mybusinessaccountmanagement.googleapis.com/",
"schemas": {
"AcceptInvitationRequest": {
diff --git a/googleapiclient/discovery_cache/documents/mybusinesslodging.v1.json b/googleapiclient/discovery_cache/documents/mybusinesslodging.v1.json
index b7031c842..2fe0a4fca 100644
--- a/googleapiclient/discovery_cache/documents/mybusinesslodging.v1.json
+++ b/googleapiclient/discovery_cache/documents/mybusinesslodging.v1.json
@@ -194,7 +194,7 @@
}
}
},
- "revision": "20210717",
+ "revision": "20210723",
"rootUrl": "https://mybusinesslodging.googleapis.com/",
"schemas": {
"Accessibility": {
diff --git a/googleapiclient/discovery_cache/documents/mybusinessnotifications.v1.json b/googleapiclient/discovery_cache/documents/mybusinessnotifications.v1.json
index 40c839632..a3ec63c8b 100644
--- a/googleapiclient/discovery_cache/documents/mybusinessnotifications.v1.json
+++ b/googleapiclient/discovery_cache/documents/mybusinessnotifications.v1.json
@@ -130,7 +130,7 @@
],
"parameters": {
"name": {
- "description": "Required. The resource name this setting is for. This is of the form `accounts/{account_id}/notifications/setting`.",
+ "description": "Required. The resource name this setting is for. This is of the form `accounts/{account_id}/notificationSetting`.",
"location": "path",
"pattern": "^accounts/[^/]+/notificationSetting$",
"required": true,
@@ -154,7 +154,7 @@
}
}
},
- "revision": "20210717",
+ "revision": "20210723",
"rootUrl": "https://mybusinessnotifications.googleapis.com/",
"schemas": {
"NotificationSetting": {
@@ -162,7 +162,7 @@
"id": "NotificationSetting",
"properties": {
"name": {
- "description": "Required. The resource name this setting is for. This is of the form `accounts/{account_id}/notifications/setting`.",
+ "description": "Required. The resource name this setting is for. This is of the form `accounts/{account_id}/notificationSetting`.",
"type": "string"
},
"notificationTypes": {
@@ -178,7 +178,8 @@
"UPDATED_QUESTION",
"NEW_ANSWER",
"UPDATED_ANSWER",
- "DUPLICATE_LOCATION"
+ "DUPLICATE_LOCATION",
+ "LOSS_OF_VOICE_OF_MERCHANT"
],
"enumDescriptions": [
"No notification type. Will not match any notifications.",
@@ -190,7 +191,8 @@
"A question of the location is updated. The notification will provide the resource name of question.",
"A new answer is added to the location. The notification will provide the resource name of question and answer.",
"An answer of the location is updated. The notification will provide the resource name of question and answer.",
- "Indicates whether there is a change in location metadata's duplicate location field."
+ "Indicates whether there is a change in location metadata's duplicate location field.",
+ "Indicates whether the location has a loss in voice of merchant status. Call GetVoiceOfMerchantState rpc for more details"
],
"type": "string"
},
diff --git a/googleapiclient/discovery_cache/documents/mybusinessplaceactions.v1.json b/googleapiclient/discovery_cache/documents/mybusinessplaceactions.v1.json
index 0d9eecdb3..f0f744779 100644
--- a/googleapiclient/discovery_cache/documents/mybusinessplaceactions.v1.json
+++ b/googleapiclient/discovery_cache/documents/mybusinessplaceactions.v1.json
@@ -281,7 +281,7 @@
}
}
},
- "revision": "20210717",
+ "revision": "20210723",
"rootUrl": "https://mybusinessplaceactions.googleapis.com/",
"schemas": {
"Empty": {
diff --git a/googleapiclient/discovery_cache/documents/networkmanagement.v1beta1.json b/googleapiclient/discovery_cache/documents/networkmanagement.v1beta1.json
index 10bc94a3f..fb1247319 100644
--- a/googleapiclient/discovery_cache/documents/networkmanagement.v1beta1.json
+++ b/googleapiclient/discovery_cache/documents/networkmanagement.v1beta1.json
@@ -591,7 +591,7 @@
}
}
},
- "revision": "20210624",
+ "revision": "20210721",
"rootUrl": "https://networkmanagement.googleapis.com/",
"schemas": {
"AbortInfo": {
@@ -1727,7 +1727,8 @@
"NEXT_HOP_VPN_GATEWAY",
"NEXT_HOP_INTERNET_GATEWAY",
"NEXT_HOP_BLACKHOLE",
- "NEXT_HOP_ILB"
+ "NEXT_HOP_ILB",
+ "NEXT_HOP_ROUTER_APPLIANCE"
],
"enumDescriptions": [
"Unspecified type. Default value.",
@@ -1740,7 +1741,8 @@
"Next hop is a VPN gateway. This scenario only happens when tracing connectivity from an on-premises network to Google Cloud through a VPN. The analysis simulates a packet departing from the on-premises network through a VPN tunnel and arriving at a Cloud VPN gateway.",
"Next hop is an internet gateway.",
"Next hop is blackhole; that is, the next hop either does not exist or is not running.",
- "Next hop is the forwarding rule of an Internal Load Balancer."
+ "Next hop is the forwarding rule of an Internal Load Balancer.",
+ "Next hop is a [router appliance instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview)."
],
"type": "string"
},
diff --git a/googleapiclient/discovery_cache/documents/notebooks.v1.json b/googleapiclient/discovery_cache/documents/notebooks.v1.json
index 9f686dc1c..9a4d89080 100644
--- a/googleapiclient/discovery_cache/documents/notebooks.v1.json
+++ b/googleapiclient/discovery_cache/documents/notebooks.v1.json
@@ -1609,7 +1609,7 @@
}
}
},
- "revision": "20210713",
+ "revision": "20210715",
"rootUrl": "https://notebooks.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
@@ -2498,17 +2498,17 @@
"id": "LocalDisk",
"properties": {
"autoDelete": {
- "description": "Output only. Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).",
+ "description": "Optional. Output only. Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).",
"readOnly": true,
"type": "boolean"
},
"boot": {
- "description": "Output only. Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem.",
+ "description": "Optional. Output only. Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem.",
"readOnly": true,
"type": "boolean"
},
"deviceName": {
- "description": "Output only. Specifies a unique device name of your choice that is reflected into the /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. This name can be used to reference the device for mounting, resizing, and so on, from within the instance. If not specified, the server chooses a default device name to apply to this disk, in the form persistent-disk-x, where x is a number assigned by Google Compute Engine. This field is only applicable for persistent disks.",
+ "description": "Optional. Output only. Specifies a unique device name of your choice that is reflected into the /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. This name can be used to reference the device for mounting, resizing, and so on, from within the instance. If not specified, the server chooses a default device name to apply to this disk, in the form persistent-disk-x, where x is a number assigned by Google Compute Engine. This field is only applicable for persistent disks.",
"readOnly": true,
"type": "string"
},
@@ -2521,14 +2521,14 @@
"type": "array"
},
"index": {
- "description": "Output only. [Output Only] A zero-based index to this disk, where 0 is reserved for the boot disk. If you have many disks attached to an instance, each disk would have a unique index number.",
+ "description": "Output only. A zero-based index to this disk, where 0 is reserved for the boot disk. If you have many disks attached to an instance, each disk would have a unique index number.",
"format": "int32",
"readOnly": true,
"type": "integer"
},
"initializeParams": {
"$ref": "LocalDiskInitializeParams",
- "description": "Input only. [Input Only] Specifies the parameters for a new disk that will be created alongside the new instance. Use initialization parameters to create boot disks or local SSDs attached to the new instance. This property is mutually exclusive with the source property; you can only define one or the other, but not both."
+ "description": "Input only. Specifies the parameters for a new disk that will be created alongside the new instance. Use initialization parameters to create boot disks or local SSDs attached to the new instance. This property is mutually exclusive with the source property; you can only define one or the other, but not both."
},
"interface": {
"description": "Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. Persistent disks must always use SCSI and the request will fail if you attempt to attach a persistent disk in any other format than SCSI. Local SSDs can use either NVME or SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance. Valid values: NVME SCSI",
@@ -2540,7 +2540,7 @@
"type": "string"
},
"licenses": {
- "description": "Output only. [Output Only] Any valid publicly visible licenses.",
+ "description": "Output only. Any valid publicly visible licenses.",
"items": {
"type": "string"
},
@@ -2563,7 +2563,7 @@
"type": "object"
},
"LocalDiskInitializeParams": {
- "description": "[Input Only] Specifies the parameters for a new disk that will be created alongside the new instance. Use initialization parameters to create boot disks or local SSDs attached to the new runtime. This property is mutually exclusive with the source property; you can only define one or the other, but not both.",
+ "description": "Input only. Specifies the parameters for a new disk that will be created alongside the new instance. Use initialization parameters to create boot disks or local SSDs attached to the new runtime. This property is mutually exclusive with the source property; you can only define one or the other, but not both.",
"id": "LocalDiskInitializeParams",
"properties": {
"description": {
@@ -2875,7 +2875,7 @@
"readOnly": true
},
"name": {
- "description": "Output only. The resource name of the runtime. Format: `projects/{project}/locations/{location}/runtimes/{runtime}`",
+ "description": "Output only. The resource name of the runtime. Format: `projects/{project}/locations/{location}/runtimes/{runtimeId}`",
"readOnly": true,
"type": "string"
},
@@ -2996,11 +2996,11 @@
"type": "object"
},
"RuntimeGuestOsFeature": {
- "description": "A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options. Guest OS features for boot disk.",
+ "description": "Optional. A list of features to enable on the guest operating system. Applicable only for bootable images. Read [Enabling guest operating system features](https://cloud.google.com/compute/docs/images/create-delete-deprecate-private-images#guest-os-features) to see a list of available options. Guest OS features for boot disk.",
"id": "RuntimeGuestOsFeature",
"properties": {
"type": {
- "description": "The ID of a supported feature. Read Enabling guest operating system features to see a list of available options. Valid values: FEATURE_TYPE_UNSPECIFIED MULTI_IP_SUBNET SECURE_BOOT UEFI_COMPATIBLE VIRTIO_SCSI_MULTIQUEUE WINDOWS",
+ "description": "The ID of a supported feature. Read [Enabling guest operating system features](https://cloud.google.com/compute/docs/images/create-delete-deprecate-private-images#guest-os-features) to see a list of available options. Valid values: * FEATURE_TYPE_UNSPECIFIED * MULTI_IP_SUBNET * SECURE_BOOT * UEFI_COMPATIBLE * VIRTIO_SCSI_MULTIQUEUE * WINDOWS",
"type": "string"
}
},
@@ -3022,7 +3022,7 @@
"type": "object"
},
"RuntimeShieldedInstanceConfig": {
- "description": "A set of Shielded Instance options. Check [Images using supported Shielded VM features] Not all combinations are valid.",
+ "description": "A set of Shielded Instance options. Check [Images using supported Shielded VM features](https://cloud.google.com/compute/docs/instances/modifying-shielded-vm). Not all combinations are valid.",
"id": "RuntimeShieldedInstanceConfig",
"properties": {
"enableIntegrityMonitoring": {
@@ -3041,7 +3041,7 @@
"type": "object"
},
"RuntimeSoftwareConfig": {
- "description": "Specifies the selection and config of software inside the runtime. / The properties to set on runtime. Properties keys are specified in `key:value` format, for example: * idle_shutdown: idle_shutdown=true * idle_shutdown_timeout: idle_shutdown_timeout=180 * report-system-health: report-system-health=true",
+ "description": "Specifies the selection and configuration of software inside the runtime. The properties to set on runtime. Properties keys are specified in `key:value` format, for example: * `idle_shutdown: true` * `idle_shutdown_timeout: 180` * `report-system-health: true`",
"id": "RuntimeSoftwareConfig",
"properties": {
"customGpuDriverPath": {
diff --git a/googleapiclient/discovery_cache/documents/ondemandscanning.v1.json b/googleapiclient/discovery_cache/documents/ondemandscanning.v1.json
index 67987a825..4a8ccf19c 100644
--- a/googleapiclient/discovery_cache/documents/ondemandscanning.v1.json
+++ b/googleapiclient/discovery_cache/documents/ondemandscanning.v1.json
@@ -339,7 +339,7 @@
}
}
},
- "revision": "20210712",
+ "revision": "20210717",
"rootUrl": "https://ondemandscanning.googleapis.com/",
"schemas": {
"AliasContext": {
@@ -1166,13 +1166,15 @@
"PACKAGE_TYPE_UNSPECIFIED",
"OS",
"MAVEN",
- "GO"
+ "GO",
+ "GO_STDLIB"
],
"enumDescriptions": [
"",
"Operating System",
- "",
- ""
+ "Java packages from Maven.",
+ "Go third-party packages.",
+ "Go toolchain + standard library packages."
],
"type": "string"
},
diff --git a/googleapiclient/discovery_cache/documents/ondemandscanning.v1beta1.json b/googleapiclient/discovery_cache/documents/ondemandscanning.v1beta1.json
index 5ccc5b862..ee88e9a17 100644
--- a/googleapiclient/discovery_cache/documents/ondemandscanning.v1beta1.json
+++ b/googleapiclient/discovery_cache/documents/ondemandscanning.v1beta1.json
@@ -339,7 +339,7 @@
}
}
},
- "revision": "20210712",
+ "revision": "20210717",
"rootUrl": "https://ondemandscanning.googleapis.com/",
"schemas": {
"AliasContext": {
@@ -1166,13 +1166,15 @@
"PACKAGE_TYPE_UNSPECIFIED",
"OS",
"MAVEN",
- "GO"
+ "GO",
+ "GO_STDLIB"
],
"enumDescriptions": [
"",
"Operating System",
- "",
- ""
+ "Java packages from Maven.",
+ "Go third-party packages.",
+ "Go toolchain + standard library packages."
],
"type": "string"
},
diff --git a/googleapiclient/discovery_cache/documents/orgpolicy.v2.json b/googleapiclient/discovery_cache/documents/orgpolicy.v2.json
index d48626053..619b2edb9 100644
--- a/googleapiclient/discovery_cache/documents/orgpolicy.v2.json
+++ b/googleapiclient/discovery_cache/documents/orgpolicy.v2.json
@@ -751,7 +751,7 @@
}
}
},
- "revision": "20210717",
+ "revision": "20210723",
"rootUrl": "https://orgpolicy.googleapis.com/",
"schemas": {
"GoogleCloudOrgpolicyV2Constraint": {
diff --git a/googleapiclient/discovery_cache/documents/oslogin.v1.json b/googleapiclient/discovery_cache/documents/oslogin.v1.json
index 132a49111..65b2e0f5f 100644
--- a/googleapiclient/discovery_cache/documents/oslogin.v1.json
+++ b/googleapiclient/discovery_cache/documents/oslogin.v1.json
@@ -306,7 +306,7 @@
}
}
},
- "revision": "20210712",
+ "revision": "20210717",
"rootUrl": "https://oslogin.googleapis.com/",
"schemas": {
"Empty": {
diff --git a/googleapiclient/discovery_cache/documents/oslogin.v1alpha.json b/googleapiclient/discovery_cache/documents/oslogin.v1alpha.json
index 34cdc57a9..54d1e2f6a 100644
--- a/googleapiclient/discovery_cache/documents/oslogin.v1alpha.json
+++ b/googleapiclient/discovery_cache/documents/oslogin.v1alpha.json
@@ -374,7 +374,7 @@
}
}
},
- "revision": "20210712",
+ "revision": "20210717",
"rootUrl": "https://oslogin.googleapis.com/",
"schemas": {
"Empty": {
diff --git a/googleapiclient/discovery_cache/documents/oslogin.v1beta.json b/googleapiclient/discovery_cache/documents/oslogin.v1beta.json
index 61a064580..bcbb237cc 100644
--- a/googleapiclient/discovery_cache/documents/oslogin.v1beta.json
+++ b/googleapiclient/discovery_cache/documents/oslogin.v1beta.json
@@ -344,7 +344,7 @@
}
}
},
- "revision": "20210712",
+ "revision": "20210717",
"rootUrl": "https://oslogin.googleapis.com/",
"schemas": {
"Empty": {
diff --git a/googleapiclient/discovery_cache/documents/pagespeedonline.v5.json b/googleapiclient/discovery_cache/documents/pagespeedonline.v5.json
index 292af03f8..3cd7c2ad1 100644
--- a/googleapiclient/discovery_cache/documents/pagespeedonline.v5.json
+++ b/googleapiclient/discovery_cache/documents/pagespeedonline.v5.json
@@ -193,7 +193,7 @@
}
}
},
- "revision": "20210716",
+ "revision": "20210723",
"rootUrl": "https://pagespeedonline.googleapis.com/",
"schemas": {
"AuditRefs": {
diff --git a/googleapiclient/discovery_cache/documents/paymentsresellersubscription.v1.json b/googleapiclient/discovery_cache/documents/paymentsresellersubscription.v1.json
index e02a954ca..40cf93d95 100644
--- a/googleapiclient/discovery_cache/documents/paymentsresellersubscription.v1.json
+++ b/googleapiclient/discovery_cache/documents/paymentsresellersubscription.v1.json
@@ -366,7 +366,7 @@
}
}
},
- "revision": "20210719",
+ "revision": "20210725",
"rootUrl": "https://paymentsresellersubscription.googleapis.com/",
"schemas": {
"GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest": {
diff --git a/googleapiclient/discovery_cache/documents/people.v1.json b/googleapiclient/discovery_cache/documents/people.v1.json
index 3381c07ea..83025d001 100644
--- a/googleapiclient/discovery_cache/documents/people.v1.json
+++ b/googleapiclient/discovery_cache/documents/people.v1.json
@@ -395,7 +395,7 @@
]
},
"list": {
- "description": "List all \"Other contacts\", that is contacts that are not in a contact group. \"Other contacts\" are typically auto created contacts from interactions. Sync tokens expire 7 days after the full sync. A request with an expired sync token will result in a 410 error. In the case of such an error clients should make a full sync request without a `sync_token`. The first page of a full sync request has an additional quota. If the quota is exceeded, a 429 error will be returned. This quota is fixed and can not be increased. When the `sync_token` is specified, resources deleted since the last sync will be returned as a person with `PersonMetadata.deleted` set to true. When the `page_token` or `sync_token` is specified, all other request parameters must match the first call. See example usage at [List the user's other contacts that have changed](/people/v1/other-contacts#list_the_users_other_contacts_that_have_changed).",
+ "description": "List all \"Other contacts\", that is contacts that are not in a contact group. \"Other contacts\" are typically auto created contacts from interactions. Sync tokens expire 7 days after the full sync. A request with an expired sync token will result in a 410 error. In the case of such an error clients should make a full sync request without a `sync_token`. The first page of a full sync request has an additional quota. If the quota is exceeded, a 429 error will be returned. This quota is fixed and can not be increased. When the `sync_token` is specified, resources deleted since the last sync will be returned as a person with `PersonMetadata.deleted` set to true. When the `page_token` or `sync_token` is specified, all other request parameters must match the first call. Writes may have a propagation delay of several minutes for sync requests. Incremental syncs are not intended for read-after-write use cases. See example usage at [List the user's other contacts that have changed](/people/v1/other-contacts#list_the_users_other_contacts_that_have_changed).",
"flatPath": "v1/otherContacts",
"httpMethod": "GET",
"id": "people.otherContacts.list",
@@ -791,7 +791,7 @@
]
},
"listDirectoryPeople": {
- "description": "Provides a list of domain profiles and domain contacts in the authenticated user's domain directory. When the `sync_token` is specified, resources deleted since the last sync will be returned as a person with `PersonMetadata.deleted` set to true. When the `page_token` or `sync_token` is specified, all other request parameters must match the first call. See example usage at [List the directory people that have changed](/people/v1/directory#list_the_directory_people_that_have_changed).",
+ "description": "Provides a list of domain profiles and domain contacts in the authenticated user's domain directory. When the `sync_token` is specified, resources deleted since the last sync will be returned as a person with `PersonMetadata.deleted` set to true. When the `page_token` or `sync_token` is specified, all other request parameters must match the first call. Writes may have a propagation delay of several minutes for sync requests. Incremental syncs are not intended for read-after-write use cases. See example usage at [List the directory people that have changed](/people/v1/directory#list_the_directory_people_that_have_changed).",
"flatPath": "v1/people:listDirectoryPeople",
"httpMethod": "GET",
"id": "people.people.listDirectoryPeople",
@@ -1074,7 +1074,7 @@
"connections": {
"methods": {
"list": {
- "description": "Provides a list of the authenticated user's contacts. Sync tokens expire 7 days after the full sync. A request with an expired sync token will result in a 410 error. In the case of such an error clients should make a full sync request without a `sync_token`. The first page of a full sync request has an additional quota. If the quota is exceeded, a 429 error will be returned. This quota is fixed and can not be increased. When the `sync_token` is specified, resources deleted since the last sync will be returned as a person with `PersonMetadata.deleted` set to true. When the `page_token` or `sync_token` is specified, all other request parameters must match the first call. See example usage at [List the user's contacts that have changed](/people/v1/contacts#list_the_users_contacts_that_have_changed).",
+ "description": "Provides a list of the authenticated user's contacts. Sync tokens expire 7 days after the full sync. A request with an expired sync token will result in a 410 error. In the case of such an error clients should make a full sync request without a `sync_token`. The first page of a full sync request has an additional quota. If the quota is exceeded, a 429 error will be returned. This quota is fixed and can not be increased. When the `sync_token` is specified, resources deleted since the last sync will be returned as a person with `PersonMetadata.deleted` set to true. When the `page_token` or `sync_token` is specified, all other request parameters must match the first call. Writes may have a propagation delay of several minutes for sync requests. Incremental syncs are not intended for read-after-write use cases. See example usage at [List the user's contacts that have changed](/people/v1/contacts#list_the_users_contacts_that_have_changed).",
"flatPath": "v1/people/{peopleId}/connections",
"httpMethod": "GET",
"id": "people.people.connections.list",
@@ -1172,7 +1172,7 @@
}
}
},
- "revision": "20210714",
+ "revision": "20210720",
"rootUrl": "https://people.googleapis.com/",
"schemas": {
"Address": {
@@ -1832,13 +1832,17 @@
"id": "FieldMetadata",
"properties": {
"primary": {
- "description": "True if the field is the primary field; false if the field is a secondary field.",
+ "description": "True if the field is the primary field for the person.",
"type": "boolean"
},
"source": {
"$ref": "Source",
"description": "The source of the field."
},
+ "sourcePrimary": {
+ "description": "True if the field is the primary field for the source.",
+ "type": "boolean"
+ },
"verified": {
"description": "Output only. True if the field is verified; false if the field is unverified. A verified field is typically a name, email address, phone number, or website that has been confirmed to be owned by the person.",
"readOnly": true,
diff --git a/googleapiclient/discovery_cache/documents/playablelocations.v3.json b/googleapiclient/discovery_cache/documents/playablelocations.v3.json
index b4051c619..d9c6603b0 100644
--- a/googleapiclient/discovery_cache/documents/playablelocations.v3.json
+++ b/googleapiclient/discovery_cache/documents/playablelocations.v3.json
@@ -146,7 +146,7 @@
}
}
},
- "revision": "20210717",
+ "revision": "20210723",
"rootUrl": "https://playablelocations.googleapis.com/",
"schemas": {
"GoogleMapsPlayablelocationsV3Impression": {
diff --git a/googleapiclient/discovery_cache/documents/playcustomapp.v1.json b/googleapiclient/discovery_cache/documents/playcustomapp.v1.json
index 4d8419b81..f7b663b5f 100644
--- a/googleapiclient/discovery_cache/documents/playcustomapp.v1.json
+++ b/googleapiclient/discovery_cache/documents/playcustomapp.v1.json
@@ -158,7 +158,7 @@
}
}
},
- "revision": "20210717",
+ "revision": "20210723",
"rootUrl": "https://playcustomapp.googleapis.com/",
"schemas": {
"CustomApp": {
diff --git a/googleapiclient/discovery_cache/documents/policysimulator.v1.json b/googleapiclient/discovery_cache/documents/policysimulator.v1.json
index f14527d2c..78ec7669c 100644
--- a/googleapiclient/discovery_cache/documents/policysimulator.v1.json
+++ b/googleapiclient/discovery_cache/documents/policysimulator.v1.json
@@ -493,7 +493,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210717",
"rootUrl": "https://policysimulator.googleapis.com/",
"schemas": {
"GoogleCloudPolicysimulatorV1AccessStateDiff": {
diff --git a/googleapiclient/discovery_cache/documents/policysimulator.v1beta1.json b/googleapiclient/discovery_cache/documents/policysimulator.v1beta1.json
index c760fd94c..ff09197d9 100644
--- a/googleapiclient/discovery_cache/documents/policysimulator.v1beta1.json
+++ b/googleapiclient/discovery_cache/documents/policysimulator.v1beta1.json
@@ -493,7 +493,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210717",
"rootUrl": "https://policysimulator.googleapis.com/",
"schemas": {
"GoogleCloudPolicysimulatorV1Replay": {
diff --git a/googleapiclient/discovery_cache/documents/policytroubleshooter.v1.json b/googleapiclient/discovery_cache/documents/policytroubleshooter.v1.json
index d5a731b54..35d7e8bb6 100644
--- a/googleapiclient/discovery_cache/documents/policytroubleshooter.v1.json
+++ b/googleapiclient/discovery_cache/documents/policytroubleshooter.v1.json
@@ -128,7 +128,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210717",
"rootUrl": "https://policytroubleshooter.googleapis.com/",
"schemas": {
"GoogleCloudPolicytroubleshooterV1AccessTuple": {
diff --git a/googleapiclient/discovery_cache/documents/policytroubleshooter.v1beta.json b/googleapiclient/discovery_cache/documents/policytroubleshooter.v1beta.json
index 986d4ceb5..e3dd76a5b 100644
--- a/googleapiclient/discovery_cache/documents/policytroubleshooter.v1beta.json
+++ b/googleapiclient/discovery_cache/documents/policytroubleshooter.v1beta.json
@@ -128,7 +128,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210717",
"rootUrl": "https://policytroubleshooter.googleapis.com/",
"schemas": {
"GoogleCloudPolicytroubleshooterV1betaAccessTuple": {
diff --git a/googleapiclient/discovery_cache/documents/privateca.v1.json b/googleapiclient/discovery_cache/documents/privateca.v1.json
index bf62fbc5e..f4b09b09a 100644
--- a/googleapiclient/discovery_cache/documents/privateca.v1.json
+++ b/googleapiclient/discovery_cache/documents/privateca.v1.json
@@ -1030,7 +1030,7 @@
"type": "string"
},
"requestId": {
- "description": "Optional. An 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 t he 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).",
+ "description": "Optional. An 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"
},
@@ -1590,7 +1590,7 @@
}
}
},
- "revision": "20210707",
+ "revision": "20210714",
"rootUrl": "https://privateca.googleapis.com/",
"schemas": {
"AccessUrls": {
diff --git a/googleapiclient/discovery_cache/documents/privateca.v1beta1.json b/googleapiclient/discovery_cache/documents/privateca.v1beta1.json
index 78ee3e27e..b18bcfa50 100644
--- a/googleapiclient/discovery_cache/documents/privateca.v1beta1.json
+++ b/googleapiclient/discovery_cache/documents/privateca.v1beta1.json
@@ -1254,7 +1254,7 @@
}
}
},
- "revision": "20210707",
+ "revision": "20210721",
"rootUrl": "https://privateca.googleapis.com/",
"schemas": {
"AccessUrls": {
@@ -2823,7 +2823,7 @@
"id": "SubordinateConfig",
"properties": {
"certificateAuthority": {
- "description": "Required. This can refer to a CertificateAuthority in the same project that was used to create a subordinate CertificateAuthority. This field is used for information and usability purposes only. The resource name is in the format `projects/*/locations/*/certificateAuthorities/*`.",
+ "description": "Required. This can refer to a CertificateAuthority that was used to create a subordinate CertificateAuthority. This field is used for information and usability purposes only. The resource name is in the format `projects/*/locations/*/certificateAuthorities/*`.",
"type": "string"
},
"pemIssuerChain": {
diff --git a/googleapiclient/discovery_cache/documents/prod_tt_sasportal.v1alpha1.json b/googleapiclient/discovery_cache/documents/prod_tt_sasportal.v1alpha1.json
index 3e1211256..fd1177af6 100644
--- a/googleapiclient/discovery_cache/documents/prod_tt_sasportal.v1alpha1.json
+++ b/googleapiclient/discovery_cache/documents/prod_tt_sasportal.v1alpha1.json
@@ -2484,7 +2484,7 @@
}
}
},
- "revision": "20210715",
+ "revision": "20210723",
"rootUrl": "https://prod-tt-sasportal.googleapis.com/",
"schemas": {
"SasPortalAssignment": {
diff --git a/googleapiclient/discovery_cache/documents/pubsub.v1.json b/googleapiclient/discovery_cache/documents/pubsub.v1.json
index 3104aa06c..5905e0255 100644
--- a/googleapiclient/discovery_cache/documents/pubsub.v1.json
+++ b/googleapiclient/discovery_cache/documents/pubsub.v1.json
@@ -1424,7 +1424,7 @@
}
}
},
- "revision": "20210705",
+ "revision": "20210712",
"rootUrl": "https://pubsub.googleapis.com/",
"schemas": {
"AcknowledgeRequest": {
diff --git a/googleapiclient/discovery_cache/documents/pubsub.v1beta1a.json b/googleapiclient/discovery_cache/documents/pubsub.v1beta1a.json
index 1d40098e5..bb894769d 100644
--- a/googleapiclient/discovery_cache/documents/pubsub.v1beta1a.json
+++ b/googleapiclient/discovery_cache/documents/pubsub.v1beta1a.json
@@ -457,7 +457,7 @@
}
}
},
- "revision": "20210705",
+ "revision": "20210712",
"rootUrl": "https://pubsub.googleapis.com/",
"schemas": {
"AcknowledgeRequest": {
diff --git a/googleapiclient/discovery_cache/documents/pubsub.v1beta2.json b/googleapiclient/discovery_cache/documents/pubsub.v1beta2.json
index 4db52f58d..b3397da4b 100644
--- a/googleapiclient/discovery_cache/documents/pubsub.v1beta2.json
+++ b/googleapiclient/discovery_cache/documents/pubsub.v1beta2.json
@@ -724,7 +724,7 @@
}
}
},
- "revision": "20210705",
+ "revision": "20210712",
"rootUrl": "https://pubsub.googleapis.com/",
"schemas": {
"AcknowledgeRequest": {
diff --git a/googleapiclient/discovery_cache/documents/pubsublite.v1.json b/googleapiclient/discovery_cache/documents/pubsublite.v1.json
index e7ed95218..fb52f25ec 100644
--- a/googleapiclient/discovery_cache/documents/pubsublite.v1.json
+++ b/googleapiclient/discovery_cache/documents/pubsublite.v1.json
@@ -690,7 +690,7 @@
}
}
},
- "revision": "20210712",
+ "revision": "20210720",
"rootUrl": "https://pubsublite.googleapis.com/",
"schemas": {
"Capacity": {
diff --git a/googleapiclient/discovery_cache/documents/realtimebidding.v1.json b/googleapiclient/discovery_cache/documents/realtimebidding.v1.json
index 38a542994..a12a76bfc 100644
--- a/googleapiclient/discovery_cache/documents/realtimebidding.v1.json
+++ b/googleapiclient/discovery_cache/documents/realtimebidding.v1.json
@@ -1140,7 +1140,7 @@
}
}
},
- "revision": "20210717",
+ "revision": "20210724",
"rootUrl": "https://realtimebidding.googleapis.com/",
"schemas": {
"ActivatePretargetingConfigRequest": {
diff --git a/googleapiclient/discovery_cache/documents/realtimebidding.v1alpha.json b/googleapiclient/discovery_cache/documents/realtimebidding.v1alpha.json
index ed878172c..f20edd427 100644
--- a/googleapiclient/discovery_cache/documents/realtimebidding.v1alpha.json
+++ b/googleapiclient/discovery_cache/documents/realtimebidding.v1alpha.json
@@ -234,7 +234,7 @@
}
}
},
- "revision": "20210717",
+ "revision": "20210724",
"rootUrl": "https://realtimebidding.googleapis.com/",
"schemas": {
"ActivateBiddingFunctionRequest": {
diff --git a/googleapiclient/discovery_cache/documents/recaptchaenterprise.v1.json b/googleapiclient/discovery_cache/documents/recaptchaenterprise.v1.json
index b505ba162..0a76a21ea 100644
--- a/googleapiclient/discovery_cache/documents/recaptchaenterprise.v1.json
+++ b/googleapiclient/discovery_cache/documents/recaptchaenterprise.v1.json
@@ -375,7 +375,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210717",
"rootUrl": "https://recaptchaenterprise.googleapis.com/",
"schemas": {
"GoogleCloudRecaptchaenterpriseV1AndroidKeySettings": {
diff --git a/googleapiclient/discovery_cache/documents/recommender.v1.json b/googleapiclient/discovery_cache/documents/recommender.v1.json
index 262b4e83a..d3d012009 100644
--- a/googleapiclient/discovery_cache/documents/recommender.v1.json
+++ b/googleapiclient/discovery_cache/documents/recommender.v1.json
@@ -1178,7 +1178,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210717",
"rootUrl": "https://recommender.googleapis.com/",
"schemas": {
"GoogleCloudRecommenderV1CostProjection": {
diff --git a/googleapiclient/discovery_cache/documents/recommender.v1beta1.json b/googleapiclient/discovery_cache/documents/recommender.v1beta1.json
index c4f32a6bc..235826fa9 100644
--- a/googleapiclient/discovery_cache/documents/recommender.v1beta1.json
+++ b/googleapiclient/discovery_cache/documents/recommender.v1beta1.json
@@ -1178,7 +1178,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210717",
"rootUrl": "https://recommender.googleapis.com/",
"schemas": {
"GoogleCloudRecommenderV1beta1CostProjection": {
diff --git a/googleapiclient/discovery_cache/documents/reseller.v1.json b/googleapiclient/discovery_cache/documents/reseller.v1.json
index ff0689bda..9d1e9a819 100644
--- a/googleapiclient/discovery_cache/documents/reseller.v1.json
+++ b/googleapiclient/discovery_cache/documents/reseller.v1.json
@@ -111,7 +111,7 @@
"customers": {
"methods": {
"get": {
- "description": "Get a customer account. Use this operation to see a customer account already in your reseller management, or to see the minimal account information for an existing customer that you do not manage. For more information about the API response for existing customers, see [retrieving a customer account](/admin-sdk/reseller/v1/how-tos/manage_customers#get_customer).",
+ "description": "Gets a customer account. Use this operation to see a customer account already in your reseller management, or to see the minimal account information for an existing customer that you do not manage. For more information about the API response for existing customers, see [retrieving a customer account](/admin-sdk/reseller/v1/how-tos/manage_customers#get_customer).",
"flatPath": "apps/reseller/v1/customers/{customerId}",
"httpMethod": "GET",
"id": "reseller.customers.get",
@@ -136,7 +136,7 @@
]
},
"insert": {
- "description": "Order a new customer's account. Before ordering a new customer account, establish whether the customer account already exists using the [`customers.get`](/admin-sdk/reseller/v1/reference/customers/get) If the customer account exists as a direct Google account or as a resold customer account from another reseller, use the `customerAuthToken\\` as described in [order a resold account for an existing customer](/admin-sdk/reseller/v1/how-tos/manage_customers#create_existing_customer). For more information about ordering a new customer account, see [order a new customer account](/admin-sdk/reseller/v1/how-tos/manage_customers#create_customer). After creating a new customer account, you must provision a user as an administrator. The customer's administrator is required to sign in to the Admin console and sign the G Suite via Reseller agreement to activate the account. Resellers are prohibited from signing the G Suite via Reseller agreement on the customer's behalf. For more information, see [order a new customer account](/admin-sdk/reseller/v1/how-tos/manage_customers#tos).",
+ "description": "Orders a new customer's account. Before ordering a new customer account, establish whether the customer account already exists using the [`customers.get`](/admin-sdk/reseller/v1/reference/customers/get) If the customer account exists as a direct Google account or as a resold customer account from another reseller, use the `customerAuthToken\\` as described in [order a resold account for an existing customer](/admin-sdk/reseller/v1/how-tos/manage_customers#create_existing_customer). For more information about ordering a new customer account, see [order a new customer account](/admin-sdk/reseller/v1/how-tos/manage_customers#create_customer). After creating a new customer account, you must provision a user as an administrator. The customer's administrator is required to sign in to the Admin console and sign the G Suite via Reseller agreement to activate the account. Resellers are prohibited from signing the G Suite via Reseller agreement on the customer's behalf. For more information, see [order a new customer account](/admin-sdk/reseller/v1/how-tos/manage_customers#tos).",
"flatPath": "apps/reseller/v1/customers",
"httpMethod": "POST",
"id": "reseller.customers.insert",
@@ -160,7 +160,7 @@
]
},
"patch": {
- "description": "Update a customer account's settings. This method supports patch semantics.",
+ "description": "Updates a customer account's settings. This method supports patch semantics. You cannot update `customerType` via the Reseller API, but a `\"team\"` customer can verify their domain and become `customerType = \"domain\"`. For more information, see [Verify your domain to unlock Essentials features](https://support.google.com/a/answer/9122284).",
"flatPath": "apps/reseller/v1/customers/{customerId}",
"httpMethod": "PATCH",
"id": "reseller.customers.patch",
@@ -187,7 +187,7 @@
]
},
"update": {
- "description": "Update a customer account's settings. For more information, see [update a customer's settings](/admin-sdk/reseller/v1/how-tos/manage_customers#update_customer).",
+ "description": "Updates a customer account's settings. You cannot update `customerType` via the Reseller API, but a `\"team\"` customer can verify their domain and become `customerType = \"domain\"`. For more information, see [update a customer's settings](/admin-sdk/reseller/v1/how-tos/manage_customers#update_customer).",
"flatPath": "apps/reseller/v1/customers/{customerId}",
"httpMethod": "PUT",
"id": "reseller.customers.update",
@@ -311,7 +311,7 @@
]
},
"changePlan": {
- "description": "Update a subscription plan. Use this method to update a plan for a 30-day trial or a flexible plan subscription to an annual commitment plan with monthly or yearly payments. How a plan is updated differs depending on the plan and the products. For more information, see the description in [manage subscriptions](/admin-sdk/reseller/v1/how-tos/manage_subscriptions#update_subscription_plan).",
+ "description": "Updates a subscription plan. Use this method to update a plan for a 30-day trial or a flexible plan subscription to an annual commitment plan with monthly or yearly payments. How a plan is updated differs depending on the plan and the products. For more information, see the description in [manage subscriptions](/admin-sdk/reseller/v1/how-tos/manage_subscriptions#update_subscription_plan).",
"flatPath": "apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/changePlan",
"httpMethod": "POST",
"id": "reseller.subscriptions.changePlan",
@@ -345,7 +345,7 @@
]
},
"changeRenewalSettings": {
- "description": "Update a user license's renewal settings. This is applicable for accounts with annual commitment plans only. For more information, see the description in [manage subscriptions](/admin-sdk/reseller/v1/how-tos/manage_subscriptions#update_renewal).",
+ "description": "Updates a user license's renewal settings. This is applicable for accounts with annual commitment plans only. For more information, see the description in [manage subscriptions](/admin-sdk/reseller/v1/how-tos/manage_subscriptions#update_renewal).",
"flatPath": "apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/changeRenewalSettings",
"httpMethod": "POST",
"id": "reseller.subscriptions.changeRenewalSettings",
@@ -379,7 +379,7 @@
]
},
"changeSeats": {
- "description": "Update a subscription's user license settings. For more information about updating an annual commitment plan or a flexible plan subscription\u2019s licenses, see [Manage Subscriptions](/admin-sdk/reseller/v1/how-tos/manage_subscriptions#update_subscription_seat).",
+ "description": "Updates a subscription's user license settings. For more information about updating an annual commitment plan or a flexible plan subscription\u2019s licenses, see [Manage Subscriptions](/admin-sdk/reseller/v1/how-tos/manage_subscriptions#update_subscription_seat).",
"flatPath": "apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/changeSeats",
"httpMethod": "POST",
"id": "reseller.subscriptions.changeSeats",
@@ -413,7 +413,7 @@
]
},
"delete": {
- "description": "Cancel, suspend, or transfer a subscription to direct.",
+ "description": "Cancels, suspends, or transfers a subscription to direct.",
"flatPath": "apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}",
"httpMethod": "DELETE",
"id": "reseller.subscriptions.delete",
@@ -458,7 +458,7 @@
]
},
"get": {
- "description": "Get a specific subscription. The `subscriptionId` can be found using the [Retrieve all reseller subscriptions](/admin-sdk/reseller/v1/how-tos/manage_subscriptions#get_all_subscriptions) method. For more information about retrieving a specific subscription, see the information descrived in [manage subscriptions](/admin-sdk/reseller/v1/how-tos/manage_subscriptions#get_subscription).",
+ "description": "Gets a specific subscription. The `subscriptionId` can be found using the [Retrieve all reseller subscriptions](/admin-sdk/reseller/v1/how-tos/manage_subscriptions#get_all_subscriptions) method. For more information about retrieving a specific subscription, see the information descrived in [manage subscriptions](/admin-sdk/reseller/v1/how-tos/manage_subscriptions#get_subscription).",
"flatPath": "apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}",
"httpMethod": "GET",
"id": "reseller.subscriptions.get",
@@ -490,7 +490,7 @@
]
},
"insert": {
- "description": "Create or transfer a subscription. Create a subscription for a customer's account that you ordered using the [Order a new customer account](/admin-sdk/reseller/v1/reference/customers/insert.html) method. For more information about creating a subscription for different payment plans, see [manage subscriptions](/admin-sdk/reseller/v1/how-tos/manage_subscriptions#create_subscription).\\ If you did not order the customer's account using the customer insert method, use the customer's `customerAuthToken` when creating a subscription for that customer. If transferring a G Suite subscription with an associated Google Drive or Google Vault subscription, use the [batch operation](/admin-sdk/reseller/v1/how-tos/batch.html) to transfer all of these subscriptions. For more information, see how to [transfer subscriptions](/admin-sdk/reseller/v1/how-tos/manage_subscriptions#transfer_a_subscription).",
+ "description": "Creates or transfer a subscription. Create a subscription for a customer's account that you ordered using the [Order a new customer account](/admin-sdk/reseller/v1/reference/customers/insert.html) method. For more information about creating a subscription for different payment plans, see [manage subscriptions](/admin-sdk/reseller/v1/how-tos/manage_subscriptions#create_subscription).\\ If you did not order the customer's account using the customer insert method, use the customer's `customerAuthToken` when creating a subscription for that customer. If transferring a G Suite subscription with an associated Google Drive or Google Vault subscription, use the [batch operation](/admin-sdk/reseller/v1/how-tos/batch.html) to transfer all of these subscriptions. For more information, see how to [transfer subscriptions](/admin-sdk/reseller/v1/how-tos/manage_subscriptions#transfer_a_subscription).",
"flatPath": "apps/reseller/v1/customers/{customerId}/subscriptions",
"httpMethod": "POST",
"id": "reseller.subscriptions.insert",
@@ -522,7 +522,7 @@
]
},
"list": {
- "description": "List of subscriptions managed by the reseller. The list can be all subscriptions, all of a customer's subscriptions, or all of a customer's transferable subscriptions. Optionally, this method can filter the response by a `customerNamePrefix`. For more information, see [manage subscriptions](/admin-sdk/reseller/v1/how-tos/manage_subscriptions).",
+ "description": "Lists of subscriptions managed by the reseller. The list can be all subscriptions, all of a customer's subscriptions, or all of a customer's transferable subscriptions. Optionally, this method can filter the response by a `customerNamePrefix`. For more information, see [manage subscriptions](/admin-sdk/reseller/v1/how-tos/manage_subscriptions).",
"flatPath": "apps/reseller/v1/subscriptions",
"httpMethod": "GET",
"id": "reseller.subscriptions.list",
@@ -631,7 +631,7 @@
}
}
},
- "revision": "20210702",
+ "revision": "20210720",
"rootUrl": "https://reseller.googleapis.com/",
"schemas": {
"Address": {
@@ -715,7 +715,7 @@
"id": "Customer",
"properties": {
"alternateEmail": {
- "description": "Like the \"Customer email\" in the reseller tools, this email is the secondary contact used if something happens to the customer's service such as service outage or a security issue. This property is required when creating a new customer and should not use the same domain as `customerDomain`.",
+ "description": "Like the \"Customer email\" in the reseller tools, this email is the secondary contact used if something happens to the customer's service such as service outage or a security issue. This property is required when creating a new \"domain\" customer and should not use the same domain as `customerDomain`. The `alternateEmail` field is not necessary to create a \"team\" customer.",
"type": "string"
},
"customerDomain": {
@@ -731,7 +731,7 @@
"type": "string"
},
"customerType": {
- "description": "The type of the customer (DOMAIN or TEAM), default is DOMAIN.",
+ "description": "Identifies the type of the customer. Acceptable values include: * `domain`: Implies a domain-verified customer (default). * `team`: Implies an email-verified customer. For more information, see [managed teams](https://support.google.com/a/users/answer/9939479).",
"enum": [
"CUSTOMER_TYPE_UNSPECIFIED",
"DOMAIN",
@@ -739,8 +739,8 @@
],
"enumDescriptions": [
"Customer type not known",
- "Domained or domain owning customers",
- "Domainless customers"
+ "Domained or domain-owning customers",
+ "Domainless or email-verified customers"
],
"type": "string"
},
@@ -773,7 +773,7 @@
"id": "PrimaryAdmin",
"properties": {
"primaryEmail": {
- "description": "Primary admin's domained email This email's domain will be used to create TEAM customer",
+ "description": "The business email of the primary administrator of the customer. The email verification link is sent to this email address at the time of customer creation. Primary administrators have access to the customer's Admin Console, including the ability to invite and evict users and manage the administrative needs of the customer.",
"type": "string"
}
},
@@ -954,7 +954,7 @@
"description": "Read-only transfer related information for the subscription. For more information, see retrieve transferable subscriptions for a customer.",
"properties": {
"currentLegacySkuId": {
- "description": "Sku id of the current resold subscription. This is populated only when customer has subscription with legacy sku and the subscription resource is populated with recommeded sku for transfer in.",
+ "description": "The `skuId` of the current resold subscription. This is populated only when the customer has a subscription with a legacy SKU and the subscription resource is populated with the `skuId` of the SKU recommended for the transfer.",
"type": "string"
},
"minimumTransferableSeats": {
diff --git a/googleapiclient/discovery_cache/documents/resourcesettings.v1.json b/googleapiclient/discovery_cache/documents/resourcesettings.v1.json
index f1df2d11b..8e21d0840 100644
--- a/googleapiclient/discovery_cache/documents/resourcesettings.v1.json
+++ b/googleapiclient/discovery_cache/documents/resourcesettings.v1.json
@@ -499,7 +499,7 @@
}
}
},
- "revision": "20210717",
+ "revision": "20210723",
"rootUrl": "https://resourcesettings.googleapis.com/",
"schemas": {
"GoogleCloudResourcesettingsV1ListSettingsResponse": {
diff --git a/googleapiclient/discovery_cache/documents/retail.v2.json b/googleapiclient/discovery_cache/documents/retail.v2.json
index 3e75f5f39..a8b3cc790 100644
--- a/googleapiclient/discovery_cache/documents/retail.v2.json
+++ b/googleapiclient/discovery_cache/documents/retail.v2.json
@@ -111,6 +111,88 @@
"resources": {
"catalogs": {
"methods": {
+ "completeQuery": {
+ "description": "Completes the specified prefix with keyword suggestions. This feature is only available for users who have Retail Search enabled. Contact Retail Support (retail-search-support@google.com) if you are interested in using Retail Search.",
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}:completeQuery",
+ "httpMethod": "GET",
+ "id": "retail.projects.locations.catalogs.completeQuery",
+ "parameterOrder": [
+ "catalog"
+ ],
+ "parameters": {
+ "catalog": {
+ "description": "Required. Catalog for which the completion is performed. Full resource name of catalog, such as `projects/*/locations/global/catalogs/default_catalog`.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "dataset": {
+ "description": "Determines which dataset to use for fetching completion. \"user-data\" will use the imported dataset through ImportCompletionData. \"cloud-retail\" will use the dataset generated by cloud retail based on user events. If leave empty, it will use the \"user-data\". Current supported values: * user-data * cloud-retail This option is not automatically enabled. Before using cloud-retail, contact retail-search-support@google.com first.",
+ "location": "query",
+ "type": "string"
+ },
+ "deviceType": {
+ "description": "The device type context for completion suggestions. It is useful to apply different suggestions on different device types, e.g. DESKTOP, MOBILE. If it is empty, the suggestions are across all device types. Supported formats: * UNKNOWN_DEVICE_TYPE * DESKTOP * MOBILE * A customized string starts with OTHER_, e.g. OTHER_IPHONE.",
+ "location": "query",
+ "type": "string"
+ },
+ "languageCodes": {
+ "description": "The list of languages of the query. This is the BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47). The maximum number of allowed characters is 255. Only \"en-US\" is currently supported.",
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ },
+ "maxSuggestions": {
+ "description": "Completion max suggestions. The maximum allowed max suggestions is 20. The default value is 20.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "query": {
+ "description": "Required. The query used to generate suggestions. The maximum number of allowed characters is 255.",
+ "location": "query",
+ "type": "string"
+ },
+ "visitorId": {
+ "description": "A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v2/{+catalog}:completeQuery",
+ "response": {
+ "$ref": "GoogleCloudRetailV2CompleteQueryResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "getDefaultBranch": {
+ "description": "Get which branch is currently default branch set by CatalogService.SetDefaultBranch method under a specified parent catalog. This feature is only available for users who have Retail Search enabled. Contact Retail Support (retail-search-support@google.com) if you are interested in using Retail Search.",
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}:getDefaultBranch",
+ "httpMethod": "GET",
+ "id": "retail.projects.locations.catalogs.getDefaultBranch",
+ "parameterOrder": [
+ "catalog"
+ ],
+ "parameters": {
+ "catalog": {
+ "description": "The parent catalog resource name, such as `projects/*/locations/global/catalogs/default_catalog`.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2/{+catalog}:getDefaultBranch",
+ "response": {
+ "$ref": "GoogleCloudRetailV2GetDefaultBranchResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
"list": {
"description": "Lists all the Catalogs associated with the project.",
"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/catalogs",
@@ -180,6 +262,34 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
+ },
+ "setDefaultBranch": {
+ "description": "Set a specified branch id as default branch. API methods such as SearchService.Search, ProductService.GetProduct, ProductService.ListProducts will treat requests using \"default_branch\" to the actual branch id set as default. For example, if `projects/*/locations/*/catalogs/*/branches/1` is set as default, setting SearchRequest.branch to `projects/*/locations/*/catalogs/*/branches/default_branch` is equivalent to setting SearchRequest.branch to `projects/*/locations/*/catalogs/*/branches/1`. Using multiple branches can be useful when developers would like to have a staging branch to test and verify for future usage. When it becomes ready, developers switch on the staging branch using this API while keeping using `projects/*/locations/*/catalogs/*/branches/default_branch` as SearchRequest.branch to route the traffic to this staging branch. CAUTION: If you have live predict/search traffic, switching the default branch could potentially cause outages if the ID space of the new branch is very different from the old one. More specifically: * PredictionService will only return product IDs from branch {newBranch}. * SearchService will only return product IDs from branch {newBranch} (if branch is not explicitly set). * UserEventService will only join events with products from branch {newBranch}. This feature is only available for users who have Retail Search enabled. Contact Retail Support (retail-search-support@google.com) if you are interested in using Retail Search.",
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}:setDefaultBranch",
+ "httpMethod": "POST",
+ "id": "retail.projects.locations.catalogs.setDefaultBranch",
+ "parameterOrder": [
+ "catalog"
+ ],
+ "parameters": {
+ "catalog": {
+ "description": "Full resource name of the catalog, such as `projects/*/locations/global/catalogs/default_catalog`.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2/{+catalog}:setDefaultBranch",
+ "request": {
+ "$ref": "GoogleCloudRetailV2SetDefaultBranchRequest"
+ },
+ "response": {
+ "$ref": "GoogleProtobufEmpty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
}
},
"resources": {
@@ -216,6 +326,34 @@
},
"products": {
"methods": {
+ "addFulfillmentPlaces": {
+ "description": "Incrementally adds place IDs to Product.fulfillment_info.place_ids. This process is asynchronous and does not require the Product to exist before updating fulfillment information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, the added place IDs are not immediately manifested in the Product queried by GetProduct or ListProducts. This feature is only available for users who have Retail Search enabled. Contact Retail Support (retail-search-support@google.com) if you are interested in using Retail Search.",
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products/{productsId}:addFulfillmentPlaces",
+ "httpMethod": "POST",
+ "id": "retail.projects.locations.catalogs.branches.products.addFulfillmentPlaces",
+ "parameterOrder": [
+ "product"
+ ],
+ "parameters": {
+ "product": {
+ "description": "Required. Full resource name of Product, such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/some_product_id`. If the caller does not have permission to access the Product, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+/products/.*$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2/{+product}:addFulfillmentPlaces",
+ "request": {
+ "$ref": "GoogleCloudRetailV2AddFulfillmentPlacesRequest"
+ },
+ "response": {
+ "$ref": "GoogleLongrunningOperation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
"create": {
"description": "Creates a Product.",
"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products",
@@ -327,6 +465,53 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
+ "list": {
+ "description": "Gets a list of Products.",
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products",
+ "httpMethod": "GET",
+ "id": "retail.projects.locations.catalogs.branches.products.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "filter": {
+ "description": "A filter to apply on the list results. Supported features: * List all the products under the parent branch if filter is unset. * List Product.Type.VARIANT Products sharing the same Product.Type.PRIMARY Product. For example: `primary_product_id = \"some_product_id\"` * List Products bundled in a Product.Type.COLLECTION Product. For example: `collection_product_id = \"some_product_id\"` * List Products with a partibular type. For example: `type = \"PRIMARY\"` `type = \"VARIANT\"` `type = \"COLLECTION\"` If the field is unrecognizable, an INVALID_ARGUMENT error is returned. If the specified Product.Type.PRIMARY Product or Product.Type.COLLECTION Product does not exist, a NOT_FOUND error is returned.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Maximum number of Products to return. If unspecified, defaults to 100. The maximum allowed value is 1000. Values above 1000 will be coerced to 1000. If this field is negative, an INVALID_ARGUMENT error is returned.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "A page token ListProductsResponse.next_page_token, received from a previous ProductService.ListProducts call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ProductService.ListProducts must match the call that provided the page token. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "location": "query",
+ "type": "string"
+ },
+ "parent": {
+ "description": "Required. The parent branch resource name, such as `projects/*/locations/global/catalogs/default_catalog/branches/0`. Use `default_branch` as the branch ID, to list products under the default branch. If the caller does not have permission to list Products under this branch, regardless of whether or not this branch exists, a PERMISSION_DENIED error is returned.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "readMask": {
+ "description": "The fields of Product to return in the responses. If not set or empty, the following fields are returned: * Product.name * Product.id * Product.title * Product.uri * Product.images * Product.price_info * Product.brands If \"*\" is provided, all fields are returned. Product.name is always returned no matter what mask is set. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.",
+ "format": "google-fieldmask",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v2/{+parent}/products",
+ "response": {
+ "$ref": "GoogleCloudRetailV2ListProductsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
"patch": {
"description": "Updates a Product.",
"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products/{productsId}",
@@ -365,11 +550,99 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
+ },
+ "removeFulfillmentPlaces": {
+ "description": "Incrementally removes place IDs from a Product.fulfillment_info.place_ids. This process is asynchronous and does not require the Product to exist before updating fulfillment information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, the removed place IDs are not immediately manifested in the Product queried by GetProduct or ListProducts. This feature is only available for users who have Retail Search enabled. Contact Retail Support (retail-search-support@google.com) if you are interested in using Retail Search.",
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products/{productsId}:removeFulfillmentPlaces",
+ "httpMethod": "POST",
+ "id": "retail.projects.locations.catalogs.branches.products.removeFulfillmentPlaces",
+ "parameterOrder": [
+ "product"
+ ],
+ "parameters": {
+ "product": {
+ "description": "Required. Full resource name of Product, such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/some_product_id`. If the caller does not have permission to access the Product, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+/products/.*$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2/{+product}:removeFulfillmentPlaces",
+ "request": {
+ "$ref": "GoogleCloudRetailV2RemoveFulfillmentPlacesRequest"
+ },
+ "response": {
+ "$ref": "GoogleLongrunningOperation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "setInventory": {
+ "description": "Updates inventory information for a Product while respecting the last update timestamps of each inventory field. This process is asynchronous and does not require the Product to exist before updating fulfillment information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, updates are not immediately manifested in the Product queried by GetProduct or ListProducts. When inventory is updated with CreateProduct and UpdateProduct, the specified inventory field value(s) will overwrite any existing value(s) while ignoring the last update time for this field. Furthermore, the last update time for the specified inventory fields will be overwritten to the time of the CreateProduct or UpdateProduct request. If no inventory fields are set in CreateProductRequest.product, then any pre-existing inventory information for this product will be used. If no inventory fields are set in UpdateProductRequest.set_mask, then any existing inventory information will be preserved. Pre-existing inventory information can only be updated with SetInventory, AddFulfillmentPlaces, and RemoveFulfillmentPlaces. This feature is only available for users who have Retail Search enabled. Contact Retail Support (retail-search-support@google.com) if you are interested in using Retail Search.",
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products/{productsId}:setInventory",
+ "httpMethod": "POST",
+ "id": "retail.projects.locations.catalogs.branches.products.setInventory",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Immutable. Full resource name of the product, such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/product_id`. The branch ID must be \"default_branch\".",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+/products/.*$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2/{+name}:setInventory",
+ "request": {
+ "$ref": "GoogleCloudRetailV2SetInventoryRequest"
+ },
+ "response": {
+ "$ref": "GoogleLongrunningOperation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
}
}
}
}
},
+ "completionData": {
+ "methods": {
+ "import": {
+ "description": "Bulk import of processed completion dataset. Request processing may be synchronous. Partial updating is not supported. This feature is only available for users who have Retail Search enabled. Contact Retail Support (retail-search-support@google.com) if you are interested in using Retail Search.",
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/completionData:import",
+ "httpMethod": "POST",
+ "id": "retail.projects.locations.catalogs.completionData.import",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Required. The catalog which the suggestions dataset belongs to. Format: `projects/1234/locations/global/catalogs/default_catalog`.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2/{+parent}/completionData:import",
+ "request": {
+ "$ref": "GoogleCloudRetailV2ImportCompletionDataRequest"
+ },
+ "response": {
+ "$ref": "GoogleLongrunningOperation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ },
"operations": {
"methods": {
"get": {
@@ -469,6 +742,34 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
+ },
+ "search": {
+ "description": "Performs a search. This feature is only available for users who have Retail Search enabled. Contact Retail Support (retail-search-support@google.com) if you are interested in using Retail Search.",
+ "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/placements/{placementsId}:search",
+ "httpMethod": "POST",
+ "id": "retail.projects.locations.catalogs.placements.search",
+ "parameterOrder": [
+ "placement"
+ ],
+ "parameters": {
+ "placement": {
+ "description": "Required. The resource name of the search engine placement, such as `projects/*/locations/global/catalogs/default_catalog/placements/default_search`. This field is used to identify the set of models that will be used to make the search. We currently support one placement with the following ID: * `default_search`.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/placements/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2/{+placement}:search",
+ "request": {
+ "$ref": "GoogleCloudRetailV2SearchRequest"
+ },
+ "response": {
+ "$ref": "GoogleCloudRetailV2SearchResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
}
}
},
@@ -706,7 +1007,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210723",
"rootUrl": "https://retail.googleapis.com/",
"schemas": {
"GoogleApiHttpBody": {
@@ -859,12 +1160,72 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2AddFulfillmentPlacesMetadata": {
+ "description": "Metadata related to the progress of the AddFulfillmentPlaces operation. Currently empty because there is no meaningful metadata populated from the AddFulfillmentPlaces method.",
+ "id": "GoogleCloudRetailV2AddFulfillmentPlacesMetadata",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleCloudRetailV2AddFulfillmentPlacesRequest": {
+ "description": "Request message for AddFulfillmentPlaces method.",
+ "id": "GoogleCloudRetailV2AddFulfillmentPlacesRequest",
+ "properties": {
+ "addTime": {
+ "description": "The time when the fulfillment updates are issued, used to prevent out-of-order updates on fulfillment information. If not provided, the internal system time will be used.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "allowMissing": {
+ "description": "If set to true, and the Product is not found, the fulfillment information will still be processed and retained for at most 1 day and processed once the Product is created. If set to false, an INVALID_ARGUMENT error is returned if the Product is not found.",
+ "type": "boolean"
+ },
+ "placeIds": {
+ "description": "Required. The IDs for this type, such as the store IDs for \"pickup-in-store\" or the region IDs for \"same-day-delivery\" to be added for this type. Duplicate IDs will be automatically ignored. At least 1 value is required, and a maximum of 2000 values are allowed. Each value must be a string with a length limit of 10 characters, matching the pattern [a-zA-Z0-9_-]+, such as \"store1\" or \"REGION-2\". Otherwise, an INVALID_ARGUMENT error is returned. If the total number of place IDs exceeds 2000 for this type after adding, then the update will be rejected.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "type": {
+ "description": "Required. The fulfillment type, including commonly used types (such as pickup in store and same day delivery), and custom types. Supported values: * \"pickup-in-store\" * \"ship-to-store\" * \"same-day-delivery\" * \"next-day-delivery\" * \"custom-type-1\" * \"custom-type-2\" * \"custom-type-3\" * \"custom-type-4\" * \"custom-type-5\" If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned. This field directly corresponds to Product.fulfillment_info.type.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2AddFulfillmentPlacesResponse": {
+ "description": "Response of the RemoveFulfillmentPlacesRequest. Currently empty because there is no meaningful response populated from the AddFulfillmentPlaces method.",
+ "id": "GoogleCloudRetailV2AddFulfillmentPlacesResponse",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleCloudRetailV2Audience": {
+ "description": "An intended audience of the Product for whom it's sold.",
+ "id": "GoogleCloudRetailV2Audience",
+ "properties": {
+ "ageGroups": {
+ "description": "The age groups of the audience. Strongly encouraged to use the standard values: \"newborn\" (up to 3 months old), \"infant\" (3\u201312 months old), \"toddler\" (1\u20135 years old), \"kids\" (5\u201313 years old), \"adult\" (typically teens or older). At most 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [age_group](https://support.google.com/merchants/answer/6324463). Schema.org property [Product.audience.suggestedMinAge](https://schema.org/suggestedMinAge) and [Product.audience.suggestedMaxAge](https://schema.org/suggestedMaxAge).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "genders": {
+ "description": "The genders of the audience. Strongly encouraged to use the standard values: \"male\", \"female\", \"unisex\". At most 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [gender](https://support.google.com/merchants/answer/6324479). Schema.org property [Product.audience.suggestedGender](https://schema.org/suggestedGender).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"GoogleCloudRetailV2BigQuerySource": {
"description": "BigQuery source import data from.",
"id": "GoogleCloudRetailV2BigQuerySource",
"properties": {
"dataSchema": {
- "description": "The schema to use when parsing the data from the source. Supported values for product imports: * `product` (default): One JSON Product per line. Each product must have a valid Product.id. * `product_merchant_center`: See [Importing catalog data from Merchant Center](https://cloud.google.com/retail/recommendations-ai/docs/upload-catalog#mc). Supported values for user events imports: * `user_event` (default): One JSON UserEvent per line. * `user_event_ga360`: Using https://support.google.com/analytics/answer/3437719?hl=en.",
+ "description": "The schema to use when parsing the data from the source. Supported values for product imports: * `product` (default): One JSON Product per line. Each product must have a valid Product.id. * `product_merchant_center`: See [Importing catalog data from Merchant Center](https://cloud.google.com/retail/recommendations-ai/docs/upload-catalog#mc). Supported values for user events imports: * `user_event` (default): One JSON UserEvent per line. * `user_event_ga360`: Using https://support.google.com/analytics/answer/3437719.",
"type": "string"
},
"datasetId": {
@@ -875,6 +1236,10 @@
"description": "Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the BigQuery export to a specific Cloud Storage directory.",
"type": "string"
},
+ "partitionDate": {
+ "$ref": "GoogleTypeDate",
+ "description": "BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format. Only supported when ImportProductsRequest.reconciliation_mode is set to `FULL`."
+ },
"projectId": {
"description": "The project ID (can be project # or ID) that the BigQuery source is in with a length limit of 128 characters. If not specified, inherits the project ID from the parent request.",
"type": "string"
@@ -905,10 +1270,120 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2ColorInfo": {
+ "description": "The color information of a Product.",
+ "id": "GoogleCloudRetailV2ColorInfo",
+ "properties": {
+ "colorFamilies": {
+ "description": "The standard color families. Strongly recommended to use the following standard color groups: \"Red\", \"Pink\", \"Orange\", \"Yellow\", \"Purple\", \"Green\", \"Cyan\", \"Blue\", \"Brown\", \"White\", \"Gray\", \"Black\" and \"Mixed\". Normally it is expected to have only 1 color family. May consider using single \"Mixed\" instead of multiple values. A maximum of 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [color](https://support.google.com/merchants/answer/6324487). Schema.org property [Product.color](https://schema.org/color).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "colors": {
+ "description": "The color display names, which may be different from standard color family names, such as the color aliases used in the website frontend. Normally it is expected to have only 1 color. May consider using single \"Mixed\" instead of multiple values. A maximum of 5 colors are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [color](https://support.google.com/merchants/answer/6324487). Schema.org property [Product.color](https://schema.org/color).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2CompleteQueryResponse": {
+ "description": "Response of the auto-complete query.",
+ "id": "GoogleCloudRetailV2CompleteQueryResponse",
+ "properties": {
+ "attributionToken": {
+ "description": "A unique complete token. This should be included in the SearchRequest resulting from this completion, which enables accurate attribution of complete model performance.",
+ "type": "string"
+ },
+ "completionResults": {
+ "description": "Results of the matching suggestions. The result list is ordered and the first result is top suggestion.",
+ "items": {
+ "$ref": "GoogleCloudRetailV2CompleteQueryResponseCompletionResult"
+ },
+ "type": "array"
+ },
+ "recentSearchResults": {
+ "description": "Matched recent searches of this user. This field is a restricted feature. Contact Retail Support (retail-search-support@google.com) if you are interested in enabling it. This feature is only available when CompleteQueryRequest.visitor_id field is set and UserEvent is imported. The recent searches satisfy the follow rules: * They are ordered from latest to oldest. * They are matched with CompleteQueryRequest.query case insensitively. * They are transformed to lower cases. * They are UTF-8 safe. Recent searches are deduplicated. More recent searches will be reserved when duplication happens.",
+ "items": {
+ "$ref": "GoogleCloudRetailV2CompleteQueryResponseRecentSearchResult"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2CompleteQueryResponseCompletionResult": {
+ "description": "Resource that represents completion results.",
+ "id": "GoogleCloudRetailV2CompleteQueryResponseCompletionResult",
+ "properties": {
+ "attributes": {
+ "additionalProperties": {
+ "$ref": "GoogleCloudRetailV2CustomAttribute"
+ },
+ "description": "Additional custom attributes ingested through BigQuery.",
+ "type": "object"
+ },
+ "suggestion": {
+ "description": "The suggestion for the query.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2CompleteQueryResponseRecentSearchResult": {
+ "description": "Recent search of this user.",
+ "id": "GoogleCloudRetailV2CompleteQueryResponseRecentSearchResult",
+ "properties": {
+ "recentSearch": {
+ "description": "The recent search query.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2CompletionDataInputConfig": {
+ "description": "The input config source for completion data.",
+ "id": "GoogleCloudRetailV2CompletionDataInputConfig",
+ "properties": {
+ "bigQuerySource": {
+ "$ref": "GoogleCloudRetailV2BigQuerySource",
+ "description": "Required. BigQuery input source. Add the IAM permission \u201cBigQuery Data Viewer\u201d for cloud-retail-customer-data-access@system.gserviceaccount.com before using this feature otherwise an error is thrown."
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2CompletionDetail": {
+ "description": "Detailed completion information including completion attribution token and clicked completion info.",
+ "id": "GoogleCloudRetailV2CompletionDetail",
+ "properties": {
+ "completionAttributionToken": {
+ "description": "Completion attribution token in CompleteQueryResponse.attribution_token.",
+ "type": "string"
+ },
+ "selectedPosition": {
+ "description": "End user selected CompleteQueryResponse.CompletionResult.suggestion position, starting from 0.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "selectedSuggestion": {
+ "description": "End user selected CompleteQueryResponse.CompletionResult.suggestion.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"GoogleCloudRetailV2CustomAttribute": {
"description": "A custom attribute that is not explicitly modeled in Product.",
"id": "GoogleCloudRetailV2CustomAttribute",
"properties": {
+ "indexable": {
+ "description": "If true, custom attribute values are indexed, so that it can be filtered, faceted or boosted in SearchService.Search. This field is ignored in a UserEvent. See SearchRequest.filter, SearchRequest.facet_specs and SearchRequest.boost_spec for more details.",
+ "type": "boolean"
+ },
"numbers": {
"description": "The numerical values of this custom attribute. For example, `[2.3, 15.4]` when the key is \"lengths_cm\". At most 400 values are allowed.Otherwise, an INVALID_ARGUMENT error is returned. Exactly one of text or numbers should be set. Otherwise, an INVALID_ARGUMENT error is returned.",
"items": {
@@ -917,6 +1392,10 @@
},
"type": "array"
},
+ "searchable": {
+ "description": "If true, custom attribute values are searchable by text queries in SearchService.Search. This field is ignored in a UserEvent. Only set if type text is set. Otherwise, a INVALID_ARGUMENT error is returned.",
+ "type": "boolean"
+ },
"text": {
"description": "The textual values of this custom attribute. For example, `[\"yellow\", \"green\"]` when the key is \"color\". At most 400 values are allowed. Empty values are not allowed. Each value must be a UTF-8 encoded string with a length limit of 256 characters. Otherwise, an INVALID_ARGUMENT error is returned. Exactly one of text or numbers should be set. Otherwise, an INVALID_ARGUMENT error is returned.",
"items": {
@@ -927,12 +1406,30 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2FulfillmentInfo": {
+ "description": "Fulfillment information, such as the store IDs for in-store pickup or region IDs for different shipping methods.",
+ "id": "GoogleCloudRetailV2FulfillmentInfo",
+ "properties": {
+ "placeIds": {
+ "description": "The IDs for this type, such as the store IDs for FulfillmentInfo.type.pickup-in-store or the region IDs for FulfillmentInfo.type.same-day-delivery. A maximum of 2000 values are allowed. Each value must be a string with a length limit of 10 characters, matching the pattern [a-zA-Z0-9_-]+, such as \"store1\" or \"REGION-2\". Otherwise, an INVALID_ARGUMENT error is returned.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "type": {
+ "description": "The fulfillment type, including commonly used types (such as pickup in store and same day delivery), and custom types. Customers have to map custom types to their display names before rendering UI. Supported values: * \"pickup-in-store\" * \"ship-to-store\" * \"same-day-delivery\" * \"next-day-delivery\" * \"custom-type-1\" * \"custom-type-2\" * \"custom-type-3\" * \"custom-type-4\" * \"custom-type-5\" If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"GoogleCloudRetailV2GcsSource": {
"description": "Google Cloud Storage location for input content. format.",
"id": "GoogleCloudRetailV2GcsSource",
"properties": {
"dataSchema": {
- "description": "The schema to use when parsing the data from the source. Supported values for product imports: * `product` (default): One JSON Product per line. Each product must have a valid Product.id. * `product_merchant_center`: See [Importing catalog data from Merchant Center](https://cloud.google.com/retail/recommendations-ai/docs/upload-catalog#mc). Supported values for user events imports: * `user_event` (default): One JSON UserEvent per line. * `user_event_ga360`: Using https://support.google.com/analytics/answer/3437719?hl=en.",
+ "description": "The schema to use when parsing the data from the source. Supported values for product imports: * `product` (default): One JSON Product per line. Each product must have a valid Product.id. * `product_merchant_center`: See [Importing catalog data from Merchant Center](https://cloud.google.com/retail/recommendations-ai/docs/upload-catalog#mc). Supported values for user events imports: * `user_event` (default): One JSON UserEvent per line. * `user_event_ga360`: Using https://support.google.com/analytics/answer/3437719.",
"type": "string"
},
"inputUris": {
@@ -945,6 +1442,26 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2GetDefaultBranchResponse": {
+ "description": "Response message of CatalogService.GetDefaultBranch.",
+ "id": "GoogleCloudRetailV2GetDefaultBranchResponse",
+ "properties": {
+ "branch": {
+ "description": "Full resource name of the branch id currently set as default branch.",
+ "type": "string"
+ },
+ "note": {
+ "description": "This corresponds to SetDefaultBranchRequest.note field, when this branch was set as default.",
+ "type": "string"
+ },
+ "setTime": {
+ "description": "The time when this branch is set to default.",
+ "format": "google-datetime",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"GoogleCloudRetailV2Image": {
"description": "Product thumbnail/detail image.",
"id": "GoogleCloudRetailV2Image",
@@ -966,6 +1483,35 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2ImportCompletionDataRequest": {
+ "description": "Request message for ImportCompletionData methods.",
+ "id": "GoogleCloudRetailV2ImportCompletionDataRequest",
+ "properties": {
+ "inputConfig": {
+ "$ref": "GoogleCloudRetailV2CompletionDataInputConfig",
+ "description": "Required. The desired input location of the data."
+ },
+ "notificationPubsubTopic": {
+ "description": "Pub/Sub topic for receiving notification. If this field is set, when the import is finished, a notification will be sent to specified Pub/Sub topic. The message data will be JSON string of a Operation. Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2ImportCompletionDataResponse": {
+ "description": "Response of the ImportCompletionDataRequest. If the long running operation is done, this message is returned by the google.longrunning.Operations.response field if the operation is successful.",
+ "id": "GoogleCloudRetailV2ImportCompletionDataResponse",
+ "properties": {
+ "errorSamples": {
+ "description": "A sample of errors encountered while processing the request.",
+ "items": {
+ "$ref": "GoogleRpcStatus"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"GoogleCloudRetailV2ImportErrorsConfig": {
"description": "Configuration of destination for Import related errors.",
"id": "GoogleCloudRetailV2ImportErrorsConfig",
@@ -991,6 +1537,14 @@
"format": "int64",
"type": "string"
},
+ "notificationPubsubTopic": {
+ "description": "Pub/Sub topic for receiving notification. If this field is set, when the import is finished, a notification will be sent to specified Pub/Sub topic. The message data will be JSON string of a Operation. Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`.",
+ "type": "string"
+ },
+ "requestId": {
+ "description": "Id of the request / operation. This is parroting back the requestId that was passed in the request.",
+ "type": "string"
+ },
"successCount": {
"description": "Count of entries that were processed successfully.",
"format": "int64",
@@ -1016,6 +1570,28 @@
"$ref": "GoogleCloudRetailV2ProductInputConfig",
"description": "Required. The desired input location of the data."
},
+ "notificationPubsubTopic": {
+ "description": "Pub/Sub topic for receiving notification. If this field is set, when the import is finished, a notification will be sent to specified Pub/Sub topic. The message data will be JSON string of a Operation. Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`. Only supported when ImportProductsRequest.reconciliation_mode is set to `FULL`.",
+ "type": "string"
+ },
+ "reconciliationMode": {
+ "description": "The mode of reconciliation between existing products and the products to be imported. Defaults to ReconciliationMode.INCREMENTAL.",
+ "enum": [
+ "RECONCILIATION_MODE_UNSPECIFIED",
+ "INCREMENTAL",
+ "FULL"
+ ],
+ "enumDescriptions": [
+ "Defaults to INCREMENTAL.",
+ "Inserts new products or updates existing products.",
+ "Calculates diff and replaces the entire product dataset. Existing products may be deleted if they are not present in the source location. Can only be while using BigQuerySource. Add the IAM permission \u201cBigQuery Data Viewer\u201d for cloud-retail-customer-data-access@system.gserviceaccount.com before using this feature otherwise an error is thrown. This feature is only available for users who have Retail Search enabled. Contact Retail Support (retail-search-support@google.com) if you are interested in using Retail Search."
+ ],
+ "type": "string"
+ },
+ "requestId": {
+ "description": "Unique identifier provided by client, within the ancestor dataset scope. Ensures idempotency and used for request deduplication. Server-generated if unspecified. Up to 128 characters long and must match the pattern: \"[a-zA-Z0-9_]+\". This is returned as Operation.name in ImportMetadata. Only supported when ImportProductsRequest.reconciliation_mode is set to `FULL`.",
+ "type": "string"
+ },
"updateMask": {
"description": "Indicates which fields in the provided imported 'products' to update. If not set, will by default update all fields.",
"format": "google-fieldmask",
@@ -1079,6 +1655,33 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2Interval": {
+ "description": "A floating point interval.",
+ "id": "GoogleCloudRetailV2Interval",
+ "properties": {
+ "exclusiveMaximum": {
+ "description": "Exclusive upper bound.",
+ "format": "double",
+ "type": "number"
+ },
+ "exclusiveMinimum": {
+ "description": "Exclusive lower bound.",
+ "format": "double",
+ "type": "number"
+ },
+ "maximum": {
+ "description": "Inclusive upper bound.",
+ "format": "double",
+ "type": "number"
+ },
+ "minimum": {
+ "description": "Inclusive lower bound.",
+ "format": "double",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
"GoogleCloudRetailV2ListCatalogsResponse": {
"description": "Response for CatalogService.ListCatalogs method.",
"id": "GoogleCloudRetailV2ListCatalogsResponse",
@@ -1097,6 +1700,24 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2ListProductsResponse": {
+ "description": "Response message for ProductService.ListProducts method.",
+ "id": "GoogleCloudRetailV2ListProductsResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "A token that can be sent as ListProductsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.",
+ "type": "string"
+ },
+ "products": {
+ "description": "The Products.",
+ "items": {
+ "$ref": "GoogleCloudRetailV2Product"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"GoogleCloudRetailV2PredictRequest": {
"description": "Request message for Predict method.",
"id": "GoogleCloudRetailV2PredictRequest",
@@ -1196,7 +1817,7 @@
"type": "number"
},
"currencyCode": {
- "description": "The 3-letter currency code defined in [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html). If this field is an unrecognizable currency code, an INVALID_ARGUMENT error is returned.",
+ "description": "The 3-letter currency code defined in [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html). If this field is an unrecognizable currency code, an INVALID_ARGUMENT error is returned. The Product.Type.VARIANT Products with the same Product.primary_product_id must share the same currency_code. Otherwise, a FAILED_PRECONDITION error is returned.",
"type": "string"
},
"originalPrice": {
@@ -1208,6 +1829,36 @@
"description": "Price of the product. Google Merchant Center property [price](https://support.google.com/merchants/answer/6324371). Schema.org property [Offer.priceSpecification](https://schema.org/priceSpecification).",
"format": "float",
"type": "number"
+ },
+ "priceEffectiveTime": {
+ "description": "The timestamp when the price starts to be effective. This can be set as a future timestamp, and the price is only used for search after price_effective_time. If so, the original_price must be set and original_price is used before price_effective_time. Do not set if price is always effective because it will cause additional latency during search.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "priceExpireTime": {
+ "description": "The timestamp when the price stops to be effective. The price is used for search before price_expire_time. If this field is set, the original_price must be set and original_price is used after price_expire_time. Do not set if price is always effective because it will cause additional latency during search.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "priceRange": {
+ "$ref": "GoogleCloudRetailV2PriceInfoPriceRange",
+ "description": "Output only. The price range of all the child Product.Type.VARIANT Products grouped together on the Product.Type.PRIMARY Product. Only populated for Product.Type.PRIMARY Products. Note: This field is OUTPUT_ONLY for ProductService.GetProduct. Do not set this field in API requests.",
+ "readOnly": true
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2PriceInfoPriceRange": {
+ "description": "The price range of all variant Product having the same Product.primary_product_id.",
+ "id": "GoogleCloudRetailV2PriceInfoPriceRange",
+ "properties": {
+ "originalPrice": {
+ "$ref": "GoogleCloudRetailV2Interval",
+ "description": "The inclusive Product.pricing_info.original_price internal of all variant Product having the same Product.primary_product_id."
+ },
+ "price": {
+ "$ref": "GoogleCloudRetailV2Interval",
+ "description": "The inclusive Product.pricing_info.price interval of all variant Product having the same Product.primary_product_id."
}
},
"type": "object"
@@ -1220,9 +1871,13 @@
"additionalProperties": {
"$ref": "GoogleCloudRetailV2CustomAttribute"
},
- "description": "Highly encouraged. Extra product attributes to be included. For example, for products, this could include the store name, vendor, style, color, etc. These are very strong signals for recommendation model, thus we highly recommend providing the attributes here. Features that can take on one of a limited number of possible values. Two types of features can be set are: Textual features. some examples would be the brand/maker of a product, or country of a customer. Numerical features. Some examples would be the height/weight of a product, or age of a customer. For example: `{ \"vendor\": {\"text\": [\"vendor123\", \"vendor456\"]}, \"lengths_cm\": {\"numbers\":[2.3, 15.4]}, \"heights_cm\": {\"numbers\":[8.1, 6.4]} }`. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * Max entries count: 200 by default; 100 for Type.VARIANT. * The key must be a UTF-8 encoded string with a length limit of 128 characters.",
+ "description": "Highly encouraged. Extra product attributes to be included. For example, for products, this could include the store name, vendor, style, color, etc. These are very strong signals for recommendation model, thus we highly recommend providing the attributes here. Features that can take on one of a limited number of possible values. Two types of features can be set are: Textual features. some examples would be the brand/maker of a product, or country of a customer. Numerical features. Some examples would be the height/weight of a product, or age of a customer. For example: `{ \"vendor\": {\"text\": [\"vendor123\", \"vendor456\"]}, \"lengths_cm\": {\"numbers\":[2.3, 15.4]}, \"heights_cm\": {\"numbers\":[8.1, 6.4]} }`. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * Max entries count: 200 by default; 100 for Type.VARIANT. * The key must be a UTF-8 encoded string with a length limit of 128 characters. * Max indexable entries count: 200 by default; 40 for Type.VARIANT. * Max searchable entries count: 30. * For indexable attribute, the key must match the pattern: a-zA-Z0-9*. For example, key0LikeThis or KEY_1_LIKE_THIS.",
"type": "object"
},
+ "audience": {
+ "$ref": "GoogleCloudRetailV2Audience",
+ "description": "The target group associated with a given audience (e.g. male, veterans, car owners, musicians, etc.) of the product."
+ },
"availability": {
"description": "The online availability of the Product. Default to Availability.IN_STOCK. Google Merchant Center Property [availability](https://support.google.com/merchants/answer/6324448). Schema.org Property [Offer.availability](https://schema.org/availability).",
"enum": [
@@ -1247,10 +1902,17 @@
"type": "integer"
},
"availableTime": {
- "description": "The timestamp when this Product becomes available for recommendation.",
+ "description": "The timestamp when this Product becomes available for SearchService.Search.",
"format": "google-datetime",
"type": "string"
},
+ "brands": {
+ "description": "The brands of the product. A maximum of 30 brands are allowed. Each brand must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [brand](https://support.google.com/merchants/answer/6324351). Schema.org property [Product.brand](https://schema.org/brand).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
"categories": {
"description": "Product categories. This field is repeated for supporting one product belonging to several parallel categories. Strongly recommended using the full path for better search / recommendation quality. To represent full path of category, use '>' sign to separate different hierarchies. If '>' is part of the category name, please replace it with other character(s). For example, if a shoes product belongs to both [\"Shoes & Accessories\" -> \"Shoes\"] and [\"Sports & Fitness\" -> \"Athletic Clothing\" -> \"Shoes\"], it could be represented as: \"categories\": [ \"Shoes & Accessories > Shoes\", \"Sports & Fitness > Athletic Clothing > Shoes\" ] Must be set for Type.PRIMARY Product otherwise an INVALID_ARGUMENT error is returned. At most 250 values are allowed per Product. Empty values are not allowed. Each value must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property google_product_category. Schema.org property [Product.category] (https://schema.org/category). [mc_google_product_category]: https://support.google.com/merchants/answer/6324436",
"items": {
@@ -1258,10 +1920,44 @@
},
"type": "array"
},
+ "collectionMemberIds": {
+ "description": "The id of the collection members when type is Type.COLLECTION. Should not set it for other types. A maximum of 1000 values are allowed. Otherwise, an INVALID_ARGUMENT error is return.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "colorInfo": {
+ "$ref": "GoogleCloudRetailV2ColorInfo",
+ "description": "The color of the product. Google Merchant Center property [color](https://support.google.com/merchants/answer/6324487). Schema.org property [Product.color](https://schema.org/color)."
+ },
+ "conditions": {
+ "description": "The condition of the product. Strongly encouraged to use the standard values: \"new\", \"refurbished\", \"used\". A maximum of 5 values are allowed per Product. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [condition](https://support.google.com/merchants/answer/6324469). Schema.org property [Offer.itemCondition](https://schema.org/itemCondition).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
"description": {
"description": "Product description. This field must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [description](https://support.google.com/merchants/answer/6324468). schema.org property [Product.description](https://schema.org/description).",
"type": "string"
},
+ "expireTime": {
+ "description": "The timestamp when this product becomes unavailable for SearchService.Search. If it is set, the Product is not available for SearchService.Search after expire_time. However, the product can still be retrieved by ProductService.GetProduct and ProductService.ListProducts. Google Merchant Center property [expiration_date](https://support.google.com/merchants/answer/6324499).",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "fulfillmentInfo": {
+ "description": "Fulfillment information, such as the store IDs for in-store pickup or region IDs for different shipping methods. All the elements must have distinct FulfillmentInfo.type. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "items": {
+ "$ref": "GoogleCloudRetailV2FulfillmentInfo"
+ },
+ "type": "array"
+ },
+ "gtin": {
+ "description": "The Global Trade Item Number (GTIN) of the product. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [gtin](https://support.google.com/merchants/answer/6324461). Schema.org property [Product.isbn](https://schema.org/isbn) or [Product.gtin8](https://schema.org/gtin8) or [Product.gtin12](https://schema.org/gtin12) or [Product.gtin13](https://schema.org/gtin13) or [Product.gtin14](https://schema.org/gtin14). If the value is not a valid GTIN, an INVALID_ARGUMENT error is returned.",
+ "type": "string"
+ },
"id": {
"description": "Immutable. Product identifier, which is the final component of name. For example, this field is \"id_1\", if name is `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/id_1`. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [id](https://support.google.com/merchants/answer/6324405). Schema.org Property [Product.sku](https://schema.org/sku).",
"type": "string"
@@ -1273,10 +1969,28 @@
},
"type": "array"
},
+ "languageCode": {
+ "description": "Language of the title/description and other string attributes. Use language tags defined by BCP 47. For product prediction, this field is ignored and the model automatically detects the text language. The Product can include text in different languages, but duplicating Products to provide text in multiple languages can result in degraded model performance. For product search this field is in use. It defaults to \"en-US\" if unset.",
+ "type": "string"
+ },
+ "materials": {
+ "description": "The material of the product. For example, \"leather\", \"wooden\". A maximum of 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [material](https://support.google.com/merchants/answer/6324410). Schema.org property [Product.material](https://schema.org/material).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
"name": {
"description": "Immutable. Full resource name of the product, such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/product_id`. The branch ID must be \"default_branch\".",
"type": "string"
},
+ "patterns": {
+ "description": "The pattern or graphic print of the product. For example, \"striped\", \"polka dot\", \"paisley\". A maximum of 5 values are allowed per Product. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [pattern](https://support.google.com/merchants/answer/6324483). Schema.org property [Product.pattern](https://schema.org/pattern).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
"priceInfo": {
"$ref": "GoogleCloudRetailV2PriceInfo",
"description": "Product price and cost information. Google Merchant Center property [price](https://support.google.com/merchants/answer/6324371)."
@@ -1285,6 +1999,34 @@
"description": "Variant group identifier. Must be an id, with the same parent branch with this product. Otherwise, an error is thrown. For Type.PRIMARY Products, this field can only be empty or set to the same value as id. For VARIANT Products, this field cannot be empty. A maximum of 2,000 products are allowed to share the same Type.PRIMARY Product. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center Property [item_group_id](https://support.google.com/merchants/answer/6324507). Schema.org Property [Product.inProductGroupWithID](https://schema.org/inProductGroupWithID). This field must be enabled before it can be used. [Learn more](/recommendations-ai/docs/catalog#item-group-id).",
"type": "string"
},
+ "promotions": {
+ "description": "The promotions applied to the product. A maximum of 10 values are allowed per Product.",
+ "items": {
+ "$ref": "GoogleCloudRetailV2Promotion"
+ },
+ "type": "array"
+ },
+ "publishTime": {
+ "description": "The timestamp when the product is published by the retailer for the first time, which indicates the freshness of the products. Note that this field is different from available_time, given it purely describes product freshness regardless of when it is available on search and recommendation.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "rating": {
+ "$ref": "GoogleCloudRetailV2Rating",
+ "description": "The rating of this product."
+ },
+ "retrievableFields": {
+ "description": "Indicates which fields in the Products are returned in SearchResponse. Supported fields for all types: * audience * availability * brands * color_info * conditions * gtin * materials * name * patterns * price_info * rating * sizes * title * uri Supported fields only for Type.PRIMARY and Type.COLLECTION: * categories * description * images Supported fields only for Type.VARIANT: * Only the first image in images To mark attributes as retrievable, include paths of the form \"attributes.key\" where \"key\" is the key of a custom attribute, as specified in attributes. For Type.PRIMARY and Type.COLLECTION, the following fields are always returned in SearchResponse by default: * name For Type.VARIANT, the following fields are always returned in by default: * name * color_info Maximum number of paths is 20. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "format": "google-fieldmask",
+ "type": "string"
+ },
+ "sizes": {
+ "description": "The size of the product. To represent different size systems or size types, consider using this format: [[[size_system:]size_type:]size_value]. For example, in \"US:MENS:M\", \"US\" represents size system; \"MENS\" represents size type; \"M\" represents size value. In \"GIRLS:27\", size system is empty; \"GIRLS\" represents size type; \"27\" represents size value. In \"32 inches\", both size system and size type are empty, while size value is \"32 inches\". A maximum of 20 values are allowed per Product. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [size](https://support.google.com/merchants/answer/6324492), [size_type](https://support.google.com/merchants/answer/6324497) and [size_system](https://support.google.com/merchants/answer/6324502). Schema.org property [Product.size](https://schema.org/size).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
"tags": {
"description": "Custom tags associated with the product. At most 250 values are allowed per Product. This value must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. This tag can be used for filtering recommendation results by passing the tag as part of the PredictRequest.filter. Google Merchant Center property [custom_label_0\u20134](https://support.google.com/merchants/answer/6324473).",
"items": {
@@ -1296,6 +2038,11 @@
"description": "Required. Product title. This field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [title](https://support.google.com/merchants/answer/6324415). Schema.org property [Product.name](https://schema.org/name).",
"type": "string"
},
+ "ttl": {
+ "description": "Input only. The TTL (time to live) of the product. If it is set, expire_time is set as current timestamp plus ttl. The derived expire_time is returned in the output and ttl is left blank when retrieving the Product. If it is set, the product is not available for SearchService.Search after current timestamp plus ttl. However, the product can still be retrieved by ProductService.GetProduct and ProductService.ListProducts.",
+ "format": "google-duration",
+ "type": "string"
+ },
"type": {
"description": "Immutable. The type of the product. Default to Catalog.product_level_config.ingestion_product_type if unset.",
"enum": [
@@ -1315,6 +2062,14 @@
"uri": {
"description": "Canonical URL directly linking to the product detail page. It is strongly recommended to provide a valid uri for the product, otherwise the service performance could be significantly degraded. This field must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [link](https://support.google.com/merchants/answer/6324416). Schema.org property [Offer.url](https://schema.org/url).",
"type": "string"
+ },
+ "variants": {
+ "description": "Output only. Product variants grouped together on primary product which share similar product attributes. It's automatically grouped by primary_product_id for all the product variants. Only populated for Type.PRIMARY Products. Note: This field is OUTPUT_ONLY for ProductService.GetProduct. Do not set this field in API requests.",
+ "items": {
+ "$ref": "GoogleCloudRetailV2Product"
+ },
+ "readOnly": true,
+ "type": "array"
}
},
"type": "object"
@@ -1383,6 +2138,17 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2Promotion": {
+ "description": "Promotion information.",
+ "id": "GoogleCloudRetailV2Promotion",
+ "properties": {
+ "promotionId": {
+ "description": "ID of the promotion. For example, \"free gift\". The value value must be a UTF-8 encoded string with a length limit of 128 characters, and match the pattern: a-zA-Z*. For example, id0LikeThis or ID_1_LIKE_THIS. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [promotion](https://support.google.com/merchants/answer/7050148).",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"GoogleCloudRetailV2PurchaseTransaction": {
"description": "A transaction represents the entire purchase transaction.",
"id": "GoogleCloudRetailV2PurchaseTransaction",
@@ -1446,6 +2212,31 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2Rating": {
+ "description": "The rating of a Product.",
+ "id": "GoogleCloudRetailV2Rating",
+ "properties": {
+ "averageRating": {
+ "description": "The average rating of the Product. The rating is scaled at 1-5. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "format": "float",
+ "type": "number"
+ },
+ "ratingCount": {
+ "description": "The total number of ratings. This value is independent of the value of rating_histogram. This value must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "ratingHistogram": {
+ "description": "List of rating counts per rating value (index = rating - 1). The list is empty if there is no rating. If the list is non-empty, its size is always 5. Otherwise, an INVALID_ARGUMENT error is returned. For example, [41, 14, 13, 47, 303]. It means that the Product got 41 ratings with 1 star, 14 ratings with 2 star, and so on.",
+ "items": {
+ "format": "int32",
+ "type": "integer"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"GoogleCloudRetailV2RejoinUserEventsMetadata": {
"description": "Metadata for RejoinUserEvents method.",
"id": "GoogleCloudRetailV2RejoinUserEventsMetadata",
@@ -1485,6 +2276,459 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2RemoveFulfillmentPlacesMetadata": {
+ "description": "Metadata related to the progress of the RemoveFulfillmentPlaces operation. Currently empty because there is no meaningful metadata populated from the RemoveFulfillmentPlaces method.",
+ "id": "GoogleCloudRetailV2RemoveFulfillmentPlacesMetadata",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleCloudRetailV2RemoveFulfillmentPlacesRequest": {
+ "description": "Request message for RemoveFulfillmentPlaces method.",
+ "id": "GoogleCloudRetailV2RemoveFulfillmentPlacesRequest",
+ "properties": {
+ "allowMissing": {
+ "description": "If set to true, and the Product is not found, the fulfillment information will still be processed and retained for at most 1 day and processed once the Product is created. If set to false, an INVALID_ARGUMENT error is returned if the Product is not found.",
+ "type": "boolean"
+ },
+ "placeIds": {
+ "description": "Required. The IDs for this type, such as the store IDs for \"pickup-in-store\" or the region IDs for \"same-day-delivery\", to be removed for this type. At least 1 value is required, and a maximum of 2000 values are allowed. Each value must be a string with a length limit of 10 characters, matching the pattern [a-zA-Z0-9_-]+, such as \"store1\" or \"REGION-2\". Otherwise, an INVALID_ARGUMENT error is returned.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "removeTime": {
+ "description": "The time when the fulfillment updates are issued, used to prevent out-of-order updates on fulfillment information. If not provided, the internal system time will be used.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "type": {
+ "description": "Required. The fulfillment type, including commonly used types (such as pickup in store and same day delivery), and custom types. Supported values: * \"pickup-in-store\" * \"ship-to-store\" * \"same-day-delivery\" * \"next-day-delivery\" * \"custom-type-1\" * \"custom-type-2\" * \"custom-type-3\" * \"custom-type-4\" * \"custom-type-5\" If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned. This field directly corresponds to Product.fulfillment_info.type.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2RemoveFulfillmentPlacesResponse": {
+ "description": "Response of the RemoveFulfillmentPlacesRequest. Currently empty because there is no meaningful response populated from the RemoveFulfillmentPlaces method.",
+ "id": "GoogleCloudRetailV2RemoveFulfillmentPlacesResponse",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleCloudRetailV2SearchRequest": {
+ "description": "Request message for SearchService.Search method.",
+ "id": "GoogleCloudRetailV2SearchRequest",
+ "properties": {
+ "boostSpec": {
+ "$ref": "GoogleCloudRetailV2SearchRequestBoostSpec",
+ "description": "Boost specification to boost certain products. See more details at this [user guide](/retail/private/docs/boosting)."
+ },
+ "branch": {
+ "description": "The branch resource name, such as `projects/*/locations/global/catalogs/default_catalog/branches/0`. Use \"default_branch\" as the branch ID or leave this field empty, to search products under the default branch.",
+ "type": "string"
+ },
+ "canonicalFilter": {
+ "description": "The filter applied to every search request when quality improvement such as query expansion is needed. For example, if a query does not have enough results, an expanded query with SearchRequest.canonical_filter will be returned as a supplement of the original query. This field is strongly recommended to achieve high search quality. See SearchRequest.filter for more details about filter syntax.",
+ "type": "string"
+ },
+ "dynamicFacetSpec": {
+ "$ref": "GoogleCloudRetailV2SearchRequestDynamicFacetSpec",
+ "description": "The specification for dynamically generated facets. Notice that only textual facets can be dynamically generated. This feature requires additional allowlisting. Contact Retail Support (retail-search-support@google.com) if you are interested in using dynamic facet feature."
+ },
+ "facetSpecs": {
+ "description": "Facet specifications for faceted search. If empty, no facets are returned. A maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "items": {
+ "$ref": "GoogleCloudRetailV2SearchRequestFacetSpec"
+ },
+ "type": "array"
+ },
+ "filter": {
+ "description": "The filter syntax consists of an expression language for constructing a predicate from one or more fields of the products being filtered. Filter expression is case-sensitive. See more details at this [user guide](/retail/private/docs/filter-and-order#filter). If this field is unrecognizable, an INVALID_ARGUMENT is returned.",
+ "type": "string"
+ },
+ "offset": {
+ "description": "A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the Products 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",
+ "type": "integer"
+ },
+ "orderBy": {
+ "description": "The order in which products are returned. Products can be ordered by a field in an Product object. Leave it unset if ordered by relevance. OrderBy expression is case-sensitive. See more details at this [user guide](/retail/private/docs/filter-and-order#order). If this field is unrecognizable, an INVALID_ARGUMENT is returned.",
+ "type": "string"
+ },
+ "pageCategories": {
+ "description": "The categories associated with a category page. Required for category navigation queries to achieve good search quality. The format should be the same as UserEvent.page_categories; To represent full path of category, use '>' sign to separate different hierarchies. If '>' is part of the category name, please replace it with other character(s). Category pages include special pages such as sales or promotions. For instance, a special sale page may have the category hierarchy: \"pageCategories\" : [\"Sales > 2017 Black Friday Deals\"].",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "pageSize": {
+ "description": "Maximum number of Products to return. If unspecified, defaults to a reasonable value. The maximum allowed value is 120. Values above 120 will be coerced to 120. If this field is negative, an INVALID_ARGUMENT is returned.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "A page token SearchResponse.next_page_token, received from a previous SearchService.Search call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to SearchService.Search must match the call that provided the page token. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "type": "string"
+ },
+ "query": {
+ "description": "Raw search query.",
+ "type": "string"
+ },
+ "queryExpansionSpec": {
+ "$ref": "GoogleCloudRetailV2SearchRequestQueryExpansionSpec",
+ "description": "The query expansion specification that specifies the conditions under which query expansion will occur. See more details at this [user guide](/retail/private/docs/result-size#query_expansion)."
+ },
+ "userInfo": {
+ "$ref": "GoogleCloudRetailV2UserInfo",
+ "description": "User information."
+ },
+ "variantRollupKeys": {
+ "description": "The keys to fetch and rollup the matching variant Products attributes. The attributes from all the matching variant Products are merged and de-duplicated. Notice that rollup variant Products attributes will lead to extra query latency. Maximum number of keys is 10. For Product.fulfillment_info, a fulfillment type and a fulfillment ID must be provided in the format of \"fulfillmentType.filfillmentId\". E.g., in \"pickupInStore.store123\", \"pickupInStore\" is fulfillment type and \"store123\" is the store ID. Supported keys are: * colorFamilies * price * originalPrice * discount * attributes.key, where key is any key in the Product.attributes map. * pickupInStore.id, where id is any FulfillmentInfo.ids for type FulfillmentInfo.Type.PICKUP_IN_STORE. * shipToStore.id, where id is any FulfillmentInfo.ids for type FulfillmentInfo.Type.SHIP_TO_STORE. * sameDayDelivery.id, where id is any FulfillmentInfo.ids for type FulfillmentInfo.Type.SAME_DAY_DELIVERY. * nextDayDelivery.id, where id is any FulfillmentInfo.ids for type FulfillmentInfo.Type.NEXT_DAY_DELIVERY. * customFulfillment1.id, where id is any FulfillmentInfo.ids for type FulfillmentInfo.Type.CUSTOM_TYPE_1. * customFulfillment2.id, where id is any FulfillmentInfo.ids for type FulfillmentInfo.Type.CUSTOM_TYPE_2. * customFulfillment3.id, where id is any FulfillmentInfo.ids for type FulfillmentInfo.Type.CUSTOM_TYPE_3. * customFulfillment4.id, where id is any FulfillmentInfo.ids for type FulfillmentInfo.Type.CUSTOM_TYPE_4. * customFulfillment5.id, where id is any FulfillmentInfo.ids for type FulfillmentInfo.Type.CUSTOM_TYPE_5. If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "visitorId": {
+ "description": "Required. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2SearchRequestBoostSpec": {
+ "description": "Boost specification to boost certain items.",
+ "id": "GoogleCloudRetailV2SearchRequestBoostSpec",
+ "properties": {
+ "conditionBoostSpecs": {
+ "description": "Condition boost specifications. If a product matches multiple conditions in the specifictions, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 10.",
+ "items": {
+ "$ref": "GoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec": {
+ "description": "Boost applies to products which match a condition.",
+ "id": "GoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec",
+ "properties": {
+ "boost": {
+ "description": "Strength of the condition boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the item a big promotion. However, it does not necessarily mean that the boosted item will be the top result at all times, nor that other items will be excluded. Results could still be shown even when none of them matches the condition. And results that are significantly more relevant to the search query can still trump your heavily favored but irrelevant items. Setting to -1.0 gives the item a big demotion. However, results that are deeply relevant might still be shown. The item will have an upstream battle to get a fairly high ranking, but it is not blocked out completely. Setting to 0.0 means no boost applied. The boosting condition is ignored.",
+ "format": "float",
+ "type": "number"
+ },
+ "condition": {
+ "description": "An expression which specifies a boost condition. The syntax and supported fields are the same as a filter expression. See SearchRequest.filter for detail syntax and limitations. Examples: * To boost products with product ID \"product_1\" or \"product_2\", and color \"Red\" or \"Blue\": *(id: ANY(\"product_1\", \"product_2\")) * *AND * *(colorFamilies: ANY(\"Red\", \"Blue\")) *",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2SearchRequestDynamicFacetSpec": {
+ "description": "The specifications of dynamically generated facets.",
+ "id": "GoogleCloudRetailV2SearchRequestDynamicFacetSpec",
+ "properties": {
+ "mode": {
+ "description": "Mode of the DynamicFacet feature. Defaults to Mode.DISABLED if it's unset.",
+ "enum": [
+ "MODE_UNSPECIFIED",
+ "DISABLED",
+ "ENABLED"
+ ],
+ "enumDescriptions": [
+ "Default value.",
+ "Disable Dynamic Facet.",
+ "Automatic mode built by Google Retail Search."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2SearchRequestFacetSpec": {
+ "description": "A facet specification to perform faceted search.",
+ "id": "GoogleCloudRetailV2SearchRequestFacetSpec",
+ "properties": {
+ "enableDynamicPosition": {
+ "description": "Enables dynamic position for this facet. If set to true, the position of this facet among all facets in the response is determined by Google Retail Search. It will be ordered together with dynamic facets if dynamic facets is enabled. If set to false, the position of this facet in the response will be the same as in the request, and it will be ranked before the facets with dynamic position enable and all dynamic facets. For example, you may always want to have rating facet returned in the response, but it's not necessarily to always display the rating facet at the top. In that case, you can set enable_dynamic_position to true so that the position of rating facet in response will be determined by Google Retail Search. Another example, assuming you have the following facets in the request: * \"rating\", enable_dynamic_position = true * \"price\", enable_dynamic_position = false * \"brands\", enable_dynamic_position = false And also you have a dynamic facets enable, which will generate a facet 'gender'. Then the final order of the facets in the response can be (\"price\", \"brands\", \"rating\", \"gender\") or (\"price\", \"brands\", \"gender\", \"rating\") depends on how Google Retail Search orders \"gender\" and \"rating\" facets. However, notice that \"price\" and \"brands\" will always be ranked at 1st and 2nd position since their enable_dynamic_position are false.",
+ "type": "boolean"
+ },
+ "excludedFilterKeys": {
+ "description": "List of keys to exclude when faceting. By default, FacetKey.key is not excluded from the filter unless it is listed in this field. For example, suppose there are 100 products with color facet \"Red\" and 200 products with color facet \"Blue\". A query containing the filter \"colorFamilies:ANY(\"Red\")\" and have \"colorFamilies\" as FacetKey.key will by default return the \"Red\" with count 100. If this field contains \"colorFamilies\", then the query returns both the \"Red\" with count 100 and \"Blue\" with count 200, because the \"colorFamilies\" key is now excluded from the filter. A maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "facetKey": {
+ "$ref": "GoogleCloudRetailV2SearchRequestFacetSpecFacetKey",
+ "description": "Required. The facet key specification."
+ },
+ "limit": {
+ "description": "Maximum of facet values that should be returned for this facet. If unspecified, defaults to 20. The maximum allowed value is 300. Values above 300 will be coerced to 300. If this field is negative, an INVALID_ARGUMENT is returned.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2SearchRequestFacetSpecFacetKey": {
+ "description": "Specifies how a facet is computed.",
+ "id": "GoogleCloudRetailV2SearchRequestFacetSpecFacetKey",
+ "properties": {
+ "contains": {
+ "description": "Only get facet values that contains the given strings. For example, suppose \"categories\" has three values \"Women > Shoe\", \"Women > Dress\" and \"Men > Shoe\". If set \"contains\" to \"Shoe\", the \"categories\" facet will give only \"Women > Shoe\" and \"Men > Shoe\". Only supported on textual fields. Maximum is 10.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "intervals": {
+ "description": "Set only if values should be bucketized into intervals. Must be set for facets with numerical values. Must not be set for facet with text values. Maximum number of intervals is 30.",
+ "items": {
+ "$ref": "GoogleCloudRetailV2Interval"
+ },
+ "type": "array"
+ },
+ "key": {
+ "description": "Required. Supported textual and numerical facet keys in Product object, over which the facet values are computed. Facet key is case-sensitive. Allowed facet keys when FacetKey.query is not specified: * textual_field = *# The Product.brands. * \"brands\"; *# The Product.categories. * \"categories\"; *# The Audience.genders. * | \"genders\"; *# The Audience.age_groups. * | \"ageGroups\"; *# The Product.availability. Value is one of * *# \"IN_STOCK\", \"OUT_OF_STOCK\", PREORDER\", \"BACKORDER\". * | \"availability\"; *# The ColorInfo.color_families. * | \"colorFamilies\"; *# The ColorInfo.colors. * | \"colors\"; *# The Product.sizes. * | \"sizes\"; *# The Product.materials. * | \"materials\"; *# The Product.patterns. * | \"patterns\"; *# The Product.conditions. * | \"conditions\"; *# The textual custom attribute in Product object. Key can * *# be any key in the Product.attributes map * *# if the attribute values are textual. * *# map. * | \"attributes.key\"; *# The FulfillmentInfo.ids for type *# FulfillmentInfo.Type.PICKUP_IN_STORE. * | \"pickupInStore\"; *# The FulfillmentInfo.ids for type *# FulfillmentInfo.Type.SHIP_TO_STORE. * | \"shipToStore\"; *# The FulfillmentInfo.ids for type *# FulfillmentInfo.Type.SAME_DAY_DELIVERY. * | \"sameDayDelivery\"; *# The FulfillmentInfo.ids for type *# FulfillmentInfo.Type.NEXT_DAY_DELIVERY. * | \"nextDayDelivery\"; *# The FulfillmentInfo.ids for type *# FulfillmentInfo.Type.CUSTOM_TYPE_1. * | \"customFulfillment1\"; *# The FulfillmentInfo.ids for type *# FulfillmentInfo.Type.CUSTOM_TYPE_2. * | \"customFulfillment2\"; *# The FulfillmentInfo.ids for type *# FulfillmentInfo.Type.CUSTOM_TYPE_3. * | \"customFulfillment3\"; *# The FulfillmentInfo.ids for type *# FulfillmentInfo.Type.CUSTOM_TYPE_4. * | \"customFulfillment4\"; *# The FulfillmentInfo.ids for type *# FulfillmentInfo.Type.CUSTOM_TYPE_5. * | \"customFulfillment5\"; * numerical_field = *# The PriceInfo.price. * \"price\"; *# The discount. Computed by (original_price-price)/price * \"discount\"; *# The Rating.average_rating. * \"rating\"; *# The Rating.rating_count. * \"ratingCount\"; *# The numerical custom attribute in Product object. Key can * *# be any key in the Product.attributes map * *# if the attribute values are numerical. * | \"attributes.key\";",
+ "type": "string"
+ },
+ "orderBy": {
+ "description": "The order in which Facet.values are returned. Allowed values are: * \"count desc\", which means order by Facet.FacetValue.count descending. * \"value desc\", which means order by Facet.FacetValue.value descending. Only applies to textual facets. If not set, textual values are sorted in [natural order](https://en.wikipedia.org/wiki/Natural_sort_order); numerical intervals are sorted in the order given by FacetSpec.FacetKey.intervals; FulfillmentInfo.ids are sorted in the order given by FacetSpec.FacetKey.restricted_values.",
+ "type": "string"
+ },
+ "prefixes": {
+ "description": "Only get facet values that start with the given string prefix. For example, suppose \"categories\" has three values \"Women > Shoe\", \"Women > Dress\" and \"Men > Shoe\". If set \"prefixes\" to \"Women\", the \"categories\" facet will give only \"Women > Shoe\" and \"Women > Dress\". Only supported on textual fields. Maximum is 10.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "query": {
+ "description": "The query that is used to compute facet for the given facet key. When provided, it will override the default behavior of facet computation. The query syntax is the same as a filter expression. See SearchRequest.filter for detail syntax and limitations. Notice that there is no limitation on FacetKey.key when query is specified. In the response, FacetValue.value will be always \"1\" and FacetValue.count will be the number of results that matches the query. For example, you can set a customized facet for \"shipToStore\", where FacetKey.key is \"customizedShipToStore\", and FacetKey.query is \"availability: ANY(\\\"IN_STOCK\\\") AND shipToStore: ANY(\\\"123\\\")\". Then the facet will count the products that are both in stock and ship to store \"123\".",
+ "type": "string"
+ },
+ "restrictedValues": {
+ "description": "Only get facet for the given restricted values. For example, when using \"pickupInStore\" as key and set restricted values to [\"store123\", \"store456\"], only facets for \"store123\" and \"store456\" are returned. Only supported on textual fields and fulfillments. Maximum is 20. Must be set for the fulfillment facet keys: * pickupInStore * shipToStore * sameDayDelivery * nextDayDelivery * customFulfillment1 * customFulfillment2 * customFulfillment3 * customFulfillment4 * customFulfillment5",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2SearchRequestQueryExpansionSpec": {
+ "description": "Specification to determine under which conditions query expansion should occur.",
+ "id": "GoogleCloudRetailV2SearchRequestQueryExpansionSpec",
+ "properties": {
+ "condition": {
+ "description": "The condition under which query expansion should occur. Default to Condition.DISABLED.",
+ "enum": [
+ "CONDITION_UNSPECIFIED",
+ "DISABLED",
+ "AUTO"
+ ],
+ "enumDescriptions": [
+ "Unspecified query expansion condition. This defaults to Condition.DISABLED.",
+ "Disabled query expansion. Only the exact search query is used, even if SearchResponse.total_size is zero.",
+ "Automatic query expansion built by Google Retail Search."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2SearchResponse": {
+ "description": "Response message for SearchService.Search method.",
+ "id": "GoogleCloudRetailV2SearchResponse",
+ "properties": {
+ "attributionToken": {
+ "description": "A unique search token. This should be included in the UserEvent logs resulting from this search, which enables accurate attribution of search model performance.",
+ "type": "string"
+ },
+ "correctedQuery": {
+ "description": "If spell correction applies, the corrected query. Otherwise, empty.",
+ "type": "string"
+ },
+ "facets": {
+ "description": "Results of facets requested by user.",
+ "items": {
+ "$ref": "GoogleCloudRetailV2SearchResponseFacet"
+ },
+ "type": "array"
+ },
+ "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"
+ },
+ "queryExpansionInfo": {
+ "$ref": "GoogleCloudRetailV2SearchResponseQueryExpansionInfo",
+ "description": "Query expansion information for the returned results."
+ },
+ "redirectUri": {
+ "description": "The URI of a customer-defined redirect page. If redirect action is triggered, no search will be performed, and only redirect_uri and attribution_token will be set in the response.",
+ "type": "string"
+ },
+ "results": {
+ "description": "A list of matched items. The order represents the ranking.",
+ "items": {
+ "$ref": "GoogleCloudRetailV2SearchResponseSearchResult"
+ },
+ "type": "array"
+ },
+ "totalSize": {
+ "description": "The estimated total count of matched items irrespective of pagination. The count of results returned by pagination may be less than the total_size that matches.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2SearchResponseFacet": {
+ "description": "A facet result.",
+ "id": "GoogleCloudRetailV2SearchResponseFacet",
+ "properties": {
+ "dynamicFacet": {
+ "description": "Whether the facet is dynamically generated.",
+ "type": "boolean"
+ },
+ "key": {
+ "description": "The key for this facet. E.g., \"colorFamilies\" or \"price\" or \"attributes.attr1\".",
+ "type": "string"
+ },
+ "values": {
+ "description": "The facet values for this field.",
+ "items": {
+ "$ref": "GoogleCloudRetailV2SearchResponseFacetFacetValue"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2SearchResponseFacetFacetValue": {
+ "description": "A facet value which contains value names and their count.",
+ "id": "GoogleCloudRetailV2SearchResponseFacetFacetValue",
+ "properties": {
+ "count": {
+ "description": "Number of items that have this facet value.",
+ "format": "int64",
+ "type": "string"
+ },
+ "interval": {
+ "$ref": "GoogleCloudRetailV2Interval",
+ "description": "Interval value for a facet, such as [10, 20) for facet \"price\"."
+ },
+ "value": {
+ "description": "Text value of a facet, such as \"Black\" for facet \"colorFamilies\".",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2SearchResponseQueryExpansionInfo": {
+ "description": "Information describing query expansion including whether expansion has occurred.",
+ "id": "GoogleCloudRetailV2SearchResponseQueryExpansionInfo",
+ "properties": {
+ "expandedQuery": {
+ "description": "Bool describing whether query expansion has occurred.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2SearchResponseSearchResult": {
+ "description": "Represents the search results.",
+ "id": "GoogleCloudRetailV2SearchResponseSearchResult",
+ "properties": {
+ "id": {
+ "description": "Product.id of the searched Product.",
+ "type": "string"
+ },
+ "matchingVariantCount": {
+ "description": "The count of matched variant Products.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "matchingVariantFields": {
+ "additionalProperties": {
+ "format": "google-fieldmask",
+ "type": "string"
+ },
+ "description": "If a variant Product matches the search query, this map indicates which Product fields are matched. The key is the Product.name, the value is a field mask of the matched Product fields. If matched attributes cannot be determined, this map will be empty. For example, a key \"sku1\" with field mask \"products.color_info\" indicates there is a match between \"sku1\" ColorInfo and the query.",
+ "type": "object"
+ },
+ "product": {
+ "$ref": "GoogleCloudRetailV2Product",
+ "description": "The product data snippet in the search response. Only Product.name is guaranteed to be populated. Product.variants contains the product variants that match the search query. If there are multiple product variants matching the query, top 5 most relevant product variants are returned and ordered by relevancy. If relevancy can be deternmined, use matching_variant_fields to look up matched product variants fields. If relevancy cannot be determined, e.g. when searching \"shoe\" all products in a shoe product can be a match, 5 product variants are returned but order is meaningless."
+ },
+ "variantRollupValues": {
+ "additionalProperties": {
+ "type": "any"
+ },
+ "description": "The rollup matching variant Product attributes. The key is one of the SearchRequest.variant_rollup_keys. The values are the merged and de-duplicated Product attributes. Notice that the rollup values are respect filter. For example, when filtering by \"colorFamilies:ANY(\\\"red\\\")\" and rollup \"colorFamilies\", only \"red\" is returned. For textual and numerical attributes, the rollup values is a list of string or double values with type google.protobuf.ListValue. For example, if there are two variants with colors \"red\" and \"blue\", the rollup values are { key: \"colorFamilies\" value { list_value { values { string_value: \"red\" } values { string_value: \"blue\" } } } } For Product.fulfillment_info, the rollup values is a double value with type google.protobuf.Value. For example, {key: \"pickupInStore.store1\" value { number_value: 10 }} means a there are 10 variants in this product are available in the store \"store1\".",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2SetDefaultBranchRequest": {
+ "description": "Request message to set a specified branch as new default_branch.",
+ "id": "GoogleCloudRetailV2SetDefaultBranchRequest",
+ "properties": {
+ "branchId": {
+ "description": "The final component of the resource name of a branch. This field must be one of \"0\", \"1\" or \"2\". Otherwise, an INVALID_ARGUMENT error is returned.",
+ "type": "string"
+ },
+ "note": {
+ "description": "Some note on this request, this can be retrieved by CatalogService.GetDefaultBranch before next valid default branch set occurs. This field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2SetInventoryMetadata": {
+ "description": "Metadata related to the progress of the SetInventory operation. Currently empty because there is no meaningful metadata populated from the SetInventory method.",
+ "id": "GoogleCloudRetailV2SetInventoryMetadata",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleCloudRetailV2SetInventoryRequest": {
+ "description": "Request message for SetInventory method.",
+ "id": "GoogleCloudRetailV2SetInventoryRequest",
+ "properties": {
+ "allowMissing": {
+ "description": "If set to true, and the Product with name Product.name is not found, the inventory update will still be processed and retained for at most 1 day until the Product is created. If set to false, an INVALID_ARGUMENT error is returned if the Product is not found.",
+ "type": "boolean"
+ },
+ "inventory": {
+ "$ref": "GoogleCloudRetailV2Product",
+ "description": "Required. The inventory information to update. The allowable fields to update are: * Product.price_info * Product.availability * Product.available_quantity * Product.fulfillment_info The updated inventory fields must be specified in SetInventoryRequest.set_mask. If SetInventoryRequest.inventory.name is empty or invalid, an INVALID_ARGUMENT error is returned. If the caller does not have permission to update the Product named in Product.name, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the Product to update does not have existing inventory information, the provided inventory information will be inserted. If the Product to update has existing inventory information, the provided inventory information will be merged while respecting the last update time for each inventory field, using the provided or default value for SetInventoryRequest.set_time. The last update time is recorded for the following inventory fields: * Product.price_info * Product.availability * Product.available_quantity * Product.fulfillment_info If a full overwrite of inventory information while ignoring timestamps is needed, UpdateProduct should be invoked instead."
+ },
+ "setMask": {
+ "description": "Indicates which inventory fields in the provided Product to update. If not set or set with empty paths, all inventory fields will be updated. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned and the entire update will be ignored.",
+ "format": "google-fieldmask",
+ "type": "string"
+ },
+ "setTime": {
+ "description": "The time when the request is issued, used to prevent out-of-order updates on inventory fields with the last update time recorded. If not provided, the internal system time will be used.",
+ "format": "google-datetime",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2SetInventoryResponse": {
+ "description": "Response of the SetInventoryRequest. Currently empty because there is no meaningful response populated from the SetInventory method.",
+ "id": "GoogleCloudRetailV2SetInventoryResponse",
+ "properties": {},
+ "type": "object"
+ },
"GoogleCloudRetailV2UserEvent": {
"description": "UserEvent captures all metadata information Retail API needs to know about how end users interact with customers' website.",
"id": "GoogleCloudRetailV2UserEvent",
@@ -1497,13 +2741,17 @@
"type": "object"
},
"attributionToken": {
- "description": "Highly recommended for user events that are the result of PredictionService.Predict. This field enables accurate attribution of recommendation model performance. The value must be a valid PredictResponse.attribution_token for user events that are the result of PredictionService.Predict. This token enables us to accurately attribute page view or purchase back to the event and the particular predict response containing this clicked/purchased product. If user clicks on product K in the recommendation results, pass PredictResponse.attribution_token as a URL parameter to product K's page. When recording events on product K's page, log the PredictResponse.attribution_token to this field.",
+ "description": "Highly recommended for user events that are the result of PredictionService.Predict. This field enables accurate attribution of recommendation model performance. The value must be a valid PredictResponse.attribution_token for user events that are the result of PredictionService.Predict. The value must be a valid SearchResponse.attribution_token for user events that are the result of SearchService.Search. This token enables us to accurately attribute page view or purchase back to the event and the particular predict response containing this clicked/purchased product. If user clicks on product K in the recommendation results, pass PredictResponse.attribution_token as a URL parameter to product K's page. When recording events on product K's page, log the PredictResponse.attribution_token to this field.",
"type": "string"
},
"cartId": {
"description": "The id or name of the associated shopping cart. This id is used to associate multiple items added or present in the cart before purchase. This can only be set for `add-to-cart`, `purchase-complete`, or `shopping-cart-page-view` events.",
"type": "string"
},
+ "completionDetail": {
+ "$ref": "GoogleCloudRetailV2CompletionDetail",
+ "description": "The main completion details related to the event. In a `completion` event, this field represents the completions returned to the end user and the clicked completion by the end user. In a `search` event, it represents the search event happens after clicking completion."
+ },
"eventTime": {
"description": "Only required for UserEventService.ImportUserEvents method. Timestamp of when the user event happened.",
"format": "google-datetime",
@@ -1520,6 +2768,19 @@
},
"type": "array"
},
+ "filter": {
+ "description": "The filter syntax consists of an expression language for constructing a predicate from one or more fields of the products being filtered. See SearchRequest.filter for definition and syntax. The value must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "type": "string"
+ },
+ "offset": {
+ "description": "An integer that specifies the current offset for pagination (the 0-indexed starting location, amongst the products deemed by the API as relevant). See SearchRequest.offset for definition. If this field is negative, an INVALID_ARGUMENT is returned. This can only be set for `search` events. Other event types should not set this field. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "orderBy": {
+ "description": "The order in which products are returned. See SearchRequest.order_by for definition and syntax. The value must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. This can only be set for `search` events. Other event types should not set this field. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "type": "string"
+ },
"pageCategories": {
"description": "The categories associated with a category page. To represent full path of category, use '>' sign to separate different hierarchies. If '>' is part of the category name, please replace it with other character(s). Category pages include special pages such as sales or promotions. For instance, a special sale page may have the category hierarchy: \"pageCategories\" : [\"Sales > 2017 Black Friday Deals\"]. Required for `category-page-view` events. At least one of search_query or page_categories is required for `search` events. Other event types should not set this field. Otherwise, an INVALID_ARGUMENT error is returned.",
"items": {
@@ -1547,7 +2808,11 @@
"type": "string"
},
"searchQuery": {
- "description": "The user's search query. The value must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. At least one of search_query or page_categories is required for `search` events. Other event types should not set this field. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "description": "The user's search query. See SearchRequest.query for definition. The value must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. At least one of search_query or page_categories is required for `search` events. Other event types should not set this field. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "type": "string"
+ },
+ "sessionId": {
+ "description": "A unique identifier for tracking a visitor session with a length limit of 128 bytes. A session is an aggregation of an end user behavior in a time span. A general guideline to populate the sesion_id: 1. If user has no activity for 30 min, a new session_id should be assigned. 2. The session_id should be unique across users, suggest use uuid or add visitor_id as prefix.",
"type": "string"
},
"uri": {
@@ -1624,11 +2889,11 @@
"type": "boolean"
},
"ipAddress": {
- "description": "The end user's IP address. Required for getting SearchRespons.sponsored_results. This field is used to extract location information for personalization. This field must be either an IPv4 address (e.g. \"104.133.9.80\") or an IPv6 address (e.g. \"2001:0db8:85a3:0000:0000:8a2e:0370:7334\"). Otherwise, an INVALID_ARGUMENT error is returned. This should not be set when using the JavaScript tag in UserEventService.CollectUserEvent or if direct_user_request is set.",
+ "description": "The end user's IP address. Required for getting SearchResponse.sponsored_results. This field is used to extract location information for personalization. This field must be either an IPv4 address (e.g. \"104.133.9.80\") or an IPv6 address (e.g. \"2001:0db8:85a3:0000:0000:8a2e:0370:7334\"). Otherwise, an INVALID_ARGUMENT error is returned. This should not be set when using the JavaScript tag in UserEventService.CollectUserEvent or if direct_user_request is set.",
"type": "string"
},
"userAgent": {
- "description": "User agent as included in the HTTP header. Required for getting SearchRespons.sponsored_results. The field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. This should not be set when using the client side event reporting with GTM or JavaScript tag in UserEventService.CollectUserEvent or if direct_user_request is set.",
+ "description": "User agent as included in the HTTP header. Required for getting SearchResponse.sponsored_results. The field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. This should not be set when using the client side event reporting with GTM or JavaScript tag in UserEventService.CollectUserEvent or if direct_user_request is set.",
"type": "string"
},
"userId": {
@@ -1638,6 +2903,18 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2alphaAddFulfillmentPlacesMetadata": {
+ "description": "Metadata related to the progress of the AddFulfillmentPlaces operation. Currently empty because there is no meaningful metadata populated from the AddFulfillmentPlaces method.",
+ "id": "GoogleCloudRetailV2alphaAddFulfillmentPlacesMetadata",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleCloudRetailV2alphaAddFulfillmentPlacesResponse": {
+ "description": "Response of the RemoveFulfillmentPlacesRequest. Currently empty because there is no meaningful response populated from the AddFulfillmentPlaces method.",
+ "id": "GoogleCloudRetailV2alphaAddFulfillmentPlacesResponse",
+ "properties": {},
+ "type": "object"
+ },
"GoogleCloudRetailV2alphaExportErrorsConfig": {
"description": "Configuration of destination for Export related errors.",
"id": "GoogleCloudRetailV2alphaExportErrorsConfig",
@@ -1702,6 +2979,20 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2alphaImportCompletionDataResponse": {
+ "description": "Response of the ImportCompletionDataRequest. If the long running operation is done, this message is returned by the google.longrunning.Operations.response field if the operation is successful.",
+ "id": "GoogleCloudRetailV2alphaImportCompletionDataResponse",
+ "properties": {
+ "errorSamples": {
+ "description": "A sample of errors encountered while processing the request.",
+ "items": {
+ "$ref": "GoogleRpcStatus"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"GoogleCloudRetailV2alphaImportErrorsConfig": {
"description": "Configuration of destination for Import related errors.",
"id": "GoogleCloudRetailV2alphaImportErrorsConfig",
@@ -1727,6 +3018,14 @@
"format": "int64",
"type": "string"
},
+ "notificationPubsubTopic": {
+ "description": "Pub/Sub topic for receiving notification. If this field is set, when the import is finished, a notification will be sent to specified Pub/Sub topic. The message data will be JSON string of a Operation. Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`.",
+ "type": "string"
+ },
+ "requestId": {
+ "description": "Id of the request / operation. This is parroting back the requestId that was passed in the request.",
+ "type": "string"
+ },
"successCount": {
"description": "Count of entries that were processed successfully.",
"format": "int64",
@@ -1816,6 +3115,30 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2alphaRemoveFulfillmentPlacesMetadata": {
+ "description": "Metadata related to the progress of the RemoveFulfillmentPlaces operation. Currently empty because there is no meaningful metadata populated from the RemoveFulfillmentPlaces method.",
+ "id": "GoogleCloudRetailV2alphaRemoveFulfillmentPlacesMetadata",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleCloudRetailV2alphaRemoveFulfillmentPlacesResponse": {
+ "description": "Response of the RemoveFulfillmentPlacesRequest. Currently empty because there is no meaningful response populated from the RemoveFulfillmentPlaces method.",
+ "id": "GoogleCloudRetailV2alphaRemoveFulfillmentPlacesResponse",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleCloudRetailV2alphaSetInventoryMetadata": {
+ "description": "Metadata related to the progress of the SetInventory operation. Currently empty because there is no meaningful metadata populated from the SetInventory method.",
+ "id": "GoogleCloudRetailV2alphaSetInventoryMetadata",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleCloudRetailV2alphaSetInventoryResponse": {
+ "description": "Response of the SetInventoryRequest. Currently empty because there is no meaningful response populated from the SetInventory method.",
+ "id": "GoogleCloudRetailV2alphaSetInventoryResponse",
+ "properties": {},
+ "type": "object"
+ },
"GoogleCloudRetailV2alphaUserEventImportSummary": {
"description": "A summary of import result. The UserEventImportSummary summarizes the import status for user events.",
"id": "GoogleCloudRetailV2alphaUserEventImportSummary",
@@ -1833,6 +3156,18 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2betaAddFulfillmentPlacesMetadata": {
+ "description": "Metadata related to the progress of the AddFulfillmentPlaces operation. Currently empty because there is no meaningful metadata populated from the AddFulfillmentPlaces method.",
+ "id": "GoogleCloudRetailV2betaAddFulfillmentPlacesMetadata",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleCloudRetailV2betaAddFulfillmentPlacesResponse": {
+ "description": "Response of the RemoveFulfillmentPlacesRequest. Currently empty because there is no meaningful response populated from the AddFulfillmentPlaces method.",
+ "id": "GoogleCloudRetailV2betaAddFulfillmentPlacesResponse",
+ "properties": {},
+ "type": "object"
+ },
"GoogleCloudRetailV2betaExportErrorsConfig": {
"description": "Configuration of destination for Export related errors.",
"id": "GoogleCloudRetailV2betaExportErrorsConfig",
@@ -1897,6 +3232,20 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2betaImportCompletionDataResponse": {
+ "description": "Response of the ImportCompletionDataRequest. If the long running operation is done, this message is returned by the google.longrunning.Operations.response field if the operation is successful.",
+ "id": "GoogleCloudRetailV2betaImportCompletionDataResponse",
+ "properties": {
+ "errorSamples": {
+ "description": "A sample of errors encountered while processing the request.",
+ "items": {
+ "$ref": "GoogleRpcStatus"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"GoogleCloudRetailV2betaImportErrorsConfig": {
"description": "Configuration of destination for Import related errors.",
"id": "GoogleCloudRetailV2betaImportErrorsConfig",
@@ -1922,6 +3271,14 @@
"format": "int64",
"type": "string"
},
+ "notificationPubsubTopic": {
+ "description": "Pub/Sub topic for receiving notification. If this field is set, when the import is finished, a notification will be sent to specified Pub/Sub topic. The message data will be JSON string of a Operation. Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`.",
+ "type": "string"
+ },
+ "requestId": {
+ "description": "Id of the request / operation. This is parroting back the requestId that was passed in the request.",
+ "type": "string"
+ },
"successCount": {
"description": "Count of entries that were processed successfully.",
"format": "int64",
@@ -2011,6 +3368,30 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2betaRemoveFulfillmentPlacesMetadata": {
+ "description": "Metadata related to the progress of the RemoveFulfillmentPlaces operation. Currently empty because there is no meaningful metadata populated from the RemoveFulfillmentPlaces method.",
+ "id": "GoogleCloudRetailV2betaRemoveFulfillmentPlacesMetadata",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleCloudRetailV2betaRemoveFulfillmentPlacesResponse": {
+ "description": "Response of the RemoveFulfillmentPlacesRequest. Currently empty because there is no meaningful response populated from the RemoveFulfillmentPlaces method.",
+ "id": "GoogleCloudRetailV2betaRemoveFulfillmentPlacesResponse",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleCloudRetailV2betaSetInventoryMetadata": {
+ "description": "Metadata related to the progress of the SetInventory operation. Currently empty because there is no meaningful metadata populated from the SetInventory method.",
+ "id": "GoogleCloudRetailV2betaSetInventoryMetadata",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleCloudRetailV2betaSetInventoryResponse": {
+ "description": "Response of the SetInventoryRequest. Currently empty because there is no meaningful response populated from the SetInventory method.",
+ "id": "GoogleCloudRetailV2betaSetInventoryResponse",
+ "properties": {},
+ "type": "object"
+ },
"GoogleCloudRetailV2betaUserEventImportSummary": {
"description": "A summary of import result. The UserEventImportSummary summarizes the import status for user events.",
"id": "GoogleCloudRetailV2betaUserEventImportSummary",
@@ -2113,6 +3494,28 @@
}
},
"type": "object"
+ },
+ "GoogleTypeDate": {
+ "description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values * A month and day value, with a zero year, such as an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, such as a credit card expiration date Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.",
+ "id": "GoogleTypeDate",
+ "properties": {
+ "day": {
+ "description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "month": {
+ "description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "year": {
+ "description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
}
},
"servicePath": "",
diff --git a/googleapiclient/discovery_cache/documents/retail.v2alpha.json b/googleapiclient/discovery_cache/documents/retail.v2alpha.json
index aa42ed6a6..a82ccaacf 100644
--- a/googleapiclient/discovery_cache/documents/retail.v2alpha.json
+++ b/googleapiclient/discovery_cache/documents/retail.v2alpha.json
@@ -111,6 +111,88 @@
"resources": {
"catalogs": {
"methods": {
+ "completeQuery": {
+ "description": "Completes the specified prefix with keyword suggestions. This feature is only available for users who have Retail Search enabled. Contact Retail Support (retail-search-support@google.com) if you are interested in using Retail Search.",
+ "flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}:completeQuery",
+ "httpMethod": "GET",
+ "id": "retail.projects.locations.catalogs.completeQuery",
+ "parameterOrder": [
+ "catalog"
+ ],
+ "parameters": {
+ "catalog": {
+ "description": "Required. Catalog for which the completion is performed. Full resource name of catalog, such as `projects/*/locations/global/catalogs/default_catalog`.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "dataset": {
+ "description": "Determines which dataset to use for fetching completion. \"user-data\" will use the imported dataset through ImportCompletionData. \"cloud-retail\" will use the dataset generated by cloud retail based on user events. If leave empty, it will use the \"user-data\". Current supported values: * user-data * cloud-retail This option is not automatically enabled. Before using cloud-retail, contact retail-search-support@google.com first.",
+ "location": "query",
+ "type": "string"
+ },
+ "deviceType": {
+ "description": "The device type context for completion suggestions. It is useful to apply different suggestions on different device types, e.g. DESKTOP, MOBILE. If it is empty, the suggestions are across all device types. Supported formats: * UNKNOWN_DEVICE_TYPE * DESKTOP * MOBILE * A customized string starts with OTHER_, e.g. OTHER_IPHONE.",
+ "location": "query",
+ "type": "string"
+ },
+ "languageCodes": {
+ "description": "The list of languages of the query. This is the BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47). The maximum number of allowed characters is 255. Only \"en-US\" is currently supported.",
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ },
+ "maxSuggestions": {
+ "description": "Completion max suggestions. The maximum allowed max suggestions is 20. The default value is 20.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "query": {
+ "description": "Required. The query used to generate suggestions. The maximum number of allowed characters is 255.",
+ "location": "query",
+ "type": "string"
+ },
+ "visitorId": {
+ "description": "A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v2alpha/{+catalog}:completeQuery",
+ "response": {
+ "$ref": "GoogleCloudRetailV2alphaCompleteQueryResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "getDefaultBranch": {
+ "description": "Get which branch is currently default branch set by CatalogService.SetDefaultBranch method under a specified parent catalog. This feature is only available for users who have Retail Search enabled. Contact Retail Support (retail-search-support@google.com) if you are interested in using Retail Search.",
+ "flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}:getDefaultBranch",
+ "httpMethod": "GET",
+ "id": "retail.projects.locations.catalogs.getDefaultBranch",
+ "parameterOrder": [
+ "catalog"
+ ],
+ "parameters": {
+ "catalog": {
+ "description": "The parent catalog resource name, such as `projects/*/locations/global/catalogs/default_catalog`.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2alpha/{+catalog}:getDefaultBranch",
+ "response": {
+ "$ref": "GoogleCloudRetailV2alphaGetDefaultBranchResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
"list": {
"description": "Lists all the Catalogs associated with the project.",
"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs",
@@ -180,6 +262,34 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
+ },
+ "setDefaultBranch": {
+ "description": "Set a specified branch id as default branch. API methods such as SearchService.Search, ProductService.GetProduct, ProductService.ListProducts will treat requests using \"default_branch\" to the actual branch id set as default. For example, if `projects/*/locations/*/catalogs/*/branches/1` is set as default, setting SearchRequest.branch to `projects/*/locations/*/catalogs/*/branches/default_branch` is equivalent to setting SearchRequest.branch to `projects/*/locations/*/catalogs/*/branches/1`. Using multiple branches can be useful when developers would like to have a staging branch to test and verify for future usage. When it becomes ready, developers switch on the staging branch using this API while keeping using `projects/*/locations/*/catalogs/*/branches/default_branch` as SearchRequest.branch to route the traffic to this staging branch. CAUTION: If you have live predict/search traffic, switching the default branch could potentially cause outages if the ID space of the new branch is very different from the old one. More specifically: * PredictionService will only return product IDs from branch {newBranch}. * SearchService will only return product IDs from branch {newBranch} (if branch is not explicitly set). * UserEventService will only join events with products from branch {newBranch}. This feature is only available for users who have Retail Search enabled. Contact Retail Support (retail-search-support@google.com) if you are interested in using Retail Search.",
+ "flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}:setDefaultBranch",
+ "httpMethod": "POST",
+ "id": "retail.projects.locations.catalogs.setDefaultBranch",
+ "parameterOrder": [
+ "catalog"
+ ],
+ "parameters": {
+ "catalog": {
+ "description": "Full resource name of the catalog, such as `projects/*/locations/global/catalogs/default_catalog`.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2alpha/{+catalog}:setDefaultBranch",
+ "request": {
+ "$ref": "GoogleCloudRetailV2alphaSetDefaultBranchRequest"
+ },
+ "response": {
+ "$ref": "GoogleProtobufEmpty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
}
},
"resources": {
@@ -216,6 +326,34 @@
},
"products": {
"methods": {
+ "addFulfillmentPlaces": {
+ "description": "Incrementally adds place IDs to Product.fulfillment_info.place_ids. This process is asynchronous and does not require the Product to exist before updating fulfillment information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, the added place IDs are not immediately manifested in the Product queried by GetProduct or ListProducts. This feature is only available for users who have Retail Search enabled. Contact Retail Support (retail-search-support@google.com) if you are interested in using Retail Search.",
+ "flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products/{productsId}:addFulfillmentPlaces",
+ "httpMethod": "POST",
+ "id": "retail.projects.locations.catalogs.branches.products.addFulfillmentPlaces",
+ "parameterOrder": [
+ "product"
+ ],
+ "parameters": {
+ "product": {
+ "description": "Required. Full resource name of Product, such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/some_product_id`. If the caller does not have permission to access the Product, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+/products/.*$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2alpha/{+product}:addFulfillmentPlaces",
+ "request": {
+ "$ref": "GoogleCloudRetailV2alphaAddFulfillmentPlacesRequest"
+ },
+ "response": {
+ "$ref": "GoogleLongrunningOperation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
"create": {
"description": "Creates a Product.",
"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products",
@@ -327,6 +465,58 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
+ "list": {
+ "description": "Gets a list of Products.",
+ "flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products",
+ "httpMethod": "GET",
+ "id": "retail.projects.locations.catalogs.branches.products.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "filter": {
+ "description": "A filter to apply on the list results. Supported features: * List all the products under the parent branch if filter is unset. * List Product.Type.VARIANT Products sharing the same Product.Type.PRIMARY Product. For example: `primary_product_id = \"some_product_id\"` * List Products bundled in a Product.Type.COLLECTION Product. For example: `collection_product_id = \"some_product_id\"` * List Products with a partibular type. For example: `type = \"PRIMARY\"` `type = \"VARIANT\"` `type = \"COLLECTION\"` If the field is unrecognizable, an INVALID_ARGUMENT error is returned. If the specified Product.Type.PRIMARY Product or Product.Type.COLLECTION Product does not exist, a NOT_FOUND error is returned.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Maximum number of Products to return. If unspecified, defaults to 100. The maximum allowed value is 1000. Values above 1000 will be coerced to 1000. If this field is negative, an INVALID_ARGUMENT error is returned.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "A page token ListProductsResponse.next_page_token, received from a previous ProductService.ListProducts call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ProductService.ListProducts must match the call that provided the page token. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "location": "query",
+ "type": "string"
+ },
+ "parent": {
+ "description": "Required. The parent branch resource name, such as `projects/*/locations/global/catalogs/default_catalog/branches/0`. Use `default_branch` as the branch ID, to list products under the default branch. If the caller does not have permission to list Products under this branch, regardless of whether or not this branch exists, a PERMISSION_DENIED error is returned.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "readMask": {
+ "description": "The fields of Product to return in the responses. If not set or empty, the following fields are returned: * Product.name * Product.id * Product.title * Product.uri * Product.images * Product.price_info * Product.brands If \"*\" is provided, all fields are returned. Product.name is always returned no matter what mask is set. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.",
+ "format": "google-fieldmask",
+ "location": "query",
+ "type": "string"
+ },
+ "requireTotalSize": {
+ "description": "If true and page_token is empty, ListProductsResponse.total_size is set to the total count of matched items irrespective of pagination. Notice that setting this field to true affects the performance.",
+ "location": "query",
+ "type": "boolean"
+ }
+ },
+ "path": "v2alpha/{+parent}/products",
+ "response": {
+ "$ref": "GoogleCloudRetailV2alphaListProductsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
"patch": {
"description": "Updates a Product.",
"flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products/{productsId}",
@@ -365,11 +555,99 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
+ },
+ "removeFulfillmentPlaces": {
+ "description": "Incrementally removes place IDs from a Product.fulfillment_info.place_ids. This process is asynchronous and does not require the Product to exist before updating fulfillment information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, the removed place IDs are not immediately manifested in the Product queried by GetProduct or ListProducts. This feature is only available for users who have Retail Search enabled. Contact Retail Support (retail-search-support@google.com) if you are interested in using Retail Search.",
+ "flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products/{productsId}:removeFulfillmentPlaces",
+ "httpMethod": "POST",
+ "id": "retail.projects.locations.catalogs.branches.products.removeFulfillmentPlaces",
+ "parameterOrder": [
+ "product"
+ ],
+ "parameters": {
+ "product": {
+ "description": "Required. Full resource name of Product, such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/some_product_id`. If the caller does not have permission to access the Product, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+/products/.*$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2alpha/{+product}:removeFulfillmentPlaces",
+ "request": {
+ "$ref": "GoogleCloudRetailV2alphaRemoveFulfillmentPlacesRequest"
+ },
+ "response": {
+ "$ref": "GoogleLongrunningOperation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "setInventory": {
+ "description": "Updates inventory information for a Product while respecting the last update timestamps of each inventory field. This process is asynchronous and does not require the Product to exist before updating fulfillment information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, updates are not immediately manifested in the Product queried by GetProduct or ListProducts. When inventory is updated with CreateProduct and UpdateProduct, the specified inventory field value(s) will overwrite any existing value(s) while ignoring the last update time for this field. Furthermore, the last update time for the specified inventory fields will be overwritten to the time of the CreateProduct or UpdateProduct request. If no inventory fields are set in CreateProductRequest.product, then any pre-existing inventory information for this product will be used. If no inventory fields are set in UpdateProductRequest.set_mask, then any existing inventory information will be preserved. Pre-existing inventory information can only be updated with SetInventory, AddFulfillmentPlaces, and RemoveFulfillmentPlaces. This feature is only available for users who have Retail Search enabled. Contact Retail Support (retail-search-support@google.com) if you are interested in using Retail Search.",
+ "flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products/{productsId}:setInventory",
+ "httpMethod": "POST",
+ "id": "retail.projects.locations.catalogs.branches.products.setInventory",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Immutable. Full resource name of the product, such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/product_id`. The branch ID must be \"default_branch\".",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+/products/.*$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2alpha/{+name}:setInventory",
+ "request": {
+ "$ref": "GoogleCloudRetailV2alphaSetInventoryRequest"
+ },
+ "response": {
+ "$ref": "GoogleLongrunningOperation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
}
}
}
}
},
+ "completionData": {
+ "methods": {
+ "import": {
+ "description": "Bulk import of processed completion dataset. Request processing may be synchronous. Partial updating is not supported. This feature is only available for users who have Retail Search enabled. Contact Retail Support (retail-search-support@google.com) if you are interested in using Retail Search.",
+ "flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/completionData:import",
+ "httpMethod": "POST",
+ "id": "retail.projects.locations.catalogs.completionData.import",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Required. The catalog which the suggestions dataset belongs to. Format: `projects/1234/locations/global/catalogs/default_catalog`.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2alpha/{+parent}/completionData:import",
+ "request": {
+ "$ref": "GoogleCloudRetailV2alphaImportCompletionDataRequest"
+ },
+ "response": {
+ "$ref": "GoogleLongrunningOperation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ },
"operations": {
"methods": {
"get": {
@@ -469,6 +747,34 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
+ },
+ "search": {
+ "description": "Performs a search. This feature is only available for users who have Retail Search enabled. Contact Retail Support (retail-search-support@google.com) if you are interested in using Retail Search.",
+ "flatPath": "v2alpha/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/placements/{placementsId}:search",
+ "httpMethod": "POST",
+ "id": "retail.projects.locations.catalogs.placements.search",
+ "parameterOrder": [
+ "placement"
+ ],
+ "parameters": {
+ "placement": {
+ "description": "Required. The resource name of the search engine placement, such as `projects/*/locations/global/catalogs/default_catalog/placements/default_search`. This field is used to identify the set of models that will be used to make the search. We currently support one placement with the following ID: * `default_search`.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/placements/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2alpha/{+placement}:search",
+ "request": {
+ "$ref": "GoogleCloudRetailV2alphaSearchRequest"
+ },
+ "response": {
+ "$ref": "GoogleCloudRetailV2alphaSearchResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
}
}
},
@@ -706,7 +1012,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210723",
"rootUrl": "https://retail.googleapis.com/",
"schemas": {
"GoogleApiHttpBody": {
@@ -859,6 +1165,32 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2AddFulfillmentPlacesMetadata": {
+ "description": "Metadata related to the progress of the AddFulfillmentPlaces operation. Currently empty because there is no meaningful metadata populated from the AddFulfillmentPlaces method.",
+ "id": "GoogleCloudRetailV2AddFulfillmentPlacesMetadata",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleCloudRetailV2AddFulfillmentPlacesResponse": {
+ "description": "Response of the RemoveFulfillmentPlacesRequest. Currently empty because there is no meaningful response populated from the AddFulfillmentPlaces method.",
+ "id": "GoogleCloudRetailV2AddFulfillmentPlacesResponse",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleCloudRetailV2ImportCompletionDataResponse": {
+ "description": "Response of the ImportCompletionDataRequest. If the long running operation is done, this message is returned by the google.longrunning.Operations.response field if the operation is successful.",
+ "id": "GoogleCloudRetailV2ImportCompletionDataResponse",
+ "properties": {
+ "errorSamples": {
+ "description": "A sample of errors encountered while processing the request.",
+ "items": {
+ "$ref": "GoogleRpcStatus"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"GoogleCloudRetailV2ImportErrorsConfig": {
"description": "Configuration of destination for Import related errors.",
"id": "GoogleCloudRetailV2ImportErrorsConfig",
@@ -884,6 +1216,14 @@
"format": "int64",
"type": "string"
},
+ "notificationPubsubTopic": {
+ "description": "Pub/Sub topic for receiving notification. If this field is set, when the import is finished, a notification will be sent to specified Pub/Sub topic. The message data will be JSON string of a Operation. Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`.",
+ "type": "string"
+ },
+ "requestId": {
+ "description": "Id of the request / operation. This is parroting back the requestId that was passed in the request.",
+ "type": "string"
+ },
"successCount": {
"description": "Count of entries that were processed successfully.",
"format": "int64",
@@ -973,6 +1313,30 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2RemoveFulfillmentPlacesMetadata": {
+ "description": "Metadata related to the progress of the RemoveFulfillmentPlaces operation. Currently empty because there is no meaningful metadata populated from the RemoveFulfillmentPlaces method.",
+ "id": "GoogleCloudRetailV2RemoveFulfillmentPlacesMetadata",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleCloudRetailV2RemoveFulfillmentPlacesResponse": {
+ "description": "Response of the RemoveFulfillmentPlacesRequest. Currently empty because there is no meaningful response populated from the RemoveFulfillmentPlaces method.",
+ "id": "GoogleCloudRetailV2RemoveFulfillmentPlacesResponse",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleCloudRetailV2SetInventoryMetadata": {
+ "description": "Metadata related to the progress of the SetInventory operation. Currently empty because there is no meaningful metadata populated from the SetInventory method.",
+ "id": "GoogleCloudRetailV2SetInventoryMetadata",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleCloudRetailV2SetInventoryResponse": {
+ "description": "Response of the SetInventoryRequest. Currently empty because there is no meaningful response populated from the SetInventory method.",
+ "id": "GoogleCloudRetailV2SetInventoryResponse",
+ "properties": {},
+ "type": "object"
+ },
"GoogleCloudRetailV2UserEventImportSummary": {
"description": "A summary of import result. The UserEventImportSummary summarizes the import status for user events.",
"id": "GoogleCloudRetailV2UserEventImportSummary",
@@ -990,12 +1354,72 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2alphaAddFulfillmentPlacesMetadata": {
+ "description": "Metadata related to the progress of the AddFulfillmentPlaces operation. Currently empty because there is no meaningful metadata populated from the AddFulfillmentPlaces method.",
+ "id": "GoogleCloudRetailV2alphaAddFulfillmentPlacesMetadata",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleCloudRetailV2alphaAddFulfillmentPlacesRequest": {
+ "description": "Request message for AddFulfillmentPlaces method.",
+ "id": "GoogleCloudRetailV2alphaAddFulfillmentPlacesRequest",
+ "properties": {
+ "addTime": {
+ "description": "The time when the fulfillment updates are issued, used to prevent out-of-order updates on fulfillment information. If not provided, the internal system time will be used.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "allowMissing": {
+ "description": "If set to true, and the Product is not found, the fulfillment information will still be processed and retained for at most 1 day and processed once the Product is created. If set to false, an INVALID_ARGUMENT error is returned if the Product is not found.",
+ "type": "boolean"
+ },
+ "placeIds": {
+ "description": "Required. The IDs for this type, such as the store IDs for \"pickup-in-store\" or the region IDs for \"same-day-delivery\" to be added for this type. Duplicate IDs will be automatically ignored. At least 1 value is required, and a maximum of 2000 values are allowed. Each value must be a string with a length limit of 10 characters, matching the pattern [a-zA-Z0-9_-]+, such as \"store1\" or \"REGION-2\". Otherwise, an INVALID_ARGUMENT error is returned. If the total number of place IDs exceeds 2000 for this type after adding, then the update will be rejected.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "type": {
+ "description": "Required. The fulfillment type, including commonly used types (such as pickup in store and same day delivery), and custom types. Supported values: * \"pickup-in-store\" * \"ship-to-store\" * \"same-day-delivery\" * \"next-day-delivery\" * \"custom-type-1\" * \"custom-type-2\" * \"custom-type-3\" * \"custom-type-4\" * \"custom-type-5\" If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned. This field directly corresponds to Product.fulfillment_info.type.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2alphaAddFulfillmentPlacesResponse": {
+ "description": "Response of the RemoveFulfillmentPlacesRequest. Currently empty because there is no meaningful response populated from the AddFulfillmentPlaces method.",
+ "id": "GoogleCloudRetailV2alphaAddFulfillmentPlacesResponse",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleCloudRetailV2alphaAudience": {
+ "description": "An intended audience of the Product for whom it's sold.",
+ "id": "GoogleCloudRetailV2alphaAudience",
+ "properties": {
+ "ageGroups": {
+ "description": "The age groups of the audience. Strongly encouraged to use the standard values: \"newborn\" (up to 3 months old), \"infant\" (3\u201312 months old), \"toddler\" (1\u20135 years old), \"kids\" (5\u201313 years old), \"adult\" (typically teens or older). At most 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [age_group](https://support.google.com/merchants/answer/6324463). Schema.org property [Product.audience.suggestedMinAge](https://schema.org/suggestedMinAge) and [Product.audience.suggestedMaxAge](https://schema.org/suggestedMaxAge).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "genders": {
+ "description": "The genders of the audience. Strongly encouraged to use the standard values: \"male\", \"female\", \"unisex\". At most 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [gender](https://support.google.com/merchants/answer/6324479). Schema.org property [Product.audience.suggestedGender](https://schema.org/suggestedGender).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"GoogleCloudRetailV2alphaBigQuerySource": {
"description": "BigQuery source import data from.",
"id": "GoogleCloudRetailV2alphaBigQuerySource",
"properties": {
"dataSchema": {
- "description": "The schema to use when parsing the data from the source. Supported values for product imports: * `product` (default): One JSON Product per line. Each product must have a valid Product.id. * `product_merchant_center`: See [Importing catalog data from Merchant Center](https://cloud.google.com/retail/recommendations-ai/docs/upload-catalog#mc). Supported values for user events imports: * `user_event` (default): One JSON UserEvent per line. * `user_event_ga360`: Using https://support.google.com/analytics/answer/3437719?hl=en.",
+ "description": "The schema to use when parsing the data from the source. Supported values for product imports: * `product` (default): One JSON Product per line. Each product must have a valid Product.id. * `product_merchant_center`: See [Importing catalog data from Merchant Center](https://cloud.google.com/retail/recommendations-ai/docs/upload-catalog#mc). Supported values for user events imports: * `user_event` (default): One JSON UserEvent per line. * `user_event_ga360`: Using https://support.google.com/analytics/answer/3437719.",
"type": "string"
},
"datasetId": {
@@ -1006,6 +1430,10 @@
"description": "Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the BigQuery export to a specific Cloud Storage directory.",
"type": "string"
},
+ "partitionDate": {
+ "$ref": "GoogleTypeDate",
+ "description": "BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format. Only supported when ImportProductsRequest.reconciliation_mode is set to `FULL`."
+ },
"projectId": {
"description": "The project ID (can be project # or ID) that the BigQuery source is in with a length limit of 128 characters. If not specified, inherits the project ID from the parent request.",
"type": "string"
@@ -1025,6 +1453,10 @@
"description": "Required. Immutable. The catalog display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.",
"type": "string"
},
+ "merchantCenterLinkingConfig": {
+ "$ref": "GoogleCloudRetailV2alphaMerchantCenterLinkingConfig",
+ "description": "The Merchant Center linking configuration. Once a link is added, the data stream from Merchant Center to Cloud Retail will be enabled automatically. The requester must have access to the merchant center account in order to make changes to this field."
+ },
"name": {
"description": "Required. Immutable. The fully qualified resource name of the catalog.",
"type": "string"
@@ -1036,10 +1468,120 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2alphaColorInfo": {
+ "description": "The color information of a Product.",
+ "id": "GoogleCloudRetailV2alphaColorInfo",
+ "properties": {
+ "colorFamilies": {
+ "description": "The standard color families. Strongly recommended to use the following standard color groups: \"Red\", \"Pink\", \"Orange\", \"Yellow\", \"Purple\", \"Green\", \"Cyan\", \"Blue\", \"Brown\", \"White\", \"Gray\", \"Black\" and \"Mixed\". Normally it is expected to have only 1 color family. May consider using single \"Mixed\" instead of multiple values. A maximum of 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [color](https://support.google.com/merchants/answer/6324487). Schema.org property [Product.color](https://schema.org/color).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "colors": {
+ "description": "The color display names, which may be different from standard color family names, such as the color aliases used in the website frontend. Normally it is expected to have only 1 color. May consider using single \"Mixed\" instead of multiple values. A maximum of 5 colors are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [color](https://support.google.com/merchants/answer/6324487). Schema.org property [Product.color](https://schema.org/color).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2alphaCompleteQueryResponse": {
+ "description": "Response of the auto-complete query.",
+ "id": "GoogleCloudRetailV2alphaCompleteQueryResponse",
+ "properties": {
+ "attributionToken": {
+ "description": "A unique complete token. This should be included in the SearchRequest resulting from this completion, which enables accurate attribution of complete model performance.",
+ "type": "string"
+ },
+ "completionResults": {
+ "description": "Results of the matching suggestions. The result list is ordered and the first result is top suggestion.",
+ "items": {
+ "$ref": "GoogleCloudRetailV2alphaCompleteQueryResponseCompletionResult"
+ },
+ "type": "array"
+ },
+ "recentSearchResults": {
+ "description": "Matched recent searches of this user. This field is a restricted feature. Contact Retail Support (retail-search-support@google.com) if you are interested in enabling it. This feature is only available when CompleteQueryRequest.visitor_id field is set and UserEvent is imported. The recent searches satisfy the follow rules: * They are ordered from latest to oldest. * They are matched with CompleteQueryRequest.query case insensitively. * They are transformed to lower cases. * They are UTF-8 safe. Recent searches are deduplicated. More recent searches will be reserved when duplication happens.",
+ "items": {
+ "$ref": "GoogleCloudRetailV2alphaCompleteQueryResponseRecentSearchResult"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2alphaCompleteQueryResponseCompletionResult": {
+ "description": "Resource that represents completion results.",
+ "id": "GoogleCloudRetailV2alphaCompleteQueryResponseCompletionResult",
+ "properties": {
+ "attributes": {
+ "additionalProperties": {
+ "$ref": "GoogleCloudRetailV2alphaCustomAttribute"
+ },
+ "description": "Additional custom attributes ingested through BigQuery.",
+ "type": "object"
+ },
+ "suggestion": {
+ "description": "The suggestion for the query.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2alphaCompleteQueryResponseRecentSearchResult": {
+ "description": "Recent search of this user.",
+ "id": "GoogleCloudRetailV2alphaCompleteQueryResponseRecentSearchResult",
+ "properties": {
+ "recentSearch": {
+ "description": "The recent search query.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2alphaCompletionDataInputConfig": {
+ "description": "The input config source for completion data.",
+ "id": "GoogleCloudRetailV2alphaCompletionDataInputConfig",
+ "properties": {
+ "bigQuerySource": {
+ "$ref": "GoogleCloudRetailV2alphaBigQuerySource",
+ "description": "Required. BigQuery input source. Add the IAM permission \u201cBigQuery Data Viewer\u201d for cloud-retail-customer-data-access@system.gserviceaccount.com before using this feature otherwise an error is thrown."
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2alphaCompletionDetail": {
+ "description": "Detailed completion information including completion attribution token and clicked completion info.",
+ "id": "GoogleCloudRetailV2alphaCompletionDetail",
+ "properties": {
+ "completionAttributionToken": {
+ "description": "Completion attribution token in CompleteQueryResponse.attribution_token.",
+ "type": "string"
+ },
+ "selectedPosition": {
+ "description": "End user selected CompleteQueryResponse.CompletionResult.suggestion position, starting from 0.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "selectedSuggestion": {
+ "description": "End user selected CompleteQueryResponse.CompletionResult.suggestion.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"GoogleCloudRetailV2alphaCustomAttribute": {
"description": "A custom attribute that is not explicitly modeled in Product.",
"id": "GoogleCloudRetailV2alphaCustomAttribute",
"properties": {
+ "indexable": {
+ "description": "If true, custom attribute values are indexed, so that it can be filtered, faceted or boosted in SearchService.Search. This field is ignored in a UserEvent. See SearchRequest.filter, SearchRequest.facet_specs and SearchRequest.boost_spec for more details.",
+ "type": "boolean"
+ },
"numbers": {
"description": "The numerical values of this custom attribute. For example, `[2.3, 15.4]` when the key is \"lengths_cm\". At most 400 values are allowed.Otherwise, an INVALID_ARGUMENT error is returned. Exactly one of text or numbers should be set. Otherwise, an INVALID_ARGUMENT error is returned.",
"items": {
@@ -1048,6 +1590,10 @@
},
"type": "array"
},
+ "searchable": {
+ "description": "If true, custom attribute values are searchable by text queries in SearchService.Search. This field is ignored in a UserEvent. Only set if type text is set. Otherwise, a INVALID_ARGUMENT error is returned.",
+ "type": "boolean"
+ },
"text": {
"description": "The textual values of this custom attribute. For example, `[\"yellow\", \"green\"]` when the key is \"color\". At most 400 values are allowed. Empty values are not allowed. Each value must be a UTF-8 encoded string with a length limit of 256 characters. Otherwise, an INVALID_ARGUMENT error is returned. Exactly one of text or numbers should be set. Otherwise, an INVALID_ARGUMENT error is returned.",
"items": {
@@ -1122,12 +1668,30 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2alphaFulfillmentInfo": {
+ "description": "Fulfillment information, such as the store IDs for in-store pickup or region IDs for different shipping methods.",
+ "id": "GoogleCloudRetailV2alphaFulfillmentInfo",
+ "properties": {
+ "placeIds": {
+ "description": "The IDs for this type, such as the store IDs for FulfillmentInfo.type.pickup-in-store or the region IDs for FulfillmentInfo.type.same-day-delivery. A maximum of 2000 values are allowed. Each value must be a string with a length limit of 10 characters, matching the pattern [a-zA-Z0-9_-]+, such as \"store1\" or \"REGION-2\". Otherwise, an INVALID_ARGUMENT error is returned.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "type": {
+ "description": "The fulfillment type, including commonly used types (such as pickup in store and same day delivery), and custom types. Customers have to map custom types to their display names before rendering UI. Supported values: * \"pickup-in-store\" * \"ship-to-store\" * \"same-day-delivery\" * \"next-day-delivery\" * \"custom-type-1\" * \"custom-type-2\" * \"custom-type-3\" * \"custom-type-4\" * \"custom-type-5\" If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"GoogleCloudRetailV2alphaGcsSource": {
"description": "Google Cloud Storage location for input content. format.",
"id": "GoogleCloudRetailV2alphaGcsSource",
"properties": {
"dataSchema": {
- "description": "The schema to use when parsing the data from the source. Supported values for product imports: * `product` (default): One JSON Product per line. Each product must have a valid Product.id. * `product_merchant_center`: See [Importing catalog data from Merchant Center](https://cloud.google.com/retail/recommendations-ai/docs/upload-catalog#mc). Supported values for user events imports: * `user_event` (default): One JSON UserEvent per line. * `user_event_ga360`: Using https://support.google.com/analytics/answer/3437719?hl=en.",
+ "description": "The schema to use when parsing the data from the source. Supported values for product imports: * `product` (default): One JSON Product per line. Each product must have a valid Product.id. * `product_merchant_center`: See [Importing catalog data from Merchant Center](https://cloud.google.com/retail/recommendations-ai/docs/upload-catalog#mc). Supported values for user events imports: * `user_event` (default): One JSON UserEvent per line. * `user_event_ga360`: Using https://support.google.com/analytics/answer/3437719.",
"type": "string"
},
"inputUris": {
@@ -1140,6 +1704,26 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2alphaGetDefaultBranchResponse": {
+ "description": "Response message of CatalogService.GetDefaultBranch.",
+ "id": "GoogleCloudRetailV2alphaGetDefaultBranchResponse",
+ "properties": {
+ "branch": {
+ "description": "Full resource name of the branch id currently set as default branch.",
+ "type": "string"
+ },
+ "note": {
+ "description": "This corresponds to SetDefaultBranchRequest.note field, when this branch was set as default.",
+ "type": "string"
+ },
+ "setTime": {
+ "description": "The time when this branch is set to default.",
+ "format": "google-datetime",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"GoogleCloudRetailV2alphaImage": {
"description": "Product thumbnail/detail image.",
"id": "GoogleCloudRetailV2alphaImage",
@@ -1161,6 +1745,35 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2alphaImportCompletionDataRequest": {
+ "description": "Request message for ImportCompletionData methods.",
+ "id": "GoogleCloudRetailV2alphaImportCompletionDataRequest",
+ "properties": {
+ "inputConfig": {
+ "$ref": "GoogleCloudRetailV2alphaCompletionDataInputConfig",
+ "description": "Required. The desired input location of the data."
+ },
+ "notificationPubsubTopic": {
+ "description": "Pub/Sub topic for receiving notification. If this field is set, when the import is finished, a notification will be sent to specified Pub/Sub topic. The message data will be JSON string of a Operation. Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2alphaImportCompletionDataResponse": {
+ "description": "Response of the ImportCompletionDataRequest. If the long running operation is done, this message is returned by the google.longrunning.Operations.response field if the operation is successful.",
+ "id": "GoogleCloudRetailV2alphaImportCompletionDataResponse",
+ "properties": {
+ "errorSamples": {
+ "description": "A sample of errors encountered while processing the request.",
+ "items": {
+ "$ref": "GoogleRpcStatus"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"GoogleCloudRetailV2alphaImportErrorsConfig": {
"description": "Configuration of destination for Import related errors.",
"id": "GoogleCloudRetailV2alphaImportErrorsConfig",
@@ -1186,6 +1799,14 @@
"format": "int64",
"type": "string"
},
+ "notificationPubsubTopic": {
+ "description": "Pub/Sub topic for receiving notification. If this field is set, when the import is finished, a notification will be sent to specified Pub/Sub topic. The message data will be JSON string of a Operation. Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`.",
+ "type": "string"
+ },
+ "requestId": {
+ "description": "Id of the request / operation. This is parroting back the requestId that was passed in the request.",
+ "type": "string"
+ },
"successCount": {
"description": "Count of entries that were processed successfully.",
"format": "int64",
@@ -1211,6 +1832,28 @@
"$ref": "GoogleCloudRetailV2alphaProductInputConfig",
"description": "Required. The desired input location of the data."
},
+ "notificationPubsubTopic": {
+ "description": "Pub/Sub topic for receiving notification. If this field is set, when the import is finished, a notification will be sent to specified Pub/Sub topic. The message data will be JSON string of a Operation. Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`. Only supported when ImportProductsRequest.reconciliation_mode is set to `FULL`.",
+ "type": "string"
+ },
+ "reconciliationMode": {
+ "description": "The mode of reconciliation between existing products and the products to be imported. Defaults to ReconciliationMode.INCREMENTAL.",
+ "enum": [
+ "RECONCILIATION_MODE_UNSPECIFIED",
+ "INCREMENTAL",
+ "FULL"
+ ],
+ "enumDescriptions": [
+ "Defaults to INCREMENTAL.",
+ "Inserts new products or updates existing products.",
+ "Calculates diff and replaces the entire product dataset. Existing products may be deleted if they are not present in the source location. Can only be while using BigQuerySource. Add the IAM permission \u201cBigQuery Data Viewer\u201d for cloud-retail-customer-data-access@system.gserviceaccount.com before using this feature otherwise an error is thrown. This feature is only available for users who have Retail Search enabled. Contact Retail Support (retail-search-support@google.com) if you are interested in using Retail Search."
+ ],
+ "type": "string"
+ },
+ "requestId": {
+ "description": "Unique identifier provided by client, within the ancestor dataset scope. Ensures idempotency and used for request deduplication. Server-generated if unspecified. Up to 128 characters long and must match the pattern: \"[a-zA-Z0-9_]+\". This is returned as Operation.name in ImportMetadata. Only supported when ImportProductsRequest.reconciliation_mode is set to `FULL`.",
+ "type": "string"
+ },
"updateMask": {
"description": "Indicates which fields in the provided imported 'products' to update. If not set, will by default update all fields.",
"format": "google-fieldmask",
@@ -1274,6 +1917,33 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2alphaInterval": {
+ "description": "A floating point interval.",
+ "id": "GoogleCloudRetailV2alphaInterval",
+ "properties": {
+ "exclusiveMaximum": {
+ "description": "Exclusive upper bound.",
+ "format": "double",
+ "type": "number"
+ },
+ "exclusiveMinimum": {
+ "description": "Exclusive lower bound.",
+ "format": "double",
+ "type": "number"
+ },
+ "maximum": {
+ "description": "Inclusive upper bound.",
+ "format": "double",
+ "type": "number"
+ },
+ "minimum": {
+ "description": "Inclusive lower bound.",
+ "format": "double",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
"GoogleCloudRetailV2alphaListCatalogsResponse": {
"description": "Response for CatalogService.ListCatalogs method.",
"id": "GoogleCloudRetailV2alphaListCatalogsResponse",
@@ -1292,6 +1962,66 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2alphaListProductsResponse": {
+ "description": "Response message for ProductService.ListProducts method.",
+ "id": "GoogleCloudRetailV2alphaListProductsResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "A token that can be sent as ListProductsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.",
+ "type": "string"
+ },
+ "products": {
+ "description": "The Products.",
+ "items": {
+ "$ref": "GoogleCloudRetailV2alphaProduct"
+ },
+ "type": "array"
+ },
+ "totalSize": {
+ "description": "The total count of matched Products irrespective of pagination. The total number of Products returned by pagination may be less than the total_size that matches. This field is ignored if ListProductsRequest.require_total_size is not set or ListProductsRequest.page_token is not empty.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2alphaMerchantCenterLink": {
+ "description": "Represents a link between a Merchant Center account and a branch. Once a link is established, products from the linked merchant center account will be streamed to the linked branch.",
+ "id": "GoogleCloudRetailV2alphaMerchantCenterLink",
+ "properties": {
+ "branchId": {
+ "description": "The branch id (e.g. 0/1/2) within this catalog that products from merchant_center_account_id are streamed to. When updating this field, an empty value will use the currently configured default branch. However, changing the default branch later on won't change the linked branch here. A single branch id can only have one linked merchant center account id.",
+ "type": "string"
+ },
+ "destinations": {
+ "description": "String representing the destination to import for, all if left empty. List of possible values can be found here. [https://support.google.com/merchants/answer/7501026?hl=en] List of allowed string values: \"shopping-ads\", \"buy-on-google-listings\", \"display-ads\", \"local-inventory -ads\", \"free-listings\", \"free-local-listings\" NOTE: The string values are case sensitive.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "merchantCenterAccountId": {
+ "description": "Required. The linked [Merchant center account id](https://developers.google.com/shopping-content/guides/accountstatuses). The account must be a standalone account or a sub-account of a MCA.",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2alphaMerchantCenterLinkingConfig": {
+ "description": "Configures Merchant Center linking. Links contained in the config will be used to sync data from a Merchant Center account to a Cloud Retail branch.",
+ "id": "GoogleCloudRetailV2alphaMerchantCenterLinkingConfig",
+ "properties": {
+ "links": {
+ "description": "Links between Merchant Center accounts and branches.",
+ "items": {
+ "$ref": "GoogleCloudRetailV2alphaMerchantCenterLink"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"GoogleCloudRetailV2alphaPredictRequest": {
"description": "Request message for Predict method.",
"id": "GoogleCloudRetailV2alphaPredictRequest",
@@ -1391,7 +2121,7 @@
"type": "number"
},
"currencyCode": {
- "description": "The 3-letter currency code defined in [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html). If this field is an unrecognizable currency code, an INVALID_ARGUMENT error is returned.",
+ "description": "The 3-letter currency code defined in [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html). If this field is an unrecognizable currency code, an INVALID_ARGUMENT error is returned. The Product.Type.VARIANT Products with the same Product.primary_product_id must share the same currency_code. Otherwise, a FAILED_PRECONDITION error is returned.",
"type": "string"
},
"originalPrice": {
@@ -1403,6 +2133,36 @@
"description": "Price of the product. Google Merchant Center property [price](https://support.google.com/merchants/answer/6324371). Schema.org property [Offer.priceSpecification](https://schema.org/priceSpecification).",
"format": "float",
"type": "number"
+ },
+ "priceEffectiveTime": {
+ "description": "The timestamp when the price starts to be effective. This can be set as a future timestamp, and the price is only used for search after price_effective_time. If so, the original_price must be set and original_price is used before price_effective_time. Do not set if price is always effective because it will cause additional latency during search.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "priceExpireTime": {
+ "description": "The timestamp when the price stops to be effective. The price is used for search before price_expire_time. If this field is set, the original_price must be set and original_price is used after price_expire_time. Do not set if price is always effective because it will cause additional latency during search.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "priceRange": {
+ "$ref": "GoogleCloudRetailV2alphaPriceInfoPriceRange",
+ "description": "Output only. The price range of all the child Product.Type.VARIANT Products grouped together on the Product.Type.PRIMARY Product. Only populated for Product.Type.PRIMARY Products. Note: This field is OUTPUT_ONLY for ProductService.GetProduct. Do not set this field in API requests.",
+ "readOnly": true
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2alphaPriceInfoPriceRange": {
+ "description": "The price range of all variant Product having the same Product.primary_product_id.",
+ "id": "GoogleCloudRetailV2alphaPriceInfoPriceRange",
+ "properties": {
+ "originalPrice": {
+ "$ref": "GoogleCloudRetailV2alphaInterval",
+ "description": "The inclusive Product.pricing_info.original_price internal of all variant Product having the same Product.primary_product_id."
+ },
+ "price": {
+ "$ref": "GoogleCloudRetailV2alphaInterval",
+ "description": "The inclusive Product.pricing_info.price interval of all variant Product having the same Product.primary_product_id."
}
},
"type": "object"
@@ -1415,9 +2175,13 @@
"additionalProperties": {
"$ref": "GoogleCloudRetailV2alphaCustomAttribute"
},
- "description": "Highly encouraged. Extra product attributes to be included. For example, for products, this could include the store name, vendor, style, color, etc. These are very strong signals for recommendation model, thus we highly recommend providing the attributes here. Features that can take on one of a limited number of possible values. Two types of features can be set are: Textual features. some examples would be the brand/maker of a product, or country of a customer. Numerical features. Some examples would be the height/weight of a product, or age of a customer. For example: `{ \"vendor\": {\"text\": [\"vendor123\", \"vendor456\"]}, \"lengths_cm\": {\"numbers\":[2.3, 15.4]}, \"heights_cm\": {\"numbers\":[8.1, 6.4]} }`. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * Max entries count: 200 by default; 100 for Type.VARIANT. * The key must be a UTF-8 encoded string with a length limit of 128 characters.",
+ "description": "Highly encouraged. Extra product attributes to be included. For example, for products, this could include the store name, vendor, style, color, etc. These are very strong signals for recommendation model, thus we highly recommend providing the attributes here. Features that can take on one of a limited number of possible values. Two types of features can be set are: Textual features. some examples would be the brand/maker of a product, or country of a customer. Numerical features. Some examples would be the height/weight of a product, or age of a customer. For example: `{ \"vendor\": {\"text\": [\"vendor123\", \"vendor456\"]}, \"lengths_cm\": {\"numbers\":[2.3, 15.4]}, \"heights_cm\": {\"numbers\":[8.1, 6.4]} }`. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * Max entries count: 200 by default; 100 for Type.VARIANT. * The key must be a UTF-8 encoded string with a length limit of 128 characters. * Max indexable entries count: 200 by default; 40 for Type.VARIANT. * Max searchable entries count: 30. * For indexable attribute, the key must match the pattern: a-zA-Z0-9*. For example, key0LikeThis or KEY_1_LIKE_THIS.",
"type": "object"
},
+ "audience": {
+ "$ref": "GoogleCloudRetailV2alphaAudience",
+ "description": "The target group associated with a given audience (e.g. male, veterans, car owners, musicians, etc.) of the product."
+ },
"availability": {
"description": "The online availability of the Product. Default to Availability.IN_STOCK. Google Merchant Center Property [availability](https://support.google.com/merchants/answer/6324448). Schema.org Property [Offer.availability](https://schema.org/availability).",
"enum": [
@@ -1442,10 +2206,17 @@
"type": "integer"
},
"availableTime": {
- "description": "The timestamp when this Product becomes available for recommendation.",
+ "description": "The timestamp when this Product becomes available for SearchService.Search.",
"format": "google-datetime",
"type": "string"
},
+ "brands": {
+ "description": "The brands of the product. A maximum of 30 brands are allowed. Each brand must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [brand](https://support.google.com/merchants/answer/6324351). Schema.org property [Product.brand](https://schema.org/brand).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
"categories": {
"description": "Product categories. This field is repeated for supporting one product belonging to several parallel categories. Strongly recommended using the full path for better search / recommendation quality. To represent full path of category, use '>' sign to separate different hierarchies. If '>' is part of the category name, please replace it with other character(s). For example, if a shoes product belongs to both [\"Shoes & Accessories\" -> \"Shoes\"] and [\"Sports & Fitness\" -> \"Athletic Clothing\" -> \"Shoes\"], it could be represented as: \"categories\": [ \"Shoes & Accessories > Shoes\", \"Sports & Fitness > Athletic Clothing > Shoes\" ] Must be set for Type.PRIMARY Product otherwise an INVALID_ARGUMENT error is returned. At most 250 values are allowed per Product. Empty values are not allowed. Each value must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property google_product_category. Schema.org property [Product.category] (https://schema.org/category). [mc_google_product_category]: https://support.google.com/merchants/answer/6324436",
"items": {
@@ -1453,10 +2224,44 @@
},
"type": "array"
},
+ "collectionMemberIds": {
+ "description": "The id of the collection members when type is Type.COLLECTION. Should not set it for other types. A maximum of 1000 values are allowed. Otherwise, an INVALID_ARGUMENT error is return.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "colorInfo": {
+ "$ref": "GoogleCloudRetailV2alphaColorInfo",
+ "description": "The color of the product. Google Merchant Center property [color](https://support.google.com/merchants/answer/6324487). Schema.org property [Product.color](https://schema.org/color)."
+ },
+ "conditions": {
+ "description": "The condition of the product. Strongly encouraged to use the standard values: \"new\", \"refurbished\", \"used\". A maximum of 5 values are allowed per Product. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [condition](https://support.google.com/merchants/answer/6324469). Schema.org property [Offer.itemCondition](https://schema.org/itemCondition).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
"description": {
"description": "Product description. This field must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [description](https://support.google.com/merchants/answer/6324468). schema.org property [Product.description](https://schema.org/description).",
"type": "string"
},
+ "expireTime": {
+ "description": "The timestamp when this product becomes unavailable for SearchService.Search. If it is set, the Product is not available for SearchService.Search after expire_time. However, the product can still be retrieved by ProductService.GetProduct and ProductService.ListProducts. Google Merchant Center property [expiration_date](https://support.google.com/merchants/answer/6324499).",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "fulfillmentInfo": {
+ "description": "Fulfillment information, such as the store IDs for in-store pickup or region IDs for different shipping methods. All the elements must have distinct FulfillmentInfo.type. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "items": {
+ "$ref": "GoogleCloudRetailV2alphaFulfillmentInfo"
+ },
+ "type": "array"
+ },
+ "gtin": {
+ "description": "The Global Trade Item Number (GTIN) of the product. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [gtin](https://support.google.com/merchants/answer/6324461). Schema.org property [Product.isbn](https://schema.org/isbn) or [Product.gtin8](https://schema.org/gtin8) or [Product.gtin12](https://schema.org/gtin12) or [Product.gtin13](https://schema.org/gtin13) or [Product.gtin14](https://schema.org/gtin14). If the value is not a valid GTIN, an INVALID_ARGUMENT error is returned.",
+ "type": "string"
+ },
"id": {
"description": "Immutable. Product identifier, which is the final component of name. For example, this field is \"id_1\", if name is `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/id_1`. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [id](https://support.google.com/merchants/answer/6324405). Schema.org Property [Product.sku](https://schema.org/sku).",
"type": "string"
@@ -1468,10 +2273,28 @@
},
"type": "array"
},
+ "languageCode": {
+ "description": "Language of the title/description and other string attributes. Use language tags defined by BCP 47. For product prediction, this field is ignored and the model automatically detects the text language. The Product can include text in different languages, but duplicating Products to provide text in multiple languages can result in degraded model performance. For product search this field is in use. It defaults to \"en-US\" if unset.",
+ "type": "string"
+ },
+ "materials": {
+ "description": "The material of the product. For example, \"leather\", \"wooden\". A maximum of 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [material](https://support.google.com/merchants/answer/6324410). Schema.org property [Product.material](https://schema.org/material).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
"name": {
"description": "Immutable. Full resource name of the product, such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/product_id`. The branch ID must be \"default_branch\".",
"type": "string"
},
+ "patterns": {
+ "description": "The pattern or graphic print of the product. For example, \"striped\", \"polka dot\", \"paisley\". A maximum of 5 values are allowed per Product. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [pattern](https://support.google.com/merchants/answer/6324483). Schema.org property [Product.pattern](https://schema.org/pattern).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
"priceInfo": {
"$ref": "GoogleCloudRetailV2alphaPriceInfo",
"description": "Product price and cost information. Google Merchant Center property [price](https://support.google.com/merchants/answer/6324371)."
@@ -1480,6 +2303,34 @@
"description": "Variant group identifier. Must be an id, with the same parent branch with this product. Otherwise, an error is thrown. For Type.PRIMARY Products, this field can only be empty or set to the same value as id. For VARIANT Products, this field cannot be empty. A maximum of 2,000 products are allowed to share the same Type.PRIMARY Product. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center Property [item_group_id](https://support.google.com/merchants/answer/6324507). Schema.org Property [Product.inProductGroupWithID](https://schema.org/inProductGroupWithID). This field must be enabled before it can be used. [Learn more](/recommendations-ai/docs/catalog#item-group-id).",
"type": "string"
},
+ "promotions": {
+ "description": "The promotions applied to the product. A maximum of 10 values are allowed per Product.",
+ "items": {
+ "$ref": "GoogleCloudRetailV2alphaPromotion"
+ },
+ "type": "array"
+ },
+ "publishTime": {
+ "description": "The timestamp when the product is published by the retailer for the first time, which indicates the freshness of the products. Note that this field is different from available_time, given it purely describes product freshness regardless of when it is available on search and recommendation.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "rating": {
+ "$ref": "GoogleCloudRetailV2alphaRating",
+ "description": "The rating of this product."
+ },
+ "retrievableFields": {
+ "description": "Indicates which fields in the Products are returned in SearchResponse. Supported fields for all types: * audience * availability * brands * color_info * conditions * gtin * materials * name * patterns * price_info * rating * sizes * title * uri Supported fields only for Type.PRIMARY and Type.COLLECTION: * categories * description * images Supported fields only for Type.VARIANT: * Only the first image in images To mark attributes as retrievable, include paths of the form \"attributes.key\" where \"key\" is the key of a custom attribute, as specified in attributes. For Type.PRIMARY and Type.COLLECTION, the following fields are always returned in SearchResponse by default: * name For Type.VARIANT, the following fields are always returned in by default: * name * color_info Maximum number of paths is 20. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "format": "google-fieldmask",
+ "type": "string"
+ },
+ "sizes": {
+ "description": "The size of the product. To represent different size systems or size types, consider using this format: [[[size_system:]size_type:]size_value]. For example, in \"US:MENS:M\", \"US\" represents size system; \"MENS\" represents size type; \"M\" represents size value. In \"GIRLS:27\", size system is empty; \"GIRLS\" represents size type; \"27\" represents size value. In \"32 inches\", both size system and size type are empty, while size value is \"32 inches\". A maximum of 20 values are allowed per Product. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [size](https://support.google.com/merchants/answer/6324492), [size_type](https://support.google.com/merchants/answer/6324497) and [size_system](https://support.google.com/merchants/answer/6324502). Schema.org property [Product.size](https://schema.org/size).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
"tags": {
"description": "Custom tags associated with the product. At most 250 values are allowed per Product. This value must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. This tag can be used for filtering recommendation results by passing the tag as part of the PredictRequest.filter. Google Merchant Center property [custom_label_0\u20134](https://support.google.com/merchants/answer/6324473).",
"items": {
@@ -1491,6 +2342,11 @@
"description": "Required. Product title. This field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [title](https://support.google.com/merchants/answer/6324415). Schema.org property [Product.name](https://schema.org/name).",
"type": "string"
},
+ "ttl": {
+ "description": "Input only. The TTL (time to live) of the product. If it is set, expire_time is set as current timestamp plus ttl. The derived expire_time is returned in the output and ttl is left blank when retrieving the Product. If it is set, the product is not available for SearchService.Search after current timestamp plus ttl. However, the product can still be retrieved by ProductService.GetProduct and ProductService.ListProducts.",
+ "format": "google-duration",
+ "type": "string"
+ },
"type": {
"description": "Immutable. The type of the product. Default to Catalog.product_level_config.ingestion_product_type if unset.",
"enum": [
@@ -1510,6 +2366,14 @@
"uri": {
"description": "Canonical URL directly linking to the product detail page. It is strongly recommended to provide a valid uri for the product, otherwise the service performance could be significantly degraded. This field must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [link](https://support.google.com/merchants/answer/6324416). Schema.org property [Offer.url](https://schema.org/url).",
"type": "string"
+ },
+ "variants": {
+ "description": "Output only. Product variants grouped together on primary product which share similar product attributes. It's automatically grouped by primary_product_id for all the product variants. Only populated for Type.PRIMARY Products. Note: This field is OUTPUT_ONLY for ProductService.GetProduct. Do not set this field in API requests.",
+ "items": {
+ "$ref": "GoogleCloudRetailV2alphaProduct"
+ },
+ "readOnly": true,
+ "type": "array"
}
},
"type": "object"
@@ -1578,6 +2442,17 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2alphaPromotion": {
+ "description": "Promotion information.",
+ "id": "GoogleCloudRetailV2alphaPromotion",
+ "properties": {
+ "promotionId": {
+ "description": "ID of the promotion. For example, \"free gift\". The value value must be a UTF-8 encoded string with a length limit of 128 characters, and match the pattern: a-zA-Z*. For example, id0LikeThis or ID_1_LIKE_THIS. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [promotion](https://support.google.com/merchants/answer/7050148).",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"GoogleCloudRetailV2alphaPurchaseTransaction": {
"description": "A transaction represents the entire purchase transaction.",
"id": "GoogleCloudRetailV2alphaPurchaseTransaction",
@@ -1641,6 +2516,31 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2alphaRating": {
+ "description": "The rating of a Product.",
+ "id": "GoogleCloudRetailV2alphaRating",
+ "properties": {
+ "averageRating": {
+ "description": "The average rating of the Product. The rating is scaled at 1-5. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "format": "float",
+ "type": "number"
+ },
+ "ratingCount": {
+ "description": "The total number of ratings. This value is independent of the value of rating_histogram. This value must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "ratingHistogram": {
+ "description": "List of rating counts per rating value (index = rating - 1). The list is empty if there is no rating. If the list is non-empty, its size is always 5. Otherwise, an INVALID_ARGUMENT error is returned. For example, [41, 14, 13, 47, 303]. It means that the Product got 41 ratings with 1 star, 14 ratings with 2 star, and so on.",
+ "items": {
+ "format": "int32",
+ "type": "integer"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"GoogleCloudRetailV2alphaRejoinUserEventsMetadata": {
"description": "Metadata for RejoinUserEvents method.",
"id": "GoogleCloudRetailV2alphaRejoinUserEventsMetadata",
@@ -1680,6 +2580,477 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2alphaRemoveFulfillmentPlacesMetadata": {
+ "description": "Metadata related to the progress of the RemoveFulfillmentPlaces operation. Currently empty because there is no meaningful metadata populated from the RemoveFulfillmentPlaces method.",
+ "id": "GoogleCloudRetailV2alphaRemoveFulfillmentPlacesMetadata",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleCloudRetailV2alphaRemoveFulfillmentPlacesRequest": {
+ "description": "Request message for RemoveFulfillmentPlaces method.",
+ "id": "GoogleCloudRetailV2alphaRemoveFulfillmentPlacesRequest",
+ "properties": {
+ "allowMissing": {
+ "description": "If set to true, and the Product is not found, the fulfillment information will still be processed and retained for at most 1 day and processed once the Product is created. If set to false, an INVALID_ARGUMENT error is returned if the Product is not found.",
+ "type": "boolean"
+ },
+ "placeIds": {
+ "description": "Required. The IDs for this type, such as the store IDs for \"pickup-in-store\" or the region IDs for \"same-day-delivery\", to be removed for this type. At least 1 value is required, and a maximum of 2000 values are allowed. Each value must be a string with a length limit of 10 characters, matching the pattern [a-zA-Z0-9_-]+, such as \"store1\" or \"REGION-2\". Otherwise, an INVALID_ARGUMENT error is returned.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "removeTime": {
+ "description": "The time when the fulfillment updates are issued, used to prevent out-of-order updates on fulfillment information. If not provided, the internal system time will be used.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "type": {
+ "description": "Required. The fulfillment type, including commonly used types (such as pickup in store and same day delivery), and custom types. Supported values: * \"pickup-in-store\" * \"ship-to-store\" * \"same-day-delivery\" * \"next-day-delivery\" * \"custom-type-1\" * \"custom-type-2\" * \"custom-type-3\" * \"custom-type-4\" * \"custom-type-5\" If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned. This field directly corresponds to Product.fulfillment_info.type.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2alphaRemoveFulfillmentPlacesResponse": {
+ "description": "Response of the RemoveFulfillmentPlacesRequest. Currently empty because there is no meaningful response populated from the RemoveFulfillmentPlaces method.",
+ "id": "GoogleCloudRetailV2alphaRemoveFulfillmentPlacesResponse",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleCloudRetailV2alphaSearchRequest": {
+ "description": "Request message for SearchService.Search method.",
+ "id": "GoogleCloudRetailV2alphaSearchRequest",
+ "properties": {
+ "boostSpec": {
+ "$ref": "GoogleCloudRetailV2alphaSearchRequestBoostSpec",
+ "description": "Boost specification to boost certain products. See more details at this [user guide](/retail/private/docs/boosting)."
+ },
+ "branch": {
+ "description": "The branch resource name, such as `projects/*/locations/global/catalogs/default_catalog/branches/0`. Use \"default_branch\" as the branch ID or leave this field empty, to search products under the default branch.",
+ "type": "string"
+ },
+ "canonicalFilter": {
+ "description": "The filter applied to every search request when quality improvement such as query expansion is needed. For example, if a query does not have enough results, an expanded query with SearchRequest.canonical_filter will be returned as a supplement of the original query. This field is strongly recommended to achieve high search quality. See SearchRequest.filter for more details about filter syntax.",
+ "type": "string"
+ },
+ "dynamicFacetSpec": {
+ "$ref": "GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpec",
+ "description": "The specification for dynamically generated facets. Notice that only textual facets can be dynamically generated. This feature requires additional allowlisting. Contact Retail Support (retail-search-support@google.com) if you are interested in using dynamic facet feature."
+ },
+ "facetSpecs": {
+ "description": "Facet specifications for faceted search. If empty, no facets are returned. A maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "items": {
+ "$ref": "GoogleCloudRetailV2alphaSearchRequestFacetSpec"
+ },
+ "type": "array"
+ },
+ "filter": {
+ "description": "The filter syntax consists of an expression language for constructing a predicate from one or more fields of the products being filtered. Filter expression is case-sensitive. See more details at this [user guide](/retail/private/docs/filter-and-order#filter). If this field is unrecognizable, an INVALID_ARGUMENT is returned.",
+ "type": "string"
+ },
+ "offset": {
+ "description": "A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the Products 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",
+ "type": "integer"
+ },
+ "orderBy": {
+ "description": "The order in which products are returned. Products can be ordered by a field in an Product object. Leave it unset if ordered by relevance. OrderBy expression is case-sensitive. See more details at this [user guide](/retail/private/docs/filter-and-order#order). If this field is unrecognizable, an INVALID_ARGUMENT is returned.",
+ "type": "string"
+ },
+ "pageCategories": {
+ "description": "The categories associated with a category page. Required for category navigation queries to achieve good search quality. The format should be the same as UserEvent.page_categories; To represent full path of category, use '>' sign to separate different hierarchies. If '>' is part of the category name, please replace it with other character(s). Category pages include special pages such as sales or promotions. For instance, a special sale page may have the category hierarchy: \"pageCategories\" : [\"Sales > 2017 Black Friday Deals\"].",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "pageSize": {
+ "description": "Maximum number of Products to return. If unspecified, defaults to a reasonable value. The maximum allowed value is 120. Values above 120 will be coerced to 120. If this field is negative, an INVALID_ARGUMENT is returned.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "A page token SearchResponse.next_page_token, received from a previous SearchService.Search call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to SearchService.Search must match the call that provided the page token. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "type": "string"
+ },
+ "query": {
+ "description": "Raw search query.",
+ "type": "string"
+ },
+ "queryExpansionSpec": {
+ "$ref": "GoogleCloudRetailV2alphaSearchRequestQueryExpansionSpec",
+ "description": "The query expansion specification that specifies the conditions under which query expansion will occur. See more details at this [user guide](/retail/private/docs/result-size#query_expansion)."
+ },
+ "relevanceThreshold": {
+ "description": "The relevance threshold of the search results. Defaults to RelevanceThreshold.HIGH, which means only the most relevant results are shown, and the least number of results are returned. See more details at this [user guide](/retail/private/docs/result-size#relevance_thresholding).",
+ "enum": [
+ "RELEVANCE_THRESHOLD_UNSPECIFIED",
+ "HIGH",
+ "MEDIUM",
+ "LOW",
+ "LOWEST"
+ ],
+ "enumDescriptions": [
+ "Default value. Defaults to RelevanceThreshold.HIGH.",
+ "High relevance threshold.",
+ "Medium relevance threshold.",
+ "Low relevance threshold.",
+ "Lowest relevance threshold."
+ ],
+ "type": "string"
+ },
+ "userInfo": {
+ "$ref": "GoogleCloudRetailV2alphaUserInfo",
+ "description": "User information."
+ },
+ "variantRollupKeys": {
+ "description": "The keys to fetch and rollup the matching variant Products attributes. The attributes from all the matching variant Products are merged and de-duplicated. Notice that rollup variant Products attributes will lead to extra query latency. Maximum number of keys is 10. For Product.fulfillment_info, a fulfillment type and a fulfillment ID must be provided in the format of \"fulfillmentType.filfillmentId\". E.g., in \"pickupInStore.store123\", \"pickupInStore\" is fulfillment type and \"store123\" is the store ID. Supported keys are: * colorFamilies * price * originalPrice * discount * attributes.key, where key is any key in the Product.attributes map. * pickupInStore.id, where id is any FulfillmentInfo.ids for type FulfillmentInfo.Type.PICKUP_IN_STORE. * shipToStore.id, where id is any FulfillmentInfo.ids for type FulfillmentInfo.Type.SHIP_TO_STORE. * sameDayDelivery.id, where id is any FulfillmentInfo.ids for type FulfillmentInfo.Type.SAME_DAY_DELIVERY. * nextDayDelivery.id, where id is any FulfillmentInfo.ids for type FulfillmentInfo.Type.NEXT_DAY_DELIVERY. * customFulfillment1.id, where id is any FulfillmentInfo.ids for type FulfillmentInfo.Type.CUSTOM_TYPE_1. * customFulfillment2.id, where id is any FulfillmentInfo.ids for type FulfillmentInfo.Type.CUSTOM_TYPE_2. * customFulfillment3.id, where id is any FulfillmentInfo.ids for type FulfillmentInfo.Type.CUSTOM_TYPE_3. * customFulfillment4.id, where id is any FulfillmentInfo.ids for type FulfillmentInfo.Type.CUSTOM_TYPE_4. * customFulfillment5.id, where id is any FulfillmentInfo.ids for type FulfillmentInfo.Type.CUSTOM_TYPE_5. If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "visitorId": {
+ "description": "Required. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2alphaSearchRequestBoostSpec": {
+ "description": "Boost specification to boost certain items.",
+ "id": "GoogleCloudRetailV2alphaSearchRequestBoostSpec",
+ "properties": {
+ "conditionBoostSpecs": {
+ "description": "Condition boost specifications. If a product matches multiple conditions in the specifictions, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 10.",
+ "items": {
+ "$ref": "GoogleCloudRetailV2alphaSearchRequestBoostSpecConditionBoostSpec"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2alphaSearchRequestBoostSpecConditionBoostSpec": {
+ "description": "Boost applies to products which match a condition.",
+ "id": "GoogleCloudRetailV2alphaSearchRequestBoostSpecConditionBoostSpec",
+ "properties": {
+ "boost": {
+ "description": "Strength of the condition boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the item a big promotion. However, it does not necessarily mean that the boosted item will be the top result at all times, nor that other items will be excluded. Results could still be shown even when none of them matches the condition. And results that are significantly more relevant to the search query can still trump your heavily favored but irrelevant items. Setting to -1.0 gives the item a big demotion. However, results that are deeply relevant might still be shown. The item will have an upstream battle to get a fairly high ranking, but it is not blocked out completely. Setting to 0.0 means no boost applied. The boosting condition is ignored.",
+ "format": "float",
+ "type": "number"
+ },
+ "condition": {
+ "description": "An expression which specifies a boost condition. The syntax and supported fields are the same as a filter expression. See SearchRequest.filter for detail syntax and limitations. Examples: * To boost products with product ID \"product_1\" or \"product_2\", and color \"Red\" or \"Blue\": *(id: ANY(\"product_1\", \"product_2\")) * *AND * *(colorFamilies: ANY(\"Red\", \"Blue\")) *",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpec": {
+ "description": "The specifications of dynamically generated facets.",
+ "id": "GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpec",
+ "properties": {
+ "mode": {
+ "description": "Mode of the DynamicFacet feature. Defaults to Mode.DISABLED if it's unset.",
+ "enum": [
+ "MODE_UNSPECIFIED",
+ "DISABLED",
+ "ENABLED"
+ ],
+ "enumDescriptions": [
+ "Default value.",
+ "Disable Dynamic Facet.",
+ "Automatic mode built by Google Retail Search."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2alphaSearchRequestFacetSpec": {
+ "description": "A facet specification to perform faceted search.",
+ "id": "GoogleCloudRetailV2alphaSearchRequestFacetSpec",
+ "properties": {
+ "enableDynamicPosition": {
+ "description": "Enables dynamic position for this facet. If set to true, the position of this facet among all facets in the response is determined by Google Retail Search. It will be ordered together with dynamic facets if dynamic facets is enabled. If set to false, the position of this facet in the response will be the same as in the request, and it will be ranked before the facets with dynamic position enable and all dynamic facets. For example, you may always want to have rating facet returned in the response, but it's not necessarily to always display the rating facet at the top. In that case, you can set enable_dynamic_position to true so that the position of rating facet in response will be determined by Google Retail Search. Another example, assuming you have the following facets in the request: * \"rating\", enable_dynamic_position = true * \"price\", enable_dynamic_position = false * \"brands\", enable_dynamic_position = false And also you have a dynamic facets enable, which will generate a facet 'gender'. Then the final order of the facets in the response can be (\"price\", \"brands\", \"rating\", \"gender\") or (\"price\", \"brands\", \"gender\", \"rating\") depends on how Google Retail Search orders \"gender\" and \"rating\" facets. However, notice that \"price\" and \"brands\" will always be ranked at 1st and 2nd position since their enable_dynamic_position are false.",
+ "type": "boolean"
+ },
+ "excludedFilterKeys": {
+ "description": "List of keys to exclude when faceting. By default, FacetKey.key is not excluded from the filter unless it is listed in this field. For example, suppose there are 100 products with color facet \"Red\" and 200 products with color facet \"Blue\". A query containing the filter \"colorFamilies:ANY(\"Red\")\" and have \"colorFamilies\" as FacetKey.key will by default return the \"Red\" with count 100. If this field contains \"colorFamilies\", then the query returns both the \"Red\" with count 100 and \"Blue\" with count 200, because the \"colorFamilies\" key is now excluded from the filter. A maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "facetKey": {
+ "$ref": "GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKey",
+ "description": "Required. The facet key specification."
+ },
+ "limit": {
+ "description": "Maximum of facet values that should be returned for this facet. If unspecified, defaults to 20. The maximum allowed value is 300. Values above 300 will be coerced to 300. If this field is negative, an INVALID_ARGUMENT is returned.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKey": {
+ "description": "Specifies how a facet is computed.",
+ "id": "GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKey",
+ "properties": {
+ "contains": {
+ "description": "Only get facet values that contains the given strings. For example, suppose \"categories\" has three values \"Women > Shoe\", \"Women > Dress\" and \"Men > Shoe\". If set \"contains\" to \"Shoe\", the \"categories\" facet will give only \"Women > Shoe\" and \"Men > Shoe\". Only supported on textual fields. Maximum is 10.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "intervals": {
+ "description": "Set only if values should be bucketized into intervals. Must be set for facets with numerical values. Must not be set for facet with text values. Maximum number of intervals is 30.",
+ "items": {
+ "$ref": "GoogleCloudRetailV2alphaInterval"
+ },
+ "type": "array"
+ },
+ "key": {
+ "description": "Required. Supported textual and numerical facet keys in Product object, over which the facet values are computed. Facet key is case-sensitive. Allowed facet keys when FacetKey.query is not specified: * textual_field = *# The Product.brands. * \"brands\"; *# The Product.categories. * \"categories\"; *# The Audience.genders. * | \"genders\"; *# The Audience.age_groups. * | \"ageGroups\"; *# The Product.availability. Value is one of * *# \"IN_STOCK\", \"OUT_OF_STOCK\", PREORDER\", \"BACKORDER\". * | \"availability\"; *# The ColorInfo.color_families. * | \"colorFamilies\"; *# The ColorInfo.colors. * | \"colors\"; *# The Product.sizes. * | \"sizes\"; *# The Product.materials. * | \"materials\"; *# The Product.patterns. * | \"patterns\"; *# The Product.conditions. * | \"conditions\"; *# The textual custom attribute in Product object. Key can * *# be any key in the Product.attributes map * *# if the attribute values are textual. * *# map. * | \"attributes.key\"; *# The FulfillmentInfo.ids for type *# FulfillmentInfo.Type.PICKUP_IN_STORE. * | \"pickupInStore\"; *# The FulfillmentInfo.ids for type *# FulfillmentInfo.Type.SHIP_TO_STORE. * | \"shipToStore\"; *# The FulfillmentInfo.ids for type *# FulfillmentInfo.Type.SAME_DAY_DELIVERY. * | \"sameDayDelivery\"; *# The FulfillmentInfo.ids for type *# FulfillmentInfo.Type.NEXT_DAY_DELIVERY. * | \"nextDayDelivery\"; *# The FulfillmentInfo.ids for type *# FulfillmentInfo.Type.CUSTOM_TYPE_1. * | \"customFulfillment1\"; *# The FulfillmentInfo.ids for type *# FulfillmentInfo.Type.CUSTOM_TYPE_2. * | \"customFulfillment2\"; *# The FulfillmentInfo.ids for type *# FulfillmentInfo.Type.CUSTOM_TYPE_3. * | \"customFulfillment3\"; *# The FulfillmentInfo.ids for type *# FulfillmentInfo.Type.CUSTOM_TYPE_4. * | \"customFulfillment4\"; *# The FulfillmentInfo.ids for type *# FulfillmentInfo.Type.CUSTOM_TYPE_5. * | \"customFulfillment5\"; * numerical_field = *# The PriceInfo.price. * \"price\"; *# The discount. Computed by (original_price-price)/price * \"discount\"; *# The Rating.average_rating. * \"rating\"; *# The Rating.rating_count. * \"ratingCount\"; *# The numerical custom attribute in Product object. Key can * *# be any key in the Product.attributes map * *# if the attribute values are numerical. * | \"attributes.key\";",
+ "type": "string"
+ },
+ "orderBy": {
+ "description": "The order in which Facet.values are returned. Allowed values are: * \"count desc\", which means order by Facet.FacetValue.count descending. * \"value desc\", which means order by Facet.FacetValue.value descending. Only applies to textual facets. If not set, textual values are sorted in [natural order](https://en.wikipedia.org/wiki/Natural_sort_order); numerical intervals are sorted in the order given by FacetSpec.FacetKey.intervals; FulfillmentInfo.ids are sorted in the order given by FacetSpec.FacetKey.restricted_values.",
+ "type": "string"
+ },
+ "prefixes": {
+ "description": "Only get facet values that start with the given string prefix. For example, suppose \"categories\" has three values \"Women > Shoe\", \"Women > Dress\" and \"Men > Shoe\". If set \"prefixes\" to \"Women\", the \"categories\" facet will give only \"Women > Shoe\" and \"Women > Dress\". Only supported on textual fields. Maximum is 10.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "query": {
+ "description": "The query that is used to compute facet for the given facet key. When provided, it will override the default behavior of facet computation. The query syntax is the same as a filter expression. See SearchRequest.filter for detail syntax and limitations. Notice that there is no limitation on FacetKey.key when query is specified. In the response, FacetValue.value will be always \"1\" and FacetValue.count will be the number of results that matches the query. For example, you can set a customized facet for \"shipToStore\", where FacetKey.key is \"customizedShipToStore\", and FacetKey.query is \"availability: ANY(\\\"IN_STOCK\\\") AND shipToStore: ANY(\\\"123\\\")\". Then the facet will count the products that are both in stock and ship to store \"123\".",
+ "type": "string"
+ },
+ "restrictedValues": {
+ "description": "Only get facet for the given restricted values. For example, when using \"pickupInStore\" as key and set restricted values to [\"store123\", \"store456\"], only facets for \"store123\" and \"store456\" are returned. Only supported on textual fields and fulfillments. Maximum is 20. Must be set for the fulfillment facet keys: * pickupInStore * shipToStore * sameDayDelivery * nextDayDelivery * customFulfillment1 * customFulfillment2 * customFulfillment3 * customFulfillment4 * customFulfillment5",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2alphaSearchRequestQueryExpansionSpec": {
+ "description": "Specification to determine under which conditions query expansion should occur.",
+ "id": "GoogleCloudRetailV2alphaSearchRequestQueryExpansionSpec",
+ "properties": {
+ "condition": {
+ "description": "The condition under which query expansion should occur. Default to Condition.DISABLED.",
+ "enum": [
+ "CONDITION_UNSPECIFIED",
+ "DISABLED",
+ "AUTO"
+ ],
+ "enumDescriptions": [
+ "Unspecified query expansion condition. This defaults to Condition.DISABLED.",
+ "Disabled query expansion. Only the exact search query is used, even if SearchResponse.total_size is zero.",
+ "Automatic query expansion built by Google Retail Search."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2alphaSearchResponse": {
+ "description": "Response message for SearchService.Search method.",
+ "id": "GoogleCloudRetailV2alphaSearchResponse",
+ "properties": {
+ "attributionToken": {
+ "description": "A unique search token. This should be included in the UserEvent logs resulting from this search, which enables accurate attribution of search model performance.",
+ "type": "string"
+ },
+ "correctedQuery": {
+ "description": "If spell correction applies, the corrected query. Otherwise, empty.",
+ "type": "string"
+ },
+ "facets": {
+ "description": "Results of facets requested by user.",
+ "items": {
+ "$ref": "GoogleCloudRetailV2alphaSearchResponseFacet"
+ },
+ "type": "array"
+ },
+ "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"
+ },
+ "queryExpansionInfo": {
+ "$ref": "GoogleCloudRetailV2alphaSearchResponseQueryExpansionInfo",
+ "description": "Query expansion information for the returned results."
+ },
+ "redirectUri": {
+ "description": "The URI of a customer-defined redirect page. If redirect action is triggered, no search will be performed, and only redirect_uri and attribution_token will be set in the response.",
+ "type": "string"
+ },
+ "results": {
+ "description": "A list of matched items. The order represents the ranking.",
+ "items": {
+ "$ref": "GoogleCloudRetailV2alphaSearchResponseSearchResult"
+ },
+ "type": "array"
+ },
+ "totalSize": {
+ "description": "The estimated total count of matched items irrespective of pagination. The count of results returned by pagination may be less than the total_size that matches.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2alphaSearchResponseFacet": {
+ "description": "A facet result.",
+ "id": "GoogleCloudRetailV2alphaSearchResponseFacet",
+ "properties": {
+ "dynamicFacet": {
+ "description": "Whether the facet is dynamically generated.",
+ "type": "boolean"
+ },
+ "key": {
+ "description": "The key for this facet. E.g., \"colorFamilies\" or \"price\" or \"attributes.attr1\".",
+ "type": "string"
+ },
+ "values": {
+ "description": "The facet values for this field.",
+ "items": {
+ "$ref": "GoogleCloudRetailV2alphaSearchResponseFacetFacetValue"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2alphaSearchResponseFacetFacetValue": {
+ "description": "A facet value which contains value names and their count.",
+ "id": "GoogleCloudRetailV2alphaSearchResponseFacetFacetValue",
+ "properties": {
+ "count": {
+ "description": "Number of items that have this facet value.",
+ "format": "int64",
+ "type": "string"
+ },
+ "interval": {
+ "$ref": "GoogleCloudRetailV2alphaInterval",
+ "description": "Interval value for a facet, such as [10, 20) for facet \"price\"."
+ },
+ "value": {
+ "description": "Text value of a facet, such as \"Black\" for facet \"colorFamilies\".",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2alphaSearchResponseQueryExpansionInfo": {
+ "description": "Information describing query expansion including whether expansion has occurred.",
+ "id": "GoogleCloudRetailV2alphaSearchResponseQueryExpansionInfo",
+ "properties": {
+ "expandedQuery": {
+ "description": "Bool describing whether query expansion has occurred.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2alphaSearchResponseSearchResult": {
+ "description": "Represents the search results.",
+ "id": "GoogleCloudRetailV2alphaSearchResponseSearchResult",
+ "properties": {
+ "id": {
+ "description": "Product.id of the searched Product.",
+ "type": "string"
+ },
+ "matchingVariantCount": {
+ "description": "The count of matched variant Products.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "matchingVariantFields": {
+ "additionalProperties": {
+ "format": "google-fieldmask",
+ "type": "string"
+ },
+ "description": "If a variant Product matches the search query, this map indicates which Product fields are matched. The key is the Product.name, the value is a field mask of the matched Product fields. If matched attributes cannot be determined, this map will be empty. For example, a key \"sku1\" with field mask \"products.color_info\" indicates there is a match between \"sku1\" ColorInfo and the query.",
+ "type": "object"
+ },
+ "product": {
+ "$ref": "GoogleCloudRetailV2alphaProduct",
+ "description": "The product data snippet in the search response. Only Product.name is guaranteed to be populated. Product.variants contains the product variants that match the search query. If there are multiple product variants matching the query, top 5 most relevant product variants are returned and ordered by relevancy. If relevancy can be deternmined, use matching_variant_fields to look up matched product variants fields. If relevancy cannot be determined, e.g. when searching \"shoe\" all products in a shoe product can be a match, 5 product variants are returned but order is meaningless."
+ },
+ "variantRollupValues": {
+ "additionalProperties": {
+ "type": "any"
+ },
+ "description": "The rollup matching variant Product attributes. The key is one of the SearchRequest.variant_rollup_keys. The values are the merged and de-duplicated Product attributes. Notice that the rollup values are respect filter. For example, when filtering by \"colorFamilies:ANY(\\\"red\\\")\" and rollup \"colorFamilies\", only \"red\" is returned. For textual and numerical attributes, the rollup values is a list of string or double values with type google.protobuf.ListValue. For example, if there are two variants with colors \"red\" and \"blue\", the rollup values are { key: \"colorFamilies\" value { list_value { values { string_value: \"red\" } values { string_value: \"blue\" } } } } For Product.fulfillment_info, the rollup values is a double value with type google.protobuf.Value. For example, {key: \"pickupInStore.store1\" value { number_value: 10 }} means a there are 10 variants in this product are available in the store \"store1\".",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2alphaSetDefaultBranchRequest": {
+ "description": "Request message to set a specified branch as new default_branch.",
+ "id": "GoogleCloudRetailV2alphaSetDefaultBranchRequest",
+ "properties": {
+ "branchId": {
+ "description": "The final component of the resource name of a branch. This field must be one of \"0\", \"1\" or \"2\". Otherwise, an INVALID_ARGUMENT error is returned.",
+ "type": "string"
+ },
+ "note": {
+ "description": "Some note on this request, this can be retrieved by CatalogService.GetDefaultBranch before next valid default branch set occurs. This field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2alphaSetInventoryMetadata": {
+ "description": "Metadata related to the progress of the SetInventory operation. Currently empty because there is no meaningful metadata populated from the SetInventory method.",
+ "id": "GoogleCloudRetailV2alphaSetInventoryMetadata",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleCloudRetailV2alphaSetInventoryRequest": {
+ "description": "Request message for SetInventory method.",
+ "id": "GoogleCloudRetailV2alphaSetInventoryRequest",
+ "properties": {
+ "allowMissing": {
+ "description": "If set to true, and the Product with name Product.name is not found, the inventory update will still be processed and retained for at most 1 day until the Product is created. If set to false, an INVALID_ARGUMENT error is returned if the Product is not found.",
+ "type": "boolean"
+ },
+ "inventory": {
+ "$ref": "GoogleCloudRetailV2alphaProduct",
+ "description": "Required. The inventory information to update. The allowable fields to update are: * Product.price_info * Product.availability * Product.available_quantity * Product.fulfillment_info The updated inventory fields must be specified in SetInventoryRequest.set_mask. If SetInventoryRequest.inventory.name is empty or invalid, an INVALID_ARGUMENT error is returned. If the caller does not have permission to update the Product named in Product.name, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the Product to update does not have existing inventory information, the provided inventory information will be inserted. If the Product to update has existing inventory information, the provided inventory information will be merged while respecting the last update time for each inventory field, using the provided or default value for SetInventoryRequest.set_time. The last update time is recorded for the following inventory fields: * Product.price_info * Product.availability * Product.available_quantity * Product.fulfillment_info If a full overwrite of inventory information while ignoring timestamps is needed, UpdateProduct should be invoked instead."
+ },
+ "setMask": {
+ "description": "Indicates which inventory fields in the provided Product to update. If not set or set with empty paths, all inventory fields will be updated. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned and the entire update will be ignored.",
+ "format": "google-fieldmask",
+ "type": "string"
+ },
+ "setTime": {
+ "description": "The time when the request is issued, used to prevent out-of-order updates on inventory fields with the last update time recorded. If not provided, the internal system time will be used.",
+ "format": "google-datetime",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2alphaSetInventoryResponse": {
+ "description": "Response of the SetInventoryRequest. Currently empty because there is no meaningful response populated from the SetInventory method.",
+ "id": "GoogleCloudRetailV2alphaSetInventoryResponse",
+ "properties": {},
+ "type": "object"
+ },
"GoogleCloudRetailV2alphaUserEvent": {
"description": "UserEvent captures all metadata information Retail API needs to know about how end users interact with customers' website.",
"id": "GoogleCloudRetailV2alphaUserEvent",
@@ -1692,13 +3063,17 @@
"type": "object"
},
"attributionToken": {
- "description": "Highly recommended for user events that are the result of PredictionService.Predict. This field enables accurate attribution of recommendation model performance. The value must be a valid PredictResponse.attribution_token for user events that are the result of PredictionService.Predict. This token enables us to accurately attribute page view or purchase back to the event and the particular predict response containing this clicked/purchased product. If user clicks on product K in the recommendation results, pass PredictResponse.attribution_token as a URL parameter to product K's page. When recording events on product K's page, log the PredictResponse.attribution_token to this field.",
+ "description": "Highly recommended for user events that are the result of PredictionService.Predict. This field enables accurate attribution of recommendation model performance. The value must be a valid PredictResponse.attribution_token for user events that are the result of PredictionService.Predict. The value must be a valid SearchResponse.attribution_token for user events that are the result of SearchService.Search. This token enables us to accurately attribute page view or purchase back to the event and the particular predict response containing this clicked/purchased product. If user clicks on product K in the recommendation results, pass PredictResponse.attribution_token as a URL parameter to product K's page. When recording events on product K's page, log the PredictResponse.attribution_token to this field.",
"type": "string"
},
"cartId": {
"description": "The id or name of the associated shopping cart. This id is used to associate multiple items added or present in the cart before purchase. This can only be set for `add-to-cart`, `purchase-complete`, or `shopping-cart-page-view` events.",
"type": "string"
},
+ "completionDetail": {
+ "$ref": "GoogleCloudRetailV2alphaCompletionDetail",
+ "description": "The main completion details related to the event. In a `completion` event, this field represents the completions returned to the end user and the clicked completion by the end user. In a `search` event, it represents the search event happens after clicking completion."
+ },
"eventTime": {
"description": "Only required for UserEventService.ImportUserEvents method. Timestamp of when the user event happened.",
"format": "google-datetime",
@@ -1715,6 +3090,19 @@
},
"type": "array"
},
+ "filter": {
+ "description": "The filter syntax consists of an expression language for constructing a predicate from one or more fields of the products being filtered. See SearchRequest.filter for definition and syntax. The value must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "type": "string"
+ },
+ "offset": {
+ "description": "An integer that specifies the current offset for pagination (the 0-indexed starting location, amongst the products deemed by the API as relevant). See SearchRequest.offset for definition. If this field is negative, an INVALID_ARGUMENT is returned. This can only be set for `search` events. Other event types should not set this field. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "orderBy": {
+ "description": "The order in which products are returned. See SearchRequest.order_by for definition and syntax. The value must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. This can only be set for `search` events. Other event types should not set this field. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "type": "string"
+ },
"pageCategories": {
"description": "The categories associated with a category page. To represent full path of category, use '>' sign to separate different hierarchies. If '>' is part of the category name, please replace it with other character(s). Category pages include special pages such as sales or promotions. For instance, a special sale page may have the category hierarchy: \"pageCategories\" : [\"Sales > 2017 Black Friday Deals\"]. Required for `category-page-view` events. At least one of search_query or page_categories is required for `search` events. Other event types should not set this field. Otherwise, an INVALID_ARGUMENT error is returned.",
"items": {
@@ -1742,7 +3130,11 @@
"type": "string"
},
"searchQuery": {
- "description": "The user's search query. The value must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. At least one of search_query or page_categories is required for `search` events. Other event types should not set this field. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "description": "The user's search query. See SearchRequest.query for definition. The value must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. At least one of search_query or page_categories is required for `search` events. Other event types should not set this field. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "type": "string"
+ },
+ "sessionId": {
+ "description": "A unique identifier for tracking a visitor session with a length limit of 128 bytes. A session is an aggregation of an end user behavior in a time span. A general guideline to populate the sesion_id: 1. If user has no activity for 30 min, a new session_id should be assigned. 2. The session_id should be unique across users, suggest use uuid or add visitor_id as prefix.",
"type": "string"
},
"uri": {
@@ -1819,11 +3211,11 @@
"type": "boolean"
},
"ipAddress": {
- "description": "The end user's IP address. Required for getting SearchRespons.sponsored_results. This field is used to extract location information for personalization. This field must be either an IPv4 address (e.g. \"104.133.9.80\") or an IPv6 address (e.g. \"2001:0db8:85a3:0000:0000:8a2e:0370:7334\"). Otherwise, an INVALID_ARGUMENT error is returned. This should not be set when using the JavaScript tag in UserEventService.CollectUserEvent or if direct_user_request is set.",
+ "description": "The end user's IP address. Required for getting SearchResponse.sponsored_results. This field is used to extract location information for personalization. This field must be either an IPv4 address (e.g. \"104.133.9.80\") or an IPv6 address (e.g. \"2001:0db8:85a3:0000:0000:8a2e:0370:7334\"). Otherwise, an INVALID_ARGUMENT error is returned. This should not be set when using the JavaScript tag in UserEventService.CollectUserEvent or if direct_user_request is set.",
"type": "string"
},
"userAgent": {
- "description": "User agent as included in the HTTP header. Required for getting SearchRespons.sponsored_results. The field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. This should not be set when using the client side event reporting with GTM or JavaScript tag in UserEventService.CollectUserEvent or if direct_user_request is set.",
+ "description": "User agent as included in the HTTP header. Required for getting SearchResponse.sponsored_results. The field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. This should not be set when using the client side event reporting with GTM or JavaScript tag in UserEventService.CollectUserEvent or if direct_user_request is set.",
"type": "string"
},
"userId": {
@@ -1833,6 +3225,18 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2betaAddFulfillmentPlacesMetadata": {
+ "description": "Metadata related to the progress of the AddFulfillmentPlaces operation. Currently empty because there is no meaningful metadata populated from the AddFulfillmentPlaces method.",
+ "id": "GoogleCloudRetailV2betaAddFulfillmentPlacesMetadata",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleCloudRetailV2betaAddFulfillmentPlacesResponse": {
+ "description": "Response of the RemoveFulfillmentPlacesRequest. Currently empty because there is no meaningful response populated from the AddFulfillmentPlaces method.",
+ "id": "GoogleCloudRetailV2betaAddFulfillmentPlacesResponse",
+ "properties": {},
+ "type": "object"
+ },
"GoogleCloudRetailV2betaExportErrorsConfig": {
"description": "Configuration of destination for Export related errors.",
"id": "GoogleCloudRetailV2betaExportErrorsConfig",
@@ -1897,6 +3301,20 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2betaImportCompletionDataResponse": {
+ "description": "Response of the ImportCompletionDataRequest. If the long running operation is done, this message is returned by the google.longrunning.Operations.response field if the operation is successful.",
+ "id": "GoogleCloudRetailV2betaImportCompletionDataResponse",
+ "properties": {
+ "errorSamples": {
+ "description": "A sample of errors encountered while processing the request.",
+ "items": {
+ "$ref": "GoogleRpcStatus"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"GoogleCloudRetailV2betaImportErrorsConfig": {
"description": "Configuration of destination for Import related errors.",
"id": "GoogleCloudRetailV2betaImportErrorsConfig",
@@ -1922,6 +3340,14 @@
"format": "int64",
"type": "string"
},
+ "notificationPubsubTopic": {
+ "description": "Pub/Sub topic for receiving notification. If this field is set, when the import is finished, a notification will be sent to specified Pub/Sub topic. The message data will be JSON string of a Operation. Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`.",
+ "type": "string"
+ },
+ "requestId": {
+ "description": "Id of the request / operation. This is parroting back the requestId that was passed in the request.",
+ "type": "string"
+ },
"successCount": {
"description": "Count of entries that were processed successfully.",
"format": "int64",
@@ -2011,6 +3437,30 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2betaRemoveFulfillmentPlacesMetadata": {
+ "description": "Metadata related to the progress of the RemoveFulfillmentPlaces operation. Currently empty because there is no meaningful metadata populated from the RemoveFulfillmentPlaces method.",
+ "id": "GoogleCloudRetailV2betaRemoveFulfillmentPlacesMetadata",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleCloudRetailV2betaRemoveFulfillmentPlacesResponse": {
+ "description": "Response of the RemoveFulfillmentPlacesRequest. Currently empty because there is no meaningful response populated from the RemoveFulfillmentPlaces method.",
+ "id": "GoogleCloudRetailV2betaRemoveFulfillmentPlacesResponse",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleCloudRetailV2betaSetInventoryMetadata": {
+ "description": "Metadata related to the progress of the SetInventory operation. Currently empty because there is no meaningful metadata populated from the SetInventory method.",
+ "id": "GoogleCloudRetailV2betaSetInventoryMetadata",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleCloudRetailV2betaSetInventoryResponse": {
+ "description": "Response of the SetInventoryRequest. Currently empty because there is no meaningful response populated from the SetInventory method.",
+ "id": "GoogleCloudRetailV2betaSetInventoryResponse",
+ "properties": {},
+ "type": "object"
+ },
"GoogleCloudRetailV2betaUserEventImportSummary": {
"description": "A summary of import result. The UserEventImportSummary summarizes the import status for user events.",
"id": "GoogleCloudRetailV2betaUserEventImportSummary",
@@ -2113,6 +3563,28 @@
}
},
"type": "object"
+ },
+ "GoogleTypeDate": {
+ "description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values * A month and day value, with a zero year, such as an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, such as a credit card expiration date Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.",
+ "id": "GoogleTypeDate",
+ "properties": {
+ "day": {
+ "description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "month": {
+ "description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "year": {
+ "description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
}
},
"servicePath": "",
diff --git a/googleapiclient/discovery_cache/documents/retail.v2beta.json b/googleapiclient/discovery_cache/documents/retail.v2beta.json
index 1328a7431..c42b4e4a5 100644
--- a/googleapiclient/discovery_cache/documents/retail.v2beta.json
+++ b/googleapiclient/discovery_cache/documents/retail.v2beta.json
@@ -111,6 +111,88 @@
"resources": {
"catalogs": {
"methods": {
+ "completeQuery": {
+ "description": "Completes the specified prefix with keyword suggestions. This feature is only available for users who have Retail Search enabled. Contact Retail Support (retail-search-support@google.com) if you are interested in using Retail Search.",
+ "flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}:completeQuery",
+ "httpMethod": "GET",
+ "id": "retail.projects.locations.catalogs.completeQuery",
+ "parameterOrder": [
+ "catalog"
+ ],
+ "parameters": {
+ "catalog": {
+ "description": "Required. Catalog for which the completion is performed. Full resource name of catalog, such as `projects/*/locations/global/catalogs/default_catalog`.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "dataset": {
+ "description": "Determines which dataset to use for fetching completion. \"user-data\" will use the imported dataset through ImportCompletionData. \"cloud-retail\" will use the dataset generated by cloud retail based on user events. If leave empty, it will use the \"user-data\". Current supported values: * user-data * cloud-retail This option is not automatically enabled. Before using cloud-retail, contact retail-search-support@google.com first.",
+ "location": "query",
+ "type": "string"
+ },
+ "deviceType": {
+ "description": "The device type context for completion suggestions. It is useful to apply different suggestions on different device types, e.g. DESKTOP, MOBILE. If it is empty, the suggestions are across all device types. Supported formats: * UNKNOWN_DEVICE_TYPE * DESKTOP * MOBILE * A customized string starts with OTHER_, e.g. OTHER_IPHONE.",
+ "location": "query",
+ "type": "string"
+ },
+ "languageCodes": {
+ "description": "The list of languages of the query. This is the BCP-47 language code, such as \"en-US\" or \"sr-Latn\". For more information, see [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47). The maximum number of allowed characters is 255. Only \"en-US\" is currently supported.",
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ },
+ "maxSuggestions": {
+ "description": "Completion max suggestions. The maximum allowed max suggestions is 20. The default value is 20.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "query": {
+ "description": "Required. The query used to generate suggestions. The maximum number of allowed characters is 255.",
+ "location": "query",
+ "type": "string"
+ },
+ "visitorId": {
+ "description": "A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v2beta/{+catalog}:completeQuery",
+ "response": {
+ "$ref": "GoogleCloudRetailV2betaCompleteQueryResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "getDefaultBranch": {
+ "description": "Get which branch is currently default branch set by CatalogService.SetDefaultBranch method under a specified parent catalog. This feature is only available for users who have Retail Search enabled. Contact Retail Support (retail-search-support@google.com) if you are interested in using Retail Search.",
+ "flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}:getDefaultBranch",
+ "httpMethod": "GET",
+ "id": "retail.projects.locations.catalogs.getDefaultBranch",
+ "parameterOrder": [
+ "catalog"
+ ],
+ "parameters": {
+ "catalog": {
+ "description": "The parent catalog resource name, such as `projects/*/locations/global/catalogs/default_catalog`.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2beta/{+catalog}:getDefaultBranch",
+ "response": {
+ "$ref": "GoogleCloudRetailV2betaGetDefaultBranchResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
"list": {
"description": "Lists all the Catalogs associated with the project.",
"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs",
@@ -180,6 +262,34 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
+ },
+ "setDefaultBranch": {
+ "description": "Set a specified branch id as default branch. API methods such as SearchService.Search, ProductService.GetProduct, ProductService.ListProducts will treat requests using \"default_branch\" to the actual branch id set as default. For example, if `projects/*/locations/*/catalogs/*/branches/1` is set as default, setting SearchRequest.branch to `projects/*/locations/*/catalogs/*/branches/default_branch` is equivalent to setting SearchRequest.branch to `projects/*/locations/*/catalogs/*/branches/1`. Using multiple branches can be useful when developers would like to have a staging branch to test and verify for future usage. When it becomes ready, developers switch on the staging branch using this API while keeping using `projects/*/locations/*/catalogs/*/branches/default_branch` as SearchRequest.branch to route the traffic to this staging branch. CAUTION: If you have live predict/search traffic, switching the default branch could potentially cause outages if the ID space of the new branch is very different from the old one. More specifically: * PredictionService will only return product IDs from branch {newBranch}. * SearchService will only return product IDs from branch {newBranch} (if branch is not explicitly set). * UserEventService will only join events with products from branch {newBranch}. This feature is only available for users who have Retail Search enabled. Contact Retail Support (retail-search-support@google.com) if you are interested in using Retail Search.",
+ "flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}:setDefaultBranch",
+ "httpMethod": "POST",
+ "id": "retail.projects.locations.catalogs.setDefaultBranch",
+ "parameterOrder": [
+ "catalog"
+ ],
+ "parameters": {
+ "catalog": {
+ "description": "Full resource name of the catalog, such as `projects/*/locations/global/catalogs/default_catalog`.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2beta/{+catalog}:setDefaultBranch",
+ "request": {
+ "$ref": "GoogleCloudRetailV2betaSetDefaultBranchRequest"
+ },
+ "response": {
+ "$ref": "GoogleProtobufEmpty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
}
},
"resources": {
@@ -216,6 +326,34 @@
},
"products": {
"methods": {
+ "addFulfillmentPlaces": {
+ "description": "Incrementally adds place IDs to Product.fulfillment_info.place_ids. This process is asynchronous and does not require the Product to exist before updating fulfillment information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, the added place IDs are not immediately manifested in the Product queried by GetProduct or ListProducts. This feature is only available for users who have Retail Search enabled. Contact Retail Support (retail-search-support@google.com) if you are interested in using Retail Search.",
+ "flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products/{productsId}:addFulfillmentPlaces",
+ "httpMethod": "POST",
+ "id": "retail.projects.locations.catalogs.branches.products.addFulfillmentPlaces",
+ "parameterOrder": [
+ "product"
+ ],
+ "parameters": {
+ "product": {
+ "description": "Required. Full resource name of Product, such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/some_product_id`. If the caller does not have permission to access the Product, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+/products/.*$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2beta/{+product}:addFulfillmentPlaces",
+ "request": {
+ "$ref": "GoogleCloudRetailV2betaAddFulfillmentPlacesRequest"
+ },
+ "response": {
+ "$ref": "GoogleLongrunningOperation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
"create": {
"description": "Creates a Product.",
"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products",
@@ -327,6 +465,53 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
+ "list": {
+ "description": "Gets a list of Products.",
+ "flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products",
+ "httpMethod": "GET",
+ "id": "retail.projects.locations.catalogs.branches.products.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "filter": {
+ "description": "A filter to apply on the list results. Supported features: * List all the products under the parent branch if filter is unset. * List Product.Type.VARIANT Products sharing the same Product.Type.PRIMARY Product. For example: `primary_product_id = \"some_product_id\"` * List Products bundled in a Product.Type.COLLECTION Product. For example: `collection_product_id = \"some_product_id\"` * List Products with a partibular type. For example: `type = \"PRIMARY\"` `type = \"VARIANT\"` `type = \"COLLECTION\"` If the field is unrecognizable, an INVALID_ARGUMENT error is returned. If the specified Product.Type.PRIMARY Product or Product.Type.COLLECTION Product does not exist, a NOT_FOUND error is returned.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Maximum number of Products to return. If unspecified, defaults to 100. The maximum allowed value is 1000. Values above 1000 will be coerced to 1000. If this field is negative, an INVALID_ARGUMENT error is returned.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "A page token ListProductsResponse.next_page_token, received from a previous ProductService.ListProducts call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ProductService.ListProducts must match the call that provided the page token. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "location": "query",
+ "type": "string"
+ },
+ "parent": {
+ "description": "Required. The parent branch resource name, such as `projects/*/locations/global/catalogs/default_catalog/branches/0`. Use `default_branch` as the branch ID, to list products under the default branch. If the caller does not have permission to list Products under this branch, regardless of whether or not this branch exists, a PERMISSION_DENIED error is returned.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "readMask": {
+ "description": "The fields of Product to return in the responses. If not set or empty, the following fields are returned: * Product.name * Product.id * Product.title * Product.uri * Product.images * Product.price_info * Product.brands If \"*\" is provided, all fields are returned. Product.name is always returned no matter what mask is set. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.",
+ "format": "google-fieldmask",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v2beta/{+parent}/products",
+ "response": {
+ "$ref": "GoogleCloudRetailV2betaListProductsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
"patch": {
"description": "Updates a Product.",
"flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products/{productsId}",
@@ -365,11 +550,99 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
+ },
+ "removeFulfillmentPlaces": {
+ "description": "Incrementally removes place IDs from a Product.fulfillment_info.place_ids. This process is asynchronous and does not require the Product to exist before updating fulfillment information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, the removed place IDs are not immediately manifested in the Product queried by GetProduct or ListProducts. This feature is only available for users who have Retail Search enabled. Contact Retail Support (retail-search-support@google.com) if you are interested in using Retail Search.",
+ "flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products/{productsId}:removeFulfillmentPlaces",
+ "httpMethod": "POST",
+ "id": "retail.projects.locations.catalogs.branches.products.removeFulfillmentPlaces",
+ "parameterOrder": [
+ "product"
+ ],
+ "parameters": {
+ "product": {
+ "description": "Required. Full resource name of Product, such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/some_product_id`. If the caller does not have permission to access the Product, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+/products/.*$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2beta/{+product}:removeFulfillmentPlaces",
+ "request": {
+ "$ref": "GoogleCloudRetailV2betaRemoveFulfillmentPlacesRequest"
+ },
+ "response": {
+ "$ref": "GoogleLongrunningOperation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "setInventory": {
+ "description": "Updates inventory information for a Product while respecting the last update timestamps of each inventory field. This process is asynchronous and does not require the Product to exist before updating fulfillment information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, updates are not immediately manifested in the Product queried by GetProduct or ListProducts. When inventory is updated with CreateProduct and UpdateProduct, the specified inventory field value(s) will overwrite any existing value(s) while ignoring the last update time for this field. Furthermore, the last update time for the specified inventory fields will be overwritten to the time of the CreateProduct or UpdateProduct request. If no inventory fields are set in CreateProductRequest.product, then any pre-existing inventory information for this product will be used. If no inventory fields are set in UpdateProductRequest.set_mask, then any existing inventory information will be preserved. Pre-existing inventory information can only be updated with SetInventory, AddFulfillmentPlaces, and RemoveFulfillmentPlaces. This feature is only available for users who have Retail Search enabled. Contact Retail Support (retail-search-support@google.com) if you are interested in using Retail Search.",
+ "flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/branches/{branchesId}/products/{productsId}:setInventory",
+ "httpMethod": "POST",
+ "id": "retail.projects.locations.catalogs.branches.products.setInventory",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "Immutable. Full resource name of the product, such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/product_id`. The branch ID must be \"default_branch\".",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/branches/[^/]+/products/.*$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2beta/{+name}:setInventory",
+ "request": {
+ "$ref": "GoogleCloudRetailV2betaSetInventoryRequest"
+ },
+ "response": {
+ "$ref": "GoogleLongrunningOperation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
}
}
}
}
},
+ "completionData": {
+ "methods": {
+ "import": {
+ "description": "Bulk import of processed completion dataset. Request processing may be synchronous. Partial updating is not supported. This feature is only available for users who have Retail Search enabled. Contact Retail Support (retail-search-support@google.com) if you are interested in using Retail Search.",
+ "flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/completionData:import",
+ "httpMethod": "POST",
+ "id": "retail.projects.locations.catalogs.completionData.import",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Required. The catalog which the suggestions dataset belongs to. Format: `projects/1234/locations/global/catalogs/default_catalog`.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2beta/{+parent}/completionData:import",
+ "request": {
+ "$ref": "GoogleCloudRetailV2betaImportCompletionDataRequest"
+ },
+ "response": {
+ "$ref": "GoogleLongrunningOperation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
+ },
"operations": {
"methods": {
"get": {
@@ -469,6 +742,34 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
+ },
+ "search": {
+ "description": "Performs a search. This feature is only available for users who have Retail Search enabled. Contact Retail Support (retail-search-support@google.com) if you are interested in using Retail Search.",
+ "flatPath": "v2beta/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/placements/{placementsId}:search",
+ "httpMethod": "POST",
+ "id": "retail.projects.locations.catalogs.placements.search",
+ "parameterOrder": [
+ "placement"
+ ],
+ "parameters": {
+ "placement": {
+ "description": "Required. The resource name of the search engine placement, such as `projects/*/locations/global/catalogs/default_catalog/placements/default_search`. This field is used to identify the set of models that will be used to make the search. We currently support one placement with the following ID: * `default_search`.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/placements/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v2beta/{+placement}:search",
+ "request": {
+ "$ref": "GoogleCloudRetailV2betaSearchRequest"
+ },
+ "response": {
+ "$ref": "GoogleCloudRetailV2betaSearchResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
}
}
},
@@ -706,7 +1007,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210723",
"rootUrl": "https://retail.googleapis.com/",
"schemas": {
"GoogleApiHttpBody": {
@@ -859,6 +1160,32 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2AddFulfillmentPlacesMetadata": {
+ "description": "Metadata related to the progress of the AddFulfillmentPlaces operation. Currently empty because there is no meaningful metadata populated from the AddFulfillmentPlaces method.",
+ "id": "GoogleCloudRetailV2AddFulfillmentPlacesMetadata",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleCloudRetailV2AddFulfillmentPlacesResponse": {
+ "description": "Response of the RemoveFulfillmentPlacesRequest. Currently empty because there is no meaningful response populated from the AddFulfillmentPlaces method.",
+ "id": "GoogleCloudRetailV2AddFulfillmentPlacesResponse",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleCloudRetailV2ImportCompletionDataResponse": {
+ "description": "Response of the ImportCompletionDataRequest. If the long running operation is done, this message is returned by the google.longrunning.Operations.response field if the operation is successful.",
+ "id": "GoogleCloudRetailV2ImportCompletionDataResponse",
+ "properties": {
+ "errorSamples": {
+ "description": "A sample of errors encountered while processing the request.",
+ "items": {
+ "$ref": "GoogleRpcStatus"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"GoogleCloudRetailV2ImportErrorsConfig": {
"description": "Configuration of destination for Import related errors.",
"id": "GoogleCloudRetailV2ImportErrorsConfig",
@@ -884,6 +1211,14 @@
"format": "int64",
"type": "string"
},
+ "notificationPubsubTopic": {
+ "description": "Pub/Sub topic for receiving notification. If this field is set, when the import is finished, a notification will be sent to specified Pub/Sub topic. The message data will be JSON string of a Operation. Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`.",
+ "type": "string"
+ },
+ "requestId": {
+ "description": "Id of the request / operation. This is parroting back the requestId that was passed in the request.",
+ "type": "string"
+ },
"successCount": {
"description": "Count of entries that were processed successfully.",
"format": "int64",
@@ -973,6 +1308,30 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2RemoveFulfillmentPlacesMetadata": {
+ "description": "Metadata related to the progress of the RemoveFulfillmentPlaces operation. Currently empty because there is no meaningful metadata populated from the RemoveFulfillmentPlaces method.",
+ "id": "GoogleCloudRetailV2RemoveFulfillmentPlacesMetadata",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleCloudRetailV2RemoveFulfillmentPlacesResponse": {
+ "description": "Response of the RemoveFulfillmentPlacesRequest. Currently empty because there is no meaningful response populated from the RemoveFulfillmentPlaces method.",
+ "id": "GoogleCloudRetailV2RemoveFulfillmentPlacesResponse",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleCloudRetailV2SetInventoryMetadata": {
+ "description": "Metadata related to the progress of the SetInventory operation. Currently empty because there is no meaningful metadata populated from the SetInventory method.",
+ "id": "GoogleCloudRetailV2SetInventoryMetadata",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleCloudRetailV2SetInventoryResponse": {
+ "description": "Response of the SetInventoryRequest. Currently empty because there is no meaningful response populated from the SetInventory method.",
+ "id": "GoogleCloudRetailV2SetInventoryResponse",
+ "properties": {},
+ "type": "object"
+ },
"GoogleCloudRetailV2UserEventImportSummary": {
"description": "A summary of import result. The UserEventImportSummary summarizes the import status for user events.",
"id": "GoogleCloudRetailV2UserEventImportSummary",
@@ -990,6 +1349,18 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2alphaAddFulfillmentPlacesMetadata": {
+ "description": "Metadata related to the progress of the AddFulfillmentPlaces operation. Currently empty because there is no meaningful metadata populated from the AddFulfillmentPlaces method.",
+ "id": "GoogleCloudRetailV2alphaAddFulfillmentPlacesMetadata",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleCloudRetailV2alphaAddFulfillmentPlacesResponse": {
+ "description": "Response of the RemoveFulfillmentPlacesRequest. Currently empty because there is no meaningful response populated from the AddFulfillmentPlaces method.",
+ "id": "GoogleCloudRetailV2alphaAddFulfillmentPlacesResponse",
+ "properties": {},
+ "type": "object"
+ },
"GoogleCloudRetailV2alphaExportErrorsConfig": {
"description": "Configuration of destination for Export related errors.",
"id": "GoogleCloudRetailV2alphaExportErrorsConfig",
@@ -1054,6 +1425,20 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2alphaImportCompletionDataResponse": {
+ "description": "Response of the ImportCompletionDataRequest. If the long running operation is done, this message is returned by the google.longrunning.Operations.response field if the operation is successful.",
+ "id": "GoogleCloudRetailV2alphaImportCompletionDataResponse",
+ "properties": {
+ "errorSamples": {
+ "description": "A sample of errors encountered while processing the request.",
+ "items": {
+ "$ref": "GoogleRpcStatus"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"GoogleCloudRetailV2alphaImportErrorsConfig": {
"description": "Configuration of destination for Import related errors.",
"id": "GoogleCloudRetailV2alphaImportErrorsConfig",
@@ -1079,6 +1464,14 @@
"format": "int64",
"type": "string"
},
+ "notificationPubsubTopic": {
+ "description": "Pub/Sub topic for receiving notification. If this field is set, when the import is finished, a notification will be sent to specified Pub/Sub topic. The message data will be JSON string of a Operation. Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`.",
+ "type": "string"
+ },
+ "requestId": {
+ "description": "Id of the request / operation. This is parroting back the requestId that was passed in the request.",
+ "type": "string"
+ },
"successCount": {
"description": "Count of entries that were processed successfully.",
"format": "int64",
@@ -1168,6 +1561,30 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2alphaRemoveFulfillmentPlacesMetadata": {
+ "description": "Metadata related to the progress of the RemoveFulfillmentPlaces operation. Currently empty because there is no meaningful metadata populated from the RemoveFulfillmentPlaces method.",
+ "id": "GoogleCloudRetailV2alphaRemoveFulfillmentPlacesMetadata",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleCloudRetailV2alphaRemoveFulfillmentPlacesResponse": {
+ "description": "Response of the RemoveFulfillmentPlacesRequest. Currently empty because there is no meaningful response populated from the RemoveFulfillmentPlaces method.",
+ "id": "GoogleCloudRetailV2alphaRemoveFulfillmentPlacesResponse",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleCloudRetailV2alphaSetInventoryMetadata": {
+ "description": "Metadata related to the progress of the SetInventory operation. Currently empty because there is no meaningful metadata populated from the SetInventory method.",
+ "id": "GoogleCloudRetailV2alphaSetInventoryMetadata",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleCloudRetailV2alphaSetInventoryResponse": {
+ "description": "Response of the SetInventoryRequest. Currently empty because there is no meaningful response populated from the SetInventory method.",
+ "id": "GoogleCloudRetailV2alphaSetInventoryResponse",
+ "properties": {},
+ "type": "object"
+ },
"GoogleCloudRetailV2alphaUserEventImportSummary": {
"description": "A summary of import result. The UserEventImportSummary summarizes the import status for user events.",
"id": "GoogleCloudRetailV2alphaUserEventImportSummary",
@@ -1185,12 +1602,72 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2betaAddFulfillmentPlacesMetadata": {
+ "description": "Metadata related to the progress of the AddFulfillmentPlaces operation. Currently empty because there is no meaningful metadata populated from the AddFulfillmentPlaces method.",
+ "id": "GoogleCloudRetailV2betaAddFulfillmentPlacesMetadata",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleCloudRetailV2betaAddFulfillmentPlacesRequest": {
+ "description": "Request message for AddFulfillmentPlaces method.",
+ "id": "GoogleCloudRetailV2betaAddFulfillmentPlacesRequest",
+ "properties": {
+ "addTime": {
+ "description": "The time when the fulfillment updates are issued, used to prevent out-of-order updates on fulfillment information. If not provided, the internal system time will be used.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "allowMissing": {
+ "description": "If set to true, and the Product is not found, the fulfillment information will still be processed and retained for at most 1 day and processed once the Product is created. If set to false, an INVALID_ARGUMENT error is returned if the Product is not found.",
+ "type": "boolean"
+ },
+ "placeIds": {
+ "description": "Required. The IDs for this type, such as the store IDs for \"pickup-in-store\" or the region IDs for \"same-day-delivery\" to be added for this type. Duplicate IDs will be automatically ignored. At least 1 value is required, and a maximum of 2000 values are allowed. Each value must be a string with a length limit of 10 characters, matching the pattern [a-zA-Z0-9_-]+, such as \"store1\" or \"REGION-2\". Otherwise, an INVALID_ARGUMENT error is returned. If the total number of place IDs exceeds 2000 for this type after adding, then the update will be rejected.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "type": {
+ "description": "Required. The fulfillment type, including commonly used types (such as pickup in store and same day delivery), and custom types. Supported values: * \"pickup-in-store\" * \"ship-to-store\" * \"same-day-delivery\" * \"next-day-delivery\" * \"custom-type-1\" * \"custom-type-2\" * \"custom-type-3\" * \"custom-type-4\" * \"custom-type-5\" If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned. This field directly corresponds to Product.fulfillment_info.type.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2betaAddFulfillmentPlacesResponse": {
+ "description": "Response of the RemoveFulfillmentPlacesRequest. Currently empty because there is no meaningful response populated from the AddFulfillmentPlaces method.",
+ "id": "GoogleCloudRetailV2betaAddFulfillmentPlacesResponse",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleCloudRetailV2betaAudience": {
+ "description": "An intended audience of the Product for whom it's sold.",
+ "id": "GoogleCloudRetailV2betaAudience",
+ "properties": {
+ "ageGroups": {
+ "description": "The age groups of the audience. Strongly encouraged to use the standard values: \"newborn\" (up to 3 months old), \"infant\" (3\u201312 months old), \"toddler\" (1\u20135 years old), \"kids\" (5\u201313 years old), \"adult\" (typically teens or older). At most 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [age_group](https://support.google.com/merchants/answer/6324463). Schema.org property [Product.audience.suggestedMinAge](https://schema.org/suggestedMinAge) and [Product.audience.suggestedMaxAge](https://schema.org/suggestedMaxAge).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "genders": {
+ "description": "The genders of the audience. Strongly encouraged to use the standard values: \"male\", \"female\", \"unisex\". At most 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [gender](https://support.google.com/merchants/answer/6324479). Schema.org property [Product.audience.suggestedGender](https://schema.org/suggestedGender).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"GoogleCloudRetailV2betaBigQuerySource": {
"description": "BigQuery source import data from.",
"id": "GoogleCloudRetailV2betaBigQuerySource",
"properties": {
"dataSchema": {
- "description": "The schema to use when parsing the data from the source. Supported values for product imports: * `product` (default): One JSON Product per line. Each product must have a valid Product.id. * `product_merchant_center`: See [Importing catalog data from Merchant Center](https://cloud.google.com/retail/recommendations-ai/docs/upload-catalog#mc). Supported values for user events imports: * `user_event` (default): One JSON UserEvent per line. * `user_event_ga360`: Using https://support.google.com/analytics/answer/3437719?hl=en.",
+ "description": "The schema to use when parsing the data from the source. Supported values for product imports: * `product` (default): One JSON Product per line. Each product must have a valid Product.id. * `product_merchant_center`: See [Importing catalog data from Merchant Center](https://cloud.google.com/retail/recommendations-ai/docs/upload-catalog#mc). Supported values for user events imports: * `user_event` (default): One JSON UserEvent per line. * `user_event_ga360`: Using https://support.google.com/analytics/answer/3437719.",
"type": "string"
},
"datasetId": {
@@ -1201,6 +1678,10 @@
"description": "Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the BigQuery export to a specific Cloud Storage directory.",
"type": "string"
},
+ "partitionDate": {
+ "$ref": "GoogleTypeDate",
+ "description": "BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format. Only supported when ImportProductsRequest.reconciliation_mode is set to `FULL`."
+ },
"projectId": {
"description": "The project ID (can be project # or ID) that the BigQuery source is in with a length limit of 128 characters. If not specified, inherits the project ID from the parent request.",
"type": "string"
@@ -1231,10 +1712,120 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2betaColorInfo": {
+ "description": "The color information of a Product.",
+ "id": "GoogleCloudRetailV2betaColorInfo",
+ "properties": {
+ "colorFamilies": {
+ "description": "The standard color families. Strongly recommended to use the following standard color groups: \"Red\", \"Pink\", \"Orange\", \"Yellow\", \"Purple\", \"Green\", \"Cyan\", \"Blue\", \"Brown\", \"White\", \"Gray\", \"Black\" and \"Mixed\". Normally it is expected to have only 1 color family. May consider using single \"Mixed\" instead of multiple values. A maximum of 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [color](https://support.google.com/merchants/answer/6324487). Schema.org property [Product.color](https://schema.org/color).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "colors": {
+ "description": "The color display names, which may be different from standard color family names, such as the color aliases used in the website frontend. Normally it is expected to have only 1 color. May consider using single \"Mixed\" instead of multiple values. A maximum of 5 colors are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [color](https://support.google.com/merchants/answer/6324487). Schema.org property [Product.color](https://schema.org/color).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2betaCompleteQueryResponse": {
+ "description": "Response of the auto-complete query.",
+ "id": "GoogleCloudRetailV2betaCompleteQueryResponse",
+ "properties": {
+ "attributionToken": {
+ "description": "A unique complete token. This should be included in the SearchRequest resulting from this completion, which enables accurate attribution of complete model performance.",
+ "type": "string"
+ },
+ "completionResults": {
+ "description": "Results of the matching suggestions. The result list is ordered and the first result is top suggestion.",
+ "items": {
+ "$ref": "GoogleCloudRetailV2betaCompleteQueryResponseCompletionResult"
+ },
+ "type": "array"
+ },
+ "recentSearchResults": {
+ "description": "Matched recent searches of this user. This field is a restricted feature. Contact Retail Support (retail-search-support@google.com) if you are interested in enabling it. This feature is only available when CompleteQueryRequest.visitor_id field is set and UserEvent is imported. The recent searches satisfy the follow rules: * They are ordered from latest to oldest. * They are matched with CompleteQueryRequest.query case insensitively. * They are transformed to lower cases. * They are UTF-8 safe. Recent searches are deduplicated. More recent searches will be reserved when duplication happens.",
+ "items": {
+ "$ref": "GoogleCloudRetailV2betaCompleteQueryResponseRecentSearchResult"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2betaCompleteQueryResponseCompletionResult": {
+ "description": "Resource that represents completion results.",
+ "id": "GoogleCloudRetailV2betaCompleteQueryResponseCompletionResult",
+ "properties": {
+ "attributes": {
+ "additionalProperties": {
+ "$ref": "GoogleCloudRetailV2betaCustomAttribute"
+ },
+ "description": "Additional custom attributes ingested through BigQuery.",
+ "type": "object"
+ },
+ "suggestion": {
+ "description": "The suggestion for the query.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2betaCompleteQueryResponseRecentSearchResult": {
+ "description": "Recent search of this user.",
+ "id": "GoogleCloudRetailV2betaCompleteQueryResponseRecentSearchResult",
+ "properties": {
+ "recentSearch": {
+ "description": "The recent search query.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2betaCompletionDataInputConfig": {
+ "description": "The input config source for completion data.",
+ "id": "GoogleCloudRetailV2betaCompletionDataInputConfig",
+ "properties": {
+ "bigQuerySource": {
+ "$ref": "GoogleCloudRetailV2betaBigQuerySource",
+ "description": "Required. BigQuery input source. Add the IAM permission \u201cBigQuery Data Viewer\u201d for cloud-retail-customer-data-access@system.gserviceaccount.com before using this feature otherwise an error is thrown."
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2betaCompletionDetail": {
+ "description": "Detailed completion information including completion attribution token and clicked completion info.",
+ "id": "GoogleCloudRetailV2betaCompletionDetail",
+ "properties": {
+ "completionAttributionToken": {
+ "description": "Completion attribution token in CompleteQueryResponse.attribution_token.",
+ "type": "string"
+ },
+ "selectedPosition": {
+ "description": "End user selected CompleteQueryResponse.CompletionResult.suggestion position, starting from 0.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "selectedSuggestion": {
+ "description": "End user selected CompleteQueryResponse.CompletionResult.suggestion.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"GoogleCloudRetailV2betaCustomAttribute": {
"description": "A custom attribute that is not explicitly modeled in Product.",
"id": "GoogleCloudRetailV2betaCustomAttribute",
"properties": {
+ "indexable": {
+ "description": "If true, custom attribute values are indexed, so that it can be filtered, faceted or boosted in SearchService.Search. This field is ignored in a UserEvent. See SearchRequest.filter, SearchRequest.facet_specs and SearchRequest.boost_spec for more details.",
+ "type": "boolean"
+ },
"numbers": {
"description": "The numerical values of this custom attribute. For example, `[2.3, 15.4]` when the key is \"lengths_cm\". At most 400 values are allowed.Otherwise, an INVALID_ARGUMENT error is returned. Exactly one of text or numbers should be set. Otherwise, an INVALID_ARGUMENT error is returned.",
"items": {
@@ -1243,6 +1834,10 @@
},
"type": "array"
},
+ "searchable": {
+ "description": "If true, custom attribute values are searchable by text queries in SearchService.Search. This field is ignored in a UserEvent. Only set if type text is set. Otherwise, a INVALID_ARGUMENT error is returned.",
+ "type": "boolean"
+ },
"text": {
"description": "The textual values of this custom attribute. For example, `[\"yellow\", \"green\"]` when the key is \"color\". At most 400 values are allowed. Empty values are not allowed. Each value must be a UTF-8 encoded string with a length limit of 256 characters. Otherwise, an INVALID_ARGUMENT error is returned. Exactly one of text or numbers should be set. Otherwise, an INVALID_ARGUMENT error is returned.",
"items": {
@@ -1317,12 +1912,30 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2betaFulfillmentInfo": {
+ "description": "Fulfillment information, such as the store IDs for in-store pickup or region IDs for different shipping methods.",
+ "id": "GoogleCloudRetailV2betaFulfillmentInfo",
+ "properties": {
+ "placeIds": {
+ "description": "The IDs for this type, such as the store IDs for FulfillmentInfo.type.pickup-in-store or the region IDs for FulfillmentInfo.type.same-day-delivery. A maximum of 2000 values are allowed. Each value must be a string with a length limit of 10 characters, matching the pattern [a-zA-Z0-9_-]+, such as \"store1\" or \"REGION-2\". Otherwise, an INVALID_ARGUMENT error is returned.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "type": {
+ "description": "The fulfillment type, including commonly used types (such as pickup in store and same day delivery), and custom types. Customers have to map custom types to their display names before rendering UI. Supported values: * \"pickup-in-store\" * \"ship-to-store\" * \"same-day-delivery\" * \"next-day-delivery\" * \"custom-type-1\" * \"custom-type-2\" * \"custom-type-3\" * \"custom-type-4\" * \"custom-type-5\" If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"GoogleCloudRetailV2betaGcsSource": {
"description": "Google Cloud Storage location for input content. format.",
"id": "GoogleCloudRetailV2betaGcsSource",
"properties": {
"dataSchema": {
- "description": "The schema to use when parsing the data from the source. Supported values for product imports: * `product` (default): One JSON Product per line. Each product must have a valid Product.id. * `product_merchant_center`: See [Importing catalog data from Merchant Center](https://cloud.google.com/retail/recommendations-ai/docs/upload-catalog#mc). Supported values for user events imports: * `user_event` (default): One JSON UserEvent per line. * `user_event_ga360`: Using https://support.google.com/analytics/answer/3437719?hl=en.",
+ "description": "The schema to use when parsing the data from the source. Supported values for product imports: * `product` (default): One JSON Product per line. Each product must have a valid Product.id. * `product_merchant_center`: See [Importing catalog data from Merchant Center](https://cloud.google.com/retail/recommendations-ai/docs/upload-catalog#mc). Supported values for user events imports: * `user_event` (default): One JSON UserEvent per line. * `user_event_ga360`: Using https://support.google.com/analytics/answer/3437719.",
"type": "string"
},
"inputUris": {
@@ -1335,6 +1948,26 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2betaGetDefaultBranchResponse": {
+ "description": "Response message of CatalogService.GetDefaultBranch.",
+ "id": "GoogleCloudRetailV2betaGetDefaultBranchResponse",
+ "properties": {
+ "branch": {
+ "description": "Full resource name of the branch id currently set as default branch.",
+ "type": "string"
+ },
+ "note": {
+ "description": "This corresponds to SetDefaultBranchRequest.note field, when this branch was set as default.",
+ "type": "string"
+ },
+ "setTime": {
+ "description": "The time when this branch is set to default.",
+ "format": "google-datetime",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"GoogleCloudRetailV2betaImage": {
"description": "Product thumbnail/detail image.",
"id": "GoogleCloudRetailV2betaImage",
@@ -1356,6 +1989,35 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2betaImportCompletionDataRequest": {
+ "description": "Request message for ImportCompletionData methods.",
+ "id": "GoogleCloudRetailV2betaImportCompletionDataRequest",
+ "properties": {
+ "inputConfig": {
+ "$ref": "GoogleCloudRetailV2betaCompletionDataInputConfig",
+ "description": "Required. The desired input location of the data."
+ },
+ "notificationPubsubTopic": {
+ "description": "Pub/Sub topic for receiving notification. If this field is set, when the import is finished, a notification will be sent to specified Pub/Sub topic. The message data will be JSON string of a Operation. Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2betaImportCompletionDataResponse": {
+ "description": "Response of the ImportCompletionDataRequest. If the long running operation is done, this message is returned by the google.longrunning.Operations.response field if the operation is successful.",
+ "id": "GoogleCloudRetailV2betaImportCompletionDataResponse",
+ "properties": {
+ "errorSamples": {
+ "description": "A sample of errors encountered while processing the request.",
+ "items": {
+ "$ref": "GoogleRpcStatus"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"GoogleCloudRetailV2betaImportErrorsConfig": {
"description": "Configuration of destination for Import related errors.",
"id": "GoogleCloudRetailV2betaImportErrorsConfig",
@@ -1381,6 +2043,14 @@
"format": "int64",
"type": "string"
},
+ "notificationPubsubTopic": {
+ "description": "Pub/Sub topic for receiving notification. If this field is set, when the import is finished, a notification will be sent to specified Pub/Sub topic. The message data will be JSON string of a Operation. Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`.",
+ "type": "string"
+ },
+ "requestId": {
+ "description": "Id of the request / operation. This is parroting back the requestId that was passed in the request.",
+ "type": "string"
+ },
"successCount": {
"description": "Count of entries that were processed successfully.",
"format": "int64",
@@ -1406,6 +2076,28 @@
"$ref": "GoogleCloudRetailV2betaProductInputConfig",
"description": "Required. The desired input location of the data."
},
+ "notificationPubsubTopic": {
+ "description": "Pub/Sub topic for receiving notification. If this field is set, when the import is finished, a notification will be sent to specified Pub/Sub topic. The message data will be JSON string of a Operation. Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`. Only supported when ImportProductsRequest.reconciliation_mode is set to `FULL`.",
+ "type": "string"
+ },
+ "reconciliationMode": {
+ "description": "The mode of reconciliation between existing products and the products to be imported. Defaults to ReconciliationMode.INCREMENTAL.",
+ "enum": [
+ "RECONCILIATION_MODE_UNSPECIFIED",
+ "INCREMENTAL",
+ "FULL"
+ ],
+ "enumDescriptions": [
+ "Defaults to INCREMENTAL.",
+ "Inserts new products or updates existing products.",
+ "Calculates diff and replaces the entire product dataset. Existing products may be deleted if they are not present in the source location. Can only be while using BigQuerySource. Add the IAM permission \u201cBigQuery Data Viewer\u201d for cloud-retail-customer-data-access@system.gserviceaccount.com before using this feature otherwise an error is thrown. This feature is only available for users who have Retail Search enabled. Contact Retail Support (retail-search-support@google.com) if you are interested in using Retail Search."
+ ],
+ "type": "string"
+ },
+ "requestId": {
+ "description": "Unique identifier provided by client, within the ancestor dataset scope. Ensures idempotency and used for request deduplication. Server-generated if unspecified. Up to 128 characters long and must match the pattern: \"[a-zA-Z0-9_]+\". This is returned as Operation.name in ImportMetadata. Only supported when ImportProductsRequest.reconciliation_mode is set to `FULL`.",
+ "type": "string"
+ },
"updateMask": {
"description": "Indicates which fields in the provided imported 'products' to update. If not set, will by default update all fields.",
"format": "google-fieldmask",
@@ -1469,6 +2161,33 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2betaInterval": {
+ "description": "A floating point interval.",
+ "id": "GoogleCloudRetailV2betaInterval",
+ "properties": {
+ "exclusiveMaximum": {
+ "description": "Exclusive upper bound.",
+ "format": "double",
+ "type": "number"
+ },
+ "exclusiveMinimum": {
+ "description": "Exclusive lower bound.",
+ "format": "double",
+ "type": "number"
+ },
+ "maximum": {
+ "description": "Inclusive upper bound.",
+ "format": "double",
+ "type": "number"
+ },
+ "minimum": {
+ "description": "Inclusive lower bound.",
+ "format": "double",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
"GoogleCloudRetailV2betaListCatalogsResponse": {
"description": "Response for CatalogService.ListCatalogs method.",
"id": "GoogleCloudRetailV2betaListCatalogsResponse",
@@ -1487,6 +2206,24 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2betaListProductsResponse": {
+ "description": "Response message for ProductService.ListProducts method.",
+ "id": "GoogleCloudRetailV2betaListProductsResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "A token that can be sent as ListProductsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.",
+ "type": "string"
+ },
+ "products": {
+ "description": "The Products.",
+ "items": {
+ "$ref": "GoogleCloudRetailV2betaProduct"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"GoogleCloudRetailV2betaPredictRequest": {
"description": "Request message for Predict method.",
"id": "GoogleCloudRetailV2betaPredictRequest",
@@ -1586,7 +2323,7 @@
"type": "number"
},
"currencyCode": {
- "description": "The 3-letter currency code defined in [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html). If this field is an unrecognizable currency code, an INVALID_ARGUMENT error is returned.",
+ "description": "The 3-letter currency code defined in [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html). If this field is an unrecognizable currency code, an INVALID_ARGUMENT error is returned. The Product.Type.VARIANT Products with the same Product.primary_product_id must share the same currency_code. Otherwise, a FAILED_PRECONDITION error is returned.",
"type": "string"
},
"originalPrice": {
@@ -1598,6 +2335,36 @@
"description": "Price of the product. Google Merchant Center property [price](https://support.google.com/merchants/answer/6324371). Schema.org property [Offer.priceSpecification](https://schema.org/priceSpecification).",
"format": "float",
"type": "number"
+ },
+ "priceEffectiveTime": {
+ "description": "The timestamp when the price starts to be effective. This can be set as a future timestamp, and the price is only used for search after price_effective_time. If so, the original_price must be set and original_price is used before price_effective_time. Do not set if price is always effective because it will cause additional latency during search.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "priceExpireTime": {
+ "description": "The timestamp when the price stops to be effective. The price is used for search before price_expire_time. If this field is set, the original_price must be set and original_price is used after price_expire_time. Do not set if price is always effective because it will cause additional latency during search.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "priceRange": {
+ "$ref": "GoogleCloudRetailV2betaPriceInfoPriceRange",
+ "description": "Output only. The price range of all the child Product.Type.VARIANT Products grouped together on the Product.Type.PRIMARY Product. Only populated for Product.Type.PRIMARY Products. Note: This field is OUTPUT_ONLY for ProductService.GetProduct. Do not set this field in API requests.",
+ "readOnly": true
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2betaPriceInfoPriceRange": {
+ "description": "The price range of all variant Product having the same Product.primary_product_id.",
+ "id": "GoogleCloudRetailV2betaPriceInfoPriceRange",
+ "properties": {
+ "originalPrice": {
+ "$ref": "GoogleCloudRetailV2betaInterval",
+ "description": "The inclusive Product.pricing_info.original_price internal of all variant Product having the same Product.primary_product_id."
+ },
+ "price": {
+ "$ref": "GoogleCloudRetailV2betaInterval",
+ "description": "The inclusive Product.pricing_info.price interval of all variant Product having the same Product.primary_product_id."
}
},
"type": "object"
@@ -1610,9 +2377,13 @@
"additionalProperties": {
"$ref": "GoogleCloudRetailV2betaCustomAttribute"
},
- "description": "Highly encouraged. Extra product attributes to be included. For example, for products, this could include the store name, vendor, style, color, etc. These are very strong signals for recommendation model, thus we highly recommend providing the attributes here. Features that can take on one of a limited number of possible values. Two types of features can be set are: Textual features. some examples would be the brand/maker of a product, or country of a customer. Numerical features. Some examples would be the height/weight of a product, or age of a customer. For example: `{ \"vendor\": {\"text\": [\"vendor123\", \"vendor456\"]}, \"lengths_cm\": {\"numbers\":[2.3, 15.4]}, \"heights_cm\": {\"numbers\":[8.1, 6.4]} }`. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * Max entries count: 200 by default; 100 for Type.VARIANT. * The key must be a UTF-8 encoded string with a length limit of 128 characters.",
+ "description": "Highly encouraged. Extra product attributes to be included. For example, for products, this could include the store name, vendor, style, color, etc. These are very strong signals for recommendation model, thus we highly recommend providing the attributes here. Features that can take on one of a limited number of possible values. Two types of features can be set are: Textual features. some examples would be the brand/maker of a product, or country of a customer. Numerical features. Some examples would be the height/weight of a product, or age of a customer. For example: `{ \"vendor\": {\"text\": [\"vendor123\", \"vendor456\"]}, \"lengths_cm\": {\"numbers\":[2.3, 15.4]}, \"heights_cm\": {\"numbers\":[8.1, 6.4]} }`. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * Max entries count: 200 by default; 100 for Type.VARIANT. * The key must be a UTF-8 encoded string with a length limit of 128 characters. * Max indexable entries count: 200 by default; 40 for Type.VARIANT. * Max searchable entries count: 30. * For indexable attribute, the key must match the pattern: a-zA-Z0-9*. For example, key0LikeThis or KEY_1_LIKE_THIS.",
"type": "object"
},
+ "audience": {
+ "$ref": "GoogleCloudRetailV2betaAudience",
+ "description": "The target group associated with a given audience (e.g. male, veterans, car owners, musicians, etc.) of the product."
+ },
"availability": {
"description": "The online availability of the Product. Default to Availability.IN_STOCK. Google Merchant Center Property [availability](https://support.google.com/merchants/answer/6324448). Schema.org Property [Offer.availability](https://schema.org/availability).",
"enum": [
@@ -1637,10 +2408,17 @@
"type": "integer"
},
"availableTime": {
- "description": "The timestamp when this Product becomes available for recommendation.",
+ "description": "The timestamp when this Product becomes available for SearchService.Search.",
"format": "google-datetime",
"type": "string"
},
+ "brands": {
+ "description": "The brands of the product. A maximum of 30 brands are allowed. Each brand must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [brand](https://support.google.com/merchants/answer/6324351). Schema.org property [Product.brand](https://schema.org/brand).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
"categories": {
"description": "Product categories. This field is repeated for supporting one product belonging to several parallel categories. Strongly recommended using the full path for better search / recommendation quality. To represent full path of category, use '>' sign to separate different hierarchies. If '>' is part of the category name, please replace it with other character(s). For example, if a shoes product belongs to both [\"Shoes & Accessories\" -> \"Shoes\"] and [\"Sports & Fitness\" -> \"Athletic Clothing\" -> \"Shoes\"], it could be represented as: \"categories\": [ \"Shoes & Accessories > Shoes\", \"Sports & Fitness > Athletic Clothing > Shoes\" ] Must be set for Type.PRIMARY Product otherwise an INVALID_ARGUMENT error is returned. At most 250 values are allowed per Product. Empty values are not allowed. Each value must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property google_product_category. Schema.org property [Product.category] (https://schema.org/category). [mc_google_product_category]: https://support.google.com/merchants/answer/6324436",
"items": {
@@ -1648,10 +2426,44 @@
},
"type": "array"
},
+ "collectionMemberIds": {
+ "description": "The id of the collection members when type is Type.COLLECTION. Should not set it for other types. A maximum of 1000 values are allowed. Otherwise, an INVALID_ARGUMENT error is return.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "colorInfo": {
+ "$ref": "GoogleCloudRetailV2betaColorInfo",
+ "description": "The color of the product. Google Merchant Center property [color](https://support.google.com/merchants/answer/6324487). Schema.org property [Product.color](https://schema.org/color)."
+ },
+ "conditions": {
+ "description": "The condition of the product. Strongly encouraged to use the standard values: \"new\", \"refurbished\", \"used\". A maximum of 5 values are allowed per Product. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [condition](https://support.google.com/merchants/answer/6324469). Schema.org property [Offer.itemCondition](https://schema.org/itemCondition).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
"description": {
"description": "Product description. This field must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [description](https://support.google.com/merchants/answer/6324468). schema.org property [Product.description](https://schema.org/description).",
"type": "string"
},
+ "expireTime": {
+ "description": "The timestamp when this product becomes unavailable for SearchService.Search. If it is set, the Product is not available for SearchService.Search after expire_time. However, the product can still be retrieved by ProductService.GetProduct and ProductService.ListProducts. Google Merchant Center property [expiration_date](https://support.google.com/merchants/answer/6324499).",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "fulfillmentInfo": {
+ "description": "Fulfillment information, such as the store IDs for in-store pickup or region IDs for different shipping methods. All the elements must have distinct FulfillmentInfo.type. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "items": {
+ "$ref": "GoogleCloudRetailV2betaFulfillmentInfo"
+ },
+ "type": "array"
+ },
+ "gtin": {
+ "description": "The Global Trade Item Number (GTIN) of the product. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [gtin](https://support.google.com/merchants/answer/6324461). Schema.org property [Product.isbn](https://schema.org/isbn) or [Product.gtin8](https://schema.org/gtin8) or [Product.gtin12](https://schema.org/gtin12) or [Product.gtin13](https://schema.org/gtin13) or [Product.gtin14](https://schema.org/gtin14). If the value is not a valid GTIN, an INVALID_ARGUMENT error is returned.",
+ "type": "string"
+ },
"id": {
"description": "Immutable. Product identifier, which is the final component of name. For example, this field is \"id_1\", if name is `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/id_1`. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [id](https://support.google.com/merchants/answer/6324405). Schema.org Property [Product.sku](https://schema.org/sku).",
"type": "string"
@@ -1663,10 +2475,28 @@
},
"type": "array"
},
+ "languageCode": {
+ "description": "Language of the title/description and other string attributes. Use language tags defined by BCP 47. For product prediction, this field is ignored and the model automatically detects the text language. The Product can include text in different languages, but duplicating Products to provide text in multiple languages can result in degraded model performance. For product search this field is in use. It defaults to \"en-US\" if unset.",
+ "type": "string"
+ },
+ "materials": {
+ "description": "The material of the product. For example, \"leather\", \"wooden\". A maximum of 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [material](https://support.google.com/merchants/answer/6324410). Schema.org property [Product.material](https://schema.org/material).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
"name": {
"description": "Immutable. Full resource name of the product, such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/product_id`. The branch ID must be \"default_branch\".",
"type": "string"
},
+ "patterns": {
+ "description": "The pattern or graphic print of the product. For example, \"striped\", \"polka dot\", \"paisley\". A maximum of 5 values are allowed per Product. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [pattern](https://support.google.com/merchants/answer/6324483). Schema.org property [Product.pattern](https://schema.org/pattern).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
"priceInfo": {
"$ref": "GoogleCloudRetailV2betaPriceInfo",
"description": "Product price and cost information. Google Merchant Center property [price](https://support.google.com/merchants/answer/6324371)."
@@ -1675,6 +2505,34 @@
"description": "Variant group identifier. Must be an id, with the same parent branch with this product. Otherwise, an error is thrown. For Type.PRIMARY Products, this field can only be empty or set to the same value as id. For VARIANT Products, this field cannot be empty. A maximum of 2,000 products are allowed to share the same Type.PRIMARY Product. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center Property [item_group_id](https://support.google.com/merchants/answer/6324507). Schema.org Property [Product.inProductGroupWithID](https://schema.org/inProductGroupWithID). This field must be enabled before it can be used. [Learn more](/recommendations-ai/docs/catalog#item-group-id).",
"type": "string"
},
+ "promotions": {
+ "description": "The promotions applied to the product. A maximum of 10 values are allowed per Product.",
+ "items": {
+ "$ref": "GoogleCloudRetailV2betaPromotion"
+ },
+ "type": "array"
+ },
+ "publishTime": {
+ "description": "The timestamp when the product is published by the retailer for the first time, which indicates the freshness of the products. Note that this field is different from available_time, given it purely describes product freshness regardless of when it is available on search and recommendation.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "rating": {
+ "$ref": "GoogleCloudRetailV2betaRating",
+ "description": "The rating of this product."
+ },
+ "retrievableFields": {
+ "description": "Indicates which fields in the Products are returned in SearchResponse. Supported fields for all types: * audience * availability * brands * color_info * conditions * gtin * materials * name * patterns * price_info * rating * sizes * title * uri Supported fields only for Type.PRIMARY and Type.COLLECTION: * categories * description * images Supported fields only for Type.VARIANT: * Only the first image in images To mark attributes as retrievable, include paths of the form \"attributes.key\" where \"key\" is the key of a custom attribute, as specified in attributes. For Type.PRIMARY and Type.COLLECTION, the following fields are always returned in SearchResponse by default: * name For Type.VARIANT, the following fields are always returned in by default: * name * color_info Maximum number of paths is 20. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "format": "google-fieldmask",
+ "type": "string"
+ },
+ "sizes": {
+ "description": "The size of the product. To represent different size systems or size types, consider using this format: [[[size_system:]size_type:]size_value]. For example, in \"US:MENS:M\", \"US\" represents size system; \"MENS\" represents size type; \"M\" represents size value. In \"GIRLS:27\", size system is empty; \"GIRLS\" represents size type; \"27\" represents size value. In \"32 inches\", both size system and size type are empty, while size value is \"32 inches\". A maximum of 20 values are allowed per Product. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [size](https://support.google.com/merchants/answer/6324492), [size_type](https://support.google.com/merchants/answer/6324497) and [size_system](https://support.google.com/merchants/answer/6324502). Schema.org property [Product.size](https://schema.org/size).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
"tags": {
"description": "Custom tags associated with the product. At most 250 values are allowed per Product. This value must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. This tag can be used for filtering recommendation results by passing the tag as part of the PredictRequest.filter. Google Merchant Center property [custom_label_0\u20134](https://support.google.com/merchants/answer/6324473).",
"items": {
@@ -1686,6 +2544,11 @@
"description": "Required. Product title. This field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [title](https://support.google.com/merchants/answer/6324415). Schema.org property [Product.name](https://schema.org/name).",
"type": "string"
},
+ "ttl": {
+ "description": "Input only. The TTL (time to live) of the product. If it is set, expire_time is set as current timestamp plus ttl. The derived expire_time is returned in the output and ttl is left blank when retrieving the Product. If it is set, the product is not available for SearchService.Search after current timestamp plus ttl. However, the product can still be retrieved by ProductService.GetProduct and ProductService.ListProducts.",
+ "format": "google-duration",
+ "type": "string"
+ },
"type": {
"description": "Immutable. The type of the product. Default to Catalog.product_level_config.ingestion_product_type if unset.",
"enum": [
@@ -1705,6 +2568,14 @@
"uri": {
"description": "Canonical URL directly linking to the product detail page. It is strongly recommended to provide a valid uri for the product, otherwise the service performance could be significantly degraded. This field must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [link](https://support.google.com/merchants/answer/6324416). Schema.org property [Offer.url](https://schema.org/url).",
"type": "string"
+ },
+ "variants": {
+ "description": "Output only. Product variants grouped together on primary product which share similar product attributes. It's automatically grouped by primary_product_id for all the product variants. Only populated for Type.PRIMARY Products. Note: This field is OUTPUT_ONLY for ProductService.GetProduct. Do not set this field in API requests.",
+ "items": {
+ "$ref": "GoogleCloudRetailV2betaProduct"
+ },
+ "readOnly": true,
+ "type": "array"
}
},
"type": "object"
@@ -1773,6 +2644,17 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2betaPromotion": {
+ "description": "Promotion information.",
+ "id": "GoogleCloudRetailV2betaPromotion",
+ "properties": {
+ "promotionId": {
+ "description": "ID of the promotion. For example, \"free gift\". The value value must be a UTF-8 encoded string with a length limit of 128 characters, and match the pattern: a-zA-Z*. For example, id0LikeThis or ID_1_LIKE_THIS. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [promotion](https://support.google.com/merchants/answer/7050148).",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"GoogleCloudRetailV2betaPurchaseTransaction": {
"description": "A transaction represents the entire purchase transaction.",
"id": "GoogleCloudRetailV2betaPurchaseTransaction",
@@ -1836,6 +2718,31 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2betaRating": {
+ "description": "The rating of a Product.",
+ "id": "GoogleCloudRetailV2betaRating",
+ "properties": {
+ "averageRating": {
+ "description": "The average rating of the Product. The rating is scaled at 1-5. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "format": "float",
+ "type": "number"
+ },
+ "ratingCount": {
+ "description": "The total number of ratings. This value is independent of the value of rating_histogram. This value must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "ratingHistogram": {
+ "description": "List of rating counts per rating value (index = rating - 1). The list is empty if there is no rating. If the list is non-empty, its size is always 5. Otherwise, an INVALID_ARGUMENT error is returned. For example, [41, 14, 13, 47, 303]. It means that the Product got 41 ratings with 1 star, 14 ratings with 2 star, and so on.",
+ "items": {
+ "format": "int32",
+ "type": "integer"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"GoogleCloudRetailV2betaRejoinUserEventsMetadata": {
"description": "Metadata for RejoinUserEvents method.",
"id": "GoogleCloudRetailV2betaRejoinUserEventsMetadata",
@@ -1875,6 +2782,459 @@
},
"type": "object"
},
+ "GoogleCloudRetailV2betaRemoveFulfillmentPlacesMetadata": {
+ "description": "Metadata related to the progress of the RemoveFulfillmentPlaces operation. Currently empty because there is no meaningful metadata populated from the RemoveFulfillmentPlaces method.",
+ "id": "GoogleCloudRetailV2betaRemoveFulfillmentPlacesMetadata",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleCloudRetailV2betaRemoveFulfillmentPlacesRequest": {
+ "description": "Request message for RemoveFulfillmentPlaces method.",
+ "id": "GoogleCloudRetailV2betaRemoveFulfillmentPlacesRequest",
+ "properties": {
+ "allowMissing": {
+ "description": "If set to true, and the Product is not found, the fulfillment information will still be processed and retained for at most 1 day and processed once the Product is created. If set to false, an INVALID_ARGUMENT error is returned if the Product is not found.",
+ "type": "boolean"
+ },
+ "placeIds": {
+ "description": "Required. The IDs for this type, such as the store IDs for \"pickup-in-store\" or the region IDs for \"same-day-delivery\", to be removed for this type. At least 1 value is required, and a maximum of 2000 values are allowed. Each value must be a string with a length limit of 10 characters, matching the pattern [a-zA-Z0-9_-]+, such as \"store1\" or \"REGION-2\". Otherwise, an INVALID_ARGUMENT error is returned.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "removeTime": {
+ "description": "The time when the fulfillment updates are issued, used to prevent out-of-order updates on fulfillment information. If not provided, the internal system time will be used.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "type": {
+ "description": "Required. The fulfillment type, including commonly used types (such as pickup in store and same day delivery), and custom types. Supported values: * \"pickup-in-store\" * \"ship-to-store\" * \"same-day-delivery\" * \"next-day-delivery\" * \"custom-type-1\" * \"custom-type-2\" * \"custom-type-3\" * \"custom-type-4\" * \"custom-type-5\" If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned. This field directly corresponds to Product.fulfillment_info.type.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2betaRemoveFulfillmentPlacesResponse": {
+ "description": "Response of the RemoveFulfillmentPlacesRequest. Currently empty because there is no meaningful response populated from the RemoveFulfillmentPlaces method.",
+ "id": "GoogleCloudRetailV2betaRemoveFulfillmentPlacesResponse",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleCloudRetailV2betaSearchRequest": {
+ "description": "Request message for SearchService.Search method.",
+ "id": "GoogleCloudRetailV2betaSearchRequest",
+ "properties": {
+ "boostSpec": {
+ "$ref": "GoogleCloudRetailV2betaSearchRequestBoostSpec",
+ "description": "Boost specification to boost certain products. See more details at this [user guide](/retail/private/docs/boosting)."
+ },
+ "branch": {
+ "description": "The branch resource name, such as `projects/*/locations/global/catalogs/default_catalog/branches/0`. Use \"default_branch\" as the branch ID or leave this field empty, to search products under the default branch.",
+ "type": "string"
+ },
+ "canonicalFilter": {
+ "description": "The filter applied to every search request when quality improvement such as query expansion is needed. For example, if a query does not have enough results, an expanded query with SearchRequest.canonical_filter will be returned as a supplement of the original query. This field is strongly recommended to achieve high search quality. See SearchRequest.filter for more details about filter syntax.",
+ "type": "string"
+ },
+ "dynamicFacetSpec": {
+ "$ref": "GoogleCloudRetailV2betaSearchRequestDynamicFacetSpec",
+ "description": "The specification for dynamically generated facets. Notice that only textual facets can be dynamically generated. This feature requires additional allowlisting. Contact Retail Support (retail-search-support@google.com) if you are interested in using dynamic facet feature."
+ },
+ "facetSpecs": {
+ "description": "Facet specifications for faceted search. If empty, no facets are returned. A maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "items": {
+ "$ref": "GoogleCloudRetailV2betaSearchRequestFacetSpec"
+ },
+ "type": "array"
+ },
+ "filter": {
+ "description": "The filter syntax consists of an expression language for constructing a predicate from one or more fields of the products being filtered. Filter expression is case-sensitive. See more details at this [user guide](/retail/private/docs/filter-and-order#filter). If this field is unrecognizable, an INVALID_ARGUMENT is returned.",
+ "type": "string"
+ },
+ "offset": {
+ "description": "A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the Products 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",
+ "type": "integer"
+ },
+ "orderBy": {
+ "description": "The order in which products are returned. Products can be ordered by a field in an Product object. Leave it unset if ordered by relevance. OrderBy expression is case-sensitive. See more details at this [user guide](/retail/private/docs/filter-and-order#order). If this field is unrecognizable, an INVALID_ARGUMENT is returned.",
+ "type": "string"
+ },
+ "pageCategories": {
+ "description": "The categories associated with a category page. Required for category navigation queries to achieve good search quality. The format should be the same as UserEvent.page_categories; To represent full path of category, use '>' sign to separate different hierarchies. If '>' is part of the category name, please replace it with other character(s). Category pages include special pages such as sales or promotions. For instance, a special sale page may have the category hierarchy: \"pageCategories\" : [\"Sales > 2017 Black Friday Deals\"].",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "pageSize": {
+ "description": "Maximum number of Products to return. If unspecified, defaults to a reasonable value. The maximum allowed value is 120. Values above 120 will be coerced to 120. If this field is negative, an INVALID_ARGUMENT is returned.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "A page token SearchResponse.next_page_token, received from a previous SearchService.Search call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to SearchService.Search must match the call that provided the page token. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "type": "string"
+ },
+ "query": {
+ "description": "Raw search query.",
+ "type": "string"
+ },
+ "queryExpansionSpec": {
+ "$ref": "GoogleCloudRetailV2betaSearchRequestQueryExpansionSpec",
+ "description": "The query expansion specification that specifies the conditions under which query expansion will occur. See more details at this [user guide](/retail/private/docs/result-size#query_expansion)."
+ },
+ "userInfo": {
+ "$ref": "GoogleCloudRetailV2betaUserInfo",
+ "description": "User information."
+ },
+ "variantRollupKeys": {
+ "description": "The keys to fetch and rollup the matching variant Products attributes. The attributes from all the matching variant Products are merged and de-duplicated. Notice that rollup variant Products attributes will lead to extra query latency. Maximum number of keys is 10. For Product.fulfillment_info, a fulfillment type and a fulfillment ID must be provided in the format of \"fulfillmentType.filfillmentId\". E.g., in \"pickupInStore.store123\", \"pickupInStore\" is fulfillment type and \"store123\" is the store ID. Supported keys are: * colorFamilies * price * originalPrice * discount * attributes.key, where key is any key in the Product.attributes map. * pickupInStore.id, where id is any FulfillmentInfo.ids for type FulfillmentInfo.Type.PICKUP_IN_STORE. * shipToStore.id, where id is any FulfillmentInfo.ids for type FulfillmentInfo.Type.SHIP_TO_STORE. * sameDayDelivery.id, where id is any FulfillmentInfo.ids for type FulfillmentInfo.Type.SAME_DAY_DELIVERY. * nextDayDelivery.id, where id is any FulfillmentInfo.ids for type FulfillmentInfo.Type.NEXT_DAY_DELIVERY. * customFulfillment1.id, where id is any FulfillmentInfo.ids for type FulfillmentInfo.Type.CUSTOM_TYPE_1. * customFulfillment2.id, where id is any FulfillmentInfo.ids for type FulfillmentInfo.Type.CUSTOM_TYPE_2. * customFulfillment3.id, where id is any FulfillmentInfo.ids for type FulfillmentInfo.Type.CUSTOM_TYPE_3. * customFulfillment4.id, where id is any FulfillmentInfo.ids for type FulfillmentInfo.Type.CUSTOM_TYPE_4. * customFulfillment5.id, where id is any FulfillmentInfo.ids for type FulfillmentInfo.Type.CUSTOM_TYPE_5. If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "visitorId": {
+ "description": "Required. A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2betaSearchRequestBoostSpec": {
+ "description": "Boost specification to boost certain items.",
+ "id": "GoogleCloudRetailV2betaSearchRequestBoostSpec",
+ "properties": {
+ "conditionBoostSpecs": {
+ "description": "Condition boost specifications. If a product matches multiple conditions in the specifictions, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 10.",
+ "items": {
+ "$ref": "GoogleCloudRetailV2betaSearchRequestBoostSpecConditionBoostSpec"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2betaSearchRequestBoostSpecConditionBoostSpec": {
+ "description": "Boost applies to products which match a condition.",
+ "id": "GoogleCloudRetailV2betaSearchRequestBoostSpecConditionBoostSpec",
+ "properties": {
+ "boost": {
+ "description": "Strength of the condition boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the item a big promotion. However, it does not necessarily mean that the boosted item will be the top result at all times, nor that other items will be excluded. Results could still be shown even when none of them matches the condition. And results that are significantly more relevant to the search query can still trump your heavily favored but irrelevant items. Setting to -1.0 gives the item a big demotion. However, results that are deeply relevant might still be shown. The item will have an upstream battle to get a fairly high ranking, but it is not blocked out completely. Setting to 0.0 means no boost applied. The boosting condition is ignored.",
+ "format": "float",
+ "type": "number"
+ },
+ "condition": {
+ "description": "An expression which specifies a boost condition. The syntax and supported fields are the same as a filter expression. See SearchRequest.filter for detail syntax and limitations. Examples: * To boost products with product ID \"product_1\" or \"product_2\", and color \"Red\" or \"Blue\": *(id: ANY(\"product_1\", \"product_2\")) * *AND * *(colorFamilies: ANY(\"Red\", \"Blue\")) *",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2betaSearchRequestDynamicFacetSpec": {
+ "description": "The specifications of dynamically generated facets.",
+ "id": "GoogleCloudRetailV2betaSearchRequestDynamicFacetSpec",
+ "properties": {
+ "mode": {
+ "description": "Mode of the DynamicFacet feature. Defaults to Mode.DISABLED if it's unset.",
+ "enum": [
+ "MODE_UNSPECIFIED",
+ "DISABLED",
+ "ENABLED"
+ ],
+ "enumDescriptions": [
+ "Default value.",
+ "Disable Dynamic Facet.",
+ "Automatic mode built by Google Retail Search."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2betaSearchRequestFacetSpec": {
+ "description": "A facet specification to perform faceted search.",
+ "id": "GoogleCloudRetailV2betaSearchRequestFacetSpec",
+ "properties": {
+ "enableDynamicPosition": {
+ "description": "Enables dynamic position for this facet. If set to true, the position of this facet among all facets in the response is determined by Google Retail Search. It will be ordered together with dynamic facets if dynamic facets is enabled. If set to false, the position of this facet in the response will be the same as in the request, and it will be ranked before the facets with dynamic position enable and all dynamic facets. For example, you may always want to have rating facet returned in the response, but it's not necessarily to always display the rating facet at the top. In that case, you can set enable_dynamic_position to true so that the position of rating facet in response will be determined by Google Retail Search. Another example, assuming you have the following facets in the request: * \"rating\", enable_dynamic_position = true * \"price\", enable_dynamic_position = false * \"brands\", enable_dynamic_position = false And also you have a dynamic facets enable, which will generate a facet 'gender'. Then the final order of the facets in the response can be (\"price\", \"brands\", \"rating\", \"gender\") or (\"price\", \"brands\", \"gender\", \"rating\") depends on how Google Retail Search orders \"gender\" and \"rating\" facets. However, notice that \"price\" and \"brands\" will always be ranked at 1st and 2nd position since their enable_dynamic_position are false.",
+ "type": "boolean"
+ },
+ "excludedFilterKeys": {
+ "description": "List of keys to exclude when faceting. By default, FacetKey.key is not excluded from the filter unless it is listed in this field. For example, suppose there are 100 products with color facet \"Red\" and 200 products with color facet \"Blue\". A query containing the filter \"colorFamilies:ANY(\"Red\")\" and have \"colorFamilies\" as FacetKey.key will by default return the \"Red\" with count 100. If this field contains \"colorFamilies\", then the query returns both the \"Red\" with count 100 and \"Blue\" with count 200, because the \"colorFamilies\" key is now excluded from the filter. A maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "facetKey": {
+ "$ref": "GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKey",
+ "description": "Required. The facet key specification."
+ },
+ "limit": {
+ "description": "Maximum of facet values that should be returned for this facet. If unspecified, defaults to 20. The maximum allowed value is 300. Values above 300 will be coerced to 300. If this field is negative, an INVALID_ARGUMENT is returned.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKey": {
+ "description": "Specifies how a facet is computed.",
+ "id": "GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKey",
+ "properties": {
+ "contains": {
+ "description": "Only get facet values that contains the given strings. For example, suppose \"categories\" has three values \"Women > Shoe\", \"Women > Dress\" and \"Men > Shoe\". If set \"contains\" to \"Shoe\", the \"categories\" facet will give only \"Women > Shoe\" and \"Men > Shoe\". Only supported on textual fields. Maximum is 10.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "intervals": {
+ "description": "Set only if values should be bucketized into intervals. Must be set for facets with numerical values. Must not be set for facet with text values. Maximum number of intervals is 30.",
+ "items": {
+ "$ref": "GoogleCloudRetailV2betaInterval"
+ },
+ "type": "array"
+ },
+ "key": {
+ "description": "Required. Supported textual and numerical facet keys in Product object, over which the facet values are computed. Facet key is case-sensitive. Allowed facet keys when FacetKey.query is not specified: * textual_field = *# The Product.brands. * \"brands\"; *# The Product.categories. * \"categories\"; *# The Audience.genders. * | \"genders\"; *# The Audience.age_groups. * | \"ageGroups\"; *# The Product.availability. Value is one of * *# \"IN_STOCK\", \"OUT_OF_STOCK\", PREORDER\", \"BACKORDER\". * | \"availability\"; *# The ColorInfo.color_families. * | \"colorFamilies\"; *# The ColorInfo.colors. * | \"colors\"; *# The Product.sizes. * | \"sizes\"; *# The Product.materials. * | \"materials\"; *# The Product.patterns. * | \"patterns\"; *# The Product.conditions. * | \"conditions\"; *# The textual custom attribute in Product object. Key can * *# be any key in the Product.attributes map * *# if the attribute values are textual. * *# map. * | \"attributes.key\"; *# The FulfillmentInfo.ids for type *# FulfillmentInfo.Type.PICKUP_IN_STORE. * | \"pickupInStore\"; *# The FulfillmentInfo.ids for type *# FulfillmentInfo.Type.SHIP_TO_STORE. * | \"shipToStore\"; *# The FulfillmentInfo.ids for type *# FulfillmentInfo.Type.SAME_DAY_DELIVERY. * | \"sameDayDelivery\"; *# The FulfillmentInfo.ids for type *# FulfillmentInfo.Type.NEXT_DAY_DELIVERY. * | \"nextDayDelivery\"; *# The FulfillmentInfo.ids for type *# FulfillmentInfo.Type.CUSTOM_TYPE_1. * | \"customFulfillment1\"; *# The FulfillmentInfo.ids for type *# FulfillmentInfo.Type.CUSTOM_TYPE_2. * | \"customFulfillment2\"; *# The FulfillmentInfo.ids for type *# FulfillmentInfo.Type.CUSTOM_TYPE_3. * | \"customFulfillment3\"; *# The FulfillmentInfo.ids for type *# FulfillmentInfo.Type.CUSTOM_TYPE_4. * | \"customFulfillment4\"; *# The FulfillmentInfo.ids for type *# FulfillmentInfo.Type.CUSTOM_TYPE_5. * | \"customFulfillment5\"; * numerical_field = *# The PriceInfo.price. * \"price\"; *# The discount. Computed by (original_price-price)/price * \"discount\"; *# The Rating.average_rating. * \"rating\"; *# The Rating.rating_count. * \"ratingCount\"; *# The numerical custom attribute in Product object. Key can * *# be any key in the Product.attributes map * *# if the attribute values are numerical. * | \"attributes.key\";",
+ "type": "string"
+ },
+ "orderBy": {
+ "description": "The order in which Facet.values are returned. Allowed values are: * \"count desc\", which means order by Facet.FacetValue.count descending. * \"value desc\", which means order by Facet.FacetValue.value descending. Only applies to textual facets. If not set, textual values are sorted in [natural order](https://en.wikipedia.org/wiki/Natural_sort_order); numerical intervals are sorted in the order given by FacetSpec.FacetKey.intervals; FulfillmentInfo.ids are sorted in the order given by FacetSpec.FacetKey.restricted_values.",
+ "type": "string"
+ },
+ "prefixes": {
+ "description": "Only get facet values that start with the given string prefix. For example, suppose \"categories\" has three values \"Women > Shoe\", \"Women > Dress\" and \"Men > Shoe\". If set \"prefixes\" to \"Women\", the \"categories\" facet will give only \"Women > Shoe\" and \"Women > Dress\". Only supported on textual fields. Maximum is 10.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "query": {
+ "description": "The query that is used to compute facet for the given facet key. When provided, it will override the default behavior of facet computation. The query syntax is the same as a filter expression. See SearchRequest.filter for detail syntax and limitations. Notice that there is no limitation on FacetKey.key when query is specified. In the response, FacetValue.value will be always \"1\" and FacetValue.count will be the number of results that matches the query. For example, you can set a customized facet for \"shipToStore\", where FacetKey.key is \"customizedShipToStore\", and FacetKey.query is \"availability: ANY(\\\"IN_STOCK\\\") AND shipToStore: ANY(\\\"123\\\")\". Then the facet will count the products that are both in stock and ship to store \"123\".",
+ "type": "string"
+ },
+ "restrictedValues": {
+ "description": "Only get facet for the given restricted values. For example, when using \"pickupInStore\" as key and set restricted values to [\"store123\", \"store456\"], only facets for \"store123\" and \"store456\" are returned. Only supported on textual fields and fulfillments. Maximum is 20. Must be set for the fulfillment facet keys: * pickupInStore * shipToStore * sameDayDelivery * nextDayDelivery * customFulfillment1 * customFulfillment2 * customFulfillment3 * customFulfillment4 * customFulfillment5",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2betaSearchRequestQueryExpansionSpec": {
+ "description": "Specification to determine under which conditions query expansion should occur.",
+ "id": "GoogleCloudRetailV2betaSearchRequestQueryExpansionSpec",
+ "properties": {
+ "condition": {
+ "description": "The condition under which query expansion should occur. Default to Condition.DISABLED.",
+ "enum": [
+ "CONDITION_UNSPECIFIED",
+ "DISABLED",
+ "AUTO"
+ ],
+ "enumDescriptions": [
+ "Unspecified query expansion condition. This defaults to Condition.DISABLED.",
+ "Disabled query expansion. Only the exact search query is used, even if SearchResponse.total_size is zero.",
+ "Automatic query expansion built by Google Retail Search."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2betaSearchResponse": {
+ "description": "Response message for SearchService.Search method.",
+ "id": "GoogleCloudRetailV2betaSearchResponse",
+ "properties": {
+ "attributionToken": {
+ "description": "A unique search token. This should be included in the UserEvent logs resulting from this search, which enables accurate attribution of search model performance.",
+ "type": "string"
+ },
+ "correctedQuery": {
+ "description": "If spell correction applies, the corrected query. Otherwise, empty.",
+ "type": "string"
+ },
+ "facets": {
+ "description": "Results of facets requested by user.",
+ "items": {
+ "$ref": "GoogleCloudRetailV2betaSearchResponseFacet"
+ },
+ "type": "array"
+ },
+ "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"
+ },
+ "queryExpansionInfo": {
+ "$ref": "GoogleCloudRetailV2betaSearchResponseQueryExpansionInfo",
+ "description": "Query expansion information for the returned results."
+ },
+ "redirectUri": {
+ "description": "The URI of a customer-defined redirect page. If redirect action is triggered, no search will be performed, and only redirect_uri and attribution_token will be set in the response.",
+ "type": "string"
+ },
+ "results": {
+ "description": "A list of matched items. The order represents the ranking.",
+ "items": {
+ "$ref": "GoogleCloudRetailV2betaSearchResponseSearchResult"
+ },
+ "type": "array"
+ },
+ "totalSize": {
+ "description": "The estimated total count of matched items irrespective of pagination. The count of results returned by pagination may be less than the total_size that matches.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2betaSearchResponseFacet": {
+ "description": "A facet result.",
+ "id": "GoogleCloudRetailV2betaSearchResponseFacet",
+ "properties": {
+ "dynamicFacet": {
+ "description": "Whether the facet is dynamically generated.",
+ "type": "boolean"
+ },
+ "key": {
+ "description": "The key for this facet. E.g., \"colorFamilies\" or \"price\" or \"attributes.attr1\".",
+ "type": "string"
+ },
+ "values": {
+ "description": "The facet values for this field.",
+ "items": {
+ "$ref": "GoogleCloudRetailV2betaSearchResponseFacetFacetValue"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2betaSearchResponseFacetFacetValue": {
+ "description": "A facet value which contains value names and their count.",
+ "id": "GoogleCloudRetailV2betaSearchResponseFacetFacetValue",
+ "properties": {
+ "count": {
+ "description": "Number of items that have this facet value.",
+ "format": "int64",
+ "type": "string"
+ },
+ "interval": {
+ "$ref": "GoogleCloudRetailV2betaInterval",
+ "description": "Interval value for a facet, such as [10, 20) for facet \"price\"."
+ },
+ "value": {
+ "description": "Text value of a facet, such as \"Black\" for facet \"colorFamilies\".",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2betaSearchResponseQueryExpansionInfo": {
+ "description": "Information describing query expansion including whether expansion has occurred.",
+ "id": "GoogleCloudRetailV2betaSearchResponseQueryExpansionInfo",
+ "properties": {
+ "expandedQuery": {
+ "description": "Bool describing whether query expansion has occurred.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2betaSearchResponseSearchResult": {
+ "description": "Represents the search results.",
+ "id": "GoogleCloudRetailV2betaSearchResponseSearchResult",
+ "properties": {
+ "id": {
+ "description": "Product.id of the searched Product.",
+ "type": "string"
+ },
+ "matchingVariantCount": {
+ "description": "The count of matched variant Products.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "matchingVariantFields": {
+ "additionalProperties": {
+ "format": "google-fieldmask",
+ "type": "string"
+ },
+ "description": "If a variant Product matches the search query, this map indicates which Product fields are matched. The key is the Product.name, the value is a field mask of the matched Product fields. If matched attributes cannot be determined, this map will be empty. For example, a key \"sku1\" with field mask \"products.color_info\" indicates there is a match between \"sku1\" ColorInfo and the query.",
+ "type": "object"
+ },
+ "product": {
+ "$ref": "GoogleCloudRetailV2betaProduct",
+ "description": "The product data snippet in the search response. Only Product.name is guaranteed to be populated. Product.variants contains the product variants that match the search query. If there are multiple product variants matching the query, top 5 most relevant product variants are returned and ordered by relevancy. If relevancy can be deternmined, use matching_variant_fields to look up matched product variants fields. If relevancy cannot be determined, e.g. when searching \"shoe\" all products in a shoe product can be a match, 5 product variants are returned but order is meaningless."
+ },
+ "variantRollupValues": {
+ "additionalProperties": {
+ "type": "any"
+ },
+ "description": "The rollup matching variant Product attributes. The key is one of the SearchRequest.variant_rollup_keys. The values are the merged and de-duplicated Product attributes. Notice that the rollup values are respect filter. For example, when filtering by \"colorFamilies:ANY(\\\"red\\\")\" and rollup \"colorFamilies\", only \"red\" is returned. For textual and numerical attributes, the rollup values is a list of string or double values with type google.protobuf.ListValue. For example, if there are two variants with colors \"red\" and \"blue\", the rollup values are { key: \"colorFamilies\" value { list_value { values { string_value: \"red\" } values { string_value: \"blue\" } } } } For Product.fulfillment_info, the rollup values is a double value with type google.protobuf.Value. For example, {key: \"pickupInStore.store1\" value { number_value: 10 }} means a there are 10 variants in this product are available in the store \"store1\".",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2betaSetDefaultBranchRequest": {
+ "description": "Request message to set a specified branch as new default_branch.",
+ "id": "GoogleCloudRetailV2betaSetDefaultBranchRequest",
+ "properties": {
+ "branchId": {
+ "description": "The final component of the resource name of a branch. This field must be one of \"0\", \"1\" or \"2\". Otherwise, an INVALID_ARGUMENT error is returned.",
+ "type": "string"
+ },
+ "note": {
+ "description": "Some note on this request, this can be retrieved by CatalogService.GetDefaultBranch before next valid default branch set occurs. This field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2betaSetInventoryMetadata": {
+ "description": "Metadata related to the progress of the SetInventory operation. Currently empty because there is no meaningful metadata populated from the SetInventory method.",
+ "id": "GoogleCloudRetailV2betaSetInventoryMetadata",
+ "properties": {},
+ "type": "object"
+ },
+ "GoogleCloudRetailV2betaSetInventoryRequest": {
+ "description": "Request message for SetInventory method.",
+ "id": "GoogleCloudRetailV2betaSetInventoryRequest",
+ "properties": {
+ "allowMissing": {
+ "description": "If set to true, and the Product with name Product.name is not found, the inventory update will still be processed and retained for at most 1 day until the Product is created. If set to false, an INVALID_ARGUMENT error is returned if the Product is not found.",
+ "type": "boolean"
+ },
+ "inventory": {
+ "$ref": "GoogleCloudRetailV2betaProduct",
+ "description": "Required. The inventory information to update. The allowable fields to update are: * Product.price_info * Product.availability * Product.available_quantity * Product.fulfillment_info The updated inventory fields must be specified in SetInventoryRequest.set_mask. If SetInventoryRequest.inventory.name is empty or invalid, an INVALID_ARGUMENT error is returned. If the caller does not have permission to update the Product named in Product.name, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the Product to update does not have existing inventory information, the provided inventory information will be inserted. If the Product to update has existing inventory information, the provided inventory information will be merged while respecting the last update time for each inventory field, using the provided or default value for SetInventoryRequest.set_time. The last update time is recorded for the following inventory fields: * Product.price_info * Product.availability * Product.available_quantity * Product.fulfillment_info If a full overwrite of inventory information while ignoring timestamps is needed, UpdateProduct should be invoked instead."
+ },
+ "setMask": {
+ "description": "Indicates which inventory fields in the provided Product to update. If not set or set with empty paths, all inventory fields will be updated. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned and the entire update will be ignored.",
+ "format": "google-fieldmask",
+ "type": "string"
+ },
+ "setTime": {
+ "description": "The time when the request is issued, used to prevent out-of-order updates on inventory fields with the last update time recorded. If not provided, the internal system time will be used.",
+ "format": "google-datetime",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleCloudRetailV2betaSetInventoryResponse": {
+ "description": "Response of the SetInventoryRequest. Currently empty because there is no meaningful response populated from the SetInventory method.",
+ "id": "GoogleCloudRetailV2betaSetInventoryResponse",
+ "properties": {},
+ "type": "object"
+ },
"GoogleCloudRetailV2betaUserEvent": {
"description": "UserEvent captures all metadata information Retail API needs to know about how end users interact with customers' website.",
"id": "GoogleCloudRetailV2betaUserEvent",
@@ -1887,13 +3247,17 @@
"type": "object"
},
"attributionToken": {
- "description": "Highly recommended for user events that are the result of PredictionService.Predict. This field enables accurate attribution of recommendation model performance. The value must be a valid PredictResponse.attribution_token for user events that are the result of PredictionService.Predict. This token enables us to accurately attribute page view or purchase back to the event and the particular predict response containing this clicked/purchased product. If user clicks on product K in the recommendation results, pass PredictResponse.attribution_token as a URL parameter to product K's page. When recording events on product K's page, log the PredictResponse.attribution_token to this field.",
+ "description": "Highly recommended for user events that are the result of PredictionService.Predict. This field enables accurate attribution of recommendation model performance. The value must be a valid PredictResponse.attribution_token for user events that are the result of PredictionService.Predict. The value must be a valid SearchResponse.attribution_token for user events that are the result of SearchService.Search. This token enables us to accurately attribute page view or purchase back to the event and the particular predict response containing this clicked/purchased product. If user clicks on product K in the recommendation results, pass PredictResponse.attribution_token as a URL parameter to product K's page. When recording events on product K's page, log the PredictResponse.attribution_token to this field.",
"type": "string"
},
"cartId": {
"description": "The id or name of the associated shopping cart. This id is used to associate multiple items added or present in the cart before purchase. This can only be set for `add-to-cart`, `purchase-complete`, or `shopping-cart-page-view` events.",
"type": "string"
},
+ "completionDetail": {
+ "$ref": "GoogleCloudRetailV2betaCompletionDetail",
+ "description": "The main completion details related to the event. In a `completion` event, this field represents the completions returned to the end user and the clicked completion by the end user. In a `search` event, it represents the search event happens after clicking completion."
+ },
"eventTime": {
"description": "Only required for UserEventService.ImportUserEvents method. Timestamp of when the user event happened.",
"format": "google-datetime",
@@ -1910,6 +3274,19 @@
},
"type": "array"
},
+ "filter": {
+ "description": "The filter syntax consists of an expression language for constructing a predicate from one or more fields of the products being filtered. See SearchRequest.filter for definition and syntax. The value must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "type": "string"
+ },
+ "offset": {
+ "description": "An integer that specifies the current offset for pagination (the 0-indexed starting location, amongst the products deemed by the API as relevant). See SearchRequest.offset for definition. If this field is negative, an INVALID_ARGUMENT is returned. This can only be set for `search` events. Other event types should not set this field. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "orderBy": {
+ "description": "The order in which products are returned. See SearchRequest.order_by for definition and syntax. The value must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. This can only be set for `search` events. Other event types should not set this field. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "type": "string"
+ },
"pageCategories": {
"description": "The categories associated with a category page. To represent full path of category, use '>' sign to separate different hierarchies. If '>' is part of the category name, please replace it with other character(s). Category pages include special pages such as sales or promotions. For instance, a special sale page may have the category hierarchy: \"pageCategories\" : [\"Sales > 2017 Black Friday Deals\"]. Required for `category-page-view` events. At least one of search_query or page_categories is required for `search` events. Other event types should not set this field. Otherwise, an INVALID_ARGUMENT error is returned.",
"items": {
@@ -1937,7 +3314,11 @@
"type": "string"
},
"searchQuery": {
- "description": "The user's search query. The value must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. At least one of search_query or page_categories is required for `search` events. Other event types should not set this field. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "description": "The user's search query. See SearchRequest.query for definition. The value must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. At least one of search_query or page_categories is required for `search` events. Other event types should not set this field. Otherwise, an INVALID_ARGUMENT error is returned.",
+ "type": "string"
+ },
+ "sessionId": {
+ "description": "A unique identifier for tracking a visitor session with a length limit of 128 bytes. A session is an aggregation of an end user behavior in a time span. A general guideline to populate the sesion_id: 1. If user has no activity for 30 min, a new session_id should be assigned. 2. The session_id should be unique across users, suggest use uuid or add visitor_id as prefix.",
"type": "string"
},
"uri": {
@@ -2014,11 +3395,11 @@
"type": "boolean"
},
"ipAddress": {
- "description": "The end user's IP address. Required for getting SearchRespons.sponsored_results. This field is used to extract location information for personalization. This field must be either an IPv4 address (e.g. \"104.133.9.80\") or an IPv6 address (e.g. \"2001:0db8:85a3:0000:0000:8a2e:0370:7334\"). Otherwise, an INVALID_ARGUMENT error is returned. This should not be set when using the JavaScript tag in UserEventService.CollectUserEvent or if direct_user_request is set.",
+ "description": "The end user's IP address. Required for getting SearchResponse.sponsored_results. This field is used to extract location information for personalization. This field must be either an IPv4 address (e.g. \"104.133.9.80\") or an IPv6 address (e.g. \"2001:0db8:85a3:0000:0000:8a2e:0370:7334\"). Otherwise, an INVALID_ARGUMENT error is returned. This should not be set when using the JavaScript tag in UserEventService.CollectUserEvent or if direct_user_request is set.",
"type": "string"
},
"userAgent": {
- "description": "User agent as included in the HTTP header. Required for getting SearchRespons.sponsored_results. The field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. This should not be set when using the client side event reporting with GTM or JavaScript tag in UserEventService.CollectUserEvent or if direct_user_request is set.",
+ "description": "User agent as included in the HTTP header. Required for getting SearchResponse.sponsored_results. The field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. This should not be set when using the client side event reporting with GTM or JavaScript tag in UserEventService.CollectUserEvent or if direct_user_request is set.",
"type": "string"
},
"userId": {
@@ -2113,6 +3494,28 @@
}
},
"type": "object"
+ },
+ "GoogleTypeDate": {
+ "description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values * A month and day value, with a zero year, such as an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, such as a credit card expiration date Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.",
+ "id": "GoogleTypeDate",
+ "properties": {
+ "day": {
+ "description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "month": {
+ "description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "year": {
+ "description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
}
},
"servicePath": "",
diff --git a/googleapiclient/discovery_cache/documents/run.v1.json b/googleapiclient/discovery_cache/documents/run.v1.json
index 36e5de543..a73fafda7 100644
--- a/googleapiclient/discovery_cache/documents/run.v1.json
+++ b/googleapiclient/discovery_cache/documents/run.v1.json
@@ -184,7 +184,7 @@
],
"parameters": {
"continue": {
- "description": "Optional encoded string to continue paging.",
+ "description": "Optional. Encoded string to continue paging.",
"location": "query",
"type": "string"
},
@@ -204,7 +204,7 @@
"type": "string"
},
"limit": {
- "description": "The maximum number of records that should be returned.",
+ "description": "Optional. The maximum number of records that should be returned.",
"format": "int32",
"location": "query",
"type": "integer"
@@ -352,7 +352,7 @@
],
"parameters": {
"continue": {
- "description": "Optional encoded string to continue paging.",
+ "description": "Optional. Encoded string to continue paging.",
"location": "query",
"type": "string"
},
@@ -372,7 +372,7 @@
"type": "string"
},
"limit": {
- "description": "The maximum number of records that should be returned.",
+ "description": "Optional. The maximum number of records that should be returned.",
"format": "int32",
"location": "query",
"type": "integer"
@@ -487,7 +487,7 @@
],
"parameters": {
"continue": {
- "description": "Optional encoded string to continue paging.",
+ "description": "Optional. Encoded string to continue paging.",
"location": "query",
"type": "string"
},
@@ -507,7 +507,7 @@
"type": "string"
},
"limit": {
- "description": "The maximum number of records that should be returned.",
+ "description": "Optional. The maximum number of records that should be returned.",
"format": "int32",
"location": "query",
"type": "integer"
@@ -577,7 +577,7 @@
],
"parameters": {
"continue": {
- "description": "Optional encoded string to continue paging.",
+ "description": "Optional. Encoded string to continue paging.",
"location": "query",
"type": "string"
},
@@ -597,7 +597,7 @@
"type": "string"
},
"limit": {
- "description": "The maximum number of records that should be returned.",
+ "description": "Optional. The maximum number of records that should be returned.",
"format": "int32",
"location": "query",
"type": "integer"
@@ -745,7 +745,7 @@
],
"parameters": {
"continue": {
- "description": "Optional encoded string to continue paging.",
+ "description": "Optional. Encoded string to continue paging.",
"location": "query",
"type": "string"
},
@@ -765,7 +765,7 @@
"type": "string"
},
"limit": {
- "description": "The maximum number of records that should be returned.",
+ "description": "Optional. The maximum number of records that should be returned.",
"format": "int32",
"location": "query",
"type": "integer"
@@ -997,7 +997,7 @@
],
"parameters": {
"continue": {
- "description": "Optional encoded string to continue paging.",
+ "description": "Optional. Encoded string to continue paging.",
"location": "query",
"type": "string"
},
@@ -1017,7 +1017,7 @@
"type": "string"
},
"limit": {
- "description": "The maximum number of records that should be returned.",
+ "description": "Optional. The maximum number of records that should be returned.",
"format": "int32",
"location": "query",
"type": "integer"
@@ -1165,7 +1165,7 @@
],
"parameters": {
"continue": {
- "description": "Optional encoded string to continue paging.",
+ "description": "Optional. Encoded string to continue paging.",
"location": "query",
"type": "string"
},
@@ -1185,7 +1185,7 @@
"type": "string"
},
"limit": {
- "description": "The maximum number of records that should be returned.",
+ "description": "Optional. The maximum number of records that should be returned.",
"format": "int32",
"location": "query",
"type": "integer"
@@ -1300,7 +1300,7 @@
],
"parameters": {
"continue": {
- "description": "Optional encoded string to continue paging.",
+ "description": "Optional. Encoded string to continue paging.",
"location": "query",
"type": "string"
},
@@ -1320,7 +1320,7 @@
"type": "string"
},
"limit": {
- "description": "The maximum number of records that should be returned.",
+ "description": "Optional. The maximum number of records that should be returned.",
"format": "int32",
"location": "query",
"type": "integer"
@@ -1390,7 +1390,7 @@
],
"parameters": {
"continue": {
- "description": "Optional encoded string to continue paging.",
+ "description": "Optional. Encoded string to continue paging.",
"location": "query",
"type": "string"
},
@@ -1410,7 +1410,7 @@
"type": "string"
},
"limit": {
- "description": "The maximum number of records that should be returned.",
+ "description": "Optional. The maximum number of records that should be returned.",
"format": "int32",
"location": "query",
"type": "integer"
@@ -1589,7 +1589,7 @@
],
"parameters": {
"continue": {
- "description": "Optional encoded string to continue paging.",
+ "description": "Optional. Encoded string to continue paging.",
"location": "query",
"type": "string"
},
@@ -1609,7 +1609,7 @@
"type": "string"
},
"limit": {
- "description": "The maximum number of records that should be returned.",
+ "description": "Optional. The maximum number of records that should be returned.",
"format": "int32",
"location": "query",
"type": "integer"
@@ -1736,7 +1736,7 @@
}
}
},
- "revision": "20210628",
+ "revision": "20210716",
"rootUrl": "https://run.googleapis.com/",
"schemas": {
"Addressable": {
@@ -2164,7 +2164,7 @@
"type": "array"
},
"url": {
- "description": "Cloud Run fully managed: not supported Cloud Run on GKE: supported Holds the URL that will serve the traffic of the DomainMapping. +optional",
+ "description": "Optional. Cloud Run fully managed: not supported Cloud Run on GKE: supported Holds the URL that will serve the traffic of the DomainMapping.",
"type": "string"
}
},
@@ -2891,7 +2891,7 @@
"id": "RevisionSpec",
"properties": {
"containerConcurrency": {
- "description": "(Optional) ContainerConcurrency specifies the maximum allowed in-flight (concurrent) requests per container instance of the Revision. Cloud Run fully managed: supported, defaults to 80 Cloud Run for Anthos: supported, defaults to 0, which means concurrency to the application is not limited, and the system decides the target concurrency for the autoscaler.",
+ "description": "Optional. ContainerConcurrency specifies the maximum allowed in-flight (concurrent) requests per container instance of the Revision. Cloud Run fully managed: supported, defaults to 80 Cloud Run for Anthos: supported, defaults to 0, which means concurrency to the application is not limited, and the system decides the target concurrency for the autoscaler.",
"format": "int32",
"type": "integer"
},
@@ -2936,7 +2936,7 @@
"type": "string"
},
"logUrl": {
- "description": "Specifies the generated logging url for this particular revision based on the revision url template specified in the controller's config. +optional",
+ "description": "Optional. Specifies the generated logging url for this particular revision based on the revision url template specified in the controller's config.",
"type": "string"
},
"observedGeneration": {
@@ -3364,7 +3364,7 @@
"type": "string"
},
"latestRevision": {
- "description": "LatestRevision may be optionally provided to indicate that the latest ready Revision of the Configuration should be used for this traffic target. When provided LatestRevision must be true if RevisionName is empty; it must be false when RevisionName is non-empty. +optional",
+ "description": "Optional. LatestRevision may be provided to indicate that the latest ready Revision of the Configuration should be used for this traffic target. When provided LatestRevision must be true if RevisionName is empty; it must be false when RevisionName is non-empty.",
"type": "boolean"
},
"percent": {
@@ -3377,7 +3377,7 @@
"type": "string"
},
"tag": {
- "description": "Tag is optionally used to expose a dedicated url for referencing this target exclusively. +optional",
+ "description": "Optional. Tag is used to expose a dedicated url for referencing this target exclusively.",
"type": "string"
},
"url": {
diff --git a/googleapiclient/discovery_cache/documents/run.v1alpha1.json b/googleapiclient/discovery_cache/documents/run.v1alpha1.json
index 3da6051fc..4f3baf71b 100644
--- a/googleapiclient/discovery_cache/documents/run.v1alpha1.json
+++ b/googleapiclient/discovery_cache/documents/run.v1alpha1.json
@@ -268,7 +268,7 @@
}
}
},
- "revision": "20210628",
+ "revision": "20210716",
"rootUrl": "https://run.googleapis.com/",
"schemas": {
"ConfigMapEnvSource": {
diff --git a/googleapiclient/discovery_cache/documents/runtimeconfig.v1.json b/googleapiclient/discovery_cache/documents/runtimeconfig.v1.json
index 43ed704ff..1151a3ed1 100644
--- a/googleapiclient/discovery_cache/documents/runtimeconfig.v1.json
+++ b/googleapiclient/discovery_cache/documents/runtimeconfig.v1.json
@@ -210,7 +210,7 @@
}
}
},
- "revision": "20210712",
+ "revision": "20210726",
"rootUrl": "https://runtimeconfig.googleapis.com/",
"schemas": {
"CancelOperationRequest": {
diff --git a/googleapiclient/discovery_cache/documents/runtimeconfig.v1beta1.json b/googleapiclient/discovery_cache/documents/runtimeconfig.v1beta1.json
index 13d44cee7..66d455869 100644
--- a/googleapiclient/discovery_cache/documents/runtimeconfig.v1beta1.json
+++ b/googleapiclient/discovery_cache/documents/runtimeconfig.v1beta1.json
@@ -805,7 +805,7 @@
}
}
},
- "revision": "20210712",
+ "revision": "20210719",
"rootUrl": "https://runtimeconfig.googleapis.com/",
"schemas": {
"Binding": {
diff --git a/googleapiclient/discovery_cache/documents/safebrowsing.v4.json b/googleapiclient/discovery_cache/documents/safebrowsing.v4.json
index 451bae857..dc8b152be 100644
--- a/googleapiclient/discovery_cache/documents/safebrowsing.v4.json
+++ b/googleapiclient/discovery_cache/documents/safebrowsing.v4.json
@@ -261,7 +261,7 @@
}
}
},
- "revision": "20210717",
+ "revision": "20210721",
"rootUrl": "https://safebrowsing.googleapis.com/",
"schemas": {
"GoogleProtobufEmpty": {
diff --git a/googleapiclient/discovery_cache/documents/script.v1.json b/googleapiclient/discovery_cache/documents/script.v1.json
index fe4fa7171..e2db03c55 100644
--- a/googleapiclient/discovery_cache/documents/script.v1.json
+++ b/googleapiclient/discovery_cache/documents/script.v1.json
@@ -887,7 +887,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210717",
"rootUrl": "https://script.googleapis.com/",
"schemas": {
"Content": {
diff --git a/googleapiclient/discovery_cache/documents/searchconsole.v1.json b/googleapiclient/discovery_cache/documents/searchconsole.v1.json
index af51e0002..d0cd09cc6 100644
--- a/googleapiclient/discovery_cache/documents/searchconsole.v1.json
+++ b/googleapiclient/discovery_cache/documents/searchconsole.v1.json
@@ -373,7 +373,7 @@
}
}
},
- "revision": "20210717",
+ "revision": "20210723",
"rootUrl": "https://searchconsole.googleapis.com/",
"schemas": {
"ApiDataRow": {
diff --git a/googleapiclient/discovery_cache/documents/secretmanager.v1.json b/googleapiclient/discovery_cache/documents/secretmanager.v1.json
index 24a657926..7c7e83ff0 100644
--- a/googleapiclient/discovery_cache/documents/secretmanager.v1.json
+++ b/googleapiclient/discovery_cache/documents/secretmanager.v1.json
@@ -643,7 +643,7 @@
}
}
},
- "revision": "20210710",
+ "revision": "20210716",
"rootUrl": "https://secretmanager.googleapis.com/",
"schemas": {
"AccessSecretVersionResponse": {
diff --git a/googleapiclient/discovery_cache/documents/secretmanager.v1beta1.json b/googleapiclient/discovery_cache/documents/secretmanager.v1beta1.json
index 7b7d9c9b6..1117795f6 100644
--- a/googleapiclient/discovery_cache/documents/secretmanager.v1beta1.json
+++ b/googleapiclient/discovery_cache/documents/secretmanager.v1beta1.json
@@ -628,7 +628,7 @@
}
}
},
- "revision": "20210710",
+ "revision": "20210716",
"rootUrl": "https://secretmanager.googleapis.com/",
"schemas": {
"AccessSecretVersionResponse": {
diff --git a/googleapiclient/discovery_cache/documents/securitycenter.v1.json b/googleapiclient/discovery_cache/documents/securitycenter.v1.json
index 880b920bb..01047d83f 100644
--- a/googleapiclient/discovery_cache/documents/securitycenter.v1.json
+++ b/googleapiclient/discovery_cache/documents/securitycenter.v1.json
@@ -1816,7 +1816,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210716",
"rootUrl": "https://securitycenter.googleapis.com/",
"schemas": {
"Asset": {
@@ -2023,6 +2023,28 @@
"description": "The URI that, if available, points to a web page outside of Security Command Center where additional information about the finding can be found. This field is guaranteed to be either empty or a well formed URL.",
"type": "string"
},
+ "findingClass": {
+ "description": "The class of the finding.",
+ "enum": [
+ "FINDING_CLASS_UNSPECIFIED",
+ "THREAT",
+ "VULNERABILITY",
+ "MISCONFIGURATION",
+ "OBSERVATION"
+ ],
+ "enumDescriptions": [
+ "Unspecified finding class.",
+ "Describes unwanted or malicious activity.",
+ "Describes a potential weakness in software that increases risk to Confidentiality & Integrity & Availability.",
+ "Describes a potential weakness in cloud resource/asset configuration that increases risk.",
+ "Describes a security observation that is for informational purposes."
+ ],
+ "type": "string"
+ },
+ "indicator": {
+ "$ref": "Indicator",
+ "description": "Represents what's commonly known as an Indicator of compromise (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. Reference: https://en.wikipedia.org/wiki/Indicator_of_compromise"
+ },
"name": {
"description": "The relative resource name of this finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}\"",
"type": "string"
@@ -2588,6 +2610,27 @@
},
"type": "object"
},
+ "Indicator": {
+ "description": "Represents what's commonly known as an Indicator of compromise (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. Reference: https://en.wikipedia.org/wiki/Indicator_of_compromise",
+ "id": "Indicator",
+ "properties": {
+ "domains": {
+ "description": "List of domains associated to the Finding.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "ipAddresses": {
+ "description": "List of ip addresses associated to the Finding.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"ListAssetsResponse": {
"description": "Response message for listing assets.",
"id": "ListAssetsResponse",
diff --git a/googleapiclient/discovery_cache/documents/securitycenter.v1beta1.json b/googleapiclient/discovery_cache/documents/securitycenter.v1beta1.json
index 1427c0e50..885ddcb4a 100644
--- a/googleapiclient/discovery_cache/documents/securitycenter.v1beta1.json
+++ b/googleapiclient/discovery_cache/documents/securitycenter.v1beta1.json
@@ -896,7 +896,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210716",
"rootUrl": "https://securitycenter.googleapis.com/",
"schemas": {
"Asset": {
@@ -1094,6 +1094,28 @@
"description": "The URI that, if available, points to a web page outside of Security Command Center where additional information about the finding can be found. This field is guaranteed to be either empty or a well formed URL.",
"type": "string"
},
+ "findingClass": {
+ "description": "The class of the finding.",
+ "enum": [
+ "FINDING_CLASS_UNSPECIFIED",
+ "THREAT",
+ "VULNERABILITY",
+ "MISCONFIGURATION",
+ "OBSERVATION"
+ ],
+ "enumDescriptions": [
+ "Unspecified finding class.",
+ "Describes unwanted or malicious activity.",
+ "Describes a potential weakness in software that increases risk to Confidentiality & Integrity & Availability.",
+ "Describes a potential weakness in cloud resource/asset configuration that increases risk.",
+ "Describes a security observation that is for informational purposes."
+ ],
+ "type": "string"
+ },
+ "indicator": {
+ "$ref": "Indicator",
+ "description": "Represents what's commonly known as an Indicator of compromise (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. Reference: https://en.wikipedia.org/wiki/Indicator_of_compromise"
+ },
"name": {
"description": "The relative resource name of this finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}\"",
"type": "string"
@@ -1714,6 +1736,27 @@
},
"type": "object"
},
+ "Indicator": {
+ "description": "Represents what's commonly known as an Indicator of compromise (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. Reference: https://en.wikipedia.org/wiki/Indicator_of_compromise",
+ "id": "Indicator",
+ "properties": {
+ "domains": {
+ "description": "List of domains associated to the Finding.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "ipAddresses": {
+ "description": "List of ip addresses associated to the Finding.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"ListAssetsResponse": {
"description": "Response message for listing assets.",
"id": "ListAssetsResponse",
diff --git a/googleapiclient/discovery_cache/documents/securitycenter.v1beta2.json b/googleapiclient/discovery_cache/documents/securitycenter.v1beta2.json
index 44c5a4793..af088a45f 100644
--- a/googleapiclient/discovery_cache/documents/securitycenter.v1beta2.json
+++ b/googleapiclient/discovery_cache/documents/securitycenter.v1beta2.json
@@ -1328,7 +1328,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210716",
"rootUrl": "https://securitycenter.googleapis.com/",
"schemas": {
"Config": {
@@ -1508,6 +1508,28 @@
"description": "The URI that, if available, points to a web page outside of Security Command Center where additional information about the finding can be found. This field is guaranteed to be either empty or a well formed URL.",
"type": "string"
},
+ "findingClass": {
+ "description": "The class of the finding.",
+ "enum": [
+ "FINDING_CLASS_UNSPECIFIED",
+ "THREAT",
+ "VULNERABILITY",
+ "MISCONFIGURATION",
+ "OBSERVATION"
+ ],
+ "enumDescriptions": [
+ "Unspecified finding class.",
+ "Describes unwanted or malicious activity.",
+ "Describes a potential weakness in software that increases risk to Confidentiality & Integrity & Availability.",
+ "Describes a potential weakness in cloud resource/asset configuration that increases risk.",
+ "Describes a security observation that is for informational purposes."
+ ],
+ "type": "string"
+ },
+ "indicator": {
+ "$ref": "Indicator",
+ "description": "Represents what's commonly known as an Indicator of compromise (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. Reference: https://en.wikipedia.org/wiki/Indicator_of_compromise"
+ },
"name": {
"description": "The relative resource name of this finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}\"",
"type": "string"
@@ -1896,6 +1918,27 @@
},
"type": "object"
},
+ "Indicator": {
+ "description": "Represents what's commonly known as an Indicator of compromise (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. Reference: https://en.wikipedia.org/wiki/Indicator_of_compromise",
+ "id": "Indicator",
+ "properties": {
+ "domains": {
+ "description": "List of domains associated to the Finding.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "ipAddresses": {
+ "description": "List of ip addresses associated to the Finding.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"SecurityCenterSettings": {
"description": "Resource capturing the settings for Security Center.",
"id": "SecurityCenterSettings",
diff --git a/googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1.json b/googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1.json
index 88f953b00..dd76f1044 100644
--- a/googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1.json
+++ b/googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1.json
@@ -542,7 +542,7 @@
}
}
},
- "revision": "20210717",
+ "revision": "20210723",
"rootUrl": "https://serviceconsumermanagement.googleapis.com/",
"schemas": {
"AddTenantProjectRequest": {
diff --git a/googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1beta1.json b/googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1beta1.json
index 8a34f48e9..49ffa122a 100644
--- a/googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1beta1.json
+++ b/googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1beta1.json
@@ -500,7 +500,7 @@
}
}
},
- "revision": "20210717",
+ "revision": "20210723",
"rootUrl": "https://serviceconsumermanagement.googleapis.com/",
"schemas": {
"Api": {
diff --git a/googleapiclient/discovery_cache/documents/servicedirectory.v1.json b/googleapiclient/discovery_cache/documents/servicedirectory.v1.json
index a78dd8a98..963806e1c 100644
--- a/googleapiclient/discovery_cache/documents/servicedirectory.v1.json
+++ b/googleapiclient/discovery_cache/documents/servicedirectory.v1.json
@@ -883,7 +883,7 @@
}
}
},
- "revision": "20210707",
+ "revision": "20210716",
"rootUrl": "https://servicedirectory.googleapis.com/",
"schemas": {
"Binding": {
@@ -926,7 +926,7 @@
"additionalProperties": {
"type": "string"
},
- "description": "Optional. Annotations for the endpoint. This data can be consumed by service clients. Restrictions: * The entire annotations dictionary may contain up to 512 characters, spread accoss all key-value pairs. Annotations that go beyond this limit are rejected * Valid annotation keys have two segments: an optional prefix and name, separated by a slash (/). The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots (.), not longer than 253 characters in total, followed by a slash (/) Annotations that fails to meet these requirements are rejected. * The `(*.)google.com/` and `(*.)googleapis.com/` prefixes are reserved for system annotations managed by Service Directory. If the user tries to write to these keyspaces, those entries are silently ignored by the system Note: This field is equivalent to the `metadata` field in the v1beta1 API. They have the same syntax and read/write to the same location in Service Directory.",
+ "description": "Optional. Annotations for the endpoint. This data can be consumed by service clients. Restrictions: * The entire annotations dictionary may contain up to 512 characters, spread accoss all key-value pairs. Annotations that go beyond this limit are rejected * Valid annotation keys have two segments: an optional prefix and name, separated by a slash (/). The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots (.), not longer than 253 characters in total, followed by a slash (/) Annotations that fails to meet these requirements are rejected. Note: This field is equivalent to the `metadata` field in the v1beta1 API. They have the same syntax and read/write to the same location in Service Directory.",
"type": "object"
},
"name": {
@@ -1169,7 +1169,7 @@
"additionalProperties": {
"type": "string"
},
- "description": "Optional. Annotations for the service. This data can be consumed by service clients. Restrictions: * The entire annotations dictionary may contain up to 2000 characters, spread accoss all key-value pairs. Annotations that go beyond this limit are rejected * Valid annotation keys have two segments: an optional prefix and name, separated by a slash (/). The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots (.), not longer than 253 characters in total, followed by a slash (/). Annotations that fails to meet these requirements are rejected * The `(*.)google.com/` and `(*.)googleapis.com/` prefixes are reserved for system annotations managed by Service Directory. If the user tries to write to these keyspaces, those entries are silently ignored by the system Note: This field is equivalent to the `metadata` field in the v1beta1 API. They have the same syntax and read/write to the same location in Service Directory.",
+ "description": "Optional. Annotations for the service. This data can be consumed by service clients. Restrictions: * The entire annotations dictionary may contain up to 2000 characters, spread accoss all key-value pairs. Annotations that go beyond this limit are rejected * Valid annotation keys have two segments: an optional prefix and name, separated by a slash (/). The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots (.), not longer than 253 characters in total, followed by a slash (/). Annotations that fails to meet these requirements are rejected Note: This field is equivalent to the `metadata` field in the v1beta1 API. They have the same syntax and read/write to the same location in Service Directory.",
"type": "object"
},
"endpoints": {
diff --git a/googleapiclient/discovery_cache/documents/servicedirectory.v1beta1.json b/googleapiclient/discovery_cache/documents/servicedirectory.v1beta1.json
index f819ef5ce..d9b7c6592 100644
--- a/googleapiclient/discovery_cache/documents/servicedirectory.v1beta1.json
+++ b/googleapiclient/discovery_cache/documents/servicedirectory.v1beta1.json
@@ -883,7 +883,7 @@
}
}
},
- "revision": "20210707",
+ "revision": "20210716",
"rootUrl": "https://servicedirectory.googleapis.com/",
"schemas": {
"Binding": {
@@ -932,7 +932,7 @@
"additionalProperties": {
"type": "string"
},
- "description": "Optional. Metadata for the endpoint. This data can be consumed by service clients. Restrictions: * The entire metadata dictionary may contain up to 512 characters, spread accoss all key-value pairs. Metadata that goes beyond this limit are rejected * Valid metadata keys have two segments: an optional prefix and name, separated by a slash (/). The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots (.), not longer than 253 characters in total, followed by a slash (/). Metadata that fails to meet these requirements are rejected * The `(*.)google.com/` and `(*.)googleapis.com/` prefixes are reserved for system metadata managed by Service Directory. If the user tries to write to these keyspaces, those entries are silently ignored by the system Note: This field is equivalent to the `annotations` field in the v1 API. They have the same syntax and read/write to the same location in Service Directory.",
+ "description": "Optional. Metadata for the endpoint. This data can be consumed by service clients. Restrictions: * The entire metadata dictionary may contain up to 512 characters, spread accoss all key-value pairs. Metadata that goes beyond this limit are rejected * Valid metadata keys have two segments: an optional prefix and name, separated by a slash (/). The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots (.), not longer than 253 characters in total, followed by a slash (/). Metadata that fails to meet these requirements are rejected Note: This field is equivalent to the `annotations` field in the v1 API. They have the same syntax and read/write to the same location in Service Directory.",
"type": "object"
},
"name": {
@@ -1211,7 +1211,7 @@
"additionalProperties": {
"type": "string"
},
- "description": "Optional. Metadata for the service. This data can be consumed by service clients. Restrictions: * The entire metadata dictionary may contain up to 2000 characters, spread accoss all key-value pairs. Metadata that goes beyond this limit are rejected * Valid metadata keys have two segments: an optional prefix and name, separated by a slash (/). The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots (.), not longer than 253 characters in total, followed by a slash (/). Metadata that fails to meet these requirements are rejected * The `(*.)google.com/` and `(*.)googleapis.com/` prefixes are reserved for system metadata managed by Service Directory. If the user tries to write to these keyspaces, those entries are silently ignored by the system Note: This field is equivalent to the `annotations` field in the v1 API. They have the same syntax and read/write to the same location in Service Directory.",
+ "description": "Optional. Metadata for the service. This data can be consumed by service clients. Restrictions: * The entire metadata dictionary may contain up to 2000 characters, spread accoss all key-value pairs. Metadata that goes beyond this limit are rejected * Valid metadata keys have two segments: an optional prefix and name, separated by a slash (/). The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots (.), not longer than 253 characters in total, followed by a slash (/). Metadata that fails to meet these requirements are rejected Note: This field is equivalent to the `annotations` field in the v1 API. They have the same syntax and read/write to the same location in Service Directory.",
"type": "object"
},
"name": {
diff --git a/googleapiclient/discovery_cache/documents/servicemanagement.v1.json b/googleapiclient/discovery_cache/documents/servicemanagement.v1.json
index 1178a2b7f..001a664f6 100644
--- a/googleapiclient/discovery_cache/documents/servicemanagement.v1.json
+++ b/googleapiclient/discovery_cache/documents/servicemanagement.v1.json
@@ -829,7 +829,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210716",
"rootUrl": "https://servicemanagement.googleapis.com/",
"schemas": {
"Advice": {
diff --git a/googleapiclient/discovery_cache/documents/servicenetworking.v1.json b/googleapiclient/discovery_cache/documents/servicenetworking.v1.json
index 5eeb73305..8bd3dc13b 100644
--- a/googleapiclient/discovery_cache/documents/servicenetworking.v1.json
+++ b/googleapiclient/discovery_cache/documents/servicenetworking.v1.json
@@ -860,7 +860,7 @@
}
}
},
- "revision": "20210717",
+ "revision": "20210721",
"rootUrl": "https://servicenetworking.googleapis.com/",
"schemas": {
"AddDnsRecordSetMetadata": {
diff --git a/googleapiclient/discovery_cache/documents/servicenetworking.v1beta.json b/googleapiclient/discovery_cache/documents/servicenetworking.v1beta.json
index 6de3b7a46..e91792b30 100644
--- a/googleapiclient/discovery_cache/documents/servicenetworking.v1beta.json
+++ b/googleapiclient/discovery_cache/documents/servicenetworking.v1beta.json
@@ -307,7 +307,7 @@
}
}
},
- "revision": "20210717",
+ "revision": "20210721",
"rootUrl": "https://servicenetworking.googleapis.com/",
"schemas": {
"AddDnsRecordSetMetadata": {
diff --git a/googleapiclient/discovery_cache/documents/serviceusage.v1.json b/googleapiclient/discovery_cache/documents/serviceusage.v1.json
index 301872a8c..8d328a87f 100644
--- a/googleapiclient/discovery_cache/documents/serviceusage.v1.json
+++ b/googleapiclient/discovery_cache/documents/serviceusage.v1.json
@@ -426,7 +426,7 @@
}
}
},
- "revision": "20210717",
+ "revision": "20210723",
"rootUrl": "https://serviceusage.googleapis.com/",
"schemas": {
"AdminQuotaPolicy": {
diff --git a/googleapiclient/discovery_cache/documents/serviceusage.v1beta1.json b/googleapiclient/discovery_cache/documents/serviceusage.v1beta1.json
index 8338eda1e..b336712f5 100644
--- a/googleapiclient/discovery_cache/documents/serviceusage.v1beta1.json
+++ b/googleapiclient/discovery_cache/documents/serviceusage.v1beta1.json
@@ -959,7 +959,7 @@
}
}
},
- "revision": "20210717",
+ "revision": "20210723",
"rootUrl": "https://serviceusage.googleapis.com/",
"schemas": {
"AdminQuotaPolicy": {
diff --git a/googleapiclient/discovery_cache/documents/sheets.v4.json b/googleapiclient/discovery_cache/documents/sheets.v4.json
index ade1049cd..7e7d3cfbb 100644
--- a/googleapiclient/discovery_cache/documents/sheets.v4.json
+++ b/googleapiclient/discovery_cache/documents/sheets.v4.json
@@ -870,7 +870,7 @@
}
}
},
- "revision": "20210712",
+ "revision": "20210719",
"rootUrl": "https://sheets.googleapis.com/",
"schemas": {
"AddBandingRequest": {
diff --git a/googleapiclient/discovery_cache/documents/slides.v1.json b/googleapiclient/discovery_cache/documents/slides.v1.json
index 8cc3656f3..8b7688b3b 100644
--- a/googleapiclient/discovery_cache/documents/slides.v1.json
+++ b/googleapiclient/discovery_cache/documents/slides.v1.json
@@ -313,7 +313,7 @@
}
}
},
- "revision": "20210715",
+ "revision": "20210723",
"rootUrl": "https://slides.googleapis.com/",
"schemas": {
"AffineTransform": {
diff --git a/googleapiclient/discovery_cache/documents/smartdevicemanagement.v1.json b/googleapiclient/discovery_cache/documents/smartdevicemanagement.v1.json
index 7327b9cda..b811638e1 100644
--- a/googleapiclient/discovery_cache/documents/smartdevicemanagement.v1.json
+++ b/googleapiclient/discovery_cache/documents/smartdevicemanagement.v1.json
@@ -355,7 +355,7 @@
}
}
},
- "revision": "20210705",
+ "revision": "20210717",
"rootUrl": "https://smartdevicemanagement.googleapis.com/",
"schemas": {
"GoogleHomeEnterpriseSdmV1Device": {
diff --git a/googleapiclient/discovery_cache/documents/speech.v1.json b/googleapiclient/discovery_cache/documents/speech.v1.json
index c81e36957..de56af24d 100644
--- a/googleapiclient/discovery_cache/documents/speech.v1.json
+++ b/googleapiclient/discovery_cache/documents/speech.v1.json
@@ -212,7 +212,7 @@
}
}
},
- "revision": "20210706",
+ "revision": "20210714",
"rootUrl": "https://speech.googleapis.com/",
"schemas": {
"ListOperationsResponse": {
diff --git a/googleapiclient/discovery_cache/documents/speech.v1p1beta1.json b/googleapiclient/discovery_cache/documents/speech.v1p1beta1.json
index 78243a597..042480646 100644
--- a/googleapiclient/discovery_cache/documents/speech.v1p1beta1.json
+++ b/googleapiclient/discovery_cache/documents/speech.v1p1beta1.json
@@ -524,7 +524,7 @@
}
}
},
- "revision": "20210706",
+ "revision": "20210714",
"rootUrl": "https://speech.googleapis.com/",
"schemas": {
"ClassItem": {
@@ -547,7 +547,7 @@
"description": "Required. The custom class to create."
},
"customClassId": {
- "description": "The ID to use for the custom class, which will become the final component of the custom class' resource name. This value should be 4-63 characters, and valid characters are /a-z-/.",
+ "description": "Required. The ID to use for the custom class, which will become the final component of the custom class' resource name. This value should be 4-63 characters, and valid characters are /a-z-/.",
"type": "string"
}
},
@@ -562,7 +562,7 @@
"description": "Required. The phrase set to create."
},
"phraseSetId": {
- "description": "The ID to use for the phrase set, which will become the final component of the phrase set's resource name. This value should be 4-63 characters, and valid characters are /a-z-/.",
+ "description": "Required. The ID to use for the phrase set, which will become the final component of the phrase set's resource name. This value should be 4-63 characters, and valid characters are /a-z-/.",
"type": "string"
}
},
@@ -596,6 +596,25 @@
"properties": {},
"type": "object"
},
+ "Entry": {
+ "description": "A single replacement configuration.",
+ "id": "Entry",
+ "properties": {
+ "caseSensitive": {
+ "description": "Whether the search is case sensitive.",
+ "type": "boolean"
+ },
+ "replace": {
+ "description": "What to replace with. Max length is 100 characters.",
+ "type": "string"
+ },
+ "search": {
+ "description": "What to replace. Max length is 100 characters.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"ListCustomClassesResponse": {
"description": "Message returned to the client by the `ListCustomClasses` method.",
"id": "ListCustomClassesResponse",
@@ -931,6 +950,10 @@
},
"type": "array"
},
+ "transcriptNormalization": {
+ "$ref": "TranscriptNormalization",
+ "description": "Use transcription normalization to automatically replace parts of the transcript with phrases of your choosing. For StreamingRecognize, this normalization only applies to stable partial transcripts (stability > 0.8) and final transcripts."
+ },
"useEnhanced": {
"description": "Set to true to use an enhanced model for speech recognition. If `use_enhanced` is set to true and the `model` field is not set, then an appropriate enhanced model is chosen if an enhanced model exists for the audio. If `use_enhanced` is true and an enhanced version of the specified model does not exist, then the speech is recognized using the standard version of the specified model.",
"type": "boolean"
@@ -1222,6 +1245,17 @@
},
"type": "object"
},
+ "TranscriptNormalization": {
+ "description": "Transcription normalization configuration. Use transcription normalization to automatically replace parts of the transcript with phrases of your choosing. For StreamingRecognize, this normalization only applies to stable partial transcripts (stability > 0.8) and final transcripts.",
+ "id": "TranscriptNormalization",
+ "properties": {
+ "entries": {
+ "$ref": "Entry",
+ "description": "A list of replacement entries. We will perform replacement with one entry at a time. For example, the second entry in [\"cat\" => \"dog\", \"mountain cat\" => \"mountain dog\"] will never be applied because we will always process the first entry before it. At most 100 entries."
+ }
+ },
+ "type": "object"
+ },
"TranscriptOutputConfig": {
"description": "Specifies an optional destination for the recognition results.",
"id": "TranscriptOutputConfig",
diff --git a/googleapiclient/discovery_cache/documents/speech.v2beta1.json b/googleapiclient/discovery_cache/documents/speech.v2beta1.json
index 8f6bc9e1c..579a81c35 100644
--- a/googleapiclient/discovery_cache/documents/speech.v2beta1.json
+++ b/googleapiclient/discovery_cache/documents/speech.v2beta1.json
@@ -184,7 +184,7 @@
}
}
},
- "revision": "20210706",
+ "revision": "20210714",
"rootUrl": "https://speech.googleapis.com/",
"schemas": {
"ListOperationsResponse": {
diff --git a/googleapiclient/discovery_cache/documents/sqladmin.v1.json b/googleapiclient/discovery_cache/documents/sqladmin.v1.json
index 3efd399d3..98d9701a3 100644
--- a/googleapiclient/discovery_cache/documents/sqladmin.v1.json
+++ b/googleapiclient/discovery_cache/documents/sqladmin.v1.json
@@ -108,13 +108,808 @@
},
"protocol": "rest",
"resources": {
+ "backupRuns": {
+ "methods": {
+ "delete": {
+ "description": "Deletes the backup taken by a backup run.",
+ "flatPath": "v1/projects/{project}/instances/{instance}/backupRuns/{id}",
+ "httpMethod": "DELETE",
+ "id": "sql.backupRuns.delete",
+ "parameterOrder": [
+ "project",
+ "instance",
+ "id"
+ ],
+ "parameters": {
+ "id": {
+ "description": "The ID of the backup run to delete. To find a backup run ID, use the list method.",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "instance": {
+ "description": "Cloud SQL instance ID. This does not include the project ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID of the project that contains the instance.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{project}/instances/{instance}/backupRuns/{id}",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/sqlservice.admin"
+ ]
+ },
+ "get": {
+ "description": "Retrieves a resource containing information about a backup run.",
+ "flatPath": "v1/projects/{project}/instances/{instance}/backupRuns/{id}",
+ "httpMethod": "GET",
+ "id": "sql.backupRuns.get",
+ "parameterOrder": [
+ "project",
+ "instance",
+ "id"
+ ],
+ "parameters": {
+ "id": {
+ "description": "The ID of this backup run.",
+ "format": "int64",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "instance": {
+ "description": "Cloud SQL instance ID. This does not include the project ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID of the project that contains the instance.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{project}/instances/{instance}/backupRuns/{id}",
+ "response": {
+ "$ref": "BackupRun"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/sqlservice.admin"
+ ]
+ },
+ "insert": {
+ "description": "Creates a new backup run on demand.",
+ "flatPath": "v1/projects/{project}/instances/{instance}/backupRuns",
+ "httpMethod": "POST",
+ "id": "sql.backupRuns.insert",
+ "parameterOrder": [
+ "project",
+ "instance"
+ ],
+ "parameters": {
+ "instance": {
+ "description": "Cloud SQL instance ID. This does not include the project ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID of the project that contains the instance.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{project}/instances/{instance}/backupRuns",
+ "request": {
+ "$ref": "BackupRun"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/sqlservice.admin"
+ ]
+ },
+ "list": {
+ "description": "Lists all backup runs associated with the project or a given instance and configuration in the reverse chronological order of the backup initiation time.",
+ "flatPath": "v1/projects/{project}/instances/{instance}/backupRuns",
+ "httpMethod": "GET",
+ "id": "sql.backupRuns.list",
+ "parameterOrder": [
+ "project",
+ "instance"
+ ],
+ "parameters": {
+ "instance": {
+ "description": "Cloud SQL instance ID, or \"-\" for all instances. This does not include the project ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "maxResults": {
+ "description": "Maximum number of backup runs per response.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "A previously-returned page token representing part of the larger set of results to view.",
+ "location": "query",
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID of the project that contains the instance.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{project}/instances/{instance}/backupRuns",
+ "response": {
+ "$ref": "BackupRunsListResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/sqlservice.admin"
+ ]
+ }
+ }
+ },
+ "connect": {
+ "methods": {
+ "generateEphemeralCert": {
+ "description": "Generates a short-lived X509 certificate containing the provided public key and signed by a private key specific to the target instance. Users may use the certificate to authenticate as themselves when connecting to the database.",
+ "flatPath": "v1/projects/{project}/instances/{instance}:generateEphemeralCert",
+ "httpMethod": "POST",
+ "id": "sql.connect.generateEphemeral",
+ "parameterOrder": [
+ "project",
+ "instance"
+ ],
+ "parameters": {
+ "instance": {
+ "description": "Cloud SQL instance ID. This does not include the project ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID of the project that contains the instance.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{project}/instances/{instance}:generateEphemeralCert",
+ "request": {
+ "$ref": "GenerateEphemeralCertRequest"
+ },
+ "response": {
+ "$ref": "GenerateEphemeralCertResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/sqlservice.admin"
+ ]
+ },
+ "get": {
+ "description": "Retrieves connect settings about a Cloud SQL instance.",
+ "flatPath": "v1/projects/{project}/instances/{instance}/connectSettings",
+ "httpMethod": "GET",
+ "id": "sql.connect.get",
+ "parameterOrder": [
+ "project",
+ "instance"
+ ],
+ "parameters": {
+ "instance": {
+ "description": "Cloud SQL instance ID. This does not include the project ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID of the project that contains the instance.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "readTime": {
+ "description": "Optional. Optional snapshot read timestamp to trade freshness for performance.",
+ "format": "google-datetime",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{project}/instances/{instance}/connectSettings",
+ "response": {
+ "$ref": "ConnectSettings"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/sqlservice.admin"
+ ]
+ }
+ }
+ },
+ "databases": {
+ "methods": {
+ "delete": {
+ "description": "Deletes a database from a Cloud SQL instance.",
+ "flatPath": "v1/projects/{project}/instances/{instance}/databases/{database}",
+ "httpMethod": "DELETE",
+ "id": "sql.databases.delete",
+ "parameterOrder": [
+ "project",
+ "instance",
+ "database"
+ ],
+ "parameters": {
+ "database": {
+ "description": "Name of the database to be deleted in the instance.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "instance": {
+ "description": "Database instance ID. This does not include the project ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID of the project that contains the instance.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{project}/instances/{instance}/databases/{database}",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/sqlservice.admin"
+ ]
+ },
+ "get": {
+ "description": "Retrieves a resource containing information about a database inside a Cloud SQL instance.",
+ "flatPath": "v1/projects/{project}/instances/{instance}/databases/{database}",
+ "httpMethod": "GET",
+ "id": "sql.databases.get",
+ "parameterOrder": [
+ "project",
+ "instance",
+ "database"
+ ],
+ "parameters": {
+ "database": {
+ "description": "Name of the database in the instance.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "instance": {
+ "description": "Database instance ID. This does not include the project ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID of the project that contains the instance.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{project}/instances/{instance}/databases/{database}",
+ "response": {
+ "$ref": "Database"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/sqlservice.admin"
+ ]
+ },
+ "insert": {
+ "description": "Inserts a resource containing information about a database inside a Cloud SQL instance.",
+ "flatPath": "v1/projects/{project}/instances/{instance}/databases",
+ "httpMethod": "POST",
+ "id": "sql.databases.insert",
+ "parameterOrder": [
+ "project",
+ "instance"
+ ],
+ "parameters": {
+ "instance": {
+ "description": "Database instance ID. This does not include the project ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID of the project that contains the instance.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{project}/instances/{instance}/databases",
+ "request": {
+ "$ref": "Database"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/sqlservice.admin"
+ ]
+ },
+ "list": {
+ "description": "Lists databases in the specified Cloud SQL instance.",
+ "flatPath": "v1/projects/{project}/instances/{instance}/databases",
+ "httpMethod": "GET",
+ "id": "sql.databases.list",
+ "parameterOrder": [
+ "project",
+ "instance"
+ ],
+ "parameters": {
+ "instance": {
+ "description": "Cloud SQL instance ID. This does not include the project ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID of the project that contains the instance.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{project}/instances/{instance}/databases",
+ "response": {
+ "$ref": "DatabasesListResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/sqlservice.admin"
+ ]
+ },
+ "patch": {
+ "description": "Partially updates a resource containing information about a database inside a Cloud SQL instance. This method supports patch semantics.",
+ "flatPath": "v1/projects/{project}/instances/{instance}/databases/{database}",
+ "httpMethod": "PATCH",
+ "id": "sql.databases.patch",
+ "parameterOrder": [
+ "project",
+ "instance",
+ "database"
+ ],
+ "parameters": {
+ "database": {
+ "description": "Name of the database to be updated in the instance.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "instance": {
+ "description": "Database instance ID. This does not include the project ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID of the project that contains the instance.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{project}/instances/{instance}/databases/{database}",
+ "request": {
+ "$ref": "Database"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/sqlservice.admin"
+ ]
+ },
+ "update": {
+ "description": "Updates a resource containing information about a database inside a Cloud SQL instance.",
+ "flatPath": "v1/projects/{project}/instances/{instance}/databases/{database}",
+ "httpMethod": "PUT",
+ "id": "sql.databases.update",
+ "parameterOrder": [
+ "project",
+ "instance",
+ "database"
+ ],
+ "parameters": {
+ "database": {
+ "description": "Name of the database to be updated in the instance.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "instance": {
+ "description": "Database instance ID. This does not include the project ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID of the project that contains the instance.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{project}/instances/{instance}/databases/{database}",
+ "request": {
+ "$ref": "Database"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/sqlservice.admin"
+ ]
+ }
+ }
+ },
+ "flags": {
+ "methods": {
+ "list": {
+ "description": "Lists all available database flags for Cloud SQL instances.",
+ "flatPath": "v1/flags",
+ "httpMethod": "GET",
+ "id": "sql.flags.list",
+ "parameterOrder": [],
+ "parameters": {
+ "databaseVersion": {
+ "description": "Database type and version you want to retrieve flags for. By default, this method returns flags for all database types and versions.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/flags",
+ "response": {
+ "$ref": "FlagsListResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/sqlservice.admin"
+ ]
+ }
+ }
+ },
"instances": {
"methods": {
+ "addServerCa": {
+ "description": "Adds a new trusted Certificate Authority (CA) version for the specified instance. Required to prepare for a certificate rotation. If a CA version was previously added but never used in a certificate rotation, this operation replaces that version. There cannot be more than one CA version waiting to be rotated in.",
+ "flatPath": "v1/projects/{project}/instances/{instance}/addServerCa",
+ "httpMethod": "POST",
+ "id": "sql.instances.addServerCa",
+ "parameterOrder": [
+ "project",
+ "instance"
+ ],
+ "parameters": {
+ "instance": {
+ "description": "Cloud SQL instance ID. This does not include the project ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID of the project that contains the instance.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{project}/instances/{instance}/addServerCa",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/sqlservice.admin"
+ ]
+ },
+ "clone": {
+ "description": "Creates a Cloud SQL instance as a clone of the source instance. Using this operation might cause your instance to restart.",
+ "flatPath": "v1/projects/{project}/instances/{instance}/clone",
+ "httpMethod": "POST",
+ "id": "sql.instances.clone",
+ "parameterOrder": [
+ "project",
+ "instance"
+ ],
+ "parameters": {
+ "instance": {
+ "description": "The ID of the Cloud SQL instance to be cloned (source). This does not include the project ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID of the source as well as the clone Cloud SQL instance.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{project}/instances/{instance}/clone",
+ "request": {
+ "$ref": "InstancesCloneRequest"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/sqlservice.admin"
+ ]
+ },
+ "delete": {
+ "description": "Deletes a Cloud SQL instance.",
+ "flatPath": "v1/projects/{project}/instances/{instance}",
+ "httpMethod": "DELETE",
+ "id": "sql.instances.delete",
+ "parameterOrder": [
+ "project",
+ "instance"
+ ],
+ "parameters": {
+ "instance": {
+ "description": "Cloud SQL instance ID. This does not include the project ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID of the project that contains the instance to be deleted.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{project}/instances/{instance}",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/sqlservice.admin"
+ ]
+ },
+ "demoteMaster": {
+ "description": "Demotes the stand-alone instance to be a Cloud SQL read replica for an external database server.",
+ "flatPath": "v1/projects/{project}/instances/{instance}/demoteMaster",
+ "httpMethod": "POST",
+ "id": "sql.instances.demoteMaster",
+ "parameterOrder": [
+ "project",
+ "instance"
+ ],
+ "parameters": {
+ "instance": {
+ "description": "Cloud SQL instance name.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "ID of the project that contains the instance.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{project}/instances/{instance}/demoteMaster",
+ "request": {
+ "$ref": "InstancesDemoteMasterRequest"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/sqlservice.admin"
+ ]
+ },
+ "export": {
+ "description": "Exports data from a Cloud SQL instance to a Cloud Storage bucket as a SQL dump or CSV file.",
+ "flatPath": "v1/projects/{project}/instances/{instance}/export",
+ "httpMethod": "POST",
+ "id": "sql.instances.export",
+ "parameterOrder": [
+ "project",
+ "instance"
+ ],
+ "parameters": {
+ "instance": {
+ "description": "Cloud SQL instance ID. This does not include the project ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID of the project that contains the instance to be exported.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{project}/instances/{instance}/export",
+ "request": {
+ "$ref": "InstancesExportRequest"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "failover": {
+ "description": "Initiates a manual failover of a high availability (HA) primary instance to a standby instance, which becomes the primary instance. Users are then rerouted to the new primary. For more information, see the Overview of high availability page in the Cloud SQL documentation. If using Legacy HA (MySQL only), this causes the instance to failover to its failover replica instance.",
+ "flatPath": "v1/projects/{project}/instances/{instance}/failover",
+ "httpMethod": "POST",
+ "id": "sql.instances.failover",
+ "parameterOrder": [
+ "project",
+ "instance"
+ ],
+ "parameters": {
+ "instance": {
+ "description": "Cloud SQL instance ID. This does not include the project ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "ID of the project that contains the read replica.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{project}/instances/{instance}/failover",
+ "request": {
+ "$ref": "InstancesFailoverRequest"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/sqlservice.admin"
+ ]
+ },
+ "get": {
+ "description": "Retrieves a resource containing information about a Cloud SQL instance.",
+ "flatPath": "v1/projects/{project}/instances/{instance}",
+ "httpMethod": "GET",
+ "id": "sql.instances.get",
+ "parameterOrder": [
+ "project",
+ "instance"
+ ],
+ "parameters": {
+ "instance": {
+ "description": "Database instance ID. This does not include the project ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID of the project that contains the instance.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{project}/instances/{instance}",
+ "response": {
+ "$ref": "DatabaseInstance"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/sqlservice.admin"
+ ]
+ },
+ "import": {
+ "description": "Imports data into a Cloud SQL instance from a SQL dump or CSV file in Cloud Storage.",
+ "flatPath": "v1/projects/{project}/instances/{instance}/import",
+ "httpMethod": "POST",
+ "id": "sql.instances.import",
+ "parameterOrder": [
+ "project",
+ "instance"
+ ],
+ "parameters": {
+ "instance": {
+ "description": "Cloud SQL instance ID. This does not include the project ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID of the project that contains the instance.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{project}/instances/{instance}/import",
+ "request": {
+ "$ref": "InstancesImportRequest"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
+ "insert": {
+ "description": "Creates a new Cloud SQL instance.",
+ "flatPath": "v1/projects/{project}/instances",
+ "httpMethod": "POST",
+ "id": "sql.instances.insert",
+ "parameterOrder": [
+ "project"
+ ],
+ "parameters": {
+ "project": {
+ "description": "Project ID of the project to which the newly created Cloud SQL instances should belong.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{project}/instances",
+ "request": {
+ "$ref": "DatabaseInstance"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/sqlservice.admin"
+ ]
+ },
"list": {
"description": "Lists instances under a given project.",
"flatPath": "v1/projects/{project}/instances",
"httpMethod": "GET",
- "id": "sqladmin.instances.list",
+ "id": "sql.instances.list",
"parameterOrder": [
"project"
],
@@ -150,6 +945,450 @@
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/sqlservice.admin"
]
+ },
+ "listServerCas": {
+ "description": "Lists all of the trusted Certificate Authorities (CAs) for the specified instance. There can be up to three CAs listed: the CA that was used to sign the certificate that is currently in use, a CA that has been added but not yet used to sign a certificate, and a CA used to sign a certificate that has previously rotated out.",
+ "flatPath": "v1/projects/{project}/instances/{instance}/listServerCas",
+ "httpMethod": "GET",
+ "id": "sql.instances.listServerCas",
+ "parameterOrder": [
+ "project",
+ "instance"
+ ],
+ "parameters": {
+ "instance": {
+ "description": "Cloud SQL instance ID. This does not include the project ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID of the project that contains the instance.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{project}/instances/{instance}/listServerCas",
+ "response": {
+ "$ref": "InstancesListServerCasResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/sqlservice.admin"
+ ]
+ },
+ "patch": {
+ "description": "Updates settings of a Cloud SQL instance. This method supports patch semantics.",
+ "flatPath": "v1/projects/{project}/instances/{instance}",
+ "httpMethod": "PATCH",
+ "id": "sql.instances.patch",
+ "parameterOrder": [
+ "project",
+ "instance"
+ ],
+ "parameters": {
+ "instance": {
+ "description": "Cloud SQL instance ID. This does not include the project ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID of the project that contains the instance.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{project}/instances/{instance}",
+ "request": {
+ "$ref": "DatabaseInstance"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/sqlservice.admin"
+ ]
+ },
+ "promoteReplica": {
+ "description": "Promotes the read replica instance to be a stand-alone Cloud SQL instance. Using this operation might cause your instance to restart.",
+ "flatPath": "v1/projects/{project}/instances/{instance}/promoteReplica",
+ "httpMethod": "POST",
+ "id": "sql.instances.promoteReplica",
+ "parameterOrder": [
+ "project",
+ "instance"
+ ],
+ "parameters": {
+ "instance": {
+ "description": "Cloud SQL read replica instance name.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "ID of the project that contains the read replica.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{project}/instances/{instance}/promoteReplica",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/sqlservice.admin"
+ ]
+ },
+ "resetSslConfig": {
+ "description": "Deletes all client certificates and generates a new server SSL certificate for the instance.",
+ "flatPath": "v1/projects/{project}/instances/{instance}/resetSslConfig",
+ "httpMethod": "POST",
+ "id": "sql.instances.resetSslConfig",
+ "parameterOrder": [
+ "project",
+ "instance"
+ ],
+ "parameters": {
+ "instance": {
+ "description": "Cloud SQL instance ID. This does not include the project ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID of the project that contains the instance.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{project}/instances/{instance}/resetSslConfig",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/sqlservice.admin"
+ ]
+ },
+ "restart": {
+ "description": "Restarts a Cloud SQL instance.",
+ "flatPath": "v1/projects/{project}/instances/{instance}/restart",
+ "httpMethod": "POST",
+ "id": "sql.instances.restart",
+ "parameterOrder": [
+ "project",
+ "instance"
+ ],
+ "parameters": {
+ "instance": {
+ "description": "Cloud SQL instance ID. This does not include the project ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID of the project that contains the instance to be restarted.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{project}/instances/{instance}/restart",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/sqlservice.admin"
+ ]
+ },
+ "restoreBackup": {
+ "description": "Restores a backup of a Cloud SQL instance. Using this operation might cause your instance to restart.",
+ "flatPath": "v1/projects/{project}/instances/{instance}/restoreBackup",
+ "httpMethod": "POST",
+ "id": "sql.instances.restoreBackup",
+ "parameterOrder": [
+ "project",
+ "instance"
+ ],
+ "parameters": {
+ "instance": {
+ "description": "Cloud SQL instance ID. This does not include the project ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID of the project that contains the instance.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{project}/instances/{instance}/restoreBackup",
+ "request": {
+ "$ref": "InstancesRestoreBackupRequest"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/sqlservice.admin"
+ ]
+ },
+ "rotateServerCa": {
+ "description": "Rotates the server certificate to one signed by the Certificate Authority (CA) version previously added with the addServerCA method.",
+ "flatPath": "v1/projects/{project}/instances/{instance}/rotateServerCa",
+ "httpMethod": "POST",
+ "id": "sql.instances.rotateServerCa",
+ "parameterOrder": [
+ "project",
+ "instance"
+ ],
+ "parameters": {
+ "instance": {
+ "description": "Cloud SQL instance ID. This does not include the project ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID of the project that contains the instance.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{project}/instances/{instance}/rotateServerCa",
+ "request": {
+ "$ref": "InstancesRotateServerCaRequest"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/sqlservice.admin"
+ ]
+ },
+ "startReplica": {
+ "description": "Starts the replication in the read replica instance.",
+ "flatPath": "v1/projects/{project}/instances/{instance}/startReplica",
+ "httpMethod": "POST",
+ "id": "sql.instances.startReplica",
+ "parameterOrder": [
+ "project",
+ "instance"
+ ],
+ "parameters": {
+ "instance": {
+ "description": "Cloud SQL read replica instance name.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "ID of the project that contains the read replica.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{project}/instances/{instance}/startReplica",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/sqlservice.admin"
+ ]
+ },
+ "stopReplica": {
+ "description": "Stops the replication in the read replica instance.",
+ "flatPath": "v1/projects/{project}/instances/{instance}/stopReplica",
+ "httpMethod": "POST",
+ "id": "sql.instances.stopReplica",
+ "parameterOrder": [
+ "project",
+ "instance"
+ ],
+ "parameters": {
+ "instance": {
+ "description": "Cloud SQL read replica instance name.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "ID of the project that contains the read replica.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{project}/instances/{instance}/stopReplica",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/sqlservice.admin"
+ ]
+ },
+ "truncateLog": {
+ "description": "Truncate MySQL general and slow query log tables MySQL only.",
+ "flatPath": "v1/projects/{project}/instances/{instance}/truncateLog",
+ "httpMethod": "POST",
+ "id": "sql.instances.truncateLog",
+ "parameterOrder": [
+ "project",
+ "instance"
+ ],
+ "parameters": {
+ "instance": {
+ "description": "Cloud SQL instance ID. This does not include the project ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID of the Cloud SQL project.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{project}/instances/{instance}/truncateLog",
+ "request": {
+ "$ref": "InstancesTruncateLogRequest"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/sqlservice.admin"
+ ]
+ },
+ "update": {
+ "description": "Updates settings of a Cloud SQL instance. Using this operation might cause your instance to restart.",
+ "flatPath": "v1/projects/{project}/instances/{instance}",
+ "httpMethod": "PUT",
+ "id": "sql.instances.update",
+ "parameterOrder": [
+ "project",
+ "instance"
+ ],
+ "parameters": {
+ "instance": {
+ "description": "Cloud SQL instance ID. This does not include the project ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID of the project that contains the instance.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{project}/instances/{instance}",
+ "request": {
+ "$ref": "DatabaseInstance"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/sqlservice.admin"
+ ]
+ }
+ }
+ },
+ "operations": {
+ "methods": {
+ "get": {
+ "description": "Retrieves an instance operation that has been performed on an instance.",
+ "flatPath": "v1/projects/{project}/operations/{operation}",
+ "httpMethod": "GET",
+ "id": "sql.operations.get",
+ "parameterOrder": [
+ "project",
+ "operation"
+ ],
+ "parameters": {
+ "operation": {
+ "description": "Instance operation ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID of the project that contains the instance.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{project}/operations/{operation}",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/sqlservice.admin"
+ ]
+ },
+ "list": {
+ "description": "Lists all instance operations that have been performed on the given Cloud SQL instance in the reverse chronological order of the start time.",
+ "flatPath": "v1/projects/{project}/operations",
+ "httpMethod": "GET",
+ "id": "sql.operations.list",
+ "parameterOrder": [
+ "project"
+ ],
+ "parameters": {
+ "instance": {
+ "description": "Cloud SQL instance ID. This does not include the project ID.",
+ "location": "query",
+ "type": "string"
+ },
+ "maxResults": {
+ "description": "Maximum number of operations per response.",
+ "format": "uint32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "A previously-returned page token representing part of the larger set of results to view.",
+ "location": "query",
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID of the project that contains the instance.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{project}/operations",
+ "response": {
+ "$ref": "OperationsListResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/sqlservice.admin"
+ ]
}
}
},
@@ -157,11 +1396,11 @@
"resources": {
"instances": {
"methods": {
- "generateEphemeralCert": {
- "description": "Generates a short-lived X509 certificate containing the provided public key and signed by a private key specific to the target instance. Users may use the certificate to authenticate as themselves when connecting to the database.",
- "flatPath": "v1/projects/{project}/instances/{instance}:generateEphemeralCert",
+ "rescheduleMaintenance": {
+ "description": "Reschedules the maintenance on the given instance.",
+ "flatPath": "v1/projects/{project}/instances/{instance}/rescheduleMaintenance",
"httpMethod": "POST",
- "id": "sqladmin.projects.instances.generateEphemeralCert",
+ "id": "sql.projects.instances.rescheduleMaintenance",
"parameterOrder": [
"project",
"instance"
@@ -174,61 +1413,81 @@
"type": "string"
},
"project": {
- "description": "Project ID of the project that contains the instance.",
+ "description": "ID of the project that contains the instance.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "v1/projects/{project}/instances/{instance}:generateEphemeralCert",
+ "path": "v1/projects/{project}/instances/{instance}/rescheduleMaintenance",
"request": {
- "$ref": "GenerateEphemeralCertRequest"
+ "$ref": "SqlInstancesRescheduleMaintenanceRequestBody"
},
"response": {
- "$ref": "GenerateEphemeralCertResponse"
+ "$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/sqlservice.admin"
]
},
- "get": {
- "description": "Retrieves a resource containing information about a Cloud SQL instance.",
- "flatPath": "v1/projects/{project}/instances/{instance}",
- "httpMethod": "GET",
- "id": "sqladmin.projects.instances.get",
+ "startExternalSync": {
+ "description": "Start External primary instance migration.",
+ "flatPath": "v1/projects/{project}/instances/{instance}/startExternalSync",
+ "httpMethod": "POST",
+ "id": "sql.projects.instances.startExternalSync",
"parameterOrder": [
"project",
"instance"
],
"parameters": {
"instance": {
- "description": "Database instance ID. This does not include the project ID.",
+ "description": "Cloud SQL instance ID. This does not include the project ID.",
"location": "path",
"required": true,
"type": "string"
},
"project": {
- "description": "Project ID of the project that contains the instance.",
+ "description": "ID of the project that contains the instance.",
"location": "path",
"required": true,
"type": "string"
+ },
+ "skipVerification": {
+ "description": "Whether to skip the verification step (VESS).",
+ "location": "query",
+ "type": "boolean"
+ },
+ "syncMode": {
+ "description": "External sync mode.",
+ "enum": [
+ "EXTERNAL_SYNC_MODE_UNSPECIFIED",
+ "ONLINE",
+ "OFFLINE"
+ ],
+ "enumDescriptions": [
+ "Unknown external sync mode, will be defaulted to ONLINE mode",
+ "Online external sync will set up replication after initial data external sync",
+ "Offline external sync only dumps and loads a one-time snapshot of the primary instance's data"
+ ],
+ "location": "query",
+ "type": "string"
}
},
- "path": "v1/projects/{project}/instances/{instance}",
+ "path": "v1/projects/{project}/instances/{instance}/startExternalSync",
"response": {
- "$ref": "DatabaseInstance"
+ "$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/sqlservice.admin"
]
},
- "getConnectSettings": {
- "description": "Retrieves connect settings about a Cloud SQL instance.",
- "flatPath": "v1/projects/{project}/instances/{instance}/connectSettings",
- "httpMethod": "GET",
- "id": "sqladmin.projects.instances.getConnectSettings",
+ "verifyExternalSyncSettings": {
+ "description": "Verify External primary instance external sync settings.",
+ "flatPath": "v1/projects/{project}/instances/{instance}/verifyExternalSyncSettings",
+ "httpMethod": "POST",
+ "id": "sql.projects.instances.verifyExternalSyncSettings",
"parameterOrder": [
"project",
"instance"
@@ -246,69 +1505,474 @@
"required": true,
"type": "string"
},
- "readTime": {
- "description": "Optional. Optional snapshot read timestamp to trade freshness for performance.",
- "format": "google-datetime",
+ "syncMode": {
+ "description": "External sync mode",
+ "enum": [
+ "EXTERNAL_SYNC_MODE_UNSPECIFIED",
+ "ONLINE",
+ "OFFLINE"
+ ],
+ "enumDescriptions": [
+ "Unknown external sync mode, will be defaulted to ONLINE mode",
+ "Online external sync will set up replication after initial data external sync",
+ "Offline external sync only dumps and loads a one-time snapshot of the primary instance's data"
+ ],
"location": "query",
"type": "string"
+ },
+ "verifyConnectionOnly": {
+ "description": "Flag to enable verifying connection only",
+ "location": "query",
+ "type": "boolean"
}
},
- "path": "v1/projects/{project}/instances/{instance}/connectSettings",
+ "path": "v1/projects/{project}/instances/{instance}/verifyExternalSyncSettings",
"response": {
- "$ref": "ConnectSettings"
+ "$ref": "SqlInstancesVerifyExternalSyncSettingsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/sqlservice.admin"
]
}
+ }
+ }
+ }
+ },
+ "sslCerts": {
+ "methods": {
+ "createEphemeral": {
+ "description": "Generates a short-lived X509 certificate containing the provided public key and signed by a private key specific to the target instance. Users may use the certificate to authenticate as themselves when connecting to the database.",
+ "flatPath": "v1/projects/{project}/instances/{instance}/createEphemeral",
+ "httpMethod": "POST",
+ "id": "sql.sslCerts.createEphemeral",
+ "parameterOrder": [
+ "project",
+ "instance"
+ ],
+ "parameters": {
+ "instance": {
+ "description": "Cloud SQL instance ID. This does not include the project ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID of the Cloud SQL project.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
},
- "resources": {
- "createEphemeral": {
- "methods": {
- "create": {
- "description": "Generates a short-lived X509 certificate containing the provided public key and signed by a private key specific to the target instance. Users may use the certificate to authenticate as themselves when connecting to the database.",
- "flatPath": "v1/projects/{project}/instances/{instance}/createEphemeral",
- "httpMethod": "POST",
- "id": "sqladmin.projects.instances.createEphemeral.create",
- "parameterOrder": [
- "project",
- "instance"
- ],
- "parameters": {
- "instance": {
- "description": "Cloud SQL instance ID. This does not include the project ID.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "project": {
- "description": "Project ID of the Cloud SQL project.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1/projects/{project}/instances/{instance}/createEphemeral",
- "request": {
- "$ref": "SslCertsCreateEphemeralRequest"
- },
- "response": {
- "$ref": "SslCert"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/sqlservice.admin"
- ]
- }
- }
+ "path": "v1/projects/{project}/instances/{instance}/createEphemeral",
+ "request": {
+ "$ref": "SslCertsCreateEphemeralRequest"
+ },
+ "response": {
+ "$ref": "SslCert"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/sqlservice.admin"
+ ]
+ },
+ "delete": {
+ "description": "Deletes the SSL certificate. For First Generation instances, the certificate remains valid until the instance is restarted.",
+ "flatPath": "v1/projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}",
+ "httpMethod": "DELETE",
+ "id": "sql.sslCerts.delete",
+ "parameterOrder": [
+ "project",
+ "instance",
+ "sha1Fingerprint"
+ ],
+ "parameters": {
+ "instance": {
+ "description": "Cloud SQL instance ID. This does not include the project ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID of the project that contains the instance.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "sha1Fingerprint": {
+ "description": "Sha1 FingerPrint.",
+ "location": "path",
+ "required": true,
+ "type": "string"
}
- }
+ },
+ "path": "v1/projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/sqlservice.admin"
+ ]
+ },
+ "get": {
+ "description": "Retrieves a particular SSL certificate. Does not include the private key (required for usage). The private key must be saved from the response to initial creation.",
+ "flatPath": "v1/projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}",
+ "httpMethod": "GET",
+ "id": "sql.sslCerts.get",
+ "parameterOrder": [
+ "project",
+ "instance",
+ "sha1Fingerprint"
+ ],
+ "parameters": {
+ "instance": {
+ "description": "Cloud SQL instance ID. This does not include the project ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID of the project that contains the instance.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "sha1Fingerprint": {
+ "description": "Sha1 FingerPrint.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}",
+ "response": {
+ "$ref": "SslCert"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/sqlservice.admin"
+ ]
+ },
+ "insert": {
+ "description": "Creates an SSL certificate and returns it along with the private key and server certificate authority. The new certificate will not be usable until the instance is restarted.",
+ "flatPath": "v1/projects/{project}/instances/{instance}/sslCerts",
+ "httpMethod": "POST",
+ "id": "sql.sslCerts.insert",
+ "parameterOrder": [
+ "project",
+ "instance"
+ ],
+ "parameters": {
+ "instance": {
+ "description": "Cloud SQL instance ID. This does not include the project ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID of the project that contains the instance.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{project}/instances/{instance}/sslCerts",
+ "request": {
+ "$ref": "SslCertsInsertRequest"
+ },
+ "response": {
+ "$ref": "SslCertsInsertResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/sqlservice.admin"
+ ]
+ },
+ "list": {
+ "description": "Lists all of the current SSL certificates for the instance.",
+ "flatPath": "v1/projects/{project}/instances/{instance}/sslCerts",
+ "httpMethod": "GET",
+ "id": "sql.sslCerts.list",
+ "parameterOrder": [
+ "project",
+ "instance"
+ ],
+ "parameters": {
+ "instance": {
+ "description": "Cloud SQL instance ID. This does not include the project ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID of the project that contains the instance.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{project}/instances/{instance}/sslCerts",
+ "response": {
+ "$ref": "SslCertsListResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/sqlservice.admin"
+ ]
+ }
+ }
+ },
+ "tiers": {
+ "methods": {
+ "list": {
+ "description": "Lists all available machine types (tiers) for Cloud SQL, for example, db-custom-1-3840. For more information, see https://cloud.google.com/sql/pricing.",
+ "flatPath": "v1/projects/{project}/tiers",
+ "httpMethod": "GET",
+ "id": "sql.tiers.list",
+ "parameterOrder": [
+ "project"
+ ],
+ "parameters": {
+ "project": {
+ "description": "Project ID of the project for which to list tiers.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{project}/tiers",
+ "response": {
+ "$ref": "TiersListResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/sqlservice.admin"
+ ]
+ }
+ }
+ },
+ "users": {
+ "methods": {
+ "delete": {
+ "description": "Deletes a user from a Cloud SQL instance.",
+ "flatPath": "v1/projects/{project}/instances/{instance}/users",
+ "httpMethod": "DELETE",
+ "id": "sql.users.delete",
+ "parameterOrder": [
+ "project",
+ "instance"
+ ],
+ "parameters": {
+ "host": {
+ "description": "Host of the user in the instance.",
+ "location": "query",
+ "type": "string"
+ },
+ "instance": {
+ "description": "Database instance ID. This does not include the project ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "name": {
+ "description": "Name of the user in the instance.",
+ "location": "query",
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID of the project that contains the instance.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{project}/instances/{instance}/users",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/sqlservice.admin"
+ ]
+ },
+ "insert": {
+ "description": "Creates a new user in a Cloud SQL instance.",
+ "flatPath": "v1/projects/{project}/instances/{instance}/users",
+ "httpMethod": "POST",
+ "id": "sql.users.insert",
+ "parameterOrder": [
+ "project",
+ "instance"
+ ],
+ "parameters": {
+ "instance": {
+ "description": "Database instance ID. This does not include the project ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID of the project that contains the instance.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{project}/instances/{instance}/users",
+ "request": {
+ "$ref": "User"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/sqlservice.admin"
+ ]
+ },
+ "list": {
+ "description": "Lists users in the specified Cloud SQL instance.",
+ "flatPath": "v1/projects/{project}/instances/{instance}/users",
+ "httpMethod": "GET",
+ "id": "sql.users.list",
+ "parameterOrder": [
+ "project",
+ "instance"
+ ],
+ "parameters": {
+ "body.etag": {
+ "description": "This field is deprecated and will be removed from a future version of the API.",
+ "location": "query",
+ "type": "string"
+ },
+ "body.host": {
+ "description": "The host name from which the user can connect. For *insert* operations, host defaults to an empty string. For *update* operations, host is specified as part of the request URL. The host name cannot be updated after insertion.",
+ "location": "query",
+ "type": "string"
+ },
+ "body.instance": {
+ "description": "The name of the Cloud SQL instance. This does not include the project ID. Can be omitted for *update* since it is already specified on the URL.",
+ "location": "query",
+ "type": "string"
+ },
+ "body.kind": {
+ "description": "This is always *sql#user*.",
+ "location": "query",
+ "type": "string"
+ },
+ "body.name": {
+ "description": "The name of the user in the Cloud SQL instance. Can be omitted for *update* since it is already specified in the URL.",
+ "location": "query",
+ "type": "string"
+ },
+ "body.password": {
+ "description": "The password for the user.",
+ "location": "query",
+ "type": "string"
+ },
+ "body.project": {
+ "description": "The project ID of the project containing the Cloud SQL database. The Google apps domain is prefixed if applicable. Can be omitted for *update* since it is already specified on the URL.",
+ "location": "query",
+ "type": "string"
+ },
+ "body.sqlserverUserDetails.disabled": {
+ "description": "If the user has been disabled",
+ "location": "query",
+ "type": "boolean"
+ },
+ "body.sqlserverUserDetails.serverRoles": {
+ "description": "The server roles for this user",
+ "location": "query",
+ "repeated": true,
+ "type": "string"
+ },
+ "body.type": {
+ "description": "The user type. It determines the method to authenticate the user during login. The default is the database's built-in user type.",
+ "enum": [
+ "BUILT_IN",
+ "CLOUD_IAM_USER",
+ "CLOUD_IAM_SERVICE_ACCOUNT"
+ ],
+ "enumDescriptions": [
+ "The database's built-in user type.",
+ "Cloud IAM user.",
+ "Cloud IAM service account."
+ ],
+ "location": "query",
+ "type": "string"
+ },
+ "instance": {
+ "description": "Database instance ID. This does not include the project ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID of the project that contains the instance.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{project}/instances/{instance}/users",
+ "response": {
+ "$ref": "UsersListResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/sqlservice.admin"
+ ]
+ },
+ "update": {
+ "description": "Updates an existing user in a Cloud SQL instance.",
+ "flatPath": "v1/projects/{project}/instances/{instance}/users",
+ "httpMethod": "PUT",
+ "id": "sql.users.update",
+ "parameterOrder": [
+ "project",
+ "instance"
+ ],
+ "parameters": {
+ "host": {
+ "description": "Optional. Host of the user in the instance.",
+ "location": "query",
+ "type": "string"
+ },
+ "instance": {
+ "description": "Database instance ID. This does not include the project ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "name": {
+ "description": "Name of the user in the instance.",
+ "location": "query",
+ "type": "string"
+ },
+ "project": {
+ "description": "Project ID of the project that contains the instance.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/projects/{project}/instances/{instance}/users",
+ "request": {
+ "$ref": "User"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/sqlservice.admin"
+ ]
}
}
}
},
- "revision": "20210627",
+ "revision": "20210715",
"rootUrl": "https://sqladmin.googleapis.com/",
"schemas": {
"AclEntry": {
@@ -406,6 +2070,22 @@
},
"type": "object"
},
+ "BackupContext": {
+ "description": "Backup context.",
+ "id": "BackupContext",
+ "properties": {
+ "backupId": {
+ "description": "The identifier of the backup.",
+ "format": "int64",
+ "type": "string"
+ },
+ "kind": {
+ "description": "This is always **sql#backupContext**.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"BackupRetentionSettings": {
"description": "We currently only support backup retention by specifying the number of backups we will retain.",
"id": "BackupRetentionSettings",
@@ -430,6 +2110,197 @@
},
"type": "object"
},
+ "BackupRun": {
+ "description": "A BackupRun resource.",
+ "id": "BackupRun",
+ "properties": {
+ "backupKind": {
+ "description": "Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.",
+ "enum": [
+ "SQL_BACKUP_KIND_UNSPECIFIED",
+ "SNAPSHOT",
+ "PHYSICAL"
+ ],
+ "enumDescriptions": [
+ "This is an unknown BackupKind.",
+ "The snapshot based backups",
+ "Physical backups"
+ ],
+ "type": "string"
+ },
+ "description": {
+ "description": "The description of this run, only applicable to on-demand backups.",
+ "type": "string"
+ },
+ "diskEncryptionConfiguration": {
+ "$ref": "DiskEncryptionConfiguration",
+ "description": "Encryption configuration specific to a backup."
+ },
+ "diskEncryptionStatus": {
+ "$ref": "DiskEncryptionStatus",
+ "description": "Encryption status specific to a backup."
+ },
+ "endTime": {
+ "description": "The time the backup operation completed in UTC timezone in RFC 3339 format, for example *2012-11-15T16:19:00.094Z*.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "enqueuedTime": {
+ "description": "The time the run was enqueued in UTC timezone in RFC 3339 format, for example *2012-11-15T16:19:00.094Z*.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "error": {
+ "$ref": "OperationError",
+ "description": "Information about why the backup operation failed. This is only present if the run has the FAILED status."
+ },
+ "id": {
+ "description": "The identifier for this backup run. Unique only for a specific Cloud SQL instance.",
+ "format": "int64",
+ "type": "string"
+ },
+ "instance": {
+ "description": "Name of the database instance.",
+ "type": "string"
+ },
+ "kind": {
+ "description": "This is always *sql#backupRun*.",
+ "type": "string"
+ },
+ "location": {
+ "description": "Location of the backups.",
+ "type": "string"
+ },
+ "selfLink": {
+ "description": "The URI of this resource.",
+ "type": "string"
+ },
+ "startTime": {
+ "description": "The time the backup operation actually started in UTC timezone in RFC 3339 format, for example *2012-11-15T16:19:00.094Z*.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "status": {
+ "description": "The status of this run.",
+ "enum": [
+ "SQL_BACKUP_RUN_STATUS_UNSPECIFIED",
+ "ENQUEUED",
+ "OVERDUE",
+ "RUNNING",
+ "FAILED",
+ "SUCCESSFUL",
+ "SKIPPED",
+ "DELETION_PENDING",
+ "DELETION_FAILED",
+ "DELETED"
+ ],
+ "enumDescriptions": [
+ "The status of the run is unknown.",
+ "The backup operation was enqueued.",
+ "The backup is overdue across a given backup window. Indicates a problem. Example: Long-running operation in progress during the whole window.",
+ "The backup is in progress.",
+ "The backup failed.",
+ "The backup was successful.",
+ "The backup was skipped (without problems) for a given backup window. Example: Instance was idle.",
+ "The backup is about to be deleted.",
+ "The backup deletion failed.",
+ "The backup has been deleted."
+ ],
+ "type": "string"
+ },
+ "type": {
+ "description": "The type of this run; can be either \"AUTOMATED\" or \"ON_DEMAND\". This field defaults to \"ON_DEMAND\" and is ignored, when specified for insert requests.",
+ "enum": [
+ "SQL_BACKUP_RUN_TYPE_UNSPECIFIED",
+ "AUTOMATED",
+ "ON_DEMAND"
+ ],
+ "enumDescriptions": [
+ "This is an unknown BackupRun type.",
+ "The backup schedule automatically triggers a backup.",
+ "The user manually triggers a backup."
+ ],
+ "type": "string"
+ },
+ "windowStartTime": {
+ "description": "The start time of the backup window during which this the backup was attempted in RFC 3339 format, for example *2012-11-15T16:19:00.094Z*.",
+ "format": "google-datetime",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "BackupRunsListResponse": {
+ "description": "Backup run list results.",
+ "id": "BackupRunsListResponse",
+ "properties": {
+ "items": {
+ "description": "A list of backup runs in reverse chronological order of the enqueued time.",
+ "items": {
+ "$ref": "BackupRun"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "description": "This is always *sql#backupRunsList*.",
+ "type": "string"
+ },
+ "nextPageToken": {
+ "description": "The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "BinLogCoordinates": {
+ "description": "Binary log coordinates.",
+ "id": "BinLogCoordinates",
+ "properties": {
+ "binLogFileName": {
+ "description": "Name of the binary log file for a Cloud SQL instance.",
+ "type": "string"
+ },
+ "binLogPosition": {
+ "description": "Position (offset) within the binary log file.",
+ "format": "int64",
+ "type": "string"
+ },
+ "kind": {
+ "description": "This is always *sql#binLogCoordinates*.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "CloneContext": {
+ "description": "Database instance clone context.",
+ "id": "CloneContext",
+ "properties": {
+ "binLogCoordinates": {
+ "$ref": "BinLogCoordinates",
+ "description": "Binary log coordinates, if specified, identify the position up to which the source instance is cloned. If not specified, the source instance is cloned up to the most recent binary log coordinates."
+ },
+ "destinationInstanceName": {
+ "description": "Name of the Cloud SQL instance to be created as a clone.",
+ "type": "string"
+ },
+ "kind": {
+ "description": "This is always *sql#cloneContext*.",
+ "type": "string"
+ },
+ "pitrTimestampMs": {
+ "description": "Reserved for future use.",
+ "format": "int64",
+ "type": "string"
+ },
+ "pointInTime": {
+ "description": "Timestamp, if specified, identifies the time to which the source instance is cloned.",
+ "format": "google-datetime",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"ConnectSettings": {
"description": "Connect settings retrieval response.",
"id": "ConnectSettings",
@@ -512,12 +2383,54 @@
},
"type": "object"
},
+ "Database": {
+ "description": "Represents a SQL database on the Cloud SQL instance.",
+ "id": "Database",
+ "properties": {
+ "charset": {
+ "description": "The Cloud SQL charset value.",
+ "type": "string"
+ },
+ "collation": {
+ "description": "The Cloud SQL collation value.",
+ "type": "string"
+ },
+ "etag": {
+ "description": "This field is deprecated and will be removed from a future version of the API.",
+ "type": "string"
+ },
+ "instance": {
+ "description": "The name of the Cloud SQL instance. This does not include the project ID.",
+ "type": "string"
+ },
+ "kind": {
+ "description": "This is always **sql#database**.",
+ "type": "string"
+ },
+ "name": {
+ "description": "The name of the database in the Cloud SQL instance. This does not include the project ID or instance name.",
+ "type": "string"
+ },
+ "project": {
+ "description": "The project ID of the project containing the Cloud SQL database. The Google apps domain is prefixed if applicable.",
+ "type": "string"
+ },
+ "selfLink": {
+ "description": "The URI of this resource.",
+ "type": "string"
+ },
+ "sqlserverDatabaseDetails": {
+ "$ref": "SqlServerDatabaseDetails"
+ }
+ },
+ "type": "object"
+ },
"DatabaseFlags": {
"description": "Database flags for Cloud SQL instances.",
"id": "DatabaseFlags",
"properties": {
"name": {
- "description": "The name of the flag. These flags are passed at instance startup, so include both server options and system variables for MySQL. Flags are specified with underscores, not hyphens. For more information, see [Configuring Database Flags](/sql/docs/mysql/flags) in the Cloud SQL documentation.",
+ "description": "The name of the flag. These flags are passed at instance startup, so include both server options and system variables. Flags are specified with underscores, not hyphens. For more information, see [Configuring Database Flags](https://cloud.google.com/sql/docs/mysql/flags) in the Cloud SQL documentation.",
"type": "string"
},
"value": {
@@ -557,7 +2470,7 @@
"type": "string"
},
"databaseVersion": {
- "description": "The database engine type and version. The *databaseVersion* field cannot be changed after instance creation. MySQL instances: *MYSQL_8_0*, *MYSQL_5_7* (default), or *MYSQL_5_6*. PostgreSQL instances: *POSTGRES_9_6*, *POSTGRES_10*, *POSTGRES_11*, *POSTGRES_12*, or *POSTGRES_13* (default). SQL Server instances: *SQLSERVER_2017_STANDARD* (default), *SQLSERVER_2017_ENTERPRISE*, *SQLSERVER_2017_EXPRESS*, or *SQLSERVER_2017_WEB*.",
+ "description": "The database engine type and version. The *databaseVersion* field cannot be changed after instance creation. MySQL instances: *MYSQL_8_0*, *MYSQL_5_7* (default), or *MYSQL_5_6*. PostgreSQL instances: *POSTGRES_9_6*, *POSTGRES_10*, *POSTGRES_11*, *POSTGRES_12*, *POSTGRES_13* (default). SQL Server instances: *SQLSERVER_2019_STANDARD*, *SQLSERVER_2019_ENTERPRISE*, *SQLSERVER_2019_EXPRESS*, or *SQLSERVER_2019_WEB*, *SQLSERVER_2017_STANDARD* (default), *SQLSERVER_2017_ENTERPRISE*, *SQLSERVER_2017_EXPRESS*, or *SQLSERVER_2017_WEB*.",
"enum": [
"SQL_DATABASE_VERSION_UNSPECIFIED",
"MYSQL_5_1",
@@ -602,34 +2515,25 @@
},
"diskEncryptionConfiguration": {
"$ref": "DiskEncryptionConfiguration",
- "description": "Disk encryption configuration specific to an instance. Applies only to Second Generation instances."
+ "description": "Disk encryption configuration specific to an instance."
},
"diskEncryptionStatus": {
"$ref": "DiskEncryptionStatus",
- "description": "Disk encryption status specific to an instance. Applies only to Second Generation instances."
- },
- "encryptedRootPassword": {
- "description": "For internal usage only. The encrypted password.",
- "format": "byte",
- "type": "string"
+ "description": "Disk encryption status specific to an instance."
},
"etag": {
"description": "This field is deprecated and will be removed from a future version of the API. Use the *settings.settingsVersion* field instead.",
"type": "string"
},
"failoverReplica": {
- "description": "The name and status of the failover replica. This property is applicable only to Second Generation instances.",
+ "description": "The name and status of the failover replica.",
"properties": {
"available": {
"description": "The availability status of the failover replica. A false status indicates that the failover replica is out of sync. The primary instance can only failover to the failover replica when the status is true.",
"type": "boolean"
},
- "failoverInstance": {
- "$ref": "InstanceReference",
- "description": "A reference to the failover replica. If specified at instance creation, a failover replica is created for the instance. Currently, the failover replica can only be created in the same region as the primary instance."
- },
"name": {
- "description": "The name of the failover replica. If specified at instance creation, a failover replica is created for the instance. The name doesn't include the project ID. This property is applicable only to Second Generation instances.",
+ "description": "The name of the failover replica. If specified at instance creation, a failover replica is created for the instance. The name doesn't include the project ID.",
"type": "string"
}
},
@@ -639,50 +2543,6 @@
"description": "The Compute Engine zone that the instance is currently serving from. This value could be different from the zone that was specified when the instance was created if the instance has failed over to its secondary zone.",
"type": "string"
},
- "installedVersion": {
- "description": "installed_version stores the current fully resolved database version including minor version such as MySQL_5.6.50",
- "enum": [
- "SQL_DATABASE_VERSION_UNSPECIFIED",
- "MYSQL_5_1",
- "MYSQL_5_5",
- "MYSQL_5_6",
- "MYSQL_5_7",
- "POSTGRES_9_6",
- "POSTGRES_11",
- "SQLSERVER_2017_STANDARD",
- "SQLSERVER_2017_ENTERPRISE",
- "SQLSERVER_2017_EXPRESS",
- "SQLSERVER_2017_WEB",
- "POSTGRES_10",
- "POSTGRES_12",
- "POSTGRES_13",
- "SQLSERVER_2019_STANDARD",
- "SQLSERVER_2019_ENTERPRISE",
- "SQLSERVER_2019_EXPRESS",
- "SQLSERVER_2019_WEB"
- ],
- "enumDescriptions": [
- "This is an unknown database version.",
- "The database version is MySQL 5.1.",
- "The database version is MySQL 5.5.",
- "The database version is MySQL 5.6.",
- "The database version is MySQL 5.7.",
- "The database version is PostgreSQL 9.6.",
- "The database version is PostgreSQL 11.",
- "The database version is SQL Server 2017 Standard.",
- "The database version is SQL Server 2017 Enterprise.",
- "The database version is SQL Server 2017 Express.",
- "The database version is SQL Server 2017 Web.",
- "The database version is PostgreSQL 10.",
- "The database version is PostgreSQL 12.",
- "The database version is PostgreSQL 13.",
- "The database version is SQL Server 2019 Standard.",
- "The database version is SQL Server 2019 Enterprise.",
- "The database version is SQL Server 2019 Express.",
- "The database version is SQL Server 2019 Web."
- ],
- "type": "string"
- },
"instanceType": {
"description": "The instance type. This can be one of the following. *CLOUD_SQL_INSTANCE*: A Cloud SQL instance that is not replicating from a primary instance. *ON_PREMISES_INSTANCE*: An instance running on the customer's premises. *READ_REPLICA_INSTANCE*: A Cloud SQL instance configured as a read-replica.",
"enum": [
@@ -699,10 +2559,6 @@
],
"type": "string"
},
- "instanceUid": {
- "description": "Uid of the Cloud SQL instance. Used by Pantheon to check instance is created",
- "type": "string"
- },
"ipAddresses": {
"description": "The assigned IP addresses for the instance.",
"items": {
@@ -718,10 +2574,6 @@
"description": "This is always *sql#instance*.",
"type": "string"
},
- "masterInstance": {
- "$ref": "InstanceReference",
- "description": "The reference to the instance which will act as primary in the replication setup."
- },
"masterInstanceName": {
"description": "The name of the instance which will act as primary in the replication setup.",
"type": "string"
@@ -755,13 +2607,6 @@
"$ref": "ReplicaConfiguration",
"description": "Configuration specific to failover replicas and read replicas."
},
- "replicaInstances": {
- "description": "The replicas of the instance.",
- "items": {
- "$ref": "InstanceReference"
- },
- "type": "array"
- },
"replicaNames": {
"description": "The replicas of the instance.",
"items": {
@@ -847,6 +2692,93 @@
},
"type": "object"
},
+ "DatabasesListResponse": {
+ "description": "Database list response.",
+ "id": "DatabasesListResponse",
+ "properties": {
+ "items": {
+ "description": "List of database resources in the instance.",
+ "items": {
+ "$ref": "Database"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "description": "This is always *sql#databasesList*.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "DemoteMasterConfiguration": {
+ "description": "Read-replica configuration for connecting to the on-premises primary instance.",
+ "id": "DemoteMasterConfiguration",
+ "properties": {
+ "kind": {
+ "description": "This is always **sql#demoteMasterConfiguration**.",
+ "type": "string"
+ },
+ "mysqlReplicaConfiguration": {
+ "$ref": "DemoteMasterMySqlReplicaConfiguration",
+ "description": "MySQL specific configuration when replicating from a MySQL on-premises primary instance. Replication configuration information such as the username, password, certificates, and keys are not stored in the instance metadata. The configuration information is used only to set up the replication connection and is stored by MySQL in a file named **master.info** in the data directory."
+ }
+ },
+ "type": "object"
+ },
+ "DemoteMasterContext": {
+ "description": "Database instance demote primary instance context.",
+ "id": "DemoteMasterContext",
+ "properties": {
+ "kind": {
+ "description": "This is always *sql#demoteMasterContext*.",
+ "type": "string"
+ },
+ "masterInstanceName": {
+ "description": "The name of the instance which will act as on-premises primary instance in the replication setup.",
+ "type": "string"
+ },
+ "replicaConfiguration": {
+ "$ref": "DemoteMasterConfiguration",
+ "description": "Configuration specific to read-replicas replicating from the on-premises primary instance."
+ },
+ "verifyGtidConsistency": {
+ "description": "Verify GTID consistency for demote operation. Default value: *True*. Setting this flag to false enables you to bypass GTID consistency check between on-premises primary instance and Cloud SQL instance during the demotion operation but also exposes you to the risk of future replication failures. Change the value value only if you know the reason for the GTID divergence and are confident that doing so will not cause any replication issues.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "DemoteMasterMySqlReplicaConfiguration": {
+ "description": "Read-replica configuration specific to MySQL databases.",
+ "id": "DemoteMasterMySqlReplicaConfiguration",
+ "properties": {
+ "caCertificate": {
+ "description": "PEM representation of the trusted CA's x509 certificate.",
+ "type": "string"
+ },
+ "clientCertificate": {
+ "description": "PEM representation of the replica's x509 certificate.",
+ "type": "string"
+ },
+ "clientKey": {
+ "description": "PEM representation of the replica's private key. The corresponsing public key is encoded in the client's certificate. The format of the replica's private key can be either PKCS #1 or PKCS #8.",
+ "type": "string"
+ },
+ "kind": {
+ "description": "This is always **sql#demoteMasterMysqlReplicaConfiguration**.",
+ "type": "string"
+ },
+ "password": {
+ "description": "The password for the replication connection.",
+ "type": "string"
+ },
+ "username": {
+ "description": "The username for the replication connection.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"DenyMaintenancePeriod": {
"description": "Deny maintenance Periods. This specifies a date range during when all CSA rollout will be denied.",
"id": "DenyMaintenancePeriod",
@@ -896,6 +2828,239 @@
},
"type": "object"
},
+ "ExportContext": {
+ "description": "Database instance export context.",
+ "id": "ExportContext",
+ "properties": {
+ "csvExportOptions": {
+ "description": "Options for exporting data as CSV. **MySQL** and **PostgreSQL** instances only.",
+ "properties": {
+ "selectQuery": {
+ "description": "The select query used to extract the data.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "databases": {
+ "description": "Databases to be exported. **MySQL instances:** If **fileType** is **SQL** and no database is specified, all databases are exported, except for the **mysql** system database. If **fileType** is **CSV**, you can specify one database, either by using this property or by using the **csvExportOptions.selectQuery** property, which takes precedence over this property. **PostgreSQL instances:** You must specify one database to be exported. If **fileType** is **CSV**, this database must match the one specified in the **csvExportOptions.selectQuery** property. **SQL Server instances:** You must specify one database to be exported, and the **fileType** must be **BAK**.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "fileType": {
+ "description": "The file type for the specified uri. **SQL**: The file contains SQL statements. **CSV**: The file contains CSV data. **BAK**: The file contains backup data for a SQL Server instance.",
+ "enum": [
+ "SQL_FILE_TYPE_UNSPECIFIED",
+ "SQL",
+ "CSV",
+ "BAK"
+ ],
+ "enumDescriptions": [
+ "Unknown file type.",
+ "File containing SQL statements.",
+ "File in CSV format.",
+ ""
+ ],
+ "type": "string"
+ },
+ "kind": {
+ "description": "This is always **sql#exportContext**.",
+ "type": "string"
+ },
+ "offload": {
+ "description": "Option for export offload.",
+ "type": "boolean"
+ },
+ "sqlExportOptions": {
+ "description": "Options for exporting data as SQL statements.",
+ "properties": {
+ "mysqlExportOptions": {
+ "description": "Options for exporting from MySQL.",
+ "properties": {
+ "masterData": {
+ "description": "Option to include SQL statement required to set up replication. If set to **1**, the dump file includes a CHANGE MASTER TO statement with the binary log coordinates, and --set-gtid-purged is set to ON. If set to **2**, the CHANGE MASTER TO statement is written as a SQL comment and has no effect. If set to any value other than **1**, --set-gtid-purged is set to OFF.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "schemaOnly": {
+ "description": "Export only schemas.",
+ "type": "boolean"
+ },
+ "tables": {
+ "description": "Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database. For PostgreSQL instances, you can specify only one table.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "uri": {
+ "description": "The path to the file in Google Cloud Storage where the export will be stored. The URI is in the form **gs://bucketName/fileName**. If the file already exists, the request succeeds, but the operation fails. If **fileType** is **SQL** and the filename ends with .gz, the contents are compressed.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "FailoverContext": {
+ "description": "Database instance failover context.",
+ "id": "FailoverContext",
+ "properties": {
+ "kind": {
+ "description": "This is always *sql#failoverContext*.",
+ "type": "string"
+ },
+ "settingsVersion": {
+ "description": "The current settings version of this instance. Request will be rejected if this version doesn't match the current settings version.",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Flag": {
+ "description": "A flag resource.",
+ "id": "Flag",
+ "properties": {
+ "allowedIntValues": {
+ "description": "Use this field if only certain integers are accepted. Can be combined with min_value and max_value to add additional values.",
+ "items": {
+ "format": "int64",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "allowedStringValues": {
+ "description": "For **STRING** flags, a list of strings that the value can be set to.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "appliesTo": {
+ "description": "The database version this flag applies to. Can be **MYSQL_8_0**, **MYSQL_5_6**, or **MYSQL_5_7**.",
+ "items": {
+ "enum": [
+ "SQL_DATABASE_VERSION_UNSPECIFIED",
+ "MYSQL_5_1",
+ "MYSQL_5_5",
+ "MYSQL_5_6",
+ "MYSQL_5_7",
+ "POSTGRES_9_6",
+ "POSTGRES_11",
+ "SQLSERVER_2017_STANDARD",
+ "SQLSERVER_2017_ENTERPRISE",
+ "SQLSERVER_2017_EXPRESS",
+ "SQLSERVER_2017_WEB",
+ "POSTGRES_10",
+ "POSTGRES_12",
+ "POSTGRES_13",
+ "SQLSERVER_2019_STANDARD",
+ "SQLSERVER_2019_ENTERPRISE",
+ "SQLSERVER_2019_EXPRESS",
+ "SQLSERVER_2019_WEB"
+ ],
+ "enumDescriptions": [
+ "This is an unknown database version.",
+ "The database version is MySQL 5.1.",
+ "The database version is MySQL 5.5.",
+ "The database version is MySQL 5.6.",
+ "The database version is MySQL 5.7.",
+ "The database version is PostgreSQL 9.6.",
+ "The database version is PostgreSQL 11.",
+ "The database version is SQL Server 2017 Standard.",
+ "The database version is SQL Server 2017 Enterprise.",
+ "The database version is SQL Server 2017 Express.",
+ "The database version is SQL Server 2017 Web.",
+ "The database version is PostgreSQL 10.",
+ "The database version is PostgreSQL 12.",
+ "The database version is PostgreSQL 13.",
+ "The database version is SQL Server 2019 Standard.",
+ "The database version is SQL Server 2019 Enterprise.",
+ "The database version is SQL Server 2019 Express.",
+ "The database version is SQL Server 2019 Web."
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "inBeta": {
+ "description": "Whether or not the flag is considered in beta.",
+ "type": "boolean"
+ },
+ "kind": {
+ "description": "This is always **sql#flag**.",
+ "type": "string"
+ },
+ "maxValue": {
+ "description": "For **INTEGER** flags, the maximum allowed value.",
+ "format": "int64",
+ "type": "string"
+ },
+ "minValue": {
+ "description": "For **INTEGER** flags, the minimum allowed value.",
+ "format": "int64",
+ "type": "string"
+ },
+ "name": {
+ "description": "This is the name of the flag. Flag names always use underscores, not hyphens, for example: **max_allowed_packet**",
+ "type": "string"
+ },
+ "requiresRestart": {
+ "description": "Indicates whether changing this flag will trigger a database restart. Only applicable to Second Generation instances.",
+ "type": "boolean"
+ },
+ "type": {
+ "description": "The type of the flag. Flags are typed to being **BOOLEAN**, **STRING**, **INTEGER** or **NONE**. **NONE** is used for flags which do not take a value, such as **skip_grant_tables**.",
+ "enum": [
+ "SQL_FLAG_TYPE_UNSPECIFIED",
+ "BOOLEAN",
+ "STRING",
+ "INTEGER",
+ "NONE",
+ "MYSQL_TIMEZONE_OFFSET",
+ "FLOAT",
+ "REPEATED_STRING"
+ ],
+ "enumDescriptions": [
+ "This is an unknown flag type.",
+ "Boolean type flag.",
+ "String type flag.",
+ "Integer type flag.",
+ "Flag type used for a server startup option.",
+ "Type introduced specially for MySQL TimeZone offset. Accept a string value with the format [-12:59, 13:00].",
+ "Float type flag.",
+ "Comma-separated list of the strings in a SqlFlagType enum."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "FlagsListResponse": {
+ "description": "Flags list response.",
+ "id": "FlagsListResponse",
+ "properties": {
+ "items": {
+ "description": "List of flags.",
+ "items": {
+ "$ref": "Flag"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "description": "This is always **sql#flagsList**.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"GenerateEphemeralCertRequest": {
"description": "Ephemeral certificate creation request.",
"id": "GenerateEphemeralCertRequest",
@@ -927,6 +3092,85 @@
},
"type": "object"
},
+ "ImportContext": {
+ "description": "Database instance import context.",
+ "id": "ImportContext",
+ "properties": {
+ "bakImportOptions": {
+ "description": "Import parameters specific to SQL Server .BAK files",
+ "properties": {
+ "encryptionOptions": {
+ "properties": {
+ "certPath": {
+ "description": "Path to the Certificate (.cer) in Cloud Storage, in the form **gs://bucketName/fileName**. The instance must have write permissions to the bucket and read access to the file.",
+ "type": "string"
+ },
+ "pvkPassword": {
+ "description": "Password that encrypts the private key",
+ "type": "string"
+ },
+ "pvkPath": {
+ "description": "Path to the Certificate Private Key (.pvk) in Cloud Storage, in the form **gs://bucketName/fileName**. The instance must have write permissions to the bucket and read access to the file.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "csvImportOptions": {
+ "description": "Options for importing data as CSV.",
+ "properties": {
+ "columns": {
+ "description": "The columns to which CSV data is imported. If not specified, all columns of the database table are loaded with CSV data.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "table": {
+ "description": "The table to which CSV data is imported.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "database": {
+ "description": "The target database for the import. If **fileType** is **SQL**, this field is required only if the import file does not specify a database, and is overridden by any database specification in the import file. If **fileType** is **CSV**, one database must be specified.",
+ "type": "string"
+ },
+ "fileType": {
+ "description": "The file type for the specified uri. **SQL**: The file contains SQL statements. **CSV**: The file contains CSV data.",
+ "enum": [
+ "SQL_FILE_TYPE_UNSPECIFIED",
+ "SQL",
+ "CSV",
+ "BAK"
+ ],
+ "enumDescriptions": [
+ "Unknown file type.",
+ "File containing SQL statements.",
+ "File in CSV format.",
+ ""
+ ],
+ "type": "string"
+ },
+ "importUser": {
+ "description": "The PostgreSQL user for this import operation. PostgreSQL instances only.",
+ "type": "string"
+ },
+ "kind": {
+ "description": "This is always **sql#importContext**.",
+ "type": "string"
+ },
+ "uri": {
+ "description": "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.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"InsightsConfig": {
"description": "Insights configuration. This specifies when Cloud SQL Insights feature is enabled and optional configuration.",
"id": "InsightsConfig",
@@ -936,7 +3180,7 @@
"type": "boolean"
},
"queryPlansPerMinute": {
- "description": "Number of query plans generated by Insights per minute. Default is 5. Changing this will restart the database.",
+ "description": "Number of query execution plans captured by Insights per minute for all queries combined. Default is 5.",
"format": "int32",
"type": "integer"
},
@@ -956,17 +3200,57 @@
},
"type": "object"
},
- "InstanceReference": {
- "description": "Reference to another Cloud SQL instance.",
- "id": "InstanceReference",
+ "InstancesCloneRequest": {
+ "description": "Database instance clone request.",
+ "id": "InstancesCloneRequest",
"properties": {
- "name": {
- "description": "The name of the Cloud SQL instance being referenced.",
- "type": "string"
- },
- "region": {
- "description": "The region of the Cloud SQL instance being referenced.",
- "type": "string"
+ "cloneContext": {
+ "$ref": "CloneContext",
+ "description": "Contains details about the clone operation."
+ }
+ },
+ "type": "object"
+ },
+ "InstancesDemoteMasterRequest": {
+ "description": "Database demote primary instance request.",
+ "id": "InstancesDemoteMasterRequest",
+ "properties": {
+ "demoteMasterContext": {
+ "$ref": "DemoteMasterContext",
+ "description": "Contains details about the demoteMaster operation."
+ }
+ },
+ "type": "object"
+ },
+ "InstancesExportRequest": {
+ "description": "Database instance export request.",
+ "id": "InstancesExportRequest",
+ "properties": {
+ "exportContext": {
+ "$ref": "ExportContext",
+ "description": "Contains details about the export operation."
+ }
+ },
+ "type": "object"
+ },
+ "InstancesFailoverRequest": {
+ "description": "Instance failover request.",
+ "id": "InstancesFailoverRequest",
+ "properties": {
+ "failoverContext": {
+ "$ref": "FailoverContext",
+ "description": "Failover Context."
+ }
+ },
+ "type": "object"
+ },
+ "InstancesImportRequest": {
+ "description": "Database instance import request.",
+ "id": "InstancesImportRequest",
+ "properties": {
+ "importContext": {
+ "$ref": "ImportContext",
+ "description": "Contains details about the import operation."
}
},
"type": "object"
@@ -1000,6 +3284,60 @@
},
"type": "object"
},
+ "InstancesListServerCasResponse": {
+ "description": "Instances ListServerCas response.",
+ "id": "InstancesListServerCasResponse",
+ "properties": {
+ "activeVersion": {
+ "type": "string"
+ },
+ "certs": {
+ "description": "List of server CA certificates for the instance.",
+ "items": {
+ "$ref": "SslCert"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "description": "This is always *sql#instancesListServerCas*.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "InstancesRestoreBackupRequest": {
+ "description": "Database instance restore backup request.",
+ "id": "InstancesRestoreBackupRequest",
+ "properties": {
+ "restoreBackupContext": {
+ "$ref": "RestoreBackupContext",
+ "description": "Parameters required to perform the restore backup operation."
+ }
+ },
+ "type": "object"
+ },
+ "InstancesRotateServerCaRequest": {
+ "description": "Rotate server CA request.",
+ "id": "InstancesRotateServerCaRequest",
+ "properties": {
+ "rotateServerCaContext": {
+ "$ref": "RotateServerCaContext",
+ "description": "Contains details about the rotate server CA operation."
+ }
+ },
+ "type": "object"
+ },
+ "InstancesTruncateLogRequest": {
+ "description": "Instance truncate log request.",
+ "id": "InstancesTruncateLogRequest",
+ "properties": {
+ "truncateLogContext": {
+ "$ref": "TruncateLogContext",
+ "description": "Contains details about the truncate log operation."
+ }
+ },
+ "type": "object"
+ },
"IpConfiguration": {
"description": "IP Management configuration.",
"id": "IpConfiguration",
@@ -1064,6 +3402,10 @@
"description": "Preferred location. This specifies where a Cloud SQL instance is located. Note that if the preferred location is not available, the instance will be located as close as possible within the region. Only one location may be specified.",
"id": "LocationPreference",
"properties": {
+ "followGaeApplication": {
+ "description": "The App Engine application to follow, it must be in the same region as the Cloud SQL instance.",
+ "type": "string"
+ },
"kind": {
"description": "This is always **sql#locationPreference**.",
"type": "string"
@@ -1098,7 +3440,7 @@
"type": "string"
},
"updateTrack": {
- "description": "Maintenance timing setting: **canary** (Earlier) or **stable** (Later). [Learn more] (https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1/instance-settings#maintenance-timing-2ndgen).",
+ "description": "Maintenance timing setting: **canary** (Earlier) or **stable** (Later). [Learn more] (https://cloud.google.com/sql/docs/mysql/instance-settings#maintenance-timing-2ndgen).",
"enum": [
"SQL_UPDATE_TRACK_UNSPECIFIED",
"canary",
@@ -1206,6 +3548,224 @@
},
"type": "object"
},
+ "Operation": {
+ "description": "An Operation resource. For successful operations that return an Operation resource, only the fields relevant to the operation are populated in the resource.",
+ "id": "Operation",
+ "properties": {
+ "backupContext": {
+ "$ref": "BackupContext",
+ "description": "The context for backup operation, if applicable."
+ },
+ "endTime": {
+ "description": "The time this operation finished in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "error": {
+ "$ref": "OperationErrors",
+ "description": "If errors occurred during processing of this operation, this field will be populated."
+ },
+ "exportContext": {
+ "$ref": "ExportContext",
+ "description": "The context for export operation, if applicable."
+ },
+ "importContext": {
+ "$ref": "ImportContext",
+ "description": "The context for import operation, if applicable."
+ },
+ "insertTime": {
+ "description": "The time this operation was enqueued in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "kind": {
+ "description": "This is always **sql#operation**.",
+ "type": "string"
+ },
+ "name": {
+ "description": "An identifier that uniquely identifies the operation. You can use this identifier to retrieve the Operations resource that has information about the operation.",
+ "type": "string"
+ },
+ "operationType": {
+ "description": "The type of the operation. Valid values are: **CREATE** **DELETE** **UPDATE** **RESTART** **IMPORT** **EXPORT** **BACKUP_VOLUME** **RESTORE_VOLUME** **CREATE_USER** **DELETE_USER** **CREATE_DATABASE** **DELETE_DATABASE**",
+ "enum": [
+ "SQL_OPERATION_TYPE_UNSPECIFIED",
+ "IMPORT",
+ "EXPORT",
+ "CREATE",
+ "UPDATE",
+ "DELETE",
+ "RESTART",
+ "BACKUP",
+ "SNAPSHOT",
+ "BACKUP_VOLUME",
+ "DELETE_VOLUME",
+ "RESTORE_VOLUME",
+ "INJECT_USER",
+ "CLONE",
+ "STOP_REPLICA",
+ "START_REPLICA",
+ "PROMOTE_REPLICA",
+ "CREATE_REPLICA",
+ "CREATE_USER",
+ "DELETE_USER",
+ "UPDATE_USER",
+ "CREATE_DATABASE",
+ "DELETE_DATABASE",
+ "UPDATE_DATABASE",
+ "FAILOVER",
+ "DELETE_BACKUP",
+ "RECREATE_REPLICA",
+ "TRUNCATE_LOG",
+ "DEMOTE_MASTER",
+ "MAINTENANCE",
+ "ENABLE_PRIVATE_IP",
+ "DEFER_MAINTENANCE",
+ "CREATE_CLONE",
+ "RESCHEDULE_MAINTENANCE",
+ "START_EXTERNAL_SYNC"
+ ],
+ "enumDescriptions": [
+ "Unknown operation type.",
+ "Imports data into a Cloud SQL instance.",
+ "Exports data from a Cloud SQL instance to a Cloud Storage bucket.",
+ "Creates a new Cloud SQL instance.",
+ "Updates the settings of a Cloud SQL instance.",
+ "Deletes a Cloud SQL instance.",
+ "Restarts the Cloud SQL instance.",
+ "",
+ "",
+ "Performs instance backup.",
+ "Deletes an instance backup.",
+ "Restores an instance backup.",
+ "Injects a privileged user in mysql for MOB instances.",
+ "Clones a Cloud SQL instance.",
+ "Stops replication on a Cloud SQL read replica instance.",
+ "Starts replication on a Cloud SQL read replica instance.",
+ "Promotes a Cloud SQL replica instance.",
+ "Creates a Cloud SQL replica instance.",
+ "Creates a new user in a Cloud SQL instance.",
+ "Deletes a user from a Cloud SQL instance.",
+ "Updates an existing user in a Cloud SQL instance.",
+ "Creates a database in the Cloud SQL instance.",
+ "Deletes a database in the Cloud SQL instance.",
+ "Updates a database in the Cloud SQL instance.",
+ "Performs failover of an HA-enabled Cloud SQL failover replica.",
+ "Deletes the backup taken by a backup run.",
+ "",
+ "Truncates a general or slow log table in MySQL.",
+ "Demotes the stand-alone instance to be a Cloud SQL read replica for an external database server.",
+ "Indicates that the instance is currently in maintenance. Maintenance typically causes the instance to be unavailable for 1-3 minutes.",
+ "This field is deprecated, and will be removed in future version of API.",
+ "",
+ "Creates clone instance.",
+ "Reschedule maintenance to another time.",
+ "Starts external sync of a Cloud SQL EM replica to an external primary instance."
+ ],
+ "type": "string"
+ },
+ "selfLink": {
+ "description": "The URI of this resource.",
+ "type": "string"
+ },
+ "startTime": {
+ "description": "The time this operation actually started in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "status": {
+ "description": "The status of an operation. Valid values are: **PENDING** **RUNNING** **DONE** **SQL_OPERATION_STATUS_UNSPECIFIED**",
+ "enum": [
+ "SQL_OPERATION_STATUS_UNSPECIFIED",
+ "PENDING",
+ "RUNNING",
+ "DONE"
+ ],
+ "enumDescriptions": [
+ "The state of the operation is unknown.",
+ "The operation has been queued, but has not started yet.",
+ "The operation is running.",
+ "The operation completed."
+ ],
+ "type": "string"
+ },
+ "targetId": {
+ "description": "Name of the database instance related to this operation.",
+ "type": "string"
+ },
+ "targetLink": {
+ "type": "string"
+ },
+ "targetProject": {
+ "description": "The project ID of the target instance related to this operation.",
+ "type": "string"
+ },
+ "user": {
+ "description": "The email address of the user who initiated this operation.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "OperationError": {
+ "description": "Database instance operation error.",
+ "id": "OperationError",
+ "properties": {
+ "code": {
+ "description": "Identifies the specific error that occurred.",
+ "type": "string"
+ },
+ "kind": {
+ "description": "This is always **sql#operationError**.",
+ "type": "string"
+ },
+ "message": {
+ "description": "Additional information about the error encountered.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "OperationErrors": {
+ "description": "Database instance operation errors list wrapper.",
+ "id": "OperationErrors",
+ "properties": {
+ "errors": {
+ "description": "The list of errors encountered while processing this operation.",
+ "items": {
+ "$ref": "OperationError"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "description": "This is always **sql#operationErrors**.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "OperationsListResponse": {
+ "description": "Operations list response.",
+ "id": "OperationsListResponse",
+ "properties": {
+ "items": {
+ "description": "List of operation resources.",
+ "items": {
+ "$ref": "Operation"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "description": "This is always *sql#operationsList*.",
+ "type": "string"
+ },
+ "nextPageToken": {
+ "description": "The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"ReplicaConfiguration": {
"description": "Read-replica configuration for connecting to the primary instance.",
"id": "ReplicaConfiguration",
@@ -1225,6 +3785,72 @@
},
"type": "object"
},
+ "Reschedule": {
+ "id": "Reschedule",
+ "properties": {
+ "rescheduleType": {
+ "description": "Required. The type of the reschedule.",
+ "enum": [
+ "RESCHEDULE_TYPE_UNSPECIFIED",
+ "IMMEDIATE",
+ "NEXT_AVAILABLE_WINDOW",
+ "SPECIFIC_TIME"
+ ],
+ "enumDescriptions": [
+ "",
+ "Reschedules maintenance to happen now (within 5 minutes).",
+ "Reschedules maintenance to occur within one week from the originally scheduled day and time.",
+ "Reschedules maintenance to a specific time and day."
+ ],
+ "type": "string"
+ },
+ "scheduleTime": {
+ "description": "Optional. Timestamp when the maintenance shall be rescheduled to if reschedule_type=SPECIFIC_TIME, in RFC 3339 format, for example *2012-11-15T16:19:00.094Z*.",
+ "format": "google-datetime",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "RestoreBackupContext": {
+ "description": "Database instance restore from backup context. Backup context contains source instance id and project id.",
+ "id": "RestoreBackupContext",
+ "properties": {
+ "backupRunId": {
+ "description": "The ID of the backup run to restore from.",
+ "format": "int64",
+ "type": "string"
+ },
+ "instanceId": {
+ "description": "The ID of the instance that the backup was taken from.",
+ "type": "string"
+ },
+ "kind": {
+ "description": "This is always *sql#restoreBackupContext*.",
+ "type": "string"
+ },
+ "project": {
+ "description": "The full project ID of the source instance.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "RotateServerCaContext": {
+ "description": "Instance rotate server CA context.",
+ "id": "RotateServerCaContext",
+ "properties": {
+ "kind": {
+ "description": "This is always *sql#rotateServerCaContext*.",
+ "type": "string"
+ },
+ "nextVersion": {
+ "description": "The fingerprint of the next version to be rotated to. If left unspecified, will be rotated to the most recently added server CA version.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"Settings": {
"description": "Database instance settings.",
"id": "Settings",
@@ -1249,8 +3875,15 @@
"$ref": "SqlActiveDirectoryConfig",
"description": "Active Directory configuration, relevant only for Cloud SQL for SQL Server."
},
+ "authorizedGaeApplications": {
+ "description": "The App Engine app IDs that can access this instance. (Deprecated) Applied to First Generation instances only.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
"availabilityType": {
- "description": "Availability type. Potential values: **ZONAL**: The instance serves data from only one zone. Outages in that zone affect data accessibility. **REGIONAL**: The instance can serve data from more than one zone in a region (it is highly available). For more information, see [Overview of the High Availability Configuration](/sql/docs/postgres/high-availability).",
+ "description": "Availability type. Potential values: **ZONAL**: The instance serves data from only one zone. Outages in that zone affect data accessibility. **REGIONAL**: The instance can serve data from more than one zone in a region (it is highly available). For more information, see [Overview of the High Availability Configuration](https://cloud.google.com/sql/docs/mysql/high-availability).",
"enum": [
"SQL_AVAILABILITY_TYPE_UNSPECIFIED",
"ZONAL",
@@ -1405,6 +4038,113 @@
},
"type": "object"
},
+ "SqlExternalSyncSettingError": {
+ "description": "External primary instance migration setting error.",
+ "id": "SqlExternalSyncSettingError",
+ "properties": {
+ "detail": {
+ "description": "Additional information about the error encountered.",
+ "type": "string"
+ },
+ "kind": {
+ "description": "Can be *sql#externalSyncSettingError* or *sql#externalSyncSettingWarning*.",
+ "type": "string"
+ },
+ "type": {
+ "description": "Identifies the specific error that occurred.",
+ "enum": [
+ "SQL_EXTERNAL_SYNC_SETTING_ERROR_TYPE_UNSPECIFIED",
+ "CONNECTION_FAILURE",
+ "BINLOG_NOT_ENABLED",
+ "INCOMPATIBLE_DATABASE_VERSION",
+ "REPLICA_ALREADY_SETUP",
+ "INSUFFICIENT_PRIVILEGE",
+ "UNSUPPORTED_MIGRATION_TYPE",
+ "NO_PGLOGICAL_INSTALLED",
+ "PGLOGICAL_NODE_ALREADY_EXISTS",
+ "INVALID_WAL_LEVEL",
+ "INVALID_SHARED_PRELOAD_LIBRARY",
+ "INSUFFICIENT_MAX_REPLICATION_SLOTS",
+ "INSUFFICIENT_MAX_WAL_SENDERS",
+ "INSUFFICIENT_MAX_WORKER_PROCESSES",
+ "UNSUPPORTED_EXTENSIONS",
+ "INVALID_RDS_LOGICAL_REPLICATION",
+ "INVALID_LOGGING_SETUP",
+ "INVALID_DB_PARAM",
+ "UNSUPPORTED_GTID_MODE",
+ "SQLSERVER_AGENT_NOT_RUNNING",
+ "UNSUPPORTED_TABLE_DEFINITION",
+ "UNSUPPORTED_DEFINER",
+ "SQLSERVER_SERVERNAME_MISMATCH",
+ "PRIMARY_ALREADY_SETUP"
+ ],
+ "enumDescriptions": [
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "Unsupported migration type.",
+ "No pglogical extension installed on databases, applicable for postgres.",
+ "pglogical node already exists on databases, applicable for postgres.",
+ "The value of parameter wal_level is not set to logical.",
+ "The value of parameter shared_preload_libraries does not include pglogical.",
+ "The value of parameter max_replication_slots is not sufficient.",
+ "The value of parameter max_wal_senders is not sufficient.",
+ "The value of parameter max_worker_processes is not sufficient.",
+ "Extensions installed are either not supported or having unsupported versions",
+ "The value of parameter rds.logical_replication is not set to 1.",
+ "The primary instance logging setup doesn't allow EM sync.",
+ "The primary instance database parameter setup doesn't allow EM sync.",
+ "The gtid_mode is not supported, applicable for MySQL.",
+ "SQL Server Agent is not running.",
+ "The table definition is not support due to missing primary key or replica identity, applicable for postgres.",
+ "The customer has a definer that will break EM setup.",
+ "SQL Server @@SERVERNAME does not match actual host name",
+ "The primary instance has been setup and will fail the setup."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "SqlInstancesRescheduleMaintenanceRequestBody": {
+ "description": "Reschedule options for maintenance windows.",
+ "id": "SqlInstancesRescheduleMaintenanceRequestBody",
+ "properties": {
+ "reschedule": {
+ "$ref": "Reschedule",
+ "description": "Required. The type of the reschedule the user wants."
+ }
+ },
+ "type": "object"
+ },
+ "SqlInstancesVerifyExternalSyncSettingsResponse": {
+ "description": "Instance verify external sync settings response.",
+ "id": "SqlInstancesVerifyExternalSyncSettingsResponse",
+ "properties": {
+ "errors": {
+ "description": "List of migration violations.",
+ "items": {
+ "$ref": "SqlExternalSyncSettingError"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "description": "This is always *sql#migrationSettingErrorList*.",
+ "type": "string"
+ },
+ "warnings": {
+ "description": "List of migration warnings.",
+ "items": {
+ "$ref": "SqlExternalSyncSettingError"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"SqlOutOfDiskReport": {
"description": "This message wraps up the information written by out-of-disk detection job.",
"id": "SqlOutOfDiskReport",
@@ -1455,6 +4195,40 @@
},
"type": "object"
},
+ "SqlServerDatabaseDetails": {
+ "description": "Represents a Sql Server database on the Cloud SQL instance.",
+ "id": "SqlServerDatabaseDetails",
+ "properties": {
+ "compatibilityLevel": {
+ "description": "The version of SQL Server with which the database is to be made compatible",
+ "format": "int32",
+ "type": "integer"
+ },
+ "recoveryModel": {
+ "description": "The recovery model of a SQL Server database",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "SqlServerUserDetails": {
+ "description": "Represents a Sql Server user on the Cloud SQL instance.",
+ "id": "SqlServerUserDetails",
+ "properties": {
+ "disabled": {
+ "description": "If the user has been disabled",
+ "type": "boolean"
+ },
+ "serverRoles": {
+ "description": "The server roles for this user",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"SslCert": {
"description": "SslCerts Resource",
"id": "SslCert",
@@ -1489,6 +4263,10 @@
"description": "This is always sql#sslCert.",
"type": "string"
},
+ "selfLink": {
+ "description": "The URI of this resource.",
+ "type": "string"
+ },
"sha1Fingerprint": {
"description": "Sha1 Fingerprint.",
"type": "string"
@@ -1496,6 +4274,21 @@
},
"type": "object"
},
+ "SslCertDetail": {
+ "description": "SslCertDetail.",
+ "id": "SslCertDetail",
+ "properties": {
+ "certInfo": {
+ "$ref": "SslCert",
+ "description": "The public information about the cert."
+ },
+ "certPrivateKey": {
+ "description": "The private key for the client cert, in pem format. Keep private in order to protect your security.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"SslCertsCreateEphemeralRequest": {
"description": "SslCerts create ephemeral certificate request.",
"id": "SslCertsCreateEphemeralRequest",
@@ -1510,6 +4303,197 @@
}
},
"type": "object"
+ },
+ "SslCertsInsertRequest": {
+ "description": "SslCerts insert request.",
+ "id": "SslCertsInsertRequest",
+ "properties": {
+ "commonName": {
+ "description": "User supplied name. Must be a distinct name from the other certificates for this instance.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "SslCertsInsertResponse": {
+ "description": "SslCert insert response.",
+ "id": "SslCertsInsertResponse",
+ "properties": {
+ "clientCert": {
+ "$ref": "SslCertDetail",
+ "description": "The new client certificate and private key."
+ },
+ "kind": {
+ "description": "This is always *sql#sslCertsInsert*.",
+ "type": "string"
+ },
+ "operation": {
+ "$ref": "Operation",
+ "description": "The operation to track the ssl certs insert request."
+ },
+ "serverCaCert": {
+ "$ref": "SslCert",
+ "description": "The server Certificate Authority's certificate. If this is missing you can force a new one to be generated by calling resetSslConfig method on instances resource."
+ }
+ },
+ "type": "object"
+ },
+ "SslCertsListResponse": {
+ "description": "SslCerts list response.",
+ "id": "SslCertsListResponse",
+ "properties": {
+ "items": {
+ "description": "List of client certificates for the instance.",
+ "items": {
+ "$ref": "SslCert"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "description": "This is always *sql#sslCertsList*.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Tier": {
+ "description": "A Google Cloud SQL service tier resource.",
+ "id": "Tier",
+ "properties": {
+ "DiskQuota": {
+ "description": "The maximum disk size of this tier in bytes.",
+ "format": "int64",
+ "type": "string"
+ },
+ "RAM": {
+ "description": "The maximum RAM usage of this tier in bytes.",
+ "format": "int64",
+ "type": "string"
+ },
+ "kind": {
+ "description": "This is always *sql#tier*.",
+ "type": "string"
+ },
+ "region": {
+ "description": "The applicable regions for this tier.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "tier": {
+ "description": "An identifier for the machine type, for example, db-custom-1-3840. For related information, see Pricing.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "TiersListResponse": {
+ "description": "Tiers list response.",
+ "id": "TiersListResponse",
+ "properties": {
+ "items": {
+ "description": "List of tiers.",
+ "items": {
+ "$ref": "Tier"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "description": "This is always *sql#tiersList*.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "TruncateLogContext": {
+ "description": "Database Instance truncate log context.",
+ "id": "TruncateLogContext",
+ "properties": {
+ "kind": {
+ "description": "This is always *sql#truncateLogContext*.",
+ "type": "string"
+ },
+ "logType": {
+ "description": "The type of log to truncate. Valid values are *MYSQL_GENERAL_TABLE* and *MYSQL_SLOW_TABLE*.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "User": {
+ "description": "A Cloud SQL user resource.",
+ "id": "User",
+ "properties": {
+ "etag": {
+ "description": "This field is deprecated and will be removed from a future version of the API.",
+ "type": "string"
+ },
+ "host": {
+ "description": "The host name from which the user can connect. For *insert* operations, host defaults to an empty string. For *update* operations, host is specified as part of the request URL. The host name cannot be updated after insertion.",
+ "type": "string"
+ },
+ "instance": {
+ "description": "The name of the Cloud SQL instance. This does not include the project ID. Can be omitted for *update* since it is already specified on the URL.",
+ "type": "string"
+ },
+ "kind": {
+ "description": "This is always *sql#user*.",
+ "type": "string"
+ },
+ "name": {
+ "description": "The name of the user in the Cloud SQL instance. Can be omitted for *update* since it is already specified in the URL.",
+ "type": "string"
+ },
+ "password": {
+ "description": "The password for the user.",
+ "type": "string"
+ },
+ "project": {
+ "description": "The project ID of the project containing the Cloud SQL database. The Google apps domain is prefixed if applicable. Can be omitted for *update* since it is already specified on the URL.",
+ "type": "string"
+ },
+ "sqlserverUserDetails": {
+ "$ref": "SqlServerUserDetails"
+ },
+ "type": {
+ "description": "The user type. It determines the method to authenticate the user during login. The default is the database's built-in user type.",
+ "enum": [
+ "BUILT_IN",
+ "CLOUD_IAM_USER",
+ "CLOUD_IAM_SERVICE_ACCOUNT"
+ ],
+ "enumDescriptions": [
+ "The database's built-in user type.",
+ "Cloud IAM user.",
+ "Cloud IAM service account."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "UsersListResponse": {
+ "description": "User list response.",
+ "id": "UsersListResponse",
+ "properties": {
+ "items": {
+ "description": "List of user resources in the instance.",
+ "items": {
+ "$ref": "User"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "description": "This is always *sql#usersList*.",
+ "type": "string"
+ },
+ "nextPageToken": {
+ "description": "An identifier that uniquely identifies the operation. You can use this identifier to retrieve the Operations resource that has information about the operation.",
+ "type": "string"
+ }
+ },
+ "type": "object"
}
},
"servicePath": "",
diff --git a/googleapiclient/discovery_cache/documents/sqladmin.v1beta4.json b/googleapiclient/discovery_cache/documents/sqladmin.v1beta4.json
index 398f7259d..b7b3c2659 100644
--- a/googleapiclient/discovery_cache/documents/sqladmin.v1beta4.json
+++ b/googleapiclient/discovery_cache/documents/sqladmin.v1beta4.json
@@ -122,7 +122,7 @@
],
"parameters": {
"id": {
- "description": "The ID of the Backup Run to delete. To find a Backup Run ID, use the list method.",
+ "description": "The ID of the backup run to delete. To find a backup run ID, use the list method.",
"format": "int64",
"location": "path",
"required": true,
@@ -162,7 +162,7 @@
],
"parameters": {
"id": {
- "description": "The ID of this Backup Run.",
+ "description": "The ID of this backup run.",
"format": "int64",
"location": "path",
"required": true,
@@ -191,7 +191,7 @@
]
},
"insert": {
- "description": "Creates a new backup run on demand. This method is applicable only to Second Generation instances.",
+ "description": "Creates a new backup run on demand.",
"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/backupRuns",
"httpMethod": "POST",
"id": "sql.backupRuns.insert",
@@ -583,7 +583,7 @@
"flags": {
"methods": {
"list": {
- "description": "List all available database flags for Cloud SQL instances.",
+ "description": "Lists all available database flags for Cloud SQL instances.",
"flatPath": "sql/v1beta4/flags",
"httpMethod": "GET",
"id": "sql.flags.list",
@@ -777,7 +777,7 @@
]
},
"failover": {
- "description": "Failover the instance to its failover replica instance. Using this operation might cause your instance to restart.",
+ "description": "Initiates a manual failover of a high availability (HA) primary instance to a standby instance, which becomes the primary instance. Users are then rerouted to the new primary. For more information, see the Overview of high availability page in the Cloud SQL documentation. If using Legacy HA (MySQL only), this causes the instance to failover to its failover replica instance.",
"flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/failover",
"httpMethod": "POST",
"id": "sql.instances.failover",
@@ -1911,7 +1911,7 @@
}
}
},
- "revision": "20210627",
+ "revision": "20210715",
"rootUrl": "https://sqladmin.googleapis.com/",
"schemas": {
"AclEntry": {
@@ -2073,11 +2073,11 @@
},
"diskEncryptionConfiguration": {
"$ref": "DiskEncryptionConfiguration",
- "description": "Encryption configuration specific to a backup. Applies only to Second Generation instances."
+ "description": "Encryption configuration specific to a backup."
},
"diskEncryptionStatus": {
"$ref": "DiskEncryptionStatus",
- "description": "Encryption status specific to a backup. Applies only to Second Generation instances."
+ "description": "Encryption status specific to a backup."
},
"endTime": {
"description": "The time the backup operation completed in UTC timezone in RFC 3339 format, for example *2012-11-15T16:19:00.094Z*.",
@@ -2371,7 +2371,7 @@
"id": "DatabaseFlags",
"properties": {
"name": {
- "description": "The name of the flag. These flags are passed at instance startup, so include both server options and system variables for MySQL. Flags are specified with underscores, not hyphens. For more information, see Configuring Database Flags in the Cloud SQL documentation.",
+ "description": "The name of the flag. These flags are passed at instance startup, so include both server options and system variables. Flags are specified with underscores, not hyphens. For more information, see Configuring Database Flags in the Cloud SQL documentation.",
"type": "string"
},
"value": {
@@ -2411,7 +2411,7 @@
"type": "string"
},
"databaseVersion": {
- "description": "The database engine type and version. The *databaseVersion* field cannot be changed after instance creation. MySQL instances: *MYSQL_8_0*, *MYSQL_5_7* (default), or *MYSQL_5_6*. PostgreSQL instances: *POSTGRES_9_6*, *POSTGRES_10*, *POSTGRES_11*, *POSTGRES_12*, or *POSTGRES_13* (default). SQL Server instances: *SQLSERVER_2017_STANDARD* (default), *SQLSERVER_2017_ENTERPRISE*, *SQLSERVER_2017_EXPRESS*, or *SQLSERVER_2017_WEB*.",
+ "description": "The database engine type and version. The *databaseVersion* field cannot be changed after instance creation. MySQL instances: *MYSQL_8_0*, *MYSQL_5_7* (default), or *MYSQL_5_6*. PostgreSQL instances: *POSTGRES_9_6*, *POSTGRES_10*, *POSTGRES_11*, *POSTGRES_12*, *POSTGRES_13* (default). SQL Server instances: *SQLSERVER_2019_STANDARD*, *SQLSERVER_2019_ENTERPRISE*, *SQLSERVER_2019_EXPRESS*, or *SQLSERVER_2019_WEB*, *SQLSERVER_2017_STANDARD* (default), *SQLSERVER_2017_ENTERPRISE*, *SQLSERVER_2017_EXPRESS*, or *SQLSERVER_2017_WEB*.",
"enum": [
"SQL_DATABASE_VERSION_UNSPECIFIED",
"MYSQL_5_1",
@@ -2458,25 +2458,25 @@
},
"diskEncryptionConfiguration": {
"$ref": "DiskEncryptionConfiguration",
- "description": "Disk encryption configuration specific to an instance. Applies only to Second Generation instances."
+ "description": "Disk encryption configuration specific to an instance."
},
"diskEncryptionStatus": {
"$ref": "DiskEncryptionStatus",
- "description": "Disk encryption status specific to an instance. Applies only to Second Generation instances."
+ "description": "Disk encryption status specific to an instance."
},
"etag": {
"description": "This field is deprecated and will be removed from a future version of the API. Use the *settings.settingsVersion* field instead.",
"type": "string"
},
"failoverReplica": {
- "description": "The name and status of the failover replica. This property is applicable only to Second Generation instances.",
+ "description": "The name and status of the failover replica.",
"properties": {
"available": {
"description": "The availability status of the failover replica. A false status indicates that the failover replica is out of sync. The primary instance can only failover to the failover replica when the status is true.",
"type": "boolean"
},
"name": {
- "description": "The name of the failover replica. If specified at instance creation, a failover replica is created for the instance. The name doesn't include the project ID. This property is applicable only to Second Generation instances.",
+ "description": "The name of the failover replica. If specified at instance creation, a failover replica is created for the instance. The name doesn't include the project ID.",
"type": "string"
}
},
@@ -2685,7 +2685,7 @@
"description": "Configuration specific to read-replicas replicating from the on-premises primary instance."
},
"verifyGtidConsistency": {
- "description": "Verify GTID consistency for demote operation. Default value: *True*. Second Generation instances only. Setting this flag to false enables you to bypass GTID consistency check between on-premises primary instance and Cloud SQL instance during the demotion operation but also exposes you to the risk of future replication failures. Change the value only if you know the reason for the GTID divergence and are confident that doing so will not cause any replication issues.",
+ "description": "Verify GTID consistency for demote operation. Default value: *True*. Setting this flag to false enables you to bypass GTID consistency check between on-premises primary instance and Cloud SQL instance during the demotion operation but also exposes you to the risk of future replication failures. Change the value only if you know the reason for the GTID divergence and are confident that doing so will not cause any replication issues.",
"type": "boolean"
}
},
@@ -2958,7 +2958,7 @@
"type": "string"
},
"requiresRestart": {
- "description": "Indicates whether changing this flag will trigger a database restart. Only applicable to Second Generation instances.",
+ "description": "Indicates whether changing this flag will trigger a database restart.",
"type": "boolean"
},
"type": {
@@ -3125,7 +3125,7 @@
"type": "boolean"
},
"queryPlansPerMinute": {
- "description": "Number of query plans generated by Insights per minute. Default is 5. Changing this will restart the database.",
+ "description": "Number of query execution plans captured by Insights per minute for all queries combined. Default is 5.",
"format": "int32",
"type": "integer"
},
@@ -3898,7 +3898,7 @@
},
"ipConfiguration": {
"$ref": "IpConfiguration",
- "description": "The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled for Second Generation instances."
+ "description": "The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled."
},
"kind": {
"description": "This is always *sql#settings*.",
diff --git a/googleapiclient/discovery_cache/documents/storage.v1.json b/googleapiclient/discovery_cache/documents/storage.v1.json
index 81a6e13f9..a4f32b520 100644
--- a/googleapiclient/discovery_cache/documents/storage.v1.json
+++ b/googleapiclient/discovery_cache/documents/storage.v1.json
@@ -26,7 +26,7 @@
"description": "Stores and retrieves potentially large, immutable data objects.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/storage/docs/json_api/",
- "etag": "\"313831343830353335313635363234373438\"",
+ "etag": "\"32333036333736303432373833323938323934\"",
"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"
@@ -3230,7 +3230,7 @@
}
}
},
- "revision": "20210716",
+ "revision": "20210721",
"rootUrl": "https://storage.googleapis.com/",
"schemas": {
"Bucket": {
diff --git a/googleapiclient/discovery_cache/documents/storagetransfer.v1.json b/googleapiclient/discovery_cache/documents/storagetransfer.v1.json
index 85d9fa18c..b164e9f8c 100644
--- a/googleapiclient/discovery_cache/documents/storagetransfer.v1.json
+++ b/googleapiclient/discovery_cache/documents/storagetransfer.v1.json
@@ -434,7 +434,7 @@
}
}
},
- "revision": "20210712",
+ "revision": "20210715",
"rootUrl": "https://storagetransfer.googleapis.com/",
"schemas": {
"AwsAccessKey": {
diff --git a/googleapiclient/discovery_cache/documents/streetviewpublish.v1.json b/googleapiclient/discovery_cache/documents/streetviewpublish.v1.json
index 44a49b54d..e2cc6b2ac 100644
--- a/googleapiclient/discovery_cache/documents/streetviewpublish.v1.json
+++ b/googleapiclient/discovery_cache/documents/streetviewpublish.v1.json
@@ -375,7 +375,7 @@
}
}
},
- "revision": "20210717",
+ "revision": "20210723",
"rootUrl": "https://streetviewpublish.googleapis.com/",
"schemas": {
"BatchDeletePhotosRequest": {
diff --git a/googleapiclient/discovery_cache/documents/sts.v1.json b/googleapiclient/discovery_cache/documents/sts.v1.json
index 0251a90fe..b7cce720d 100644
--- a/googleapiclient/discovery_cache/documents/sts.v1.json
+++ b/googleapiclient/discovery_cache/documents/sts.v1.json
@@ -131,7 +131,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210716",
"rootUrl": "https://sts.googleapis.com/",
"schemas": {
"GoogleIdentityStsV1ExchangeTokenRequest": {
diff --git a/googleapiclient/discovery_cache/documents/sts.v1beta.json b/googleapiclient/discovery_cache/documents/sts.v1beta.json
index c3ac84dba..31c70eb36 100644
--- a/googleapiclient/discovery_cache/documents/sts.v1beta.json
+++ b/googleapiclient/discovery_cache/documents/sts.v1beta.json
@@ -116,7 +116,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210716",
"rootUrl": "https://sts.googleapis.com/",
"schemas": {
"GoogleIdentityStsV1betaExchangeTokenRequest": {
diff --git a/googleapiclient/discovery_cache/documents/tagmanager.v1.json b/googleapiclient/discovery_cache/documents/tagmanager.v1.json
index 73adfa2cb..6b59c5b5e 100644
--- a/googleapiclient/discovery_cache/documents/tagmanager.v1.json
+++ b/googleapiclient/discovery_cache/documents/tagmanager.v1.json
@@ -1932,7 +1932,7 @@
}
}
},
- "revision": "20210714",
+ "revision": "20210721",
"rootUrl": "https://tagmanager.googleapis.com/",
"schemas": {
"Account": {
diff --git a/googleapiclient/discovery_cache/documents/tagmanager.v2.json b/googleapiclient/discovery_cache/documents/tagmanager.v2.json
index 080fa714f..009efa7ac 100644
--- a/googleapiclient/discovery_cache/documents/tagmanager.v2.json
+++ b/googleapiclient/discovery_cache/documents/tagmanager.v2.json
@@ -1197,7 +1197,10 @@
"requestPath",
"requestMethod",
"clientName",
- "queryString"
+ "queryString",
+ "serverPageLocationUrl",
+ "serverPageLocationPath",
+ "serverPageLocationHostname"
],
"enumDescriptions": [
"",
@@ -1309,6 +1312,9 @@
"",
"",
"",
+ "",
+ "",
+ "",
""
],
"location": "query",
@@ -1452,7 +1458,10 @@
"requestPath",
"requestMethod",
"clientName",
- "queryString"
+ "queryString",
+ "serverPageLocationUrl",
+ "serverPageLocationPath",
+ "serverPageLocationHostname"
],
"enumDescriptions": [
"",
@@ -1564,6 +1573,9 @@
"",
"",
"",
+ "",
+ "",
+ "",
""
],
"location": "query",
@@ -1735,7 +1747,10 @@
"requestPath",
"requestMethod",
"clientName",
- "queryString"
+ "queryString",
+ "serverPageLocationUrl",
+ "serverPageLocationPath",
+ "serverPageLocationHostname"
],
"enumDescriptions": [
"",
@@ -1847,6 +1862,9 @@
"",
"",
"",
+ "",
+ "",
+ "",
""
],
"location": "query",
@@ -3125,7 +3143,7 @@
}
}
},
- "revision": "20210714",
+ "revision": "20210721",
"rootUrl": "https://tagmanager.googleapis.com/",
"schemas": {
"Account": {
@@ -3314,7 +3332,10 @@
"requestPath",
"requestMethod",
"clientName",
- "queryString"
+ "queryString",
+ "serverPageLocationUrl",
+ "serverPageLocationPath",
+ "serverPageLocationHostname"
],
"enumDescriptions": [
"",
@@ -3426,6 +3447,9 @@
"",
"",
"",
+ "",
+ "",
+ "",
""
],
"type": "string"
diff --git a/googleapiclient/discovery_cache/documents/tasks.v1.json b/googleapiclient/discovery_cache/documents/tasks.v1.json
index 441703048..686d4ccec 100644
--- a/googleapiclient/discovery_cache/documents/tasks.v1.json
+++ b/googleapiclient/discovery_cache/documents/tasks.v1.json
@@ -566,7 +566,7 @@
}
}
},
- "revision": "20210717",
+ "revision": "20210723",
"rootUrl": "https://tasks.googleapis.com/",
"schemas": {
"Task": {
diff --git a/googleapiclient/discovery_cache/documents/testing.v1.json b/googleapiclient/discovery_cache/documents/testing.v1.json
index 5f35abf3c..8562746ba 100644
--- a/googleapiclient/discovery_cache/documents/testing.v1.json
+++ b/googleapiclient/discovery_cache/documents/testing.v1.json
@@ -282,7 +282,7 @@
}
}
},
- "revision": "20210713",
+ "revision": "20210719",
"rootUrl": "https://testing.googleapis.com/",
"schemas": {
"Account": {
diff --git a/googleapiclient/discovery_cache/documents/texttospeech.v1.json b/googleapiclient/discovery_cache/documents/texttospeech.v1.json
index ed74e33d8..ea7cde585 100644
--- a/googleapiclient/discovery_cache/documents/texttospeech.v1.json
+++ b/googleapiclient/discovery_cache/documents/texttospeech.v1.json
@@ -153,7 +153,7 @@
}
}
},
- "revision": "20210618",
+ "revision": "20210713",
"rootUrl": "https://texttospeech.googleapis.com/",
"schemas": {
"AudioConfig": {
diff --git a/googleapiclient/discovery_cache/documents/texttospeech.v1beta1.json b/googleapiclient/discovery_cache/documents/texttospeech.v1beta1.json
index b3c8e9611..e18ea1a3e 100644
--- a/googleapiclient/discovery_cache/documents/texttospeech.v1beta1.json
+++ b/googleapiclient/discovery_cache/documents/texttospeech.v1beta1.json
@@ -153,7 +153,7 @@
}
}
},
- "revision": "20210618",
+ "revision": "20210713",
"rootUrl": "https://texttospeech.googleapis.com/",
"schemas": {
"AudioConfig": {
diff --git a/googleapiclient/discovery_cache/documents/toolresults.v1beta3.json b/googleapiclient/discovery_cache/documents/toolresults.v1beta3.json
index 1d510b36d..61a934d31 100644
--- a/googleapiclient/discovery_cache/documents/toolresults.v1beta3.json
+++ b/googleapiclient/discovery_cache/documents/toolresults.v1beta3.json
@@ -1463,7 +1463,7 @@
}
}
},
- "revision": "20210719",
+ "revision": "20210726",
"rootUrl": "https://toolresults.googleapis.com/",
"schemas": {
"ANR": {
diff --git a/googleapiclient/discovery_cache/documents/tpu.v1.json b/googleapiclient/discovery_cache/documents/tpu.v1.json
index dae38eb48..50b9bf8f8 100644
--- a/googleapiclient/discovery_cache/documents/tpu.v1.json
+++ b/googleapiclient/discovery_cache/documents/tpu.v1.json
@@ -659,7 +659,7 @@
}
}
},
- "revision": "20210707",
+ "revision": "20210721",
"rootUrl": "https://tpu.googleapis.com/",
"schemas": {
"AcceleratorType": {
@@ -971,7 +971,7 @@
"enumDescriptions": [
"TPU node state is not known/set.",
"TPU node is being created.",
- "TPU node has been created and is fully usable.",
+ "TPU node has been created.",
"TPU node is restarting.",
"TPU node is undergoing reimaging.",
"TPU node is being deleted.",
diff --git a/googleapiclient/discovery_cache/documents/tpu.v1alpha1.json b/googleapiclient/discovery_cache/documents/tpu.v1alpha1.json
index 6c98b079c..eeb10d663 100644
--- a/googleapiclient/discovery_cache/documents/tpu.v1alpha1.json
+++ b/googleapiclient/discovery_cache/documents/tpu.v1alpha1.json
@@ -669,7 +669,7 @@
}
}
},
- "revision": "20210707",
+ "revision": "20210721",
"rootUrl": "https://tpu.googleapis.com/",
"schemas": {
"AcceleratorType": {
@@ -981,7 +981,7 @@
"enumDescriptions": [
"TPU node state is not known/set.",
"TPU node is being created.",
- "TPU node has been created and is fully usable.",
+ "TPU node has been created.",
"TPU node is restarting.",
"TPU node is undergoing reimaging.",
"TPU node is being deleted.",
diff --git a/googleapiclient/discovery_cache/documents/trafficdirector.v2.json b/googleapiclient/discovery_cache/documents/trafficdirector.v2.json
index 3be498057..26ac6b5be 100644
--- a/googleapiclient/discovery_cache/documents/trafficdirector.v2.json
+++ b/googleapiclient/discovery_cache/documents/trafficdirector.v2.json
@@ -128,7 +128,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210722",
"rootUrl": "https://trafficdirector.googleapis.com/",
"schemas": {
"Address": {
diff --git a/googleapiclient/discovery_cache/documents/vectortile.v1.json b/googleapiclient/discovery_cache/documents/vectortile.v1.json
index a67738c05..e0b0089ec 100644
--- a/googleapiclient/discovery_cache/documents/vectortile.v1.json
+++ b/googleapiclient/discovery_cache/documents/vectortile.v1.json
@@ -343,7 +343,7 @@
}
}
},
- "revision": "20210717",
+ "revision": "20210723",
"rootUrl": "https://vectortile.googleapis.com/",
"schemas": {
"Area": {
diff --git a/googleapiclient/discovery_cache/documents/videointelligence.v1.json b/googleapiclient/discovery_cache/documents/videointelligence.v1.json
index dc6846f02..f001665c2 100644
--- a/googleapiclient/discovery_cache/documents/videointelligence.v1.json
+++ b/googleapiclient/discovery_cache/documents/videointelligence.v1.json
@@ -350,7 +350,7 @@
}
}
},
- "revision": "20210602",
+ "revision": "20210715",
"rootUrl": "https://videointelligence.googleapis.com/",
"schemas": {
"GoogleCloudVideointelligenceV1_AnnotateVideoProgress": {
diff --git a/googleapiclient/discovery_cache/documents/videointelligence.v1beta2.json b/googleapiclient/discovery_cache/documents/videointelligence.v1beta2.json
index 27621c519..bf409d20c 100644
--- a/googleapiclient/discovery_cache/documents/videointelligence.v1beta2.json
+++ b/googleapiclient/discovery_cache/documents/videointelligence.v1beta2.json
@@ -128,7 +128,7 @@
}
}
},
- "revision": "20210602",
+ "revision": "20210715",
"rootUrl": "https://videointelligence.googleapis.com/",
"schemas": {
"GoogleCloudVideointelligenceV1_AnnotateVideoProgress": {
diff --git a/googleapiclient/discovery_cache/documents/videointelligence.v1p1beta1.json b/googleapiclient/discovery_cache/documents/videointelligence.v1p1beta1.json
index 4789491b1..0094e3bf1 100644
--- a/googleapiclient/discovery_cache/documents/videointelligence.v1p1beta1.json
+++ b/googleapiclient/discovery_cache/documents/videointelligence.v1p1beta1.json
@@ -128,7 +128,7 @@
}
}
},
- "revision": "20210602",
+ "revision": "20210715",
"rootUrl": "https://videointelligence.googleapis.com/",
"schemas": {
"GoogleCloudVideointelligenceV1_AnnotateVideoProgress": {
diff --git a/googleapiclient/discovery_cache/documents/videointelligence.v1p2beta1.json b/googleapiclient/discovery_cache/documents/videointelligence.v1p2beta1.json
index 8da59f0a5..fae868bce 100644
--- a/googleapiclient/discovery_cache/documents/videointelligence.v1p2beta1.json
+++ b/googleapiclient/discovery_cache/documents/videointelligence.v1p2beta1.json
@@ -128,7 +128,7 @@
}
}
},
- "revision": "20210602",
+ "revision": "20210715",
"rootUrl": "https://videointelligence.googleapis.com/",
"schemas": {
"GoogleCloudVideointelligenceV1_AnnotateVideoProgress": {
diff --git a/googleapiclient/discovery_cache/documents/videointelligence.v1p3beta1.json b/googleapiclient/discovery_cache/documents/videointelligence.v1p3beta1.json
index 8e19c8c45..d79e0467b 100644
--- a/googleapiclient/discovery_cache/documents/videointelligence.v1p3beta1.json
+++ b/googleapiclient/discovery_cache/documents/videointelligence.v1p3beta1.json
@@ -128,7 +128,7 @@
}
}
},
- "revision": "20210602",
+ "revision": "20210715",
"rootUrl": "https://videointelligence.googleapis.com/",
"schemas": {
"GoogleCloudVideointelligenceV1_AnnotateVideoProgress": {
diff --git a/googleapiclient/discovery_cache/documents/vision.v1.json b/googleapiclient/discovery_cache/documents/vision.v1.json
index 0656f316d..b5cf6148c 100644
--- a/googleapiclient/discovery_cache/documents/vision.v1.json
+++ b/googleapiclient/discovery_cache/documents/vision.v1.json
@@ -1282,7 +1282,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210716",
"rootUrl": "https://vision.googleapis.com/",
"schemas": {
"AddProductToProductSetRequest": {
diff --git a/googleapiclient/discovery_cache/documents/vision.v1p1beta1.json b/googleapiclient/discovery_cache/documents/vision.v1p1beta1.json
index ae1f4c03b..017c8cb3c 100644
--- a/googleapiclient/discovery_cache/documents/vision.v1p1beta1.json
+++ b/googleapiclient/discovery_cache/documents/vision.v1p1beta1.json
@@ -449,7 +449,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210716",
"rootUrl": "https://vision.googleapis.com/",
"schemas": {
"AnnotateFileResponse": {
diff --git a/googleapiclient/discovery_cache/documents/vision.v1p2beta1.json b/googleapiclient/discovery_cache/documents/vision.v1p2beta1.json
index 9c0aef079..f1588daaf 100644
--- a/googleapiclient/discovery_cache/documents/vision.v1p2beta1.json
+++ b/googleapiclient/discovery_cache/documents/vision.v1p2beta1.json
@@ -449,7 +449,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210716",
"rootUrl": "https://vision.googleapis.com/",
"schemas": {
"AnnotateFileResponse": {
diff --git a/googleapiclient/discovery_cache/documents/webrisk.v1.json b/googleapiclient/discovery_cache/documents/webrisk.v1.json
index 0447b90ed..a998db4b0 100644
--- a/googleapiclient/discovery_cache/documents/webrisk.v1.json
+++ b/googleapiclient/discovery_cache/documents/webrisk.v1.json
@@ -446,7 +446,7 @@
}
}
},
- "revision": "20210709",
+ "revision": "20210723",
"rootUrl": "https://webrisk.googleapis.com/",
"schemas": {
"GoogleCloudWebriskV1ComputeThreatListDiffResponse": {
diff --git a/googleapiclient/discovery_cache/documents/workflowexecutions.v1.json b/googleapiclient/discovery_cache/documents/workflowexecutions.v1.json
index 34013de31..66078b7e4 100644
--- a/googleapiclient/discovery_cache/documents/workflowexecutions.v1.json
+++ b/googleapiclient/discovery_cache/documents/workflowexecutions.v1.json
@@ -269,7 +269,7 @@
}
}
},
- "revision": "20210706",
+ "revision": "20210713",
"rootUrl": "https://workflowexecutions.googleapis.com/",
"schemas": {
"CancelExecutionRequest": {
diff --git a/googleapiclient/discovery_cache/documents/workflowexecutions.v1beta.json b/googleapiclient/discovery_cache/documents/workflowexecutions.v1beta.json
index 61dc5ad79..b1c0f5965 100644
--- a/googleapiclient/discovery_cache/documents/workflowexecutions.v1beta.json
+++ b/googleapiclient/discovery_cache/documents/workflowexecutions.v1beta.json
@@ -269,7 +269,7 @@
}
}
},
- "revision": "20210706",
+ "revision": "20210713",
"rootUrl": "https://workflowexecutions.googleapis.com/",
"schemas": {
"CancelExecutionRequest": {
diff --git a/googleapiclient/discovery_cache/documents/workflows.v1beta.json b/googleapiclient/discovery_cache/documents/workflows.v1beta.json
index 2bc675c16..aaf859722 100644
--- a/googleapiclient/discovery_cache/documents/workflows.v1beta.json
+++ b/googleapiclient/discovery_cache/documents/workflows.v1beta.json
@@ -444,7 +444,7 @@
}
}
},
- "revision": "20210707",
+ "revision": "20210714",
"rootUrl": "https://workflows.googleapis.com/",
"schemas": {
"Empty": {
diff --git a/googleapiclient/discovery_cache/documents/youtube.v3.json b/googleapiclient/discovery_cache/documents/youtube.v3.json
index 34b6b94fd..f4757b146 100644
--- a/googleapiclient/discovery_cache/documents/youtube.v3.json
+++ b/googleapiclient/discovery_cache/documents/youtube.v3.json
@@ -3765,7 +3765,7 @@
}
}
},
- "revision": "20210717",
+ "revision": "20210724",
"rootUrl": "https://youtube.googleapis.com/",
"schemas": {
"AbuseReport": {
diff --git a/googleapiclient/discovery_cache/documents/youtubeAnalytics.v2.json b/googleapiclient/discovery_cache/documents/youtubeAnalytics.v2.json
index f74c8da34..8ddd2c788 100644
--- a/googleapiclient/discovery_cache/documents/youtubeAnalytics.v2.json
+++ b/googleapiclient/discovery_cache/documents/youtubeAnalytics.v2.json
@@ -421,7 +421,7 @@
}
}
},
- "revision": "20210717",
+ "revision": "20210719",
"rootUrl": "https://youtubeanalytics.googleapis.com/",
"schemas": {
"EmptyResponse": {
diff --git a/googleapiclient/discovery_cache/documents/youtubereporting.v1.json b/googleapiclient/discovery_cache/documents/youtubereporting.v1.json
index 01c3e7bd1..e0e3c6e4d 100644
--- a/googleapiclient/discovery_cache/documents/youtubereporting.v1.json
+++ b/googleapiclient/discovery_cache/documents/youtubereporting.v1.json
@@ -411,7 +411,7 @@
}
}
},
- "revision": "20210717",
+ "revision": "20210720",
"rootUrl": "https://youtubereporting.googleapis.com/",
"schemas": {
"Empty": {